* Re: [PATCH 2/2] mm: simplify follow_pte{,pmd} [not found] ` <20201111081800.GA23492@lst.de> @ 2020-11-11 8:26 ` Christian Borntraeger 2020-11-11 8:28 ` Christoph Hellwig 0 siblings, 1 reply; 3+ messages in thread From: Christian Borntraeger @ 2020-11-11 8:26 UTC (permalink / raw) To: Christoph Hellwig, Nick Desaulniers Cc: akpm, dan.j.williams, daniel, linux-kernel, linux-mm, linux-nvdimm, Heiko Carstens, Vasily Gorbik, clang-built-linux, Linux-Next Mailing List On 11.11.20 09:18, Christoph Hellwig wrote: > On Tue, Nov 10, 2020 at 06:21:22PM -0800, Nick Desaulniers wrote: >> Sorry, I think this patch may be causing a regression for us for s390? >> https://travis-ci.com/github/ClangBuiltLinux/continuous-integration/jobs/432129279#L768 >> >> (via https://lore.kernel.org/linux-mm/20201029101432.47011-3-hch@lst.de) > > Hmm, the call to follow_pte_pmd in the s390 code does not actually exist > in my tree. This is a mid-air collision in linux-next between b2ff5796a934 ("mm: simplify follow_pte{,pmd}") a67a88b0b8de ("s390/pci: remove races against pte updates") ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] mm: simplify follow_pte{,pmd} 2020-11-11 8:26 ` [PATCH 2/2] mm: simplify follow_pte{,pmd} Christian Borntraeger @ 2020-11-11 8:28 ` Christoph Hellwig 2020-11-11 11:12 ` Stephen Rothwell 0 siblings, 1 reply; 3+ messages in thread From: Christoph Hellwig @ 2020-11-11 8:28 UTC (permalink / raw) To: Christian Borntraeger Cc: Christoph Hellwig, Nick Desaulniers, akpm, dan.j.williams, daniel, linux-kernel, linux-mm, linux-nvdimm, Heiko Carstens, Vasily Gorbik, clang-built-linux, Linux-Next Mailing List On Wed, Nov 11, 2020 at 09:26:20AM +0100, Christian Borntraeger wrote: > > On 11.11.20 09:18, Christoph Hellwig wrote: > > On Tue, Nov 10, 2020 at 06:21:22PM -0800, Nick Desaulniers wrote: > >> Sorry, I think this patch may be causing a regression for us for s390? > >> https://travis-ci.com/github/ClangBuiltLinux/continuous-integration/jobs/432129279#L768 > >> > >> (via https://lore.kernel.org/linux-mm/20201029101432.47011-3-hch@lst.de) > > > > Hmm, the call to follow_pte_pmd in the s390 code does not actually exist > > in my tree. > > This is a mid-air collision in linux-next between > > b2ff5796a934 ("mm: simplify follow_pte{,pmd}") > a67a88b0b8de ("s390/pci: remove races against pte updates") Ah. The fixup is trivial: just s/follow_pte_pmd/follow_pte/. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] mm: simplify follow_pte{,pmd} 2020-11-11 8:28 ` Christoph Hellwig @ 2020-11-11 11:12 ` Stephen Rothwell 0 siblings, 0 replies; 3+ messages in thread From: Stephen Rothwell @ 2020-11-11 11:12 UTC (permalink / raw) To: Christoph Hellwig Cc: Christian Borntraeger, Nick Desaulniers, akpm, dan.j.williams, daniel, linux-kernel, linux-mm, linux-nvdimm, Heiko Carstens, Vasily Gorbik, clang-built-linux, Linux-Next Mailing List [-- Attachment #1: Type: text/plain, Size: 2211 bytes --] Hi Christoph, On Wed, 11 Nov 2020 09:28:42 +0100 Christoph Hellwig <hch@lst.de> wrote: > > On Wed, Nov 11, 2020 at 09:26:20AM +0100, Christian Borntraeger wrote: > > > > On 11.11.20 09:18, Christoph Hellwig wrote: > > > On Tue, Nov 10, 2020 at 06:21:22PM -0800, Nick Desaulniers wrote: > > >> Sorry, I think this patch may be causing a regression for us for s390? > > >> https://travis-ci.com/github/ClangBuiltLinux/continuous-integration/jobs/432129279#L768 > > >> > > >> (via https://lore.kernel.org/linux-mm/20201029101432.47011-3-hch@lst.de) > > > > > > Hmm, the call to follow_pte_pmd in the s390 code does not actually exist > > > in my tree. > > > > This is a mid-air collision in linux-next between > > > > b2ff5796a934 ("mm: simplify follow_pte{,pmd}") > > a67a88b0b8de ("s390/pci: remove races against pte updates") > > Ah. The fixup is trivial: just s/follow_pte_pmd/follow_pte/. ok, so tomorrow I will add the following to the merge of the akpm-current tree: From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Wed, 11 Nov 2020 22:08:32 +1100 Subject: [PATCH] merge fix for "s390/pci: remove races against pte updates" Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- arch/s390/pci/pci_mmio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/pci/pci_mmio.c b/arch/s390/pci/pci_mmio.c index 1a6adbc68ee8..4a4993837413 100644 --- a/arch/s390/pci/pci_mmio.c +++ b/arch/s390/pci/pci_mmio.c @@ -173,7 +173,7 @@ SYSCALL_DEFINE3(s390_pci_mmio_write, unsigned long, mmio_addr, if (!(vma->vm_flags & VM_WRITE)) goto out_unlock_mmap; - ret = follow_pte_pmd(vma->vm_mm, mmio_addr, NULL, &ptep, NULL, &ptl); + ret = follow_pte(vma->vm_mm, mmio_addr, NULL, &ptep, NULL, &ptl); if (ret) goto out_unlock_mmap; @@ -317,7 +317,7 @@ SYSCALL_DEFINE3(s390_pci_mmio_read, unsigned long, mmio_addr, if (!(vma->vm_flags & VM_WRITE)) goto out_unlock_mmap; - ret = follow_pte_pmd(vma->vm_mm, mmio_addr, NULL, &ptep, NULL, &ptl); + ret = follow_pte(vma->vm_mm, mmio_addr, NULL, &ptep, NULL, &ptl); if (ret) goto out_unlock_mmap; -- 2.29.2 -- Cheers, Stephen Rothwell [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-11 11:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20201029101432.47011-3-hch@lst.de>
[not found] ` <20201111022122.1039505-1-ndesaulniers@google.com>
[not found] ` <20201111081800.GA23492@lst.de>
2020-11-11 8:26 ` [PATCH 2/2] mm: simplify follow_pte{,pmd} Christian Borntraeger
2020-11-11 8:28 ` Christoph Hellwig
2020-11-11 11:12 ` Stephen Rothwell
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox