Re: [PATCHv2] kernel/crash: make parse_crashkernel()'s return value more indicant

2019-04-25 Thread Pingfan Liu
On Wed, Apr 24, 2019 at 4:31 PM Matthias Brugger wrote: > > [...] > > @@ -139,6 +141,8 @@ static int __init parse_crashkernel_simple(char > > *cmdline, > > pr_warn("crashkernel: unrecognized char: %c\n", *cur); > > return -EINVAL; > > } > > + if (*crash_size

Re: [PATCH v5 00/23] Include linux ACPI docs into Sphinx TOC tree

2019-04-25 Thread Rafael J. Wysocki
.On Wed, Apr 24, 2019 at 7:54 PM Changbin Du wrote: > > Hi All, > The kernel now uses Sphinx to generate intelligent and beautiful documentation > from reStructuredText files. I converted all of the Linux ACPI/PCI/X86 docs to > reST format in this serias. > > The hieararchy of ACPI docs are based

Re: powerpc hugepage leak caused by 576ed913 "block: use bio_add_page in bio_iov_iter_get_pages"

2019-04-25 Thread Christoph Hellwig
Just curious: What exact trees do you see this with? This area changed a lot with the multipage bvec support, and subsequent fixes. So I'd be really curious if it can be reproduced with Jens' latest block for-5.2 tree (which should be in latest linux-next).

Re: [PATCH v2] mm: Fix modifying of page protection by insert_pfn_pmd()

2019-04-25 Thread Jan Kara
On Wed 24-04-19 11:13:48, Dan Williams wrote: > On Wed, Apr 24, 2019 at 10:38 AM Matthew Wilcox wrote: > > > > On Wed, Apr 24, 2019 at 10:13:15AM -0700, Dan Williams wrote: > > > I think unaligned addresses have always been passed to > > > vmf_insert_pfn_pmd(), but nothing cared until this patch.

Re: [PATCH v2 0/5] Allow CPU0 to be nohz full

2019-04-25 Thread Peter Zijlstra
On Thu, Apr 11, 2019 at 01:34:43PM +1000, Nicholas Piggin wrote: > Since last time, I added a compile time option to opt-out of this > if the platform does not support suspend on non-zero, and tried to > improve legibility of changelogs and explain the justification > better. > > I have been

Re: [PATCH v2 3/5] kernel/cpu: Allow non-zero CPU to be primary for suspend / kexec freeze

2019-04-25 Thread Peter Zijlstra
On Thu, Apr 11, 2019 at 01:34:46PM +1000, Nicholas Piggin wrote: > This patch provides an arch option, ARCH_SUSPEND_NONZERO_CPU, to > opt-in to allowing suspend to occur on one of the housekeeping CPUs > rather than hardcoded CPU0. > > This will allow CPU0 to be a nohz_full CPU with a later

[PATCH v2 00/11] Reduce ifdef mess in slice.c

2019-04-25 Thread Christophe Leroy
This series is a split out of the v1 series "Reduce ifdef mess in hugetlbpage.c and slice.c". It is also rebased after the series from Aneesh to reduce context size for Radix. See http://kisskb.ellerman.id.au/kisskb/branch/chleroy/head/f263887b4ca31f4bb0fe77823e301c28ba27c796/ for wide

[PATCH v2 06/11] powerpc/mm: remove unnecessary #ifdef CONFIG_PPC64

2019-04-25 Thread Christophe Leroy
For PPC32 that's a noop, gcc should be smart enough to ignore it. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/slice.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/powerpc/mm/slice.c b/arch/powerpc/mm/slice.c index 31de91b65a64..840c4118a185 100644 ---

[PATCH v2 10/11] powerpc/mm: define subarch SLB_ADDR_LIMIT_DEFAULT

2019-04-25 Thread Christophe Leroy
This patch defines a subarch specific SLB_ADDR_LIMIT_DEFAULT to remove the #ifdefs around the setup of mm->context.slb_addr_limit It also generalises the use of mm_ctx_set_slb_addr_limit() helper. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/64/slice.h | 2 ++

[PATCH v6 00/24] Include linux ACPI docs into Sphinx TOC tree

2019-04-25 Thread Changbin Du
Hi All, The kernel now uses Sphinx to generate intelligent and beautiful documentation from reStructuredText files. I converted all of the Linux ACPI/PCI/X86 docs to reST format in this serias. The hieararchy of ACPI docs are based on Corbet's suggestion: https://lkml.org/lkml/2019/4/3/1047 I did

[PATCH v2 03/11] powerpc/mm: hand a context_t over to slice_mask_for_size() instead of mm_struct

2019-04-25 Thread Christophe Leroy
slice_mask_for_size() only uses mm->context, so hand directly a pointer to the context. This will help moving the function in subarch mmu.h in the next patch by avoiding having to include the definition of struct mm_struct Signed-off-by: Christophe Leroy --- arch/powerpc/mm/slice.c | 34

[PATCH v2 02/11] powerpc/mm: no slice for nohash/64

2019-04-25 Thread Christophe Leroy
Only nohash/32 and book3s/64 support mm slices. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/nohash/64/slice.h | 12 arch/powerpc/include/asm/slice.h | 4 +--- arch/powerpc/platforms/Kconfig.cputype | 4 3 files changed, 5 insertions(+), 15

[PATCH v2 05/11] powerpc/mm: get rid of mm_ctx_slice_mask_xxx()

2019-04-25 Thread Christophe Leroy
Now that slice_mask_for_size() is in mmu.h, the mm_ctx_slice_mask_xxx() are not needed anymore, so drop them. Note that the 8xx ones where not used anyway. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/64/mmu.h | 32

[PATCH v2 07/11] powerpc/mm: remove a couple of #ifdef CONFIG_PPC_64K_PAGES in mm/slice.c

2019-04-25 Thread Christophe Leroy
This patch replaces a couple of #ifdef CONFIG_PPC_64K_PAGES by IS_ENABLED(CONFIG_PPC_64K_PAGES) to improve code maintainability. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/slice.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/mm/slice.c

[PATCH v2 01/11] powerpc/mm: fix erroneous duplicate slb_addr_limit init

2019-04-25 Thread Christophe Leroy
Commit 67fda38f0d68 ("powerpc/mm: Move slb_addr_linit to early_init_mmu") moved slb_addr_limit init out of setup_arch(). Commit 701101865f5d ("powerpc/mm: Reduce memory usage for mm_context_t for radix") brought it back into setup_arch() by error. This patch reverts that erroneous regress.

[PATCH v2 08/11] powerpc/8xx: get rid of #ifdef CONFIG_HUGETLB_PAGE for slices

2019-04-25 Thread Christophe Leroy
The 8xx only selects CONFIG_PPC_MM_SLICES when CONFIG_HUGETLB_PAGE is set. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/nohash/32/mmu-8xx.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/powerpc/include/asm/nohash/32/mmu-8xx.h

[PATCH v2 09/11] powerpc/mm: define get_slice_psize() all the time

2019-04-25 Thread Christophe Leroy
get_slice_psize() can be defined regardless of CONFIG_PPC_MM_SLICES to avoid ifdefs Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/slice.h | 5 + arch/powerpc/mm/hugetlbpage.c| 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git

[PATCH v2 11/11] powerpc/mm: drop slice DEBUG

2019-04-25 Thread Christophe Leroy
slice is now an improved functionnality. Drop the DEBUG stuff. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/slice.c | 62 - 1 file changed, 4 insertions(+), 58 deletions(-) diff --git a/arch/powerpc/mm/slice.c b/arch/powerpc/mm/slice.c

[PATCH v2 04/11] powerpc/mm: move slice_mask_for_size() into mmu.h

2019-04-25 Thread Christophe Leroy
Move slice_mask_for_size() into subarch mmu.h At the same time, replace BUG() by VM_BUG_ON() as those BUG() are not there to catch runtime errors but to catch errors during development cycle only. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/64/mmu.h | 17 +++

Re: [PATCH v2 3/4] powerpc/boot: Add bzip2 support for uImage

2019-04-25 Thread Adam Borowski
On Tue, Apr 23, 2019 at 02:20:43PM +, Christophe Leroy wrote: > This patch allows to generate bzip2 compressed uImage Please don't add bzip2 support, that's a waste of your time as we're trying to remove it kernel-wide. There's a patchset to retire compressors beaten by alternatives on the

Re: [PATCH v5 00/23] Include linux ACPI docs into Sphinx TOC tree

2019-04-25 Thread Changbin Du
On Thu, Apr 25, 2019 at 10:44:14AM +0200, Rafael J. Wysocki wrote: > .On Wed, Apr 24, 2019 at 7:54 PM Changbin Du wrote: > > > > Hi All, > > The kernel now uses Sphinx to generate intelligent and beautiful > > documentation > > from reStructuredText files. I converted all of the Linux

[PATCH] KVM: PPC: Book3S HV: smb->smp comment fixup

2019-04-25 Thread Palmer Dabbelt
I made the same typo when trying to grep for uses of smp_wmb and figured I might as well fix it. Signed-off-by: Palmer Dabbelt --- arch/powerpc/kvm/book3s_hv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index

Re: [PATCH v10 14/18] drivers/clocksource: timer-fsl-ftm: use common header for FlexTimer #defines

2019-04-25 Thread Daniel Lezcano
On 02/04/2019 08:30, William Breathitt Gray wrote: > From: Patrick Havelange > > Common #defines have been moved to "linux/fsl/ftm.h". Thus making use of > this file. > Also FTM_SC_CLK_SHIFT has been renamed to FTM_SC_CLK_MASK_SHIFT. > > Reviewed-by: Esben Haabendal > Signed-off-by: Patrick

Re: [PATCH v2] powerpc/pseries: Use correct event modifier in rtas_parse_epow_errlog()

2019-04-25 Thread Tyrel Datwyler
On 04/23/2019 07:17 PM, Yue Haibing wrote: > From: YueHaibing > > rtas_parse_epow_errlog() should pass 'modifier' to > handle_system_shutdown, because event modifier only use > bottom 4 bits. > > Fixes: 55fc0c561742 ("powerpc/pseries: Parse and handle EPOW interrupts") > Signed-off-by:

[PATCH v6 01/24] Documentation: add Linux ACPI to Sphinx TOC tree

2019-04-25 Thread Changbin Du
Add below index.rst files for ACPI subsystem. More docs will be added later. o admin-guide/acpi/index.rst o driver-api/acpi/index.rst o firmware-guide/index.rst Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/admin-guide/acpi/index.rst| 10 ++

[PATCH v6 05/24] Documentation: ACPI: move linuxized-acpica.txt to driver-api/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/driver-api/acpi/index.rst | 1 + .../acpi/linuxized-acpica.rst}

[PATCH v6 07/24] Documentation: ACPI: move DSD-properties-rules.txt to firmware-guide/acpi and covert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- .../acpi/DSD-properties-rules.rst}| 21 +++

[PATCH v6 12/24] Documentation: ACPI: move i2c-muxes.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/acpi/i2c-muxes.txt | 58 --

[PATCH v6 13/24] Documentation: ACPI: move acpi-lid.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- .../acpi/acpi-lid.rst}| 40 ++-

[PATCH v6 15/24] Documentation: ACPI: move dsd/data-node-references.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- .../acpi/dsd/data-node-references.rst}| 36 ++-

[PATCH v6 02/24] Documentation: ACPI: move namespace.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/firmware-guide/acpi/index.rst | 1 + .../acpi/namespace.rst}

[PATCH v6 04/24] Documentation: ACPI: move osi.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/firmware-guide/acpi/index.rst | 1 + .../{acpi/osi.txt =>

[PATCH v6 09/24] Documentation: ACPI: move method-customizing.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/acpi/method-customizing.txt | 73 ---

[PATCH v6 10/24] Documentation: ACPI: move initrd_table_override.txt to admin-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/acpi/initrd_table_override.txt | 111 -

[PATCH v6 16/24] Documentation: ACPI: move debug.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- .../acpi/debug.rst} | 31 ++-

[PATCH v6 19/24] Documentation: ACPI: move apei/output_format.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/acpi/apei/output_format.txt | 147 -

[PATCH v6 21/24] Documentation: ACPI: move cppc_sysfs.txt to admin-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/cppc_sysfs.rst} | 71 ++- Documentation/admin-guide/acpi/index.rst | 1 + 2 files

[PATCH v6 24/24] Documentation: ACPI: move video_extension.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/firmware-guide/acpi/index.rst | 1 + .../acpi/video_extension.rst}

[PATCH v6 03/24] Documentation: ACPI: move enumeration.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- .../acpi/enumeration.rst} | 135 ++

[PATCH v6 18/24] Documentation: ACPI: move aml-debugger.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/acpi/aml-debugger.txt | 66

[PATCH v6 20/24] Documentation: ACPI: move apei/einj.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- .../acpi/apei/einj.rst} | 94 ++-

[PATCH v6 22/24] Documentation: ACPI: move lpit.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/firmware-guide/acpi/index.rst| 1 + .../lpit.txt =>

Re: [PATCH v4 38/63] Documentation: x86: convert boot.txt to reST

2019-04-25 Thread Changbin Du
On Wed, Apr 24, 2019 at 02:36:44PM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 24 Apr 2019 00:29:07 +0800 > Changbin Du escreveu: > > > This converts the plain text documentation to reStructuredText format and > > add it to Sphinx TOC tree. No essential content change. > > > > Signed-off-by:

[PATCH v6 06/24] Documentation: ACPI: move scan_handlers.txt to driver-api/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/driver-api/acpi/index.rst | 1 + .../acpi/scan_handlers.rst}

[PATCH v6 08/24] Documentation: ACPI: move gpio-properties.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- .../acpi/gpio-properties.rst} | 78 +++

[PATCH v6 11/24] Documentation: ACPI: move dsdt-override.txt to admin-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- .../acpi/dsdt-override.rst} | 8 +++-

[PATCH v6 14/24] Documentation: ACPI: move dsd/graph.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- .../acpi/dsd/graph.rst} | 157 +-

[PATCH v6 17/24] Documentation: ACPI: move method-tracing.txt to firmware-guide/acpi and convert to rsST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/acpi/method-tracing.txt | 192 --

[PATCH v6 23/24] Documentation: ACPI: move ssdt-overlays.txt to admin-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab --- Documentation/acpi/ssdt-overlays.txt | 172 -

Re: [PATCH v4 25/63] Documentation: add Linux PCI to Sphinx TOC tree

2019-04-25 Thread Changbin Du
On Wed, Apr 24, 2019 at 12:03:43PM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 24 Apr 2019 00:28:54 +0800 > Changbin Du escreveu: > > > Add a index.rst for PCI subsystem. More docs will be added later. > > > > Signed-off-by: Changbin Du > > Acked-by: Bjorn Helgaas > > --- > >

Re: [PATCH v2 3/4] powerpc/boot: Add bzip2 support for uImage

2019-04-25 Thread Christophe Leroy
On 04/25/2019 02:37 PM, Adam Borowski wrote: On Tue, Apr 23, 2019 at 02:20:43PM +, Christophe Leroy wrote: This patch allows to generate bzip2 compressed uImage Please don't add bzip2 support, that's a waste of your time as we're trying to remove it kernel-wide. There's a patchset to

Applied "ASoC: fsl_sai: Update is_slave_mode with correct value" to the asoc tree

2019-04-25 Thread Mark Brown
The patch ASoC: fsl_sai: Update is_slave_mode with correct value has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH v10 00/18] Introduce the Counter subsystem

2019-04-25 Thread Greg KH
On Sun, Apr 07, 2019 at 03:25:50PM +0100, Jonathan Cameron wrote: > On Tue, 2 Apr 2019 15:30:35 +0900 > William Breathitt Gray wrote: > > > Changes in v10: > > - Fix minor typographical errors in documentation > > - Merge the FlexTimer Module Quadrature decoder counter driver patches > > >

Applied "ASoC: fsl_sai: Update is_slave_mode with correct value" to the asoc tree

2019-04-25 Thread Mark Brown
The patch ASoC: fsl_sai: Update is_slave_mode with correct value has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH v2] mm: Fix modifying of page protection by insert_pfn_pmd()

2019-04-25 Thread Dan Williams
On Thu, Apr 25, 2019 at 12:32 AM Jan Kara wrote: > > On Wed 24-04-19 11:13:48, Dan Williams wrote: > > On Wed, Apr 24, 2019 at 10:38 AM Matthew Wilcox wrote: > > > > > > On Wed, Apr 24, 2019 at 10:13:15AM -0700, Dan Williams wrote: > > > > I think unaligned addresses have always been passed to >

Re: [PATCH v2] mm: Fix modifying of page protection by insert_pfn_pmd()

2019-04-25 Thread Matthew Wilcox
On Thu, Apr 25, 2019 at 05:33:04PM -0700, Dan Williams wrote: > On Thu, Apr 25, 2019 at 12:32 AM Jan Kara wrote: > > > > We also call vmf_insert_pfn_pmd() in dax_insert_pfn_mkwrite() -- does > > > > that need to change too? > > > > > > It wasn't clear to me that it was a problem. I think that one

Re: powerpc hugepage leak caused by 576ed913 "block: use bio_add_page in bio_iov_iter_get_pages"

2019-04-25 Thread David Gibson
On Thu, Apr 25, 2019 at 08:19:58AM +0200, Christoph Hellwig wrote: > Just curious: What exact trees do you see this with? This area > changed a lot with the multipage bvec support, and subsequent fixes. So, I tried it with 576ed913 itself and with 576ed913^ to verify that it didn't happen

[PATCH] ASoC: fsl_sai: Add missing return 0 in remove()

2019-04-25 Thread Nicolin Chen
Build warning being reported: sound/soc/fsl/fsl_sai.c: In function 'fsl_sai_remove': sound/soc/fsl/fsl_sai.c:921:1: warning: no return statement in function returning non-void [-Wreturn-type] So this patch just adds a "return 0" to fix it. Fixes: 812ad463e089 ("ASoC: fsl_sai: Add

Re: powerpc hugepage leak caused by 576ed913 "block: use bio_add_page in bio_iov_iter_get_pages"

2019-04-25 Thread David Gibson
On Fri, Apr 26, 2019 at 11:05:17AM +1000, David Gibson wrote: > On Thu, Apr 25, 2019 at 08:19:58AM +0200, Christoph Hellwig wrote: > > Just curious: What exact trees do you see this with? This area > > changed a lot with the multipage bvec support, and subsequent fixes. > > So, I tried it with

Re: [PATCH v2 3/5] kernel/cpu: Allow non-zero CPU to be primary for suspend / kexec freeze

2019-04-25 Thread Nicholas Piggin
Peter Zijlstra's on April 25, 2019 10:02 pm: > On Thu, Apr 11, 2019 at 01:34:46PM +1000, Nicholas Piggin wrote: >> This patch provides an arch option, ARCH_SUSPEND_NONZERO_CPU, to >> opt-in to allowing suspend to occur on one of the housekeeping CPUs >> rather than hardcoded CPU0. >> >> This will

BUG: crash in __tlb_remove_page_size with STRICT_KERNEL_RWX on BOOK3S_32

2019-04-25 Thread Serge Belyshev
Hi! Commit 63b2bc61956 aka "powerpc/mm/32s: Use BATs for STRICT_KERNEL_RWX" caused my old powerbook to crash under I/O. After "dd if=/dev/hda of=/null" the crash happens in seconds. Reverting the commit helps, as well as disabling STRICT_KERNEL_RWX. Unfortunately, I was unable to capture the

Re: [alsa-devel] [PATCH] ASoC: fsl_sai: Add missing return 0 in remove()

2019-04-25 Thread Daniel Baluta
On Fri, Apr 26, 2019 at 6:22 AM Nicolin Chen wrote: > > Build warning being reported: > sound/soc/fsl/fsl_sai.c: In function 'fsl_sai_remove': > sound/soc/fsl/fsl_sai.c:921:1: warning: no return statement in > function returning non-void [-Wreturn-type] > > So this patch just adds a

Re: [PATCH v3 5/6] powerpc/mm: Reduce memory usage for mm_context_t for radix

2019-04-25 Thread Aneesh Kumar K.V
Christophe Leroy writes: > Le 17/04/2019 à 15:03, Aneesh Kumar K.V a écrit : >> Currently, our mm_context_t on book3s64 include all hash specific >> context details like slice mask and subpage protection details. We >> can skip allocating these with radix translation. This will help us to save