Re: [PATCH RFC 1/5] cpu/speculation: Add 'cpu_spec_mitigations=' cmdline options

2019-04-09 Thread Michael Ellerman
Josh Poimboeuf writes: > On Fri, Apr 05, 2019 at 06:01:36PM +0200, Borislav Petkov wrote: >> Thinking about this more, we can shave off the first 4 chars and have it >> be: >> >> spec_mitigations= >> >> I think it is painfully clear which speculation mitigations we mean. And >> the other

Re: [PATCH v2 3/3] ASoC: imx-audmix: fix object reference leaks in probe

2019-04-09 Thread Nicolin Chen
On Tue, Apr 09, 2019 at 11:27:42AM +, Viorel Suman wrote: > Release the reference to the underlying device taken > by of_find_device_by_node() call. > > Signed-off-by: Viorel Suman > Reported-by: Julia Lawall Acked-by: Nicolin Chen

Re: [PATCH v2 2/3] dt-bindings: fsl,audmix: remove "model" attribute

2019-04-09 Thread Nicolin Chen
On Tue, Apr 09, 2019 at 11:27:40AM +, Viorel Suman wrote: > Remove "model" attribute. > > Signed-off-by: Viorel Suman Acked-by: Nicolin Chen

Re: [PATCH v2 1/3] ASoC: fsl_audmix: remove "model" attribute

2019-04-09 Thread Nicolin Chen
On Tue, Apr 09, 2019 at 11:27:39AM +, Viorel Suman wrote: > Use "of_device_id.data" to specify the machine driver > instead of "model" DTS attribute. > > Signed-off-by: Viorel Suman Acked-by: Nicolin Chen > --- > sound/soc/fsl/fsl_audmix.c | 43 +++

Re: [PATCH] ASoC: fsl_asrc: replace the process_option table with function

2019-04-09 Thread Nicolin Chen
On Wed, Apr 10, 2019 at 03:15:26AM +, S.j. Wang wrote: > The table is not flexible if supported sample rate is not in the > table, so use a function to replace it. Could you please elaborate a bit the special use case here? The table was copied directly from the Reference Manual. We also

Re: [PATCH V2] ASoC: fsl_esai: replace fall-through with break

2019-04-09 Thread Nicolin Chen
On Wed, Apr 10, 2019 at 02:42:45AM +, S.j. Wang wrote: > case ESAI_HCKT_EXTAL and case ESAI_HCKR_EXTAL should be independent of > each other, so replace fall-through with break. > > Fixes: 43d24e76b698 ("ASoC: fsl_esai: Add ESAI CPU DAI driver") > > Signed-off-by: Shengjiu Wang Acked-by:

Re: [PATCH V1] ASoC: fsl_esai: replace fall-through with break

2019-04-09 Thread Nicolin Chen
On Tue, Apr 09, 2019 at 08:50:59PM -0700, Nicolin Chen wrote: > On Mon, Apr 08, 2019 at 09:28:06AM +, S.j. Wang wrote: > > case ESAI_HCKT_EXTAL and case ESAI_HCKR_EXTAL should be independent of > > each other, so replace fall-through with break. > > > > Fixes: 16bbeb2b43c3 ("ASoC: fsl_esai:

Re: [PATCH V1] ASoC: fsl_esai: replace fall-through with break

2019-04-09 Thread Nicolin Chen
On Mon, Apr 08, 2019 at 09:28:06AM +, S.j. Wang wrote: > case ESAI_HCKT_EXTAL and case ESAI_HCKR_EXTAL should be independent of > each other, so replace fall-through with break. > > Fixes: 16bbeb2b43c3 ("ASoC: fsl_esai: Mark expected switch fall-through") > > Signed-off-by: Shengjiu Wang

[PATCH] ASoC: fsl_asrc: replace the process_option table with function

2019-04-09 Thread S.j. Wang
The table is not flexible if supported sample rate is not in the table, so use a function to replace it. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_asrc.c | 73 +++- 1 file changed, 53 insertions(+), 20 deletions(-) diff --git

[PATCH V2] ASoC: fsl_esai: replace fall-through with break

2019-04-09 Thread S.j. Wang
case ESAI_HCKT_EXTAL and case ESAI_HCKR_EXTAL should be independent of each other, so replace fall-through with break. Fixes: 43d24e76b698 ("ASoC: fsl_esai: Add ESAI CPU DAI driver") Signed-off-by: Shengjiu Wang --- Changes in v2 - fix the fixes tag. sound/soc/fsl/fsl_esai.c | 2 +- 1 file

Re: [PATCH v2] powerpc/xmon: add read-only mode

2019-04-09 Thread Christopher M Riedl
> On April 8, 2019 at 2:37 AM Andrew Donnellan > wrote: > > > On 8/4/19 1:08 pm, Christopher M. Riedl wrote: > > Operations which write to memory and special purpose registers should be > > restricted on systems with integrity guarantees (such as Secure Boot) > > and, optionally, to avoid

RE: [EXT] Re: [PATCH V1] ASoC: fsl_esai: replace fall-through with break

2019-04-09 Thread S.j. Wang
Hi > > Hi Gustavo, > > On Mon, Apr 08, 2019 at 10:20:25PM -0500, Gustavo A. R. Silva wrote: > > >>> diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c > > >>> index > > >>> c7410bbfd2af..bad0dfed6b68 100644 > > >>> --- a/sound/soc/fsl/fsl_esai.c > > >>> +++

Re: [PATCH v2] powerpc/xmon: add read-only mode

2019-04-09 Thread Christopher M Riedl
> On April 8, 2019 at 1:34 AM Oliver wrote: > > > On Mon, Apr 8, 2019 at 1:06 PM Christopher M. Riedl > wrote: > > > > Operations which write to memory and special purpose registers should be > > restricted on systems with integrity guarantees (such as Secure Boot) > > and, optionally, to

Re: [PATCH 0/4] Enabling secure boot on PowerNV systems

2019-04-09 Thread Claudio Carvalho
On 4/5/19 7:19 PM, Matthew Garrett wrote: > On Fri, Apr 5, 2019 at 2:11 PM Claudio Carvalho > wrote: >> >> On 4/3/19 7:27 PM, Matthew Garrett wrote: >>> Not supporting dbx seems like a pretty significant shortcoming. How >>> are signatures meant to be revoked? >> >> We began by focusing on

Re: [PATCH v10 02/18] counter: Documentation: Add Generic Counter sysfs documentation

2019-04-09 Thread David Lechner
On 4/8/19 4:55 PM, Pavel Machek wrote: pavel@amd:~$ cat /sys/power/state freeze mem disk And we use [] to mark current selection: I know this is used elsewhere, but I don't think it is a good pattern to copy. Parsing it from user-space is annoying. Also it breaks the sysfs rule of "one item

[PATCH 10/10] powerpc: select DYNAMIC_DEBUG_RELATIVE_POINTERS for PPC64

2019-04-09 Thread Rasmus Villemoes
Similar to GENERIC_BUG_RELATIVE_POINTERS, one can now relativize the four const char* members of struct _ddebug, thus saving 16 bytes per instance (one for each pr_debug(), dev_debug() etc. in a CONFIG_DYNAMIC_DEBUG kernel). The asm-generic implementation seems to work out-of-the-box, though this

[PATCH 07/10] dynamic_debug: add asm-generic implementation for DYNAMIC_DEBUG_RELATIVE_POINTERS

2019-04-09 Thread Rasmus Villemoes
A 64 bit architecture can reduce the size of the kernel image by selecting CONFIG_DYNAMIC_DEBUG_RELATIVE_POINTERS, but it must provide a proper DEFINE_DYNAMIC_DEBUG_METADATA macro for emitting the struct _ddebug in assembly. However, since that does not involve any instructions, this generic

[PATCH 00/10] implement DYNAMIC_DEBUG_RELATIVE_POINTERS

2019-04-09 Thread Rasmus Villemoes
Similar to CONFIG_GENERIC_BUG_RELATIVE_POINTERS that replaces (8 byte) const char* members by (4 byte) signed offsets from the bug_entry, this implements the similar thing for struct _ddebug, the descriptors underlying pr_debug() and friends in a CONFIG_DYNAMIC_DEBUG kernel. Since struct _ddebug

Re: [PATCH] Linux: Define struct termios2 in under _GNU_SOURCE [BZ #10339]

2019-04-09 Thread hpa
On April 9, 2019 4:47:30 AM MDT, Florian Weimer wrote: >struct termios2 is required for setting arbitrary baud rates on serial >ports. and have conflicting >definitions in the existing termios definitions, which means that it >is currently very difficult to use TCGETS2/TCSETS2 and struct

[PATCH 2/2] powerpc/powernv: Add new opal message type

2019-04-09 Thread Vasant Hegde
We have OPAL_MSG_PRD message type to pass prd related messages from OPAL to `opal-prd`. It can handle messages upto 64 bytes. We have a requirement to send bigger than 64 bytes of data from OPAL to `opal-prd`. Lets add new message type (OPAL_MSG_PRD2) to pass bigger data. Cc: Jeremy Kerr

[PATCH 1/2] powerpc/powernv: Enhance opal message read interface

2019-04-09 Thread Vasant Hegde
Use "opal-msg-size" device tree property to allocate memory for "opal_msg". Also replace `reserved` field in "struct opal_msg" with `size`. So that opal_get_msg() user can get actual message size. Cc: Mahesh Salgaonkar Cc: Jeremy Kerr Signed-off-by: Vasant Hegde ---

Re: [PATCH] Linux: Define struct termios2 in under _GNU_SOURCE [BZ #10339]

2019-04-09 Thread hpa
On April 9, 2019 4:47:30 AM MDT, Florian Weimer wrote: >struct termios2 is required for setting arbitrary baud rates on serial >ports. and have conflicting >definitions in the existing termios definitions, which means that it >is currently very difficult to use TCGETS2/TCSETS2 and struct

Re: [PATCH] Linux: Define struct termios2 in under _GNU_SOURCE [BZ #10339]

2019-04-09 Thread Florian Weimer
* hpa: > Anything blocking the POC code I provided? I don't recall that, sorry. Would you please provide a reference? Thanks, Florian

Re: [PATCH v4 16/17] KVM: introduce a KVM_DESTROY_DEVICE ioctl

2019-04-09 Thread Cédric Le Goater
On 3/20/19 9:37 AM, Cédric Le Goater wrote: > The 'destroy' method is currently used to destroy all devices when the > VM is destroyed after the vCPUs have been freed. > > This new KVM ioctl exposes the same KVM device method. It acts as a > software reset of the VM to 'destroy' selected devices

[PATCH] powerpc/mm: Define MAX_PHYSMEM_BITS for all 64-bit configs

2019-04-09 Thread Christian Zigotzky
Hi All, Shall I activate FLATMEM or SPARSEMEM for the Nemo board with the PA6T-1682M SoC? Thanks, Christian

[PATCH] powerpc/security: Show powerpc_security_features in debugfs

2019-04-09 Thread Michael Ellerman
This can be helpful for debugging problems with the security feature flags, especially on guests where the flags come from the hypervisor via an hcall and so can't be observed in the device tree. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/security.c | 8 1 file changed, 8

[PATCH v5 4/6] s390/pci: add support for generic boot option iommu.dma_mode

2019-04-09 Thread Zhen Lei
s390_iommu=strict is equivalent to iommu.dma_mode=strict. Signed-off-by: Zhen Lei --- Documentation/admin-guide/kernel-parameters.txt | 6 +++--- arch/s390/pci/pci_dma.c | 14 +++--- drivers/iommu/Kconfig | 1 + 3 files changed, 11

[PATCH v5 5/6] powernv/iommu: add support for generic boot option iommu.dma_mode

2019-04-09 Thread Zhen Lei
iommu=nobypass can be replaced with iommu.dma_mode=strict. Signed-off-by: Zhen Lei --- Documentation/admin-guide/kernel-parameters.txt | 2 +- arch/powerpc/platforms/powernv/pci-ioda.c | 5 ++--- drivers/iommu/Kconfig | 1 + 3 files changed, 4 insertions(+), 4

[PATCH v5 6/6] x86/iommu: add support for generic boot option iommu.dma_mode

2019-04-09 Thread Zhen Lei
The following equivalence or replacement relationship exists: iommu=pt <--> iommu.dma_mode=passthrough. iommu=nopt can be replaced with iommu.dma_mode=lazy. intel_iommu=strict <--> iommu.dma_mode=strict. amd_iommu=fullflush <--> iommu.dma_mode=strict. Signed-off-by: Zhen Lei ---

[PATCH v5 0/6] add generic boot option for IOMMU dma mode

2019-04-09 Thread Zhen Lei
v4 --> v5: As Hanjun and Thomas Gleixner's suggestion: 1. Keep the old ARCH specific boot options no change. 2. Keep build option CONFIG_IOMMU_DEFAULT_PASSTHROUGH no change. v4: As Robin Murphy's suggestion: "It's also not necessarily obvious to the user how this interacts with

[PATCH v5 3/6] iommu: add iommu_default_dma_mode_get/set() helper

2019-04-09 Thread Zhen Lei
Also add IOMMU_DMA_MODE_IS_{STRICT|LAZT|PASSTHROUGH}() to make the code looks cleaner. There is no functional change, just prepare for the following patches. Signed-off-by: Zhen Lei --- drivers/iommu/iommu.c | 18 ++ include/linux/iommu.h | 18 ++ 2 files

[PATCH v5 2/6] iommu: add build options corresponding to iommu.dma_mode

2019-04-09 Thread Zhen Lei
First, add build option IOMMU_DEFAULT_{LAZY|STRICT}, so that we have the opportunity to set {lazy|strict} mode as default at build time. Then put the three config options in an choice, make people can only choose one of the three at a time, the same to the boot options iommu.dma_mode.

[PATCH v5 1/6] iommu: add generic boot option iommu.dma_mode

2019-04-09 Thread Zhen Lei
Currently the IOMMU dma contains 3 modes: passthrough, lazy, strict. The passthrough mode bypass the IOMMU, the lazy mode defer the invalidation of hardware TLBs, and the strict mode invalidate IOMMU hardware TLBs synchronously. The three modes are mutually exclusive. But the current boot options

Re: [RFC PATCH v2 10/14] kernel/watchdog: Add a function to obtain the watchdog_allowed_mask

2019-04-09 Thread Peter Zijlstra
On Wed, Feb 27, 2019 at 08:05:14AM -0800, Ricardo Neri wrote: > diff --git a/kernel/watchdog.c b/kernel/watchdog.c > index 8fbfda94a67b..367aa81294ef 100644 > --- a/kernel/watchdog.c > +++ b/kernel/watchdog.c > @@ -44,7 +44,7 @@ int __read_mostly soft_watchdog_user_enabled = 1; > int

[PATCH v2 2/3] dt-bindings: fsl,audmix: remove "model" attribute

2019-04-09 Thread Viorel Suman
Remove "model" attribute. Signed-off-by: Viorel Suman --- Documentation/devicetree/bindings/sound/fsl,audmix.txt | 4 1 file changed, 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,audmix.txt b/Documentation/devicetree/bindings/sound/fsl,audmix.txt index

[PATCH v2 1/3] ASoC: fsl_audmix: remove "model" attribute

2019-04-09 Thread Viorel Suman
Use "of_device_id.data" to specify the machine driver instead of "model" DTS attribute. Signed-off-by: Viorel Suman --- sound/soc/fsl/fsl_audmix.c | 43 +++ 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/sound/soc/fsl/fsl_audmix.c

[PATCH v2 0/3] ASoC: fsl: audmix: remove "model" attribute and fix ref leaks

2019-04-09 Thread Viorel Suman
The latest audmix patch-set (v5) had the "model" attribute removed as requested by Nicolin Chen, but looks like (v4) version of DAI driver reached "for-next" branch - fix this by removing "model" attribute. Asside of this fix object reference leaks in machine probe reported by Julia Lawall.

[PATCH v2 3/3] ASoC: imx-audmix: fix object reference leaks in probe

2019-04-09 Thread Viorel Suman
Release the reference to the underlying device taken by of_find_device_by_node() call. Signed-off-by: Viorel Suman Reported-by: Julia Lawall --- sound/soc/fsl/imx-audmix.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/soc/fsl/imx-audmix.c b/sound/soc/fsl/imx-audmix.c index

[PATCH] Linux: Define struct termios2 in under _GNU_SOURCE [BZ #10339]

2019-04-09 Thread Florian Weimer
struct termios2 is required for setting arbitrary baud rates on serial ports. and have conflicting definitions in the existing termios definitions, which means that it is currently very difficult to use TCGETS2/TCSETS2 and struct termios2 with glibc. Providing a definition within glibc

Re: [PATCH 2/2] ASoC: imx-audmix: fix object reference leaks in probe

2019-04-09 Thread Daniel Baluta
On Tue, Apr 9, 2019 at 11:36 AM Viorel Suman wrote: > > Release the reference to the underlying device taken > by of_find_device_by_node() call. > > Signed-off-by: Viorel Suman Please add here the Reported-by tag pointing to Julia. > --- > sound/soc/fsl/imx-audmix.c | 31

Re: [PATCH 1/2] ASoC: fsl_audmix: remove "model" attribute

2019-04-09 Thread Daniel Baluta
Hi Viorel, Few comments inline. On Tue, Apr 9, 2019 at 11:36 AM Viorel Suman wrote: > > Use "of_device_id.data" to specify the machine driver, > instead of "model" DTS attribute. > static int fsl_audmix_probe(struct platform_device *pdev) > { > + struct device *dev = >dev; You might

[PATCH v1 4/4] mm/memory_hotplug: Make __remove_pages() and arch_remove_memory() never fail

2019-04-09 Thread David Hildenbrand
All callers of arch_remove_memory() ignore errors. And we should really try to remove any errors from the memory removal path. No more errors are reported from __remove_pages(). BUG() in s390x code in case arch_remove_memory() is triggered. We may implement that properly later. WARN in case

Re: [PATCH v2 1/2] cpuidle : auto-promotion for cpuidle states

2019-04-09 Thread Rafael J. Wysocki
On Fri, Apr 5, 2019 at 11:17 AM Abhishek Goel wrote: > > Currently, the cpuidle governors (menu /ladder) determine what idle state There are three governors in 5.1-rc. > an idling CPU should enter into based on heuristics that depend on the > idle history on that CPU. Given that no predictive

Re: [PATCH v2 1/2] cpuidle : auto-promotion for cpuidle states

2019-04-09 Thread Abhishek
On 04/09/2019 03:00 PM, Rafael J. Wysocki wrote: On Tue, Apr 9, 2019 at 11:29 AM Abhishek wrote: Hi Daniel, Thanks for such a descriptive review. I will include all the suggestions made in my next iteration. Please give me some time to send comments before that. Sure, I will wait for your

Re: [PATCH v2 1/2] cpuidle : auto-promotion for cpuidle states

2019-04-09 Thread Abhishek
Hi Daniel, On 04/08/2019 07:55 PM, Daniel Axtens wrote: Hi, Sorry, just realised another thing I wanted to ask: @@ -442,6 +442,26 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, } } +#ifdef CPUIDLE_FLAG_AUTO_PROMOTION Why is this

Re: [PATCH v2 1/2] cpuidle : auto-promotion for cpuidle states

2019-04-09 Thread Rafael J. Wysocki
On Tue, Apr 9, 2019 at 11:29 AM Abhishek wrote: > > Hi Daniel, > > Thanks for such a descriptive review. I will include all the suggestions > made in my next iteration. Please give me some time to send comments before that.

Re: [PATCH v2 1/2] cpuidle : auto-promotion for cpuidle states

2019-04-09 Thread Abhishek
Hi Daniel, Thanks for such a descriptive review. I will include all the suggestions made in my next iteration. --Abhishek On 04/08/2019 07:42 PM, Daniel Axtens wrote: Hi Abhishek, Currently, the cpuidle governors (menu /ladder) determine what idle state an idling CPU should enter into

Re: [PATCH v4 10/17] KVM: PPC: Book3S HV: XIVE: add get/set accessors for the VP XIVE state

2019-04-09 Thread Cédric Le Goater
On 4/9/19 8:19 AM, Paul Mackerras wrote: > On Wed, Mar 20, 2019 at 09:37:44AM +0100, Cédric Le Goater wrote: >> The state of the thread interrupt management registers needs to be >> collected for migration. These registers are cached under the >> 'xive_saved_state.w01' field of the VCPU when the

Re: [Qemu-ppc] pseries on qemu-system-ppc64le crashes in doorbell_core_ipi()

2019-04-09 Thread Nicholas Piggin
Frederic Weisbecker's on April 6, 2019 10:06 am: > On Mon, Apr 01, 2019 at 10:38:27AM +0200, Peter Zijlstra wrote: >> >> + fweisbec, who did the remote bits >> >> On Sat, Mar 30, 2019 at 01:10:28PM +1000, Nicholas Piggin wrote: >> > diff --git a/kernel/irq_work.c b/kernel/irq_work.c >> > index

Re: [PATCH 0/2] ASoC: fsl: audmix: fix two issues

2019-04-09 Thread Viorel Suman
Please ignore this series, the device bindings documentation, [1], still contains "model" attribute. Will send V2. [1] Documentation/devicetree/bindings/sound/fsl,audmix.txt Regards, Viorel On Ma, 2019-04-09 at 08:35 +, Viorel Suman wrote: > The latest audmix patch-set (v5) had the "model"

[PATCH 1/2] ASoC: fsl_audmix: remove "model" attribute

2019-04-09 Thread Viorel Suman
Use "of_device_id.data" to specify the machine driver, instead of "model" DTS attribute. Signed-off-by: Viorel Suman --- sound/soc/fsl/fsl_audmix.c | 61 -- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/sound/soc/fsl/fsl_audmix.c

[PATCH 0/2] ASoC: fsl: audmix: fix two issues

2019-04-09 Thread Viorel Suman
The latest audmix patch-set (v5) had the "model" attribute removed as requested by Nicolin Chen, but looks like (v4) version of DAI driver reached "for-next" branch - fix this. Asside of this fix object reference leaks in machine probe reported by Julia Lawall. Viorel Suman (2): ASoC:

[PATCH 2/2] ASoC: imx-audmix: fix object reference leaks in probe

2019-04-09 Thread Viorel Suman
Release the reference to the underlying device taken by of_find_device_by_node() call. Signed-off-by: Viorel Suman --- sound/soc/fsl/imx-audmix.c | 31 +++ 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/sound/soc/fsl/imx-audmix.c

Re: [PATCH] powerpc/mm: Define MAX_PHYSMEM_BITS for all 64-bit configs

2019-04-09 Thread Aneesh Kumar K.V
Michael Ellerman writes: > The recent commit 8bc086899816 ("powerpc/mm: Only define > MAX_PHYSMEM_BITS in SPARSEMEM configurations") removed our definition > of MAX_PHYSMEM_BITS when SPARSEMEM is disabled. > > This inadvertently broke some 64-bit FLATMEM using configs with eg: > >

Re: [PATCH v2] powerpc/64s/radix: Fix radix segment exception handling

2019-04-09 Thread Aneesh Kumar K.V
Nicholas Piggin writes: > Commit 48e7b76957 ("powerpc/64s/hash: Convert SLB miss handlers to C") > broke the radix-mode segment exception handler. In radix mode, this is > exception is not an SLB miss, rather it signals that the EA is outside > the range translated by any page table. > > The

Re: [PATCH v4 10/17] KVM: PPC: Book3S HV: XIVE: add get/set accessors for the VP XIVE state

2019-04-09 Thread Paul Mackerras
On Wed, Mar 20, 2019 at 09:37:44AM +0100, Cédric Le Goater wrote: > The state of the thread interrupt management registers needs to be > collected for migration. These registers are cached under the > 'xive_saved_state.w01' field of the VCPU when the VPCU context is > pulled from the HW thread. An

Re: [PATCH] powerpc/mm/radix: Do slb preload only with hash translation mode

2019-04-09 Thread Nicholas Piggin
Aneesh Kumar K.V's on April 9, 2019 2:03 pm: > Add radix_enabled check to avoid slb preload with radix translation. > > Signed-off-by: Aneesh Kumar K.V Acked-by: Nicholas Piggin > --- > > Without this we result in kernel crash as we move hash related variables > out of mm_context_t > >

[PATCH] powerpc/mm: Define MAX_PHYSMEM_BITS for all 64-bit configs

2019-04-09 Thread Michael Ellerman
The recent commit 8bc086899816 ("powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations") removed our definition of MAX_PHYSMEM_BITS when SPARSEMEM is disabled. This inadvertently broke some 64-bit FLATMEM using configs with eg: