Re: Onboard SD card doesn't work anymore after the 'mmc-v5.4-2' updates

2019-10-28 Thread Benjamin Herrenschmidt
On Fri, 2019-10-25 at 23:39 -0700, Christoph Hellwig wrote: > On Fri, Oct 25, 2019 at 05:28:45PM -0500, Rob Herring wrote: > > This doesn't work?: > > > > if (IS_ENABLED(CONFIG_PPC) || of_dma_is_coherent(dev- > > >of_node)) > > value |= ESDHC_DMA_SNOOP; > > else >

Re: [PATCH v8 1/5] kasan: support backing vmalloc space with real shadow memory

2019-10-28 Thread Daniel Axtens
> Or let me put it this way. Let's assume that CPU0 accesses shadow and CPU1 > did the memset() and installed pte. > CPU0 may not observe memset() only if it dereferences completely random > vmalloc addresses > or it performs out-of-bounds access which crosses > KASAN_SHADOW_SCALE*PAGE_SIZE

[PATCH v2 1/3] powernv/iov: Ensure the pdn for VFs always contains a valid PE number

2019-10-28 Thread Oliver O'Halloran
On pseries there is a bug with adding hotplugged devices to an IOMMU group. For a number of dumb reasons fixing that bug first requires re-working how VFs are configured on PowerNV. For background, on PowerNV we use the pcibios_sriov_enable() hook to do two things: 1. Create a pci_dn structure

[RFC PATCH 3/4] libnvdimm/namespace: Use direct-mapping page size to validate namespace size

2019-10-28 Thread Aneesh Kumar K.V
Architectures like ppc64 use different page size than PAGE_SIZE to map direct-map address range. The kernel needs to make sure the namespace size is aligned correctly for the direct-map page size. Signed-off-by: Aneesh Kumar K.V --- drivers/nvdimm/namespace_devs.c | 10 +- 1 file

[RFC PATCH 2/4] libnvdimm/namespace: Disable the region if the namespace size is not aligned correctly

2019-10-28 Thread Aneesh Kumar K.V
During namespace initialization, if kernel finds the namespace size not aligned as per arch-specific restriction, disable the region completely. Even though kernel validates the namespace size while creating the namespace nvdimm core still needs to make sure namespaces with wrong size are not

Re: Onboard SD card doesn't work anymore after the 'mmc-v5.4-2' updates

2019-10-28 Thread Benjamin Herrenschmidt
On Fri, 2019-10-25 at 17:28 -0500, Rob Herring wrote: > This doesn't work?: > > if (IS_ENABLED(CONFIG_PPC) || of_dma_is_coherent(dev- > >of_node)) > value |= ESDHC_DMA_SNOOP; > else > value &= ~ESDHC_DMA_SNOOP; CONFIG_PPC is restrictive. What about

[PATCH V3] ASoC: fsl_esai: Add spin lock to protect reset, stop and start

2019-10-28 Thread Shengjiu Wang
xrun may happen at the end of stream, the trigger->fsl_esai_trigger_stop maybe called in the middle of fsl_esai_hw_reset, this may cause esai in wrong state after stop, and there may be endless xrun interrupt. This issue may also happen with trigger->fsl_esai_trigger_start. So Add spin lock to

Re: [PATCH V2] ASoC: fsl_esai: Add spin lock to protect reset, stop and start

2019-10-28 Thread S.j. Wang
Hi > > On Fri, Oct 25, 2019 at 03:13:53PM +0800, Shengjiu Wang wrote: > > xrun may happen at the end of stream, the > > trigger->fsl_esai_trigger_stop maybe called in the middle of > > fsl_esai_hw_reset, this may cause esai in wrong state after stop, and > > there may be endless xrun interrupt. >

[PATCH v2 3/3] powerpc/pci: Remove pcibios_setup_bus_devices()

2019-10-28 Thread Oliver O'Halloran
With the previous patch applied pcibios_setup_device() will always be run when pcibios_bus_add_device() is called. There are several code paths where pcibios_setup_bus_device() is still called (the PowerPC specific PCI hotplug support is one) so with just the previous patch applied the setup can

[PATCH V3] ASoC: fsl_asrc: refine the setting of internal clock divider

2019-10-28 Thread Shengjiu Wang
The output divider should align with the output sample rate, if use ideal sample rate, there will be a lot of overload, which would cause underrun. The maximum divider of asrc clock is 1024, but there is no judgement for this limitation in driver, which may cause the divider setting not correct.

[RFC PATCH 1/4] libnvdimm/namespace: Make namespace size validation arch dependent

2019-10-28 Thread Aneesh Kumar K.V
The page size used to map the namespace is arch dependent. For example architectures like ppc64 use 16MB page size for direct-mapping. If the namespace size is not aligned to the mapping page size, we can observe kernel crash during namespace init and destroy. This is due to kernel doing partial

[PATCH v2 2/3] powerpc/pci: Fix pcibios_setup_device() ordering

2019-10-28 Thread Oliver O'Halloran
From: Shawn Anastasio Move PCI device setup from pcibios_add_device() and pcibios_fixup_bus() to pcibios_bus_add_device(). This ensures that platform-specific DMA and IOMMU setup occurs after the device has been registered in sysfs, which is a requirement for IOMMU group assignment to work This

Re: [PATCH v6] numa: make node_to_cpumask_map() NUMA_NO_NODE aware

2019-10-28 Thread Yunsheng Lin
On 2019/10/12 15:40, Greg KH wrote: > On Sat, Oct 12, 2019 at 02:17:26PM +0800, Yunsheng Lin wrote: >> add pci and acpi maintainer >> cc linux-...@vger.kernel.org and linux-a...@vger.kernel.org >> >> On 2019/10/11 19:15, Peter Zijlstra wrote: >>> On Fri, Oct 11, 2019 at 11:27:54AM +0800, Yunsheng

Re: [PATCH v9 2/8] powerpc/ima: add support to initialize ima policy rules

2019-10-28 Thread Mimi Zohar
On Sat, 2019-10-26 at 19:52 -0400, Mimi Zohar wrote: > On Fri, 2019-10-25 at 12:02 -0500, Nayna Jain wrote: > > On 10/24/19 12:35 PM, Lakshmi Ramasubramanian wrote: > > > On 10/23/2019 8:47 PM, Nayna Jain wrote: > > > > > >> +/* > > >> + * The "secure_rules" are enabled only on "secureboot"

Re: [PATCH v9 0/8] powerpc: Enabling IMA arch specific secure boot policies

2019-10-28 Thread Mimi Zohar
On Wed, 2019-10-23 at 22:47 -0500, Nayna Jain wrote: > This patchset extends the previous version[1] by adding support for > checking against a blacklist of binary hashes. > > The IMA subsystem supports custom, built-in, arch-specific policies to > define the files to be measured and appraised.

[RFC PATCH 4/4] libnvdimm/namespace: Add debug check while initializing namespace resource size.

2019-10-28 Thread Aneesh Kumar K.V
This should enable us to catch if we are initializing the namespace with a wrong size. Signed-off-by: Aneesh Kumar K.V --- drivers/nvdimm/namespace_devs.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c index

[PATCH v2] powerpc/imc: Add documentation for IMC and trace-mode

2019-10-28 Thread Michael Ellerman
From: Anju T Sudhakar Documentation for IMC (In-Memory Collection Counters) infrastructure and trace-mode of IMC. Signed-off-by: Anju T Sudhakar [mpe: Convert to rst, minor rewording, make PMI example more concise] Signed-off-by: Michael Ellerman --- Documentation/powerpc/imc.rst | 199

[PATCH] powerepc/book3s64/hash: Align start address correctly with bolt mapping

2019-10-28 Thread Aneesh Kumar K.V
Without this we can miss mapping the last page covering the end address passed BUG: Unable to handle kernel data access at 0xc00100040600 Faulting instruction address: 0xc0090790 NIP [c0090790] arch_add_memory+0xc0/0x130 LR [c0090744] arch_add_memory+0x74/0x130 Call

Re: [PATCH v2 1/2] kasan: support instrumented bitops combined with generic bitops

2019-10-28 Thread Daniel Axtens
Hi all, Would it be possible to get an Ack from a KASAN maintainter? mpe is happy to take this through powerpc but would like an ack first. Regards, Daniel >> Currently bitops-instrumented.h assumes that the architecture provides >> atomic, non-atomic and locking bitops (e.g. both set_bit and

Applied "ASoC: fsl_esai: Add spin lock to protect reset, stop and start" to the asoc tree

2019-10-28 Thread Mark Brown
The patch ASoC: fsl_esai: Add spin lock to protect reset, stop and start has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "ASoC: fsl_asrc: refine the setting of internal clock divider" to the asoc tree

2019-10-28 Thread Mark Brown
The patch ASoC: fsl_asrc: refine the setting of internal clock divider has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "ASoC: fsl: fsl_dma: fix build failure" to the asoc tree

2019-10-28 Thread Mark Brown
The patch ASoC: fsl: fsl_dma: fix build failure has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

[PATCH v14 06/22] powerpc: mm: Add p?d_leaf() definitions

2019-10-28 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_leaf() functions/macros. For powerpc pmd_large() already exists and does what we

Re: [PATCH 2/3] ocxl: Add pseries-specific code

2019-10-28 Thread christophe lombard
On 22/10/2019 09:52, christophe lombard wrote: pseries.c implements the guest-specific callbacks for the backend API. The hypervisor calls provide an interface to configure and interact with OpenCAPI devices. It matches the last version of the 'PAPR changes' document. The following hcalls are

Re: [PATCH v2 23/23] soc: fsl: qe: remove PPC32 dependency from CONFIG_QUICC_ENGINE

2019-10-28 Thread kbuild test robot
Hi Rasmus, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.4-rc5 next-20191028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Re: [PATCH v2 23/23] soc: fsl: qe: remove PPC32 dependency from CONFIG_QUICC_ENGINE

2019-10-28 Thread kbuild test robot
Hi Rasmus, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.4-rc5 next-20191028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base

Re: passing NULL to clock_getres (VDSO): terminated by unexpected signal 11

2019-10-28 Thread Nathan Lynch
Hi Christophe, Christophe Leroy writes: > Hi Nathan, > > While trying to switch powerpc VDSO to C version of gettimeofday(), I'm > getting the following kind of error with vdsotest: > > passing NULL to clock_getres (VDSO): terminated by unexpected signal 11 > > Looking at commit a9446a906f52

Re: passing NULL to clock_getres (VDSO): terminated by unexpected signal 11

2019-10-28 Thread Christophe Leroy
Le 28/10/2019 à 16:46, Nathan Lynch a écrit : Hi Christophe, Christophe Leroy writes: Hi Nathan, While trying to switch powerpc VDSO to C version of gettimeofday(), I'm getting the following kind of error with vdsotest: passing NULL to clock_getres (VDSO): terminated by unexpected signal

Re: [PATCH v2] cpufreq: powernv: fix stack bloat and NR_CPUS limitation

2019-10-28 Thread Rafael J. Wysocki
On Friday, October 18, 2019 7:07:12 AM CET Viresh Kumar wrote: > On 17-10-19, 21:55, John Hubbard wrote: > > The following build warning occurred on powerpc 64-bit builds: > > > > drivers/cpufreq/powernv-cpufreq.c: In function 'init_chip_info': > > drivers/cpufreq/powernv-cpufreq.c:1070:1:

Re: [PATCH 3/5] drm/amdgpu: Remove superfluous void * cast in debugfs_create_file() call

2019-10-28 Thread Alex Deucher
On Mon, Oct 21, 2019 at 6:23 PM Geert Uytterhoeven wrote: > > There is no need to cast a typed pointer to a void pointer when calling > a function that accepts the latter. Remove it, as the cast prevents > further compiler checks. > > Signed-off-by: Geert Uytterhoeven Applied. Thanks! Alex

[PATCH 3/6] x86: Mark archrandom.h functions __must_check

2019-10-28 Thread Richard Henderson
We cannot use the pointer output without validating the success of the random read. Signed-off-by: Richard Henderson --- Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" --- arch/x86/include/asm/archrandom.h | 16 1 file changed, 8 insertions(+),

Re: [PATCH 04/10] powerpc: Map & release OpenCAPI LPC memory

2019-10-28 Thread Andrew Donnellan
On 25/10/19 3:46 pm, Alastair D'Silva wrote: From: Alastair D'Silva This patch adds platform support to map & release LPC memory. > Signed-off-by: Alastair D'Silva --- arch/powerpc/include/asm/pnv-ocxl.h | 2 ++ arch/powerpc/platforms/powernv/ocxl.c | 41 +++

[PATCH 6/6] s390x: Mark archrandom.h functions __must_check

2019-10-28 Thread Richard Henderson
We cannot use the pointer output without validating the success of the random read. Signed-off-by: Richard Henderson --- Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger --- arch/s390/include/asm/archrandom.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [PATCH v9 2/8] powerpc/ima: add support to initialize ima policy rules

2019-10-28 Thread Michael Ellerman
Hi Lakshmi, Lakshmi Ramasubramanian writes: > On 10/25/2019 10:02 AM, Nayna Jain wrote: > > >> Is there any way to not use conditional compilation in > >> the above array definition? Maybe define different functions to get > >> "secure_rules" for when CONFIG_MODULE_SIG_FORCE is defined and

Re: [PATCH v2 23/23] soc: fsl: qe: remove PPC32 dependency from CONFIG_QUICC_ENGINE

2019-10-28 Thread kbuild test robot
Hi Rasmus, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.4-rc5 next-20191028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base

Re: [RFC PATCH 1/4] libnvdimm/namespace: Make namespace size validation arch dependent

2019-10-28 Thread Ira Weiny
> diff --git a/arch/powerpc/lib/pmem.c b/arch/powerpc/lib/pmem.c > index 377712e85605..2e661a08dae5 100644 > --- a/arch/powerpc/lib/pmem.c > +++ b/arch/powerpc/lib/pmem.c > @@ -17,14 +17,31 @@ void arch_wb_cache_pmem(void *addr, size_t size) > unsigned long start = (unsigned long) addr; >

[PATCH 0/6] Improvements for random.h/archrandom.h

2019-10-28 Thread Richard Henderson
During patch review for an addition of archrandom.h for arm64, it was suggeted that the arch_random_get_* functions should be marked __must_check. Which does sound like a good idea, since the by-reference integer output may be uninitialized when the boolean result is false. In addition, I

[PATCH 5/6] powerpc: Mark archrandom.h functions __must_check

2019-10-28 Thread Richard Henderson
We cannot use the pointer output without validating the success of the random read. Signed-off-by: Richard Henderson --- Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman --- arch/powerpc/include/asm/archrandom.h | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[PATCH 1/6] random: Mark CONFIG_ARCH_RANDOM functions __must_check

2019-10-28 Thread Richard Henderson
We cannot use the pointer output without validating the success of the random read. Signed-off-by: Richard Henderson --- Cc: Kees Cook Cc: "H. Peter Anvin" Cc: linux-a...@vger.kernel.org --- include/linux/random.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH] powerpc/powernv/smp: fix a warning at CPU hotplug

2019-10-28 Thread Qian Cai
The commit e78a7614f387 ("idle: Prevent late-arriving interrupts from disrupting offline") introduced a warning on powerpc with CPU hotplug, WARNING: CPU: 1 PID: 0 at arch/powerpc/platforms/powernv/smp.c:160 pnv_smp_cpu_kill_self+0x5c/0x330 Call Trace: cpu_die+0x48/0x64

[PATCH 2/6] x86: Move arch_has_random* inside CONFIG_ARCH_RANDOM

2019-10-28 Thread Richard Henderson
These functions are declared generically without CONFIG_ARCH_RANDOM. The only reason this compiles for x86 is that we currently have a mix of inline functions are preprocessor defines. Signed-off-by: Richard Henderson --- Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter

Re: [RFC PATCH 1/4] libnvdimm/namespace: Make namespace size validation arch dependent

2019-10-28 Thread Dan Williams
On Mon, Oct 28, 2019 at 2:48 AM Aneesh Kumar K.V wrote: > > The page size used to map the namespace is arch dependent. For example > architectures like ppc64 use 16MB page size for direct-mapping. If the > namespace > size is not aligned to the mapping page size, we can observe kernel crash >

[PATCH v10 1/5] kasan: support backing vmalloc space with real shadow memory

2019-10-28 Thread Daniel Axtens
Hook into vmalloc and vmap, and dynamically allocate real shadow memory to back the mappings. Most mappings in vmalloc space are small, requiring less than a full page of shadow space. Allocating a full shadow page per mapping would therefore be wasteful. Furthermore, to ensure that different

[PATCH v10 0/5] kasan: support backing vmalloc space with real shadow memory

2019-10-28 Thread Daniel Axtens
Currently, vmalloc space is backed by the early shadow page. This means that kasan is incompatible with VMAP_STACK. This series provides a mechanism to back vmalloc space with real, dynamically allocated memory. I have only wired up x86, because that's the only currently supported arch I can work

Re: [RFC PATCH 1/4] libnvdimm/namespace: Make namespace size validation arch dependent

2019-10-28 Thread Aneesh Kumar K.V
On 10/29/19 2:51 AM, Ira Weiny wrote: diff --git a/arch/powerpc/lib/pmem.c b/arch/powerpc/lib/pmem.c index 377712e85605..2e661a08dae5 100644 --- a/arch/powerpc/lib/pmem.c +++ b/arch/powerpc/lib/pmem.c @@ -17,14 +17,31 @@ void arch_wb_cache_pmem(void *addr, size_t size) unsigned long

Re: [PATCH] powerpc: sysdev: xive: Fix use true/false for bool type

2019-10-28 Thread Gustavo A. R. Silva
This is not actually a 'fix' I suggest you to rephrase the subject in a different way and remove the word 'fix' from it. On 10/28/19 22:40, Saurav Girepunje wrote: > Use true/false for bool return type in xive_spapr_cleanup_queue > function. > How do you find this? If you used a tool to

[PATCH v10 4/5] x86/kasan: support KASAN_VMALLOC

2019-10-28 Thread Daniel Axtens
In the case where KASAN directly allocates memory to back vmalloc space, don't map the early shadow page over it. We prepopulate pgds/p4ds for the range that would otherwise be empty. This is required to get it synced to hardware on boot, allowing the lower levels of the page tables to be filled

Re: [RFC PATCH 1/4] libnvdimm/namespace: Make namespace size validation arch dependent

2019-10-28 Thread Aneesh Kumar K.V
On 10/29/19 4:38 AM, Dan Williams wrote: On Mon, Oct 28, 2019 at 2:48 AM Aneesh Kumar K.V wrote: The page size used to map the namespace is arch dependent. For example architectures like ppc64 use 16MB page size for direct-mapping. If the namespace size is not aligned to the mapping page

Bug 205201 - Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M

2019-10-28 Thread Christian Zigotzky
Hello, The bug with some PCI devices if you have more than 3.5G installed still exist in the RC5. Could you please look in the following bug report. Link: https://bugzilla.kernel.org/show_bug.cgi?id=205201 Thanks, Christian

Re: [PATCH 04/10] powerpc: Map & release OpenCAPI LPC memory

2019-10-28 Thread Alastair D'Silva
On Tue, 2019-10-29 at 12:49 +1100, Andrew Donnellan wrote: > On 25/10/19 3:46 pm, Alastair D'Silva wrote: > > From: Alastair D'Silva > > > > This patch adds platform support to map & release LPC memory. > > > Signed-off-by: Alastair D'Silva > > --- > > arch/powerpc/include/asm/pnv-ocxl.h |

[PATCH v10 3/5] fork: support VMAP_STACK with KASAN_VMALLOC

2019-10-28 Thread Daniel Axtens
Supporting VMAP_STACK with KASAN_VMALLOC is straightforward: - clear the shadow region of vmapped stacks when swapping them in - tweak Kconfig to allow VMAP_STACK to be turned on with KASAN Reviewed-by: Dmitry Vyukov Signed-off-by: Daniel Axtens --- arch/Kconfig | 9 +

[PATCH v10 2/5] kasan: add test for vmalloc

2019-10-28 Thread Daniel Axtens
Test kasan vmalloc support by adding a new test to the module. Signed-off-by: Daniel Axtens -- v5: split out per Christophe Leroy --- lib/test_kasan.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/lib/test_kasan.c b/lib/test_kasan.c index

Re: [PATCH v6 0/7] Powerpc/Watchpoint: Few important fixes

2019-10-28 Thread Ravi Bangoria
On 10/17/19 3:01 PM, Ravi Bangoria wrote: v5: https://lists.ozlabs.org/pipermail/linuxppc-dev/2019-October/198069.html v5->v6: - patch 6/7: mpe reported that the perf-hwbreak.c doesn't compile with older gcc: perf-hwbreak.c:182:2: error: dereferencing type-punned pointer will

[PATCH 4/6] powerpc: Use bool in archrandom.h

2019-10-28 Thread Richard Henderson
The generic interface uses bool not int; match that. Signed-off-by: Richard Henderson --- Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman --- arch/powerpc/include/asm/archrandom.h | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git

Re: [PATCH 04/10] powerpc: Map & release OpenCAPI LPC memory

2019-10-28 Thread Andrew Donnellan
On 29/10/19 1:44 pm, Alastair D'Silva wrote: This is used within this patch, in the map call. But not in a module, which is what you need to export the symbol for. -- Andrew Donnellan OzLabs, ADL Canberra a...@linux.ibm.com IBM Australia Limited

[PATCH] powerpc: sysdev: xive: Fix use true/false for bool type

2019-10-28 Thread Saurav Girepunje
Use true/false for bool return type in xive_spapr_cleanup_queue function. Signed-off-by: Saurav Girepunje --- arch/powerpc/sysdev/xive/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/sysdev/xive/spapr.c b/arch/powerpc/sysdev/xive/spapr.c index

[PATCH v10 5/5] kasan debug: track pages allocated for vmalloc shadow

2019-10-28 Thread Daniel Axtens
Provide the current number of vmalloc shadow pages in /sys/kernel/debug/kasan/vmalloc_shadow_pages. Signed-off-by: Daniel Axtens --- v10: rebase on linux-next/master. v8: rename kasan_vmalloc/shadow_pages -> kasan/vmalloc_shadow_pages On v4 (no dynamic freeing), I saw the following

Re: [RFC PATCH 1/4] libnvdimm/namespace: Make namespace size validation arch dependent

2019-10-28 Thread Dan Williams
On Mon, Oct 28, 2019 at 9:35 PM Aneesh Kumar K.V wrote: > > On 10/29/19 4:38 AM, Dan Williams wrote: > > On Mon, Oct 28, 2019 at 2:48 AM Aneesh Kumar K.V > > wrote: > >> > >> The page size used to map the namespace is arch dependent. For example > >> architectures like ppc64 use 16MB page size