diff options
| author | Skylar Chang <chiaweic@codeaurora.org> | 2016-01-05 16:02:24 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:16:48 -0700 |
| commit | ab2c622d0bae69e3c2e84809ee79028465fff59f (patch) | |
| tree | d14c6005ecb3cbeb7798fb3a23511c8ad63993a4 /drivers/platform | |
| parent | 83f4c5c049abc4a88f99f0a13466b29da8511e47 (diff) | |
msm: gsi: mask GSI_BREAK_POINT
SW should not be registered for GSI_BREAK_POINT interrupt as
this is for debug purpose only
Change-Id: I17d152955bb52bccc89ff731eabe05582b7fd14c
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Diffstat (limited to 'drivers/platform')
| -rw-r--r-- | drivers/platform/msm/gsi/gsi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/platform/msm/gsi/gsi.c b/drivers/platform/msm/gsi/gsi.c index 2231c13c5d7c..f0d5db6fe9d4 100644 --- a/drivers/platform/msm/gsi/gsi.c +++ b/drivers/platform/msm/gsi/gsi.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -684,13 +684,14 @@ int gsi_register_device(struct gsi_per_props *props, unsigned long *dev_hdl) /* only support 16 un-reserved + 7 reserved event virtual IDs */ gsi_ctx->evt_bmap = ~0x7E03FF; - /* enable all interrupts */ + /* enable all interrupts but GSI_BREAK_POINT */ __gsi_config_type_irq(props->ee, ~0, ~0); __gsi_config_ch_irq(props->ee, ~0, ~0); __gsi_config_evt_irq(props->ee, ~0, ~0); __gsi_config_ieob_irq(props->ee, ~0, ~0); __gsi_config_glob_irq(props->ee, ~0, ~0); - __gsi_config_gen_irq(props->ee, ~0, ~0); + __gsi_config_gen_irq(props->ee, ~0, + ~GSI_EE_n_CNTXT_GSI_IRQ_CLR_GSI_BREAK_POINT_BMSK); __gsi_config_inter_ee_ch_irq(props->ee, ~0, ~0); __gsi_config_inter_ee_evt_irq(props->ee, ~0, ~0); |
