LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au> To: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: Adrian Hunter <adrian.hunter@intel.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next Mailing List <linux-next@vger.kernel.org> Subject: linux-next: manual merge of the scsi-mkp tree with Linus' tree Date: Wed, 6 Oct 2021 15:44:15 +1100 [thread overview] Message-ID: <20211006154415.39af3f2f@canb.auug.org.au> (raw) [-- Attachment #1: Type: text/plain, Size: 2015 bytes --] Hi all, Today's linux-next merge of the scsi-mkp tree got a conflict in: drivers/scsi/ufs/ufshcd.c between commit: 88b099006d83 ("scsi: ufs: core: Revert "scsi: ufs: Synchronize SCSI and UFS error handling"") from Linus' tree and commit: 87bf6a6bbe8b ("scsi: ufs: core: Do not exit ufshcd_err_handler() unless operational or dead") from the scsi-mkp tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. -- Cheers, Stephen Rothwell diff --cc drivers/scsi/ufs/ufshcd.c index 8bf14f97481a,d91a405fd181..000000000000 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@@ -6055,22 -6063,23 +6053,24 @@@ static bool ufshcd_is_pwr_mode_restore_ /** * ufshcd_err_handler - handle UFS errors that require s/w attention - * @host: SCSI host pointer + * @work: pointer to work structure */ -static void ufshcd_err_handler(struct Scsi_Host *host) +static void ufshcd_err_handler(struct work_struct *work) { - struct ufs_hba *hba = shost_priv(host); + struct ufs_hba *hba; + int retries = MAX_ERR_HANDLER_RETRIES; unsigned long flags; - bool err_xfer = false; - bool err_tm = false; - int err = 0, pmc_err; + bool needs_restore; + bool needs_reset; + bool err_xfer; + bool err_tm; + int pmc_err; int tag; - bool needs_reset = false, needs_restore = false; + hba = container_of(work, struct ufs_hba, eh_work); + down(&hba->host_sem); spin_lock_irqsave(hba->host->host_lock, flags); - hba->host->host_eh_scheduled = 0; if (ufshcd_err_handling_should_stop(hba)) { if (hba->ufshcd_state != UFSHCD_STATE_ERROR) hba->ufshcd_state = UFSHCD_STATE_OPERATIONAL; [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2021-10-06 4:44 UTC|newest] Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-06 4:44 Stephen Rothwell [this message] -- strict thread matches above, loose matches on Subject: below -- 2023-08-28 3:02 linux-next: manual merge of the scsi-mkp tree with Linus' tree Stephen Rothwell 2023-09-01 0:23 ` Karan Tilak Kumar (kartilak) 2023-03-20 1:16 Stephen Rothwell 2022-02-14 3:29 Stephen Rothwell 2022-02-14 8:57 ` John Garry 2021-12-08 3:32 Stephen Rothwell 2021-08-11 5:40 Stephen Rothwell 2021-08-11 5:53 ` Sreekanth Reddy 2021-08-12 3:25 ` Martin K. Petersen 2020-09-03 5:21 Stephen Rothwell 2020-09-02 5:15 Stephen Rothwell 2020-09-02 5:12 Stephen Rothwell 2020-09-11 4:47 ` Stephen Rothwell 2020-06-10 2:17 Stephen Rothwell 2020-06-11 2:12 ` Stephen Rothwell 2019-02-11 4:31 Stephen Rothwell 2019-02-11 9:24 ` John Garry 2019-02-07 4:44 Stephen Rothwell 2019-02-07 18:30 ` James Smart 2018-12-10 6:17 Stephen Rothwell 2018-12-10 7:09 ` Stephen Rothwell 2018-10-18 4:15 Stephen Rothwell 2018-08-03 6:22 Stephen Rothwell 2018-08-03 6:04 Stephen Rothwell 2018-07-11 4:04 Stephen Rothwell 2018-07-12 4:29 ` Stephen Rothwell 2018-03-22 5:54 Stephen Rothwell 2017-11-30 1:51 Stephen Rothwell 2017-11-30 1:55 ` Stephen Rothwell 2017-12-01 2:14 ` Martin K. Petersen 2017-12-01 3:42 ` Stephen Rothwell 2017-09-01 4:48 Stephen Rothwell
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211006154415.39af3f2f@canb.auug.org.au \ --to=sfr@canb.auug.org.au \ --cc=adrian.hunter@intel.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-next@vger.kernel.org \ --cc=martin.petersen@oracle.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).