[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BN7PR08MB5684D1EF6FD8176E09151716DB7F0@BN7PR08MB5684.namprd08.prod.outlook.com>
Date: Mon, 4 Nov 2019 13:48:16 +0000
From: "Bean Huo (beanhuo)" <beanhuo@...ron.com>
To: Can Guo <cang@...eaurora.org>,
"asutoshd@...eaurora.org" <asutoshd@...eaurora.org>,
"nguyenb@...eaurora.org" <nguyenb@...eaurora.org>,
"rnayak@...eaurora.org" <rnayak@...eaurora.org>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"kernel-team@...roid.com" <kernel-team@...roid.com>,
"saravanak@...gle.com" <saravanak@...gle.com>,
"salyzyn@...gle.com" <salyzyn@...gle.com>
CC: Alim Akhtar <alim.akhtar@...sung.com>,
Avri Altman <avri.altman@....com>,
Pedro Sousa <pedrom.sousa@...opsys.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Stanley Chu <stanley.chu@...iatek.com>,
Tomas Winkler <tomas.winkler@...el.com>,
Venkat Gopalakrishnan <venkatg@...eaurora.org>,
Subhash Jadavani <subhashj@...eaurora.org>,
open list <linux-kernel@...r.kernel.org>
Subject: RE: [EXT] [PATCH v2 4/7] scsi: ufs: Fix register dump caused sleep in
atomic context
>
> ufshcd_print_host_regs() can be called by interrupt handler, but it may sleep due
> to ufshcd_dump_regs() allocates the dump buffer memory with flag
> GFP_KERNEL. Fix it by changing GFP_KERNEL to GFP_ATMOIC.
>
> Signed-off-by: Can Guo <cang@...eaurora.org>
Reviewed-by: Bean Huo <beanhuo@...ron.com>
Powered by blists - more mailing lists