Arm64 crash while reading memory sysfs

Stephen Rothwell sfr at canb.auug.org.au
Thu May 27 00:25:56 PDT 2021


Hi Andrew,

On Wed, 26 May 2021 17:31:41 -0700 Andrew Morton <akpm at linux-foundation.org> wrote:
>
> On Wed, 26 May 2021 20:16:14 -0400 Qian Cai <quic_qiancai at quicinc.com> wrote:
> 
> > 
> > 
> > On 5/26/2021 1:24 PM, Mike Rapoport wrote:  
> > > On Wed, May 26, 2021 at 12:09:14PM +0000, Qian Cai (QUIC) wrote:  
> > >>>
> > >>> On Tue, May 25, 2021 at 03:25:59PM +0000, Qian Cai (QUIC) wrote:  
> > >>>> Reverting the patchset "arm64: drop pfn_valid_within() and simplify pfn_valid()" [1] from today's linux-next fixed a crash while  
> > >>> reading files under /sys/devices/system/memory.  
> > > 
> > > Does the issue persist of you only revert the latest patch in the series?
> > > In next-20210525 it would be commit 
> > > 89fb47db72f2 ("arm64-drop-pfn_valid_within-and-simplify-pfn_valid-fix")
> > > and commit
> > > dfe215e9bac2 ("arm64: drop pfn_valid_within() and simplify pfn_valid()").  
> > 
> > Reverting those two commits alone is enough to fix the issue.  
> 
> (cc Stephen)
> 
> Thanks, I'll drop
> 
> arm64-drop-pfn_valid_within-and-simplify-pfn_valid.patch
> arm64-drop-pfn_valid_within-and-simplify-pfn_valid-fix.patch

Reverted from linux-next for today as well.

-- 
Cheers,
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210527/33a7dc42/attachment.sig>


More information about the linux-arm-kernel mailing list