mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Anshuman Khandual <anshuman.khandual@arm.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Christophe Leroy <christophe.leroy@c-s.fr>,
	Christophe Leroy <christophe.leroy@csgroup.eu>
Subject: Re: Warning on Kernel 5.9.0-rc1 on PowerBook G4 (ppc32), bisected to a5c3b9ffb0f4
Date: Mon, 31 Aug 2020 13:39:24 -0500	[thread overview]
Message-ID: <d6b504df-46c7-1ecb-14aa-6f02339b4bb1@lwfinger.net> (raw)
In-Reply-To: <6beb6fcd-6b9a-b25a-3e63-77bac571ab5d@arm.com>

On 8/31/20 5:46 AM, Anshuman Khandual wrote:
> 
> 
> On 08/29/2020 06:40 AM, Larry Finger wrote:
>> In kernel 5.9.0-rc1 on a PowerBook G4 (ppc32), several warnings of the following type are logged:
>>
>>   ------------[ cut here ]------------
>>   WARNING: CPU: 0 PID: 1 at arch/powerpc/mm/pgtable.c:185 set_pte_at+0x20/0x100
> 
> All those warnings triggered at the same place i.e arch/powerpc/mm/pgtable.c:185 ?
> 
>>   Modules linked in:
>>   CPU: 0 PID: 1 Comm: swapper Not tainted 5.9.0-rc2 #2
>>   NIP:  c002add4 LR: c07dba40 CTR: 00000000
>>   REGS: f1019d70 TRAP: 0700   Not tainted  (5.9.0-rc2)
>>   MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 22000888  XER: 00000000
>>
>>     GPR00: c07dba40 f1019e28 eeca3220 eef7ace0 4e999000 eef7d664 f1019e50 00000000
>>     GPR08: 007c2315 00000001 007c2315 f1019e48 22000888 00000000 c00054dc 00000000
>>     GPR16: 00000000 00000000 2ef7d000 000007c2 fffffff0 eef7b000 000004e8 eef7d000
>>     GPR24: eef7c5c0 00000000 007c2315 4e999000 c05ef548 eef7d664 c087cda8 007c2315
>>   NIP [c002add4] set_pte_at+0x20/0x100
>>   LR [c07dba40] debug_vm_pgtable+0x29c/0x654
>>   Call Trace:
>>   [f1019e28] [c002b4ac] pte_fragment_alloc+0x24/0xe4 (unreliable)
>>   [f1019e48] [c07dba40] debug_vm_pgtable+0x29c/0x654
>>   [f1019e98] [c0005160] do_one_initcall+0x70/0x158
>>   [f1019ef8] [c07c352c] kernel_init_freeable+0x1f4/0x1f8
>>   [f1019f28] [c00054f0] kernel_init+0x14/0xfc
>>   [f1019f38] [c001516c] ret_from_kernel_thread+0x14/0x1c
>>   Instruction dump:
>>   57ff053e 39610010 7c63fa14 4800308c 9421ffe0 7c0802a6 81250000 bfa10014
>>   7cbd2b78 90010024 552907fe 83e60000 <0f090000> 3d20c089 83c91280 813e0018
>>   ---[ end trace 4ef67686e5133716 ]---
>>
>> Although the warnings do no harm, I suspect that they should be fixed in case some future modification turns the warning statements into BUGS.
> 
> These warnings are from mm/debug_vm_pgtable.c test, wont be converted into BUGS.
> But nonetheless, need to be addressed though.
> 
>>
>> The problem was bisected to commit a5c3b9ffb0f4 ("mm/debug_vm_pgtable: add tests validating advanced arch page table helpers") by Anshuman Khandual <anshuman.khandual@arm.com>
> 
> There are some known issues wrt DEBUG_VM_PGTABLE on certain ppc64 platforms. But
> I thought it worked all right on ppc32 platforms though. Adding Christophe Leroy
> here. Currently, there is a series under review that makes DEBUG_VM_PGTABLE work
> correctly on ppc64 platforms. Could you please give it a try and see if it fixes
> these warnings ?
> 
> https://patchwork.kernel.org/project/linux-mm/list/?series=339387

That series of patches did get rid of the warnings.

Thanks,

Larry


      parent reply	other threads:[~2020-08-31 18:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-29  1:10 Larry Finger
2020-08-31 10:46 ` Anshuman Khandual
2020-08-31 12:33   ` Christophe Leroy
2020-08-31 18:39   ` Larry Finger [this message]

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=d6b504df-46c7-1ecb-14aa-6f02339b4bb1@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=anshuman.khandual@arm.com \
    --cc=benh@kernel.crashing.org \
    --cc=christophe.leroy@c-s.fr \
    --cc=christophe.leroy@csgroup.eu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpe@ellerman.id.au \
    /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: link
Be 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

all inboxes | Powered by JetHome®