Re: [PATCH v2] PM: Add dev_wakeup_path() helper

2020-11-23 Thread Rafael J. Wysocki
On Thu, Nov 19, 2020 at 8:26 AM wrote: > > From: Patrice Chotard > > Add dev_wakeup_path() helper to avoid to spread > dev->power.wakeup_path test in drivers. > > Signed-off-by: Patrice Chotard > Reviewed-by: Ulf Hansson > --- > > Changes from v1: > - Fold the 4 v1 patches into one > - Add

[PATCH v2] ceph: add ceph.caps vxattr

2020-11-23 Thread Luis Henriques
Add a new vxattr that allows userspace to list the caps for a specific directory or file. Signed-off-by: Luis Henriques --- Hi! Here's a version that also shows the caps in hexadecimal format, as suggested by Jeff. IMO the parenthesis and the '0x' prefix help the readability, but they may make

Re: [PATCH v2 23/24] kvm: arm64: Trap host SMCs in protected mode.

2020-11-23 Thread Marc Zyngier
On Mon, 16 Nov 2020 20:43:17 +, David Brazdil wrote: > > While protected nVHE KVM is installed, start trapping all host SMCs. > By default, these are simply forwarded to EL3, but PSCI SMCs are > validated first. > > Create new constant HCR_HOST_NVHE_PROTECTED_FLAGS with the new set of HCR >

Re: [PATCH v4] checkpatch: add fix and improve warning msg for Non-standard signature

2020-11-23 Thread Joe Perches
On Mon, 2020-11-23 at 22:54 +0530, Aditya Srivastava wrote: > Currently, checkpatch.pl warns for BAD_SIGN_OFF on non-standard signature > styles. I think this proposed change is unnecessary. > This warning occurs because of incorrect use of signature tags, > e.g. an evaluation on v4.13..v5.8

Re: [PATCH 0/2] Remove one more platform_device_add_properties() call

2020-11-23 Thread Andy Shevchenko
On Mon, Nov 23, 2020 at 06:06:31PM +0100, Rafael J. Wysocki wrote: > On Mon, Nov 23, 2020 at 4:32 PM Heikki Krogerus > wrote: > > > > Hi, > > > > I originally introduced these as part of my series where I was > > proposing PM ops for software nodes [1], but since that still needs > > work, I'm

Re: [PATCH] cppc_cpufreq: optimise memory allocation for HW and NONE coordination

2020-11-23 Thread Rafael J. Wysocki
On Tue, Nov 17, 2020 at 7:50 PM Ionela Voinescu wrote: > > While the current domain and cpu lists are appropriate for ALL and ANY > coordination types where single structures are kept for the domain and > CPU data, they can be inefficient for NONE and HW coordination types, > where domain

Re: memory leak in inet_create (2)

2020-11-23 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:418baf2c Linux 5.10-rc5 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=161c84ed50 kernel config: https://syzkaller.appspot.com/x/.config?x=5524c10373633a9c dashboard link:

Re: [PATCH v2 21/24] kvm: arm64: Add kvm-arm.protected early kernel parameter

2020-11-23 Thread Marc Zyngier
On Mon, 16 Nov 2020 20:43:15 +, David Brazdil wrote: > > Add an early parameter that allows users to opt into protected KVM mode > when using the nVHE hypervisor. In this mode, guest state will be kept > private from the host. This will primarily involve enabling stage-2 > address

Re: [PATCH v6 4/5] dt-bindings: arm: add support for SCMI Regulators

2020-11-23 Thread Mark Brown
On Thu, Nov 19, 2020 at 07:10:50PM +, Cristian Marussi wrote: > +This binding uses the common regulator binding[6] but, due to SCMI > abstractions, > +supports only a subset of its properties as specified below amongst Optional > +properties. > +Required properties: > + - reg : shall

Re: [EXT] Re: [PATCH v1] net: mvpp2: divide fifo for dts-active ports only

2020-11-23 Thread Russell King - ARM Linux admin
On Mon, Nov 23, 2020 at 04:03:00PM +, Stefan Chulski wrote: > > -Original Message- > > From: Russell King - ARM Linux admin > > Sent: Monday, November 23, 2020 5:52 PM > > To: Stefan Chulski > > Cc: net...@vger.kernel.org; thomas.petazz...@bootlin.com; > > da...@davemloft.net; Nadav

Re: [PATCH v2] powercap: Adjust printing the constraint name with new line

2020-11-23 Thread Rafael J. Wysocki
On Tue, Nov 17, 2020 at 2:48 PM Lukasz Luba wrote: > > The constrain name has limit of size 30, which sometimes might be hit. > When this happens the new line might get lost. Prevent this and set the > max limit for name string length equal 29. This would result is proper > string clamping (when

Re: [PATCH v2] ARM: multi_v7_defconfig: ti: Enable networking options for nfs boot

2020-11-23 Thread Tony Lindgren
* Arnd Bergmann [201123 16:55]: > On Mon, Nov 16, 2020 at 10:04 AM Tony Lindgren wrote: > > > > * Grygorii Strashko [201030 14:47]: > > > Enable networking options required for NFS boot on TI platforms, which is > > > widely for automated test systems. > > > - enable new TI CPSW switch driver

Re: [PATCH] PM / suspend: fix kernel-doc markup

2020-11-23 Thread Rafael J. Wysocki
On Fri, Nov 13, 2020 at 9:58 AM Alex Shi wrote: > > Add parameter explanation to fix kernel-doc marks: > > kernel/power/suspend.c:233: warning: Function parameter or member > 'state' not described in 'suspend_valid_only_mem' > kernel/power/suspend.c:344: warning: Function parameter or member >

Re: [PATCH v4 1/5] drm: panel: simple: Fixup the struct panel_desc kernel doc

2020-11-23 Thread Doug Anderson
Hi, On Mon, Nov 9, 2020 at 5:01 PM Douglas Anderson wrote: > > When I run: > scripts/kernel-doc -rst drivers/gpu/drm/panel/panel-simple.c > > I see that several of the kernel-doc entries aren't showing up because > they don't specify the full path down the hierarchy. Let's fix that > and also

[PATCH v4] checkpatch: add fix and improve warning msg for Non-standard signature

2020-11-23 Thread Aditya Srivastava
Currently, checkpatch.pl warns for BAD_SIGN_OFF on non-standard signature styles. This warning occurs because of incorrect use of signature tags, e.g. an evaluation on v4.13..v5.8 showed the use of following incorrect signature tags, which may seem correct, but are not standard: 1) Requested-by

Re: [PATCH v2 2/2] fpga: dfl: look for vendor specific capability

2020-11-23 Thread matthew . gerlach
On Sat, 21 Nov 2020, Moritz Fischer wrote: Hi Matthew, On Wed, Nov 18, 2020 at 11:01:51AM -0800, matthew.gerl...@linux.intel.com wrote: From: Matthew Gerlach A DFL may not begin at offset 0 of BAR 0. A PCIe vendor specific capability can be used to specify the start of a number of DFLs.

Re: [PATCH v2 20/24] kvm: arm64: Intercept host's CPU_SUSPEND PSCI SMCs

2020-11-23 Thread Marc Zyngier
Adding Lorenzo and Sudeep to this one in particular, as there is a bit of a corner case below. On Mon, 16 Nov 2020 20:43:14 +, David Brazdil wrote: > > Add a handler of CPU_SUSPEND host PSCI SMCs. The SMC can either enter > a sleep state indistinguishable from a WFI or a deeper sleep state

Re: [PATCH v4 01/11] firmware: raspberrypi: Keep count of all consumers

2020-11-23 Thread Nicolas Saenz Julienne
On Thu, 2020-11-12 at 23:26 -0800, Dmitry Torokhov wrote: > On Thu, Nov 12, 2020 at 07:52:14PM +0200, Andy Shevchenko wrote: > > On Thu, Nov 12, 2020 at 6:40 PM Nicolas Saenz Julienne > > wrote: > > > > > > When unbinding the firmware device we need to make sure it has no > > > consumers left.

Re: [PATCH 2/4] x86/mce: move the mce_panic() call and kill_it assignments at the right places

2020-11-23 Thread Borislav Petkov
On Mon, Nov 23, 2020 at 05:06:31PM +, Paoloni, Gabriele wrote: > From my understanding no_way_out and kill_it are different in principles: > no_way_out is telling that an error occurred 'somewhere' in some CPU bank > that requires the system to panic (e.g. PCC=1); kill_it is saying that the >

Re: [f2fs-dev] [PATCH 2/2] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2020-11-23 Thread Jaegeuk Kim
On 11/23, Daeho Jeong wrote: > From: Daeho Jeong > > Added two ioctl to decompress/compress explicitly the compression > enabled file in "compress_mode=user-based" mount option. > > Using these two ioctls, the users can make a control of compression > and decompression of their files. > >

Re: [f2fs-dev] [PATCH 1/2] f2fs: add compress_mode mount option

2020-11-23 Thread Jaegeuk Kim
On 11/23, Daeho Jeong wrote: > From: Daeho Jeong > > We will add a new "compress_mode" mount option to control file > compression mode. This supports "fs-based" and "user-based". > In "fs-based" mode (default), f2fs does automatic compression on > the compression enabled files. In "user-based"

Re: [PATCH v6 0/8] IMA: support for measuring kernel integrity critical data

2020-11-23 Thread Pavel Machek
Hi! > > > >How is it supposed to be useful? > > > > > > > >I'm pretty sure there are critical data that are not measured by > > > >proposed module... and that are written under normal circumstances. > > > > > > > The goal of this series is to introduce the IMA hook > > > measure_critical_data()

Re: Pinning ZONE_MOVABLE pages

2020-11-23 Thread Jason Gunthorpe
On Mon, Nov 23, 2020 at 11:06:21AM -0500, Pavel Tatashin wrote: > What I mean here is allowing users to guarantee that the page's PA is > going to stay the same. Sort of a stronger mlock. Mlock only > guarantees that the page is not swapped, but something like You've just described

Re: [PATCH v2] arm64: dts: sdm845: Add iommus property to qup

2020-11-23 Thread Vinod Koul
On 21-11-20, 19:41, Bjorn Andersson wrote: > From: Stephen Boyd > > The SMMU that sits in front of the QUP needs to be programmed properly > so that the i2c geni driver can allocate DMA descriptors. Failure to do > this leads to faults when using devices such as an i2c touchscreen where > the

[PATCH] mm/compaction: make defer_compaction and compaction_deferred static

2020-11-23 Thread Hui Su
defer_compaction() and compaction_deferred() and compaction_restarting() in mm/compaction.c won't be used in other files, so make them static, and remove the declaration in the header file. Take the chance to fix a typo. Signed-off-by: Hui Su --- include/linux/compaction.h | 12

[PATCHv9 6/8] drm/msm/a6xx: Add support for using system cache on MMU500 based targets

2020-11-23 Thread Sai Prakash Ranjan
From: Jordan Crouse GPU targets with an MMU-500 attached have a slightly different process for enabling system cache. Use the compatible string on the IOMMU phandle to see if an MMU-500 is attached and modify the programming sequence accordingly. Signed-off-by: Jordan Crouse Signed-off-by: Sai

[PATCHv9 7/8] iommu: arm-smmu-impl: Use table to list QCOM implementations

2020-11-23 Thread Sai Prakash Ranjan
Use table and of_match_node() to match qcom implementation instead of multiple of_device_compatible() calls for each QCOM SMMU implementation. Signed-off-by: Sai Prakash Ranjan Acked-by: Will Deacon --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 9 +

[PATCHv9 8/8] iommu: arm-smmu-impl: Add a space before open parenthesis

2020-11-23 Thread Sai Prakash Ranjan
Fix the checkpatch warning for space required before the open parenthesis. Signed-off-by: Sai Prakash Ranjan Acked-by: Will Deacon --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c

[PATCHv9 3/8] iommu/arm-smmu: Move non-strict mode to use io_pgtable_domain_attr

2020-11-23 Thread Sai Prakash Ranjan
Now that we have a struct io_pgtable_domain_attr with quirks, use that for non_strict mode as well thereby removing the need for more members of arm_smmu_domain in the future. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu.c | 8 +++-

[PATCHv9 5/8] drm/msm/a6xx: Add support for using system cache(LLC)

2020-11-23 Thread Sai Prakash Ranjan
From: Sharat Masetty The last level system cache can be partitioned to 32 different slices of which GPU has two slices preallocated. One slice is used for caching GPU buffers and the other slice is used for caching the GPU SMMU pagetables. This talks to the core system cache driver to acquire

[PATCHv9 4/8] drm/msm: rearrange the gpu_rmw() function

2020-11-23 Thread Sai Prakash Ranjan
From: Sharat Masetty The register read-modify-write construct is generic enough that it can be used by other subsystems as needed, create a more generic rmw() function and have the gpu_rmw() use this new function. Signed-off-by: Sharat Masetty Reviewed-by: Jordan Crouse Signed-off-by: Sai

Re: [PATCH v6] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-11-23 Thread Borislav Petkov
On Thu, Nov 19, 2020 at 09:42:05PM +, Ashish Kalra wrote: > From: Ashish Kalra > > For SEV, all DMA to and from guest has to use shared (un-encrypted) pages. > SEV uses SWIOTLB to make this happen without requiring changes to device > drivers. However, depending on workload being run, the

Re: [PATCH v2 16/24] bpf/task_iter: In task_file_seq_get_next use task_lookup_next_fd_rcu

2020-11-23 Thread Yonghong Song
On 11/20/20 3:14 PM, Eric W. Biederman wrote: When discussing[1] exec and posix file locks it was realized that none of the callers of get_files_struct fundamentally needed to call get_files_struct, and that by switching them to helper functions instead it will both simplify their code and

[PATCHv9 1/8] iommu/io-pgtable-arm: Add support to use system cache

2020-11-23 Thread Sai Prakash Ranjan
Add a quirk IO_PGTABLE_QUIRK_ARM_OUTER_WBWA to override the outer-cacheability attributes set in the TCR for a non-coherent page table walker when using system cache. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/io-pgtable-arm.c | 10 -- include/linux/io-pgtable.h | 4

[PATCHv9 2/8] iommu/arm-smmu: Add domain attribute for pagetable configuration

2020-11-23 Thread Sai Prakash Ranjan
Add iommu domain attribute for pagetable configuration which initially will be used to set quirks like for system cache aka last level cache to be used by client drivers like GPU to set right attributes for caching the hardware pagetables into the system cache and later can be extended to include

Re: [PATCH 0/2] Remove one more platform_device_add_properties() call

2020-11-23 Thread Rafael J. Wysocki
On Mon, Nov 23, 2020 at 4:32 PM Heikki Krogerus wrote: > > Hi, > > I originally introduced these as part of my series where I was > proposing PM ops for software nodes [1], but since that still needs > work, I'm sending these two separately. > > So basically I'm only modifying dwc3-pci.c so it

RE: [PATCH 2/4] x86/mce: move the mce_panic() call and kill_it assignments at the right places

2020-11-23 Thread Paoloni, Gabriele
Hi Boris > -Original Message- > From: Borislav Petkov > Sent: Monday, November 23, 2020 3:28 PM > To: Paoloni, Gabriele > Cc: Luck, Tony ; t...@linutronix.de; > mi...@redhat.com; x...@kernel.org; h...@zytor.com; linux- > e...@vger.kernel.org; linux-kernel@vger.kernel.org; linux- >

[PATCHv9 0/8] System Cache support for GPU and required SMMU support

2020-11-23 Thread Sai Prakash Ranjan
Some hardware variants contain a system cache or the last level cache(llc). This cache is typically a large block which is shared by multiple clients on the SOC. GPU uses the system cache to cache both the GPU data buffers(like textures) as well the SMMU pagetables. This helps with improved render

Re: [RFC] MAINTAINERS tag for cleanup robot

2020-11-23 Thread Tom Rix
On 11/22/20 10:22 AM, Joe Perches wrote: > On Sun, 2020-11-22 at 08:33 -0800, Tom Rix wrote: >> On 11/21/20 9:10 AM, Joe Perches wrote: >>> On Sat, 2020-11-21 at 08:50 -0800, t...@redhat.com wrote: A difficult part of automating commits is composing the subsystem preamble in the commit

RE: [PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-23 Thread David Laight
From: Sahitya Tummala > Sent: 23 November 2020 05:29 > > Use rwsem to ensure serialization of the callers and to avoid > starvation of high priority tasks, when the system is under > heavy IO workload. I can't see any read lock requests. So why the change? David - Registered Address

Re: [PATCH v11 05/14] s390/vfio-ap: implement in-use callback for vfio_ap driver

2020-11-23 Thread Cornelia Huck
On Sat, 14 Nov 2020 00:47:22 +0100 Halil Pasic wrote: > On Fri, 13 Nov 2020 12:14:22 -0500 > Tony Krowiak wrote: > [..] > > >> } > > >> > > >> +#define MDEV_SHARING_ERR "Userspace may not re-assign queue %02lx.%04lx > > >> " \ > > >> + "already assigned to %s" > >

Re: [PATCH v2 19/24] kvm: arm64: Intercept host's PSCI_CPU_ON SMCs

2020-11-23 Thread Marc Zyngier
On Mon, 16 Nov 2020 20:43:13 +, David Brazdil wrote: > > Add a handler of the CPU_ON PSCI call from host. When invoked, it looks > up the logical CPU ID corresponding to the provided MPIDR and populates > the state struct of the target CPU with the provided x0, pc. It then > calls CPU_ON

Re: [PATCH v2] docs: ACPI: enumeration: add PCI hierarchy representation

2020-11-23 Thread Rafael J. Wysocki
On Fri, Nov 20, 2020 at 12:12 PM Flavio Suligoi wrote: > > For "fixed" PCI devices, such as chips directly soldered > on the main board (ethernet, Wi-Fi, serial ports, etc.), > it is possible to find an ACPI enumeration. > > This allows to add useful properties to these devices. > Just for an

[PATCH 6/6] phy: stm32: rework PLL Lock detection

2020-11-23 Thread Amelie Delaunay
USBPHYC has a register per phy to control and monitor the debug interface of the HS PHY through a digital debug access. With this register, it is possible to know if PLL Lock input to phy is high. That means the PLL is ready for HS operation. Instead of using an hard-coded delay after PLL enable

Re: [PATCHv8 0/8] System Cache support for GPU and required SMMU support

2020-11-23 Thread Sai Prakash Ranjan
On 2020-11-23 20:51, Will Deacon wrote: On Tue, Nov 17, 2020 at 08:00:39PM +0530, Sai Prakash Ranjan wrote: Some hardware variants contain a system cache or the last level cache(llc). This cache is typically a large block which is shared by multiple clients on the SOC. GPU uses the system cache

[PATCH 1/6] dt-bindings: phy: phy-stm32-usbphyc: move PLL supplies to parent node

2020-11-23 Thread Amelie Delaunay
PLL block requires to be powered with 1v1 and 1v8 supplies to catch ENABLE signal. Currently, supplies are managed through phy_ops .power_on/off, and PLL activation/deactivation is managed through phy_ops .init/exit. The sequence of phy_ops .power_on/.phy_init, .power_off/.exit is USB drivers

[PATCH 4/6] phy: stm32: ensure pll is disabled before phys creation

2020-11-23 Thread Amelie Delaunay
To ensure a good balancing of regulators, force PLL disable either by reset or by clearing the PLLEN bit. If waiting the powerdown pulse delay isn't enough, return -EPROBE_DEFER instead of polling the PLLEN bit, which will be low at the next probe. Signed-off-by: Amelie Delaunay ---

[PATCH 5/6] phy: stm32: ensure phy are no more active when removing the driver

2020-11-23 Thread Amelie Delaunay
To ensure a good balancing of regulators, and allow PLL disabling when the driver is removed, call stm32_usbphyc_phy_exit on each ports to set phys inactive and disable PLL. Signed-off-by: Amelie Delaunay --- drivers/phy/st/phy-stm32-usbphyc.c | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH 2/6] phy: stm32: manage 1v1 and 1v8 supplies at pll activation/deactivation

2020-11-23 Thread Amelie Delaunay
PLL block requires to be powered with 1v1 and 1v8 supplies to catch ENABLE signal. Currently, supplies are managed through phy_ops .power_on/off, and PLL activation/deactivation is managed through phy_ops .init/exit. The sequence of phy_ops .power_on/.phy_init, .power_off/.exit is USB drivers

[PATCH 3/6] phy: stm32: replace regulator_bulk* by multiple regulator_*

2020-11-23 Thread Amelie Delaunay
Due to async_schedule_domain call in regulator_bulk_enable, scheduling while atomic bug can raise if regulator_bulk_enable is called under atomic context. To avoid this issue, this patch replaces all regulator_bulk* by regulator_ per regulators. Signed-off-by: Amelie Delaunay ---

[PATCH 0/6] STM32 USBPHYC PLL management rework

2020-11-23 Thread Amelie Delaunay
STM32 USBPHYC controls the USB PLL. PLL requires to be powered with 1v1 and 1v8 supplies. To ensure a good behavior of the PLL, during boot, runtime and suspend/resume sequences, this series reworks its management to fix regulators issues and improve PLL status reliability. Amelie Delaunay (6):

Re: [PATCH] compiler_attribute: remove CONFIG_ENABLE_MUST_CHECK

2020-11-23 Thread Miguel Ojeda
On Mon, Nov 23, 2020 at 4:37 AM Masahiro Yamada wrote: > > I can move it to compiler_attribute.h > > This attribute is supported by gcc, clang, and icc. > https://godbolt.org/z/ehd6so > > I can send v2. > > I do not mind renaming, but it should be done in a separate patch. Of course -- sorry, I

Re: [PATCH v5 4/4] soc: imx8m: change to use platform driver

2020-11-23 Thread Krzysztof Kozlowski
On Mon, Nov 23, 2020 at 05:51:08PM +0800, Alice Guo wrote: > Directly reading ocotp register depends on that bootloader enables ocotp > clk, which is not always effective, so change to use nvmem API. Using > nvmem API requires to support driver defer probe and thus change > soc-imx8m.c to use

Re: [PATCH v5 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-23 Thread Krzysztof Kozlowski
On Mon, Nov 23, 2020 at 05:51:05PM +0800, Alice Guo wrote: > Add DT Binding doc for the Unique ID of i.MX 8M series. > > Signed-off-by: Alice Guo > --- > > v2: remove the subject prefix "LF-2571-1" > v3: put it into Documentation/devicetree/bindings/arm/fsl.yaml > modify the description of

Re: [PATCH v5 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-11-23 Thread Krzysztof Kozlowski
On Mon, Nov 23, 2020 at 05:51:07PM +0800, Alice Guo wrote: > In order to be able to use NVMEM APIs to read soc unique ID, add the > nvmem data cell and name for nvmem-cells to the "soc" node, and add a > nvmem node which provides soc unique ID to efuse@3035. > > Signed-off-by: Alice Guo >

Re: [PATCH] regulator: Kconfig: Fix REGULATOR_QCOM_RPMH dependencies to avoid build error

2020-11-23 Thread Maulik Shah
Hi John, Thanks for the patch. On 11/21/2020 12:03 PM, John Stultz wrote: The kernel test robot reported the following build error: All errors (new ones prefixed by >>): xtensa-linux-ld: drivers/regulator/qcom-rpmh-regulator.o: in function `rpmh_regulator_vrm_get_voltage_sel':

Re: [PATCH v5 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-11-23 Thread Krzysztof Kozlowski
On Mon, Nov 23, 2020 at 05:51:06PM +0800, Alice Guo wrote: > Add compatible string to .dtsi files for binding of imx8_soc_info and > device. > > v2: remove the subject prefix "LF-2571-2" > v3: none > v4: change subject and commit message, add Reviewed-by You have here duplicated changelog. Leave

Re: [PATCH v4 00/34] SEV-ES hypervisor support

2020-11-23 Thread Tom Lendacky
On 11/17/20 11:07 AM, Tom Lendacky wrote: From: Tom Lendacky This patch series provides support for running SEV-ES guests under KVM. Any comments on this series? Thanks, Tom Secure Encrypted Virtualization - Encrypted State (SEV-ES) expands on the SEV support to protect the guest

Re: [PATCH 001/141] afs: Fix fall-through warnings for Clang

2020-11-23 Thread Joe Perches
On Mon, 2020-11-23 at 16:10 +, David Howells wrote: > Joe Perches wrote: > > > >   call->unmarshall++; > > > + > > > + fallthrough; > > > > My preference would be to change these to break and not fallthrough; > > > > >   case 5: > > >   break; > > >   } > > My

Re: [PATCH] Asoc: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state

2020-11-23 Thread Mark Brown
On Mon, Nov 23, 2020 at 09:47:53PM +0530, Srinivasa Rao Mandadapu wrote: > Fix enabling BCLK and LRCLK only when LPAIF is invalid state and > bit clock in enable state. Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify

Re: [PATCH 3/6] tlb: mmu_gather: Remove unused start/end arguments from tlb_finish_mmu()

2020-11-23 Thread Will Deacon
On Fri, Nov 20, 2020 at 09:20:43AM -0800, Linus Torvalds wrote: > On Fri, Nov 20, 2020 at 6:36 AM Will Deacon wrote: > > > > tlb_finish_mmu() takes two confusing and unused 'start'/'end' address > > arguments. Remove them. > > Ack, but please add the history to it. > > Those arguments were

Re: [PATCH 5/6] tlb: mmu_gather: Introduce tlb_gather_mmu_fullmm()

2020-11-23 Thread Will Deacon
On Fri, Nov 20, 2020 at 09:31:09AM -0800, Linus Torvalds wrote: > Oh - wait. > > Not ack. > > Not because this is wrong, but because I think you should remove the > start/end arguments here too. > > The _only_ thing they were used for was that "fullmm" flag, afaik. So > now they no longer make

[PATCH] bus: fsl-mc: simplify DPRC version check

2020-11-23 Thread Ioana Ciornei
From: Ioana Ciornei Because the minimum supported DPRC version is 6.0, there is no need to check for incompatible 6.x versions lower to the minimum one. Just remove the second half of the check to simplify the logic. Signed-off-by: Ioana Ciornei --- drivers/bus/fsl-mc/dprc-driver.c | 4 +---

[irqchip: irq/irqchip-next] irqchip/exiu: Fix the index of fwspec for IRQ type

2020-11-23 Thread irqchip-bot for Chen Baozi
The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: d001e41e1b15716e9b759df5ef00510699f85282 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/d001e41e1b15716e9b759df5ef00510699f85282 Author:Chen Baozi

Re: PROBLEM: fanotify_mark EFAULT on x86

2020-11-23 Thread Jan Kara
On Tue 03-11-20 22:17:47, Paweł Jasiak wrote: > I have written small patch that fixes problem for me and doesn't break > x86_64. OK, with a help of Boris Petkov I think I have a fix that looks correct (attach). Can you please try whether it works for you? Thanks!

[irqchip: irq/irqchip-next] irqchip/gic-v3-its: Unconditionally save/restore the ITS state on suspend

2020-11-23 Thread irqchip-bot for Xu Qiang
The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 74cde1a53368aed4f2b4b54bf7030437f64a534b Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/74cde1a53368aed4f2b4b54bf7030437f64a534b Author:Xu Qiang

Re: [PATCH 01/38] ASoC: ak5558: drop of_match_ptr from of_device_id table

2020-11-23 Thread Krzysztof Kozlowski
On Mon, Nov 23, 2020 at 04:43:30PM +, Mark Brown wrote: > On Mon, Nov 23, 2020 at 03:58:31PM +0100, Krzysztof Kozlowski wrote: > > > Having these of_match_ptr() for OF-only drivers is not the correct way > > but rather something which is copied from existing drivers into new > > ones. This is

Re: [PATCH 01/38] ASoC: ak5558: drop of_match_ptr from of_device_id table

2020-11-23 Thread Mark Brown
On Mon, Nov 23, 2020 at 03:58:31PM +0100, Krzysztof Kozlowski wrote: > Having these of_match_ptr() for OF-only drivers is not the correct way > but rather something which is copied from existing drivers into new > ones. This is another reason for removing them - people will stop > copying this

Re: [PATCHv8 3/8] iommu/arm-smmu: Move non-strict mode to use domain_attr_io_pgtbl_cfg

2020-11-23 Thread Sai Prakash Ranjan
On 2020-11-23 20:49, Will Deacon wrote: On Tue, Nov 17, 2020 at 08:00:42PM +0530, Sai Prakash Ranjan wrote: Now that we have a struct domain_attr_io_pgtbl_cfg with quirks, use that for non_strict mode as well thereby removing the need for more members of arm_smmu_domain in the future.

Re: [RFC PATCH] ceph: add ceph.caps vxattr

2020-11-23 Thread Jeff Layton
On Mon, 2020-11-23 at 14:53 +, Luis Henriques wrote: > Add a new vxattr that allows userspace to list the caps for a specific > directory or file. > > Signed-off-by: Luis Henriques > --- >  fs/ceph/xattr.c | 26 ++ >  1 file changed, 26 insertions(+) > > diff --git

Re: [PATCH] firmware: arm_scmi: remove residual _le structs naming

2020-11-23 Thread Sudeep Holla
On Mon, 23 Nov 2020 16:20:08 +, Cristian Marussi wrote: > For sake of consistency, remove any residual naming based on _le suffixes > in SCMI Sensors Protocol, since little endianity is already assumed across > all of SCMI implementation and, as such, all currently existent names do > not

Re: [PATCHv8 2/8] iommu/arm-smmu: Add domain attribute for pagetable configuration

2020-11-23 Thread Sai Prakash Ranjan
On 2020-11-23 20:48, Will Deacon wrote: On Tue, Nov 17, 2020 at 08:00:41PM +0530, Sai Prakash Ranjan wrote: Add iommu domain attribute for pagetable configuration which initially will be used to set quirks like for system cache aka last level cache to be used by client drivers like GPU to set

Re: [PATCHv8 1/8] iommu/io-pgtable-arm: Add support to use system cache

2020-11-23 Thread Sai Prakash Ranjan
On 2020-11-23 20:36, Will Deacon wrote: On Tue, Nov 17, 2020 at 08:00:40PM +0530, Sai Prakash Ranjan wrote: Add a quirk IO_PGTABLE_QUIRK_ARM_OUTER_WBWA to override the attributes set in TCR for the page table walker when using system cache. Signed-off-by: Sai Prakash Ranjan ---

[PATCH v2 4/4] dt-bindings: pwm: pca9685: Add staggered-outputs property

2020-11-23 Thread Clemens Gruber
The pca9685 driver supports a new staggered-outputs property for reduced current surges and EMI. This adds documentation for the new DT property. Signed-off-by: Clemens Gruber --- Documentation/devicetree/bindings/pwm/nxp,pca9685-pwm.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [RFC PATCH] regmap: remove duplicate `type` field from `regcache_sync` trace event

2020-11-23 Thread Mathieu Desnoyers
Hi Philippe, Some additional feedback: The patch title could be changed to: "tracing: Remove duplicate `type` field from regmap `regcache_sync` trace event" to clarify that this belongs to tracing. - On Nov 23, 2020, at 11:15 AM, Philippe Duplessis-Guindon pduples...@efficios.com wrote:

[PATCH 1/2] dt-bindings: clk: g12a-clkc: add DSI Pixel clock bindings

2020-11-23 Thread Neil Armstrong
This adds the MIPI DSI Host Pixel Clock bindings. Signed-off-by: Neil Armstrong --- include/dt-bindings/clock/g12a-clkc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/g12a-clkc.h b/include/dt-bindings/clock/g12a-clkc.h index 40d49940d8a8..a93b58c5e18e 100644

[PATCH 0/2] clk: meson: g12a: add MIPI DSI Host Pixel Clock

2020-11-23 Thread Neil Armstrong
This serie adss the MIPI DSI Host Pixel Clock used to feed the DSI pixel clock to the DSI Host controller. Unlike the AXG SoC, the DSI Pixel Clock has a supplementary mux, divider and gate stage before feeding the pixel clock to the MIPI DSI Host controller. Neil Armstrong (2): dt-bindings:

[PATCH 2/2] clk: meson: g12a: add MIPI DSI Host Pixel Clock

2020-11-23 Thread Neil Armstrong
This adds the MIPI DSI Host Pixel Clock, unlike AXG, the pixel clock can be different from the VPU ENCL output clock to feed the DSI Host controller with a different clock rate. Signed-off-by: Neil Armstrong --- drivers/clk/meson/g12a.c | 72

Re: [GIT PULL] interconnect fixes for 5.10-rc

2020-11-23 Thread Greg KH
On Mon, Nov 23, 2020 at 05:41:30PM +0200, Georgi Djakov wrote: > Hello Greg, > > Here is a pull request with a few interconnect fixes for 5.10-rc. > Please take them into char-misc-linus when possible. All patches > have been reviewed and tested. They have been also in linux-next > since last

Re: inconsistent lock state in io_file_data_ref_zero

2020-11-23 Thread Jens Axboe
On 11/23/20 2:55 AM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:27bba9c5 Merge tag 'scsi-fixes' of git://git.kernel.org/pu.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=11041f1e50 > kernel config:

[PATCH v2 3/4] pwm: pca9685: Support staggered output ON times

2020-11-23 Thread Clemens Gruber
The PCA9685 supports staggered LED output ON times to minimize current surges and reduce EMI. When this new option is enabled, the ON times of each channel are delayed by channel number x counter range / 16, which avoids asserting all enabled outputs at the same counter value while still

Re: [PATCH] kfence: Avoid stalling work queue task without allocations

2020-11-23 Thread Steven Rostedt
On Mon, 23 Nov 2020 11:28:12 -0500 Steven Rostedt wrote: > I noticed: > > > [ 237.650900] enabling event benchmark_event > > In both traces. Could you disable CONFIG_TRACEPOINT_BENCHMARK and see if > the issue goes away. That event kicks off a thread that spins in a tight > loop for some

[PATCH v2 1/4] pwm: pca9685: Switch to atomic API

2020-11-23 Thread Clemens Gruber
This switch to the atomic API goes hand in hand with a few fixes to previously experienced issues: - The duty cycle is no longer lost after disable/enable (previously the OFF registers were cleared in disable and the user was required to call config to restore the duty cycle settings) - The

[PATCH v2 2/4] pwm: pca9685: Set full OFF bits in probe

2020-11-23 Thread Clemens Gruber
The full OFF bits are set by default in the PCA9685 LEDn_OFF_H registers at POR. LEDn_ON_L/H and LEDn_OFF_L default to 0. The datasheet states that LEDn_OFF and LEDn_ON should never be both set to the same values. This patch removes the clearing of the full OFF bit in the probe function. We

Re: [PATCH v3] kbuild: use -fmacro-prefix-map for .S sources

2020-11-23 Thread Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
> I fixed the first sentence: > > Follow-up to a73619a845d5 ("kbuild: use -fmacro-prefix-map to make > __FILE__ a relative path") commit. > > to > > Follow-up to commit a73619a845d5 ("kbuild: use -fmacro-prefix-map to > make __FILE__ a relative path"). ok, i see > > Assembler sources also use

Re: [PATCH 000/141] Fix fall-through warnings for Clang

2020-11-23 Thread Joe Perches
On Mon, 2020-11-23 at 07:58 -0800, James Bottomley wrote: > We're also complaining about the inability to recruit maintainers: > > https://www.theregister.com/2020/06/30/hard_to_find_linux_maintainers_says_torvalds/ > > And burn out: > > http://antirez.com/news/129

Re: [Intel-wired-lan] [PATCH 000/141] Fix fall-through warnings for Clang

2020-11-23 Thread James Bottomley
On Mon, 2020-11-23 at 07:03 -0600, Gustavo A. R. Silva wrote: > On Sun, Nov 22, 2020 at 11:53:55AM -0800, James Bottomley wrote: > > On Sun, 2020-11-22 at 11:22 -0800, Joe Perches wrote: > > > On Sun, 2020-11-22 at 11:12 -0800, James Bottomley wrote: > > > > On Sun, 2020-11-22 at 10:25 -0800, Joe

Re: Pinning ZONE_MOVABLE pages

2020-11-23 Thread Pavel Tatashin
> Makes sense, as this means no userspace change. > > > 2. Add an internal move_pages_zone() similar to move_pages() syscall > > but instead of migrating to a different NUMA node, migrate pages from > > ZONE_MOVABLE to another zone. > > Call move_pages_zone() on demand prior to pinning pages from

Re: [PATCH v3] HID: i2c-hid: add polling mode based on connected GPIO chip's pin status

2020-11-23 Thread Barnabás Pőcze
> [...] > >> >> +static int get_gpio_pin_state(struct irq_desc *irq_desc) > >> >> +{ > >> >> + struct gpio_chip *gc = > >> >> irq_data_get_irq_chip_data(_desc->irq_data); > >> >> + > >> >> + return gc->get(gc, irq_desc->irq_data.hwirq); > >> >> +} > >> [...] > >> >> + ssize_t

Re: [PATCH v9 1/2] dt-bindings: dma: Add bindings for Intel LGM SoC

2020-11-23 Thread Reddy, MallikarjunaX
Hi Vinod, Thanks for your valuable review. My comments inline. On 11/21/2020 8:19 PM, Vinod Koul wrote: On 20-11-20, 19:30, Reddy, MallikarjunaX wrote: Hi Vinod, Thanks for the review. My comments inline. On 11/18/2020 11:55 PM, Vinod Koul wrote: On 12-11-20, 13:38, Amireddy Mallikarjuna

Re: [PATCH] memory: tegra30-emc: Remove unnecessary of_node_put in tegra_emc_probe

2020-11-23 Thread Krzysztof Kozlowski
On Thu, Nov 19, 2020 at 12:52:44PM -0700, Nathan Chancellor wrote: > Clang warns: > > drivers/memory/tegra/tegra30-emc.c:1275:15: warning: variable 'np' is > uninitialized when used here [-Wuninitialized] > of_node_put(np); > ^~ >

Re: [PATCH v9 2/2] Add Intel LGM SoC DMA support.

2020-11-23 Thread Reddy, MallikarjunaX
Hi Vinod, Thanks for your valuable review comments. Please see my comments inline. On 11/21/2020 8:17 PM, Vinod Koul wrote: On 20-11-20, 19:30, Reddy, MallikarjunaX wrote: Hi Vinod, Thanks for the review. My comments inline. On 11/19/2020 1:38 AM, Vinod Koul wrote: On 12-11-20, 13:38,

Re: [PATCH] kfence: Avoid stalling work queue task without allocations

2020-11-23 Thread Steven Rostedt
On Mon, 23 Nov 2020 16:27:20 +0100 Marco Elver wrote: > On Fri, Nov 20, 2020 at 02:27PM -0500, Steven Rostedt wrote: > > On Thu, 19 Nov 2020 13:53:57 +0100 > > Marco Elver wrote: > > > > > Running tests again, along with the function tracer > > > Running tests on all trace events: > > >

Re: [PATCH 000/141] Fix fall-through warnings for Clang

2020-11-23 Thread Rafael J. Wysocki
On Mon, Nov 23, 2020 at 4:58 PM James Bottomley wrote: > > On Mon, 2020-11-23 at 15:19 +0100, Miguel Ojeda wrote: > > On Sun, Nov 22, 2020 at 11:36 PM James Bottomley > > wrote: [cut] > > > > Maintainers routinely review 1-line trivial patches, not to mention > > internal API changes, etc. > >

[PATCH] nfc: s3fwrn5: use signed integer for parsing GPIO numbers

2020-11-23 Thread Krzysztof Kozlowski
GPIOs - as returned by of_get_named_gpio() and used by the gpiolib - are signed integers, where negative number indicates error. The return value of of_get_named_gpio() should not be assigned to an unsigned int because in case of !CONFIG_GPIOLIB such number would be a valid GPIO. Fixes:

[RFC PATCH] regmap: remove duplicate `type` field from `regcache_sync` trace event

2020-11-23 Thread Philippe Duplessis-Guindon
I had an error saying that `regcache_sync` had 2 fields named `type` while using libtraceevent. This was the format of this event: $ sudo cat /sys/kernel/debug/tracing/events/regmap/regcache_sync/format name: regcache_sync ID: 1216 format:

[ANNOUNCE] 5.4.78-rt44

2020-11-23 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 5.4.78-rt44 stable release. This release is just an update to the new stable 5.4.78 version and no RT specific changes have been made. You can get this release via the git tree at:

[PATCH] firmware: arm_scmi: remove residual _le structs naming

2020-11-23 Thread Cristian Marussi
For sake of consistency, remove any residual naming based on _le suffixes in SCMI Sensors Protocol, since little endianity is already assumed across all of SCMI implementation and, as such, all currently existent names do not explicitly state their endianness. No functional change.

[PATCH] Asoc: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state

2020-11-23 Thread Srinivasa Rao Mandadapu
Fix enabling BCLK and LRCLK only when LPAIF is invalid state and bit clock in enable state. In device suspend/resume scenario LPAIF is going to reset state. which is causing LRCLK disable and BCLK enable. Avoid such inconsitency by removing unnecessary cpu dai prepare API, which is doing LRCLK

Re: [RFC] MAINTAINERS tag for cleanup robot

2020-11-23 Thread Lukas Bulwahn
On Mon, Nov 23, 2020 at 4:52 PM Jani Nikula wrote: > > On Sat, 21 Nov 2020, James Bottomley > wrote: > > On Sat, 2020-11-21 at 08:50 -0800, t...@redhat.com wrote: > >> A difficult part of automating commits is composing the subsystem > >> preamble in the commit log. For the ongoing effort of a

<    4   5   6   7   8   9   10   11   12   13   >