Thread (12 messages) 12 messages, 5 authors, 2020-02-11

Re: [PATCH V13] mm/debug: Add tests validating architecture page table helpers

From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Date: 2020-02-11 09:25:46
Also in: linux-mm, linux-riscv, linuxppc-dev, oe-kbuild-all

On Tue, Feb 11, 2020 at 06:33:47AM +0100, Christophe Leroy wrote:

Le 11/02/2020 à 03:25, Anshuman Khandual a écrit :
quoted

On 02/10/2020 04:36 PM, Russell King - ARM Linux admin wrote:
quoted
There are good reasons for the way ARM does stuff.  The generic crap was
written without regard for the circumstances that ARM has, and thus is
entirely unsuitable for 32-bit ARM.
Since we dont have an agreement here, lets just settle with disabling the
test for now on platforms where the build fails. CONFIG_EXPERT is enabling
this test for better adaptability and coverage, hence how about re framing
the config like this ? This at the least conveys the fact that EXPERT only
works when platform is neither IA64 or ARM.
Agreed
quoted
config DEBUG_VM_PGTABLE
	bool "Debug arch page table for semantics compliance"
	depends on MMU
	depends on ARCH_HAS_DEBUG_VM_PGTABLE || (EXPERT &&  !(IA64 || ARM))
I think it's maybe better to have a dedicated depends line:

depends on !IA64 && !ARM
depends on ARCH_HAS_DEBUG_VM_PGTABLE || EXPERT

The day arm and/or ia64 is ready for building the test, we can remove that
depends.
Never going to happen as its technically infeasible, sorry.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help