[PATCH v4 5/6] mm/gup: remove vmas parameter from pin_user_pages()

2023-04-18 Thread Lorenzo Stoakes
We are now in a position where no caller of pin_user_pages() requires the vmas parameter at all, so eliminate this parameter from the function and all callers. This clears the way to removing the vmas parameter from GUP altogether. Acked-by: David Hildenbrand Acked-by: Dennis Dalessandro (for

Re: linux-next: manual merge of the drm tree with the powerpc tree

2023-04-18 Thread Mark Brown
On Tue, Apr 18, 2023 at 11:21:45AM -0700, Nathan Chancellor wrote: > On Fri, Apr 14, 2023 at 05:55:10PM +0100, Mark Brown wrote: > > Done. > Thanks a lot, sorry for not saying it sooner! It looks like this > regressed in next-20230417 and next-20230418 though. Someone sen

Re: [PATCH v2 0/2] start_kernel: omit stack canary

2023-04-18 Thread Josh Poimboeuf
On Mon, Apr 17, 2023 at 03:00:04PM -0700, ndesaulni...@google.com wrote: > --- > Changes in v2: > - Rebase to avoid conflicts with Josh's changes. > - Fix comment style as per Peter. > - Pick up tags. > - Link to v1: > https://lore.kernel.org/r/20230412-no_stackp-v1-0-46a69b507...@google.com >

Re: [PATCH v3 02/14] arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER

2023-04-18 Thread Andrew Morton
On Wed, 12 Apr 2023 18:27:08 +0100 Catalin Marinas wrote: > > It sounds nice in theory. In practice. EXPERT hides too much. When you > > flip expert, you expose over a 175ish new config options which are > > hidden behind EXPERT. You don't have to know what you are doing just > > with the

Re: [PATCH] PCI: Use of_property_present() for testing DT property presence

2023-04-18 Thread Bjorn Helgaas
On Fri, Mar 10, 2023 at 08:47:19AM -0600, Rob Herring wrote: > It is preferred to use typed property access functions (i.e. > of_property_read_ functions) rather than low-level > of_get_property/of_find_property functions for reading properties. As > part of this, convert

Re: [PATCH] powerpc/iommu: DMA address offset is incorrectly calculated with 2MB TCEs

2023-04-18 Thread Michael Ellerman
Gaurav Batra writes: > When DMA window is backed by 2MB TCEs, the DMA address for the mapped > page should be the offset of the page relative to the 2MB TCE. The code > was incorrectly setting the DMA address to the beginning of the TCE > range. > > Mellanox driver is reporting timeout trying to

Re: [PATCH v14 03/15] dt-bindings: Convert gpio-mmio to yaml

2023-04-18 Thread Rob Herring
On Thu, Apr 13, 2023 at 12:05:55PM -0400, Sean Anderson wrote: > This is a generic binding for simple MMIO GPIO controllers. Although we > have a single driver for these controllers, they were previously spread > over several files. Consolidate them. The register descriptions are > adapted from

Re: linux-next: manual merge of the drm tree with the powerpc tree

2023-04-18 Thread Nathan Chancellor
looks like this > > regressed in next-20230417 and next-20230418 though. > > Someone sent a mail saying they thought they'd fixed the DRM tree - is > that not the case? Does not seem like it: $ git show -s --format='%h ("%s")' 67d5d9f013d6 ("Add linux-next specific fil

Re: linux-next: manual merge of the drm tree with the powerpc tree

2023-04-18 Thread Nathan Chancellor
was rather > > surprised that my AMD test machine's graphical output was not working > > until I noticed the configuration difference :) > > Done. Thanks a lot, sorry for not saying it sooner! It looks like this regressed in next-20230417 and next-20230418 though. Cheers, Nathan

Re: [PATCH v9 4/4] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2023-04-18 Thread kernel test robot
Hi Stefan, kernel test robot noticed the following build warnings: [auto build test WARNING on 6a8f57ae2eb07ab39a6f0ccad60c760743051026] url: https://github.com/intel-lab-lkp/linux/commits/Stefan-Berger/drivers-of-kexec-ima-Support-32-bit-platforms/20230418-214600 base

Re: [PATCH v9 4/4] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2023-04-18 Thread kernel test robot
Hi Stefan, kernel test robot noticed the following build warnings: [auto build test WARNING on 6a8f57ae2eb07ab39a6f0ccad60c760743051026] url: https://github.com/intel-lab-lkp/linux/commits/Stefan-Berger/drivers-of-kexec-ima-Support-32-bit-platforms/20230418-214600 base

Re: [PATCH v3 2/2] soc: fsl: qbman: Use raw spinlock for cgr_lock

2023-04-18 Thread Sean Anderson
On 4/18/23 02:29, Crystal Wood wrote: > On Tue, 2023-04-11 at 11:09 -0400, Sean Anderson wrote: >> Hi Crystal, >> >> On 4/4/23 12:04, Sean Anderson wrote: >> > On 4/4/23 11:33, Crystal Wood wrote: >> > > On Tue, 2023-04-04 at 10:55 -0400, Sean Anderson wrote: >> > > >> > > > @@ -1456,11 +1456,11

Re: [PATCH] PCI: Use of_property_present() for testing DT property presence

2023-04-18 Thread Rob Herring
On Fri, Mar 10, 2023 at 08:47:19AM -0600, Rob Herring wrote: > It is preferred to use typed property access functions (i.e. > of_property_read_ functions) rather than low-level > of_get_property/of_find_property functions for reading properties. As > part of this, convert

Re: [PATCH 1/2] pseries/smp: export the smt level in the SYS FS.

2023-04-18 Thread Srikar Dronamraju
* Laurent Dufour [2023-04-13 17:38:51]: > On 13/04/2023 15:37:59, Michael Ellerman wrote: > > Hi Laurent, > > > > Laurent Dufour writes: > >> There is no SMT level recorded in the kernel neither in user space. > >> Indeed there is no real constraint about that and mixed SMT levels are > >>

Re: [PATCH 01/33] s390: Use _pt_s390_gaddr for gmap address tracking

2023-04-18 Thread David Hildenbrand
On 17.04.23 22:50, Vishal Moola (Oracle) wrote: s390 uses page->index to keep track of page tables for the guest address space. In an attempt to consolidate the usage of page fields in s390, replace _pt_pad_2 with _pt_s390_gaddr to replace page->index in gmap. This will help with the splitting

[PATCH v9 4/4] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2023-04-18 Thread Stefan Berger
The memory area of the TPM measurement log is currently not properly duplicated for carrying it across kexec when an Open Firmware Devicetree is used. Therefore, the contents of the log get corrupted. Fix this for the kexec_file_load() syscall by allocating a buffer and copying the contents of the

[PATCH v9 0/4] tpm: Preserve TPM measurement log across kexec (ppc64)

2023-04-18 Thread Stefan Berger
The of-tree subsystem does not currently preserve the IBM vTPM 1.2 and vTPM 2.0 measurement logs across a kexec on PowerVM and PowerKVM. This series fixes this for the kexec_file_load() syscall using the flattened device tree (fdt) to carry the TPM measurement log's buffer across kexec. Stefan

[PATCH v9 1/4] drivers: of: kexec ima: Support 32-bit platforms

2023-04-18 Thread Stefan Berger
From: Palmer Dabbelt RISC-V recently added kexec_file() support, which uses enables kexec IMA. We're the first 32-bit platform to support this, so we found a build bug. Acked-by: Rob Herring Signed-off-by: Palmer Dabbelt Reviewed-by: Mimi Zohar --- drivers/of/kexec.c | 4 ++-- 1 file

[PATCH v9 2/4] tpm: of: Make of-tree specific function commonly available

2023-04-18 Thread Stefan Berger
Simplify tpm_read_log_of() by moving reusable parts of the code into an inline function that makes it commonly available so it can be used also for kexec support. Call the new of_tpm_get_sml_parameters() function from the TPM Open Firmware driver. Signed-off-by: Stefan Berger Cc: Jarkko Sakkinen

[PATCH v9 3/4] of: kexec: Refactor IMA buffer related functions to make them reusable

2023-04-18 Thread Stefan Berger
Refactor IMA buffer related functions to make them reusable for carrying TPM logs across kexec. Signed-off-by: Stefan Berger Cc: Rob Herring Cc: Frank Rowand Cc: Mimi Zohar Reviewed-by: Mimi Zohar Reviewed-by: Rob Herring Tested-by: Nageswara R Sastry Tested-by: Coiby Xu --- v6: - Add

Re: [PATCH v3 2/2] soc: fsl: qbman: Use raw spinlock for cgr_lock

2023-04-18 Thread Crystal Wood
On Tue, 2023-04-11 at 11:09 -0400, Sean Anderson wrote: > Hi Crystal, > > On 4/4/23 12:04, Sean Anderson wrote: > > On 4/4/23 11:33, Crystal Wood wrote: > > > On Tue, 2023-04-04 at 10:55 -0400, Sean Anderson wrote: > > > > > > > @@ -1456,11 +1456,11 @@ static void tqm_congestion_task(struct > >

Re: [PATCH v3 00/19] arch: Consolidate

2023-04-18 Thread Thomas Zimmermann
Hi Am 17.04.23 um 16:12 schrieb Arnd Bergmann: On Mon, Apr 17, 2023, at 14:56, Thomas Zimmermann wrote: Various architectures provide with helpers for fbdev framebuffer devices. Share the contained code where possible. There is already , which implements generic (as in 'empty') functions of

[PATCH] ASoC: fsl_sai: Fix pins setting for i.MX8QM platform

2023-04-18 Thread Chancel Liu
SAI on i.MX8QM platform supports the data lines up to 4. So the pins setting should be corrected to 4. Fixes: eba0f0077519 ("ASoC: fsl_sai: Enable combine mode soft") Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_sai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Bug 217350] New: kdump kernel hangs in powerkvm guest

2023-04-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217350 Bug ID: 217350 Summary: kdump kernel hangs in powerkvm guest Product: Platform Specific/Hardware Version: 2.5 Hardware: PPC-64 OS: Linux Status: NEW