[PATCH 03/41] arm64: dts: qcom: sdm630: Add MMCC node

2021-02-26 Thread Konrad Dybcio
Add MultiMedia Clock Controller node to allow for accessing and controlling Multimedia Subsystem clocks by their respective users. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/bo

[PATCH 04/41] arm64: dts: qcom: sdm630: Add interconnect provider nodes

2021-02-26 Thread Konrad Dybcio
Add interconnect provider nodes to allow for NoC bus scaling. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 59 1 file changed, 59 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index

[PATCH 08/41] arm64: dts: qcom: sdm630: Add USB configuration

2021-02-26 Thread Konrad Dybcio
This will let us use USB2 on our devices. The SoC supposedly supports USB3, but there are no known cases of devices that actually have USB3 wired up in hardware. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 64 1 file changed, 64 insertions

[PATCH 07/41] arm64: dts: qcom: sdm630: Add qfprom subnodes

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno These will be required for USB and Adreno support. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.

[PATCH 06/41] arm64: dts: qcom: sdm630: Fix intc reg indentation

2021-02-26 Thread Konrad Dybcio
From: Konrad Dybcio Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index e0c6099d0810..274d39d4ab35 100644 --- a/arch/arm64

[PATCH 10/41] arm64: dts: qcom: sdm630: Add SDHCI2 node

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno This will enable usage of (generally) uSD cards. While at it, add accompanying OPP table for DVFS. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 50 1 file change

[PATCH 11/41] arm64: dts: qcom: sdm630: Add interconnect and opp table to sdhc_1

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno The SDHC port 1 has interconnects and can make use of DVFS: define the interconnections and the OPP table in order to optimize performance and power consumption. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qc

[PATCH 12/41] arm64: dts: qcom: sdm630: Add GPU Clock Controller node

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno Add the GPU Clock Controller in SDM630 and keep it disabled by default. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dt

[PATCH 16/41] arm64: dts: qcom: sdm630: Add modem/ADSP SMP2P nodes

2021-02-26 Thread Konrad Dybcio
Add SMP2P nodes that are required for ADSP and modem bringup. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index

[PATCH 05/41] arm64: dts: qcom: sdm630: Add MDSS nodes

2021-02-26 Thread Konrad Dybcio
Add MDSS node along with its children to enable display functionality. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 198 ++- 1 file changed, 196 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/

[PATCH 20/41] arm64: dts: qcom: sdm630: Add Adreno 508 GPU configuration

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno The SDM630 SoC features an Adreno 508.0 GPU with a minimum frequency of 160MHz and a maximum of (depending on the speed-bin) 775MHz. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 84 +

[PATCH 13/41] arm64: dts: qcom: sdm630: Add clocks and power domains to SMMU nodes

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno Add the required clocks and power domains for the SMMUs to work. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 31 +--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boo

[PATCH 19/41] arm64: dts: qcom: sdm630: Raise tcsr_mutex_regs size

2021-02-26 Thread Konrad Dybcio
Enlarge the size to make sure all relevant registers can be reached. This will be required to support the modem. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/

[PATCH 14/41] arm64: dts: qcom: sdm630: Add qcom,adreno-smmu compatible

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno The Adreno SMMU in SDM630 needs this compatible string for proper context handling and split pagetables support. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --

[PATCH 09/41] arm64: dts: qcom: sdm630: Fix TLMM node and pinctrl configuration

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno Previous pinctrl configuration was wrong. Fix it. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 221 ++- 1 file changed, 145 insertions(+), 76 deletions(-) diff --git

[PATCH 18/41] arm64: dts: qcom: sdm630: Add ADSP remoteproc configuration

2021-02-26 Thread Konrad Dybcio
Configure the ADSP remote processor and add a simple sound{} node to make way for future development. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 83 1 file changed, 83 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/ar

[PATCH 15/41] arm64: dts: qcom: sdm630: Add TSENS node

2021-02-26 Thread Konrad Dybcio
This will enable temperature reporting for various SoC components. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- .../devicetree/bindings/thermal/qcom-tsens.yaml | 1 + arch/arm64/boot/dts/qcom/sdm630.dtsi | 11 +++ 2 files changed, 1

[PATCH 17/41] arm64: dts: qcom: sdm630: Add thermal-zones configuration

2021-02-26 Thread Konrad Dybcio
Add a basic thermal-zones configuration to make sure the SoC doesn't overheat itself to death. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 173 +++ 1 file changed, 173 insertions(+) diff --git a/arch

[PATCH 32/41] arm64: dts: qcom: sdm630-nile: Add USB

2021-02-26 Thread Konrad Dybcio
Enable and configure DWC3 and QUSB2 PHY to enable USB functionality on Nile and Ganges boards. Signed-off-by: Konrad Dybcio --- .../dts/qcom/sdm630-sony-xperia-nile.dtsi | 26 +++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.

[PATCH 30/41] arm64: dts: qcom: sdm630-xperia-nile: Add all RPM and fixed regulators

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno Add all of the RPM PM660/PM660L regulators and the fixed ones, defining the common electrical part of this platform. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- .../dts/qcom/sdm630-sony-xperia-nile.dtsi | 395 +++

Re: [PATCH] squashfs: fix inode lookup sanity checks

2021-02-26 Thread Phillip Lougher
> On 26/02/2021 09:29 Sean Nyekjaer wrote: > > > When mouting a squashfs image created without inode compression it > fails with: "unable to read inode lookup table" > > It turns out that the BLOCK_OFFSET is missing when checking > the SQUASHFS_METADATA_SIZE agaist the actual size. > > Fixe

[PATCH 34/41] arm64: dts: qcom: sdm630-nile: Configure WCN3990 Bluetooth

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno Add a node for WCN3990 HCIUART Bluetooth. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- .../boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm

Re: [PATCH v10 2/5] sched: CGroup tagging interface for core scheduling

2021-02-26 Thread Chris Hyser
On 2/24/21 10:47 AM, chris hyser wrote: On 2/24/21 8:52 AM, chris hyser wrote: On 2/24/21 8:02 AM, Chris Hyser wrote: However, it means that overall throughput of your binary is cut in ~half, since none of the threads can share a core. Note that I never saw an indefinite deadlock, just ~2x run

Re: [PATCH v4 05/10] coresight: syscfg: Add API to activate and enable configurations

2021-02-26 Thread Mike Leach
HI Mathieu, On Thu, 25 Feb 2021 at 21:20, Mathieu Poirier wrote: > > On Thu, Jan 28, 2021 at 05:09:31PM +, Mike Leach wrote: > > Configurations are first activated, then when any coresight device is > > enabled, the active configurations are checked and any matching > > one is enabled. > > >

[PATCH 29/41] arm64: dts: qcom: sdm660: Add required nodes for DSI1

2021-02-26 Thread Konrad Dybcio
Configure the second DSI host/phy and account for them in the mmcc node. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm660.dtsi | 101 +-- 1 file changed, 97 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot

[PATCH 37/41] arm64: dts: qcom: sdm630-nile: Specify ADSP firmware name

2021-02-26 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi index 5f1202ae954b..433cfed574f1 100644 ---

[PATCH 24/41] arm64: dts: qcom: pm660(l): Add VADC and temp alarm nodes

2021-02-26 Thread Konrad Dybcio
Add VADC, temperature alarm and thermal zones for pm660(l) to allow for temperature and voltage readouts and prevent PMIC overheating. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pm660.dtsi | 122 +++ arch/arm64/b

[PATCH 35/41] arm64: dts: qcom: sdm630-xperia: Retire sdm630-sony-xperia-ganges.dtsi

2021-02-26 Thread Konrad Dybcio
After further consideration, it is not worth to keep another separate DTSI, as the differences between Nile and Ganges are very minimal. Instead, let's just address the minimal differences between Kirin and Mermaid. Signed-off-by: Konrad Dybcio --- .../qcom/sdm630-sony-xperia-ganges-kirin.dts |

Re: [PATCH v4 06/10] coresight: etm-perf: Update to activate selected configuration

2021-02-26 Thread Mike Leach
Hi Mathieu, On Thu, 25 Feb 2021 at 21:51, Mathieu Poirier wrote: > > On Thu, Jan 28, 2021 at 05:09:32PM +, Mike Leach wrote: > > Add calls to activate the selected configuration as perf starts > > and stops the tracing session. > > > > Signed-off-by: Mike Leach > > --- > > drivers/hwtracing

[PATCH 27/41] arm64: dts: qcom: sdm630: Add IMEM node

2021-02-26 Thread Konrad Dybcio
Add IMEM node and PIL reloc info as its child. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 1da9b8aa5c0f..c74423474884

[PATCH 33/41] arm64: dts: qcom: sdm630-nile: Add Volume up key

2021-02-26 Thread Konrad Dybcio
Let's get loud! Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi index e17a0f0b1e06

[PATCH 25/41] arm64: dts: qcom: sdm660: Make the DTS an overlay on top of 630

2021-02-26 Thread Konrad Dybcio
There is SO MUCH common code between these two SoCs that it makes no sense to keep what is essentially a duplicate of 630.dtsi. Instead, it's better to just change the things that differ. Signed-off-by: Konrad Dybcio --- .../boot/dts/qcom/sdm660-xiaomi-lavender.dts | 2 - arch/arm64/boot/dts/

[PATCH 36/41] arm64: dts: qcom: sdm630-nile: Add Synaptics touchscreen.

2021-02-26 Thread Konrad Dybcio
Delete the node on Ganges devices, as they use a different one. Signed-off-by: Konrad Dybcio --- .../qcom/sdm630-sony-xperia-ganges-kirin.dts | 2 ++ .../dts/qcom/sdm630-sony-xperia-nile.dtsi | 36 ++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/arch/arm6

[PATCH 38/41] arm64: dts: qcom: sdm630-nile: Enable uSD card slot

2021-02-26 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi index 433cfed574f1..ff74a8b24150 100644

[Patch V2 03/13] platform-msi: Provide default irq_chip:: Ack

2021-02-26 Thread Megha Dey
From: Thomas Gleixner For the upcoming device MSI support it's required to have a default irq_chip::ack implementation (irq_chip_ack_parent) so the drivers do not need to care. Reviewed-by: Tony Luck Signed-off-by: Thomas Gleixner Signed-off-by: Megha Dey --- drivers/base/platform-msi.c | 2

[Patch V2 02/13] x86/msi: Rename and rework pci_msi_prepare() to cover non-PCI MSI

2021-02-26 Thread Megha Dey
From: Thomas Gleixner Rename it to x86_msi_prepare() and handle the allocation type setup depending on the device type. Add a new arch_msi_prepare define which will be utilized by the upcoming device MSI support. Define it to NULL if not provided by an architecture in the generic MSI header. On

[PATCH 40/41] arm64: dts: qcom: sdm630: Add I2C functions to I2C pins

2021-02-26 Thread Konrad Dybcio
This was overlooked earlier, fix it to ensure the busses can work properly. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi ind

[PATCH 41/41] arm64: dts: qcom: sdm630: Add DMA to I2C hosts

2021-02-26 Thread Konrad Dybcio
Add DMA properties to I2C hosts to allow for DMA transfers. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index fccfc4e9f69d.

[PATCH 39/41] arm64: dts: qcom: sdm630-nile: Remove gpio-keys autorepeat

2021-02-26 Thread Konrad Dybcio
The autorepeat feature is not needed on gpio-keys. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.d

[Patch V2 01/13] x86/irq: Add DEV_MSI allocation type

2021-02-26 Thread Megha Dey
From: Thomas Gleixner For the upcoming device MSI support a new allocation type is required. Reviewed-by: Tony Luck Signed-off-by: Thomas Gleixner Signed-off-by: Megha Dey --- arch/x86/include/asm/hw_irq.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/hw_irq.h b/ar

[Patch V2 00/13] Introduce dev-msi and interrupt message store

2021-02-26 Thread Megha Dey
Provide support for device specific MSI implementations for devices which have their own resource management and interrupt chip. These devices are not related to PCI and contrary to platform MSI they do not share a common resource and interrupt chip. They provide their own domain specific resource

[Patch V2 04/13] genirq/proc: Take buslock on affinity write

2021-02-26 Thread Megha Dey
From: Thomas Gleixner Until now interrupt chips which support setting affinity are not locking the associated bus lock for two reasons: - All chips which support affinity setting do not use buslock because they just can operated directly on the hardware. - All chips which use buslock do no

[Patch V2 07/13] irqdomain/msi: Provide msi_alloc/free_store() callbacks

2021-02-26 Thread Megha Dey
From: Thomas Gleixner For devices which don't have a standard storage for MSI messages like the upcoming IMS (Interrupt Message Store) it's required to allocate storage space before allocating interrupts and after freeing them. This could be achieved with the existing callbacks, but that would b

[Patch V2 06/13] platform-msi: Add device MSI infrastructure

2021-02-26 Thread Megha Dey
From: Thomas Gleixner Add device specific MSI domain infrastructure for devices which have their own resource management and interrupt chip. These devices are not related to PCI and contrary to platform MSI they do not share a common resource and interrupt chip. They provide their own domain spec

[Patch V2 05/13] genirq/msi: Provide and use msi_domain_set_default_info_flags()

2021-02-26 Thread Megha Dey
From: Thomas Gleixner MSI interrupts have some common flags which should be set not only for PCI/MSI interrupts. Move the PCI/MSI flag setting into a common function so it can be reused. Reviewed-by: Tony Luck Signed-off-by: Thomas Gleixner Signed-off-by: Megha Dey --- drivers/pci/msi.c |

[Patch V2 08/13] genirq: Set auxiliary data for an interrupt

2021-02-26 Thread Megha Dey
Introduce a new function pointer in the irq_chip structure(irq_set_auxdata) which is responsible for updating data which is stored in a shared register or data storage. For example, the idxd driver uses the auxiliary data API to enable/set and disable PASID field that is in the IMS entry (introduce

[Patch V2 11/13] platform-msi: Add platform check for subdevice irq domain

2021-02-26 Thread Megha Dey
From: Lu Baolu The pci_subdevice_msi_create_irq_domain() should fail if the underlying platform is not able to support IMS (Interrupt Message Storage). Otherwise, the isolation of interrupt is not guaranteed. For x86, IMS is only supported on bare metal for now. We could enable it in the virtual

[Patch V2 09/13] iommu/vt-d: Add DEV-MSI support

2021-02-26 Thread Megha Dey
Add required support in the interrupt remapping driver for devices which generate dev-msi interrupts and use the intel remapping domain as the parent domain. Set the source-id of all dev-msi interrupt requests to the parent PCI device associated with it. Reviewed-by: Tony Luck Signed-off-by: Megh

[Patch V2 10/13] iommu: Add capability IOMMU_CAP_VIOMMU_HINT

2021-02-26 Thread Megha Dey
From: Lu Baolu Some IOMMU specification defines some kind of hint mechanism, through which BIOS can imply that OS runs in a virtualized environment. For example, the caching mode defined in VT-d spec and NpCache capability defined in the AMD IOMMU specification. This hint could also be used outsi

[Patch V2 13/13] genirq/msi: Provide helpers to return Linux IRQ/dev_msi hw IRQ number

2021-02-26 Thread Megha Dey
From: Dave Jiang Add new helpers to get the Linux IRQ number and device specific index for given device-relative vector so that the drivers don't need to allocate their own arrays to keep track of the vectors and hwirq for the multi vector device MSI case. Reviewed-by: Tony Luck Signed-off-by:

[Patch V2 12/13] irqchip: Add IMS (Interrupt Message Store) driver

2021-02-26 Thread Megha Dey
Generic IMS(Interrupt Message Store) irq chips and irq domain implementations for IMS based devices which store the interrupt messages in an array in device memory. Allocation and freeing of interrupts happens via the generic msi_domain_alloc/free_irqs() interface. No special purpose IMS magic req

Re: [PATCH v5 6/9] ALSA: virtio: PCM substream operators

2021-02-26 Thread Anton Yakovlev
On 26.02.2021 15:23, Takashi Iwai wrote: On Thu, 25 Feb 2021 23:19:31 +0100, Anton Yakovlev wrote: On 25.02.2021 21:30, Takashi Iwai wrote:> On Thu, 25 Feb 2021 20:02:50 +0100, Michael S. Tsirkin wrote: On Thu, Feb 25, 2021 at 01:51:16PM +0100, Takashi Iwai wrote: On Thu, 25 Feb 2021 13:14:

[PATCH 21/41] arm64: dts: qcom: pm660: Support SPMI regulators on PMIC sid 1

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno The PM660 PMIC has SPMI regulators on the PMIC SID 1: let's declare the second pmic subtree and add the spmi vregs compatible to probe them there. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pm660.dtsi |

#pragma once (was Re: incoming)

2021-02-26 Thread Alexey Dobriyan
Linus wrote: > I'm hoping to just do -rc1 this weekend after all - despite my late > start due to loss of power for several days. > > I'll allow late stragglers with good reason through, but the fewer of > those there are, the better, of course. I want to sent treewide "#pragma once" conversion:

Re: [PATCH/v3] bpf: add bpf_skb_adjust_room flag BPF_F_ADJ_ROOM_ENCAP_L2_ETH

2021-02-26 Thread Cong Wang
On Thu, Feb 25, 2021 at 7:59 PM Xuesen Huang wrote: > v3: > - Fix the code format. > > v2: > Suggested-by: Willem de Bruijn > - Add a new flag to specify the type of the inner packet. These need to be moved after '---', otherwise it would be merged into the final git log. > > Suggested-by: Will

Re: [PATCH 1/1] Bluetooth: btusb: Fix incorrect type in assignment and uninitialized symbol

2021-02-26 Thread Marcel Holtmann
Hi Mark, > Warnings: drivers/bluetooth/btusb.c:3775 btusb_mtk_setup() error: > uninitialized symbol 'fw_version'. > -> add initial value for fw_version. > > Warnings: sparse: sparse: incorrect type in assignment (different base > types) > -> add le32_to_cpu to fix incorrect type in assignment. >

[PATCH 2/2] topology: Guard node_reclaim_distance with CONFIFG_NUMA

2021-02-26 Thread Palmer Dabbelt
From: Palmer Dabbelt This is only defined (and useful) for CONFIG_NUMA, but isn't conditionally declared. This makes users a bit more of a headache to track down. Signed-off-by: Palmer Dabbelt --- include/linux/topology.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/top

[PATCH 1/2] mm: Guard a use of node_reclaim_distance with CONFIFG_NUMA

2021-02-26 Thread Palmer Dabbelt
From: Palmer Dabbelt This is only useful under CONFIG_NUMA. IIUC skipping the check is the right thing to do here, as without CONFIG_NUMA there will never be any large node distances on non-NUMA systems. I expected this to manifest as a link failure under (!CONFIG_NUMA && CONFIG_TRANSPARENT_HUG

Re: [PATCH] net: bridge: Fix jump_label config

2021-02-26 Thread Cong Wang
On Thu, Feb 25, 2021 at 5:39 PM Kefeng Wang wrote: > > > On 2021/2/26 5:22, Cong Wang wrote: > > On Wed, Feb 24, 2021 at 8:03 AM Kefeng Wang > > wrote: > >> HAVE_JUMP_LABLE is removed by commit e9666d10a567 ("jump_label: move > >> 'asm goto' support test to Kconfig"), use CONFIG_JUMP_LABLE inste

linux-kernel@vger.kernel.org

2021-02-26 Thread Konrad Dybcio
Refer to nodes by their labels to match the current convention. Signed-off-by: Konrad Dybcio --- .../dts/qcom/sdm630-sony-xperia-nile.dtsi | 61 +++ 1 file changed, 35 insertions(+), 26 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/a

Re: [PATCH 06/41] arm64: dts: qcom: sdm630: Fix intc reg indentation

2021-02-26 Thread Konrad Dybcio
This one slipped my watchlist and still uses the old email.. From: Konrad Dybcio Signed-off-by:  Konrad Dybcio

[PATCH 23/41] arm64: dts: qcom: pm660l: Support SPMI regulators on PMIC sid 3

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno The PM660L PMIC has SPMI regulators on the PMIC SID 3: let's add the compatible in order to probe them. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pm660l.dtsi | 4 1 file changed, 4 insertions(+)

[PATCH 26/41] arm64: dts: qcom: Add device tree for SDM636

2021-02-26 Thread Konrad Dybcio
This SoC is almost identical to its older brother, SDM660, with a few minor exceptions like the different GPU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm636.dtsi | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sdm636.

Re: [PATCH v5 6/9] ALSA: virtio: PCM substream operators

2021-02-26 Thread Anton Yakovlev
On 25.02.2021 21:30, Takashi Iwai wrote:> On Thu, 25 Feb 2021 20:02:50 +0100, Michael S. Tsirkin wrote: [snip] If you want to merge it yourself instead, also please say so. I don't mind who take the patches, although it looks more fitting to merge through sound git tree if judging from th

[PATCH 28/41] arm64: dts: qcom: sdm630: Configure the camera subsystem

2021-02-26 Thread Konrad Dybcio
From: AngeloGioacchino Del Regno Add nodes for camss, cci and its pinctrl in order to bring up camera functionality. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 215 +++ 1 file changed, 215 insertio

[PATCH 22/41] arm64: dts: qcom: pm660l: Add WLED support

2021-02-26 Thread Konrad Dybcio
This will enable backlight control on WLED-enabled devices. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pm660l.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm660l.dtsi b/arch/arm64/

[PATCH] RISC-V: Make NUMA depend on SMP

2021-02-26 Thread Palmer Dabbelt
From: Palmer Dabbelt In theory these are orthogonal, but in practice all NUMA systems are SMP. NUMA && !SMP doesn't build, everyone else is coupling them, and I don't really see any value in supporting that configuration. Fixes: 4f0e8eef772e ("riscv: Add numa support for riscv64 platform") Sugg

Re: [PATCH v2 2/3] mm: use PF_NO_TAIL for PG_lru

2021-02-26 Thread Yu Zhao
On Fri, Feb 26, 2021 at 02:17:17AM -0700, Yu Zhao wrote: > Trying to set or clear PG_lru on tail pages has been considered buggy. > Enforce this rule by changing the policy for PG_lru from PF_HEAD to > PF_NO_TAIL. This means setting or clearing PG_lru on tail pages won't > be "corrected" by compoun

Re: [PATCH v4] Bluetooth: Keep MSFT ext info throughout a hci_dev's life cycle

2021-02-26 Thread Marcel Holtmann
Hi Miao-chen, > This moves msft_do_close() from hci_dev_do_close() to > hci_unregister_dev() to avoid clearing MSFT extension info. This also > re-reads MSFT info upon every msft_do_open() even if MSFT extension has > been initialized. > > The following test steps were performed. > (1) boot the t

Re: [PATCH v2 3/3] mm: use PF_ONLY_HEAD for PG_active and PG_unevictable

2021-02-26 Thread Matthew Wilcox
On Fri, Feb 26, 2021 at 12:49:41PM -0700, Yu Zhao wrote: > On Fri, Feb 26, 2021 at 12:13:14PM +, Matthew Wilcox wrote: > > On Fri, Feb 26, 2021 at 02:17:18AM -0700, Yu Zhao wrote: > > > All places but one test, set or clear PG_active and PG_unevictable on > > > small or head pages. Use compound

Re: [PATCH 1/2] mm: Guard a use of node_reclaim_distance with CONFIFG_NUMA

2021-02-26 Thread Andrew Morton
On Fri, 26 Feb 2021 12:17:20 -0800 Palmer Dabbelt wrote: > From: Palmer Dabbelt > > This is only useful under CONFIG_NUMA. IIUC skipping the check is the > right thing to do here, as without CONFIG_NUMA there will never be any > large node distances on non-NUMA systems. > > I expected this to

Re: [PATCH v2] block: Add bio_max_segs

2021-02-26 Thread Matthew Wilcox
This seems to have missed the merge window ;-( On Fri, Jan 29, 2021 at 04:38:57AM +, Matthew Wilcox (Oracle) wrote: > It's often inconvenient to use BIO_MAX_PAGES due to min() requiring the > sign to be the same. Introduce bio_max_segs() and change BIO_MAX_PAGES to > be unsigned to make it

[PATCH] swiotlb: swiotlb_tbl_map_single() kernel BUG in iommu-helper.h:30

2021-02-26 Thread Brad Larson
Kernel Oops introduced in next-20210222 due to get_max_slots return arg size. In the function find_slots() variable max_slots is zero when boundary_mask is 0x. [0.242119] kernel BUG at ./include/linux/iommu-helper.h:30! [0.247793] Internal error: Oops - BUG: 0 [#1] SMP [

Re: [PATCH] perf vendor events: Remove 'type' field from mapfiles

2021-02-26 Thread Andi Kleen
> I assumed that it was this file: > https://download.01.org/perfmon/mapfile.csv Yep. > > which already has a different format - extra columns - so figured that some > handcrafting was already going on. Indeed 'type' is not always 'core' there. Yes. Could possibly add the extra columns from the

[PATCH v1] Little fix that missed the merge window.

2021-02-26 Thread Konrad Rzeszutek Wilk
When the last set of patches were posted for review right before the merge window this fix was deferred. Please at your convience pick it up. drivers/cxl/mem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Konrad Rzeszutek Wilk (1): cxl: Make loop variable be 'i' instead of

[PATCH] cxl: Make loop variable be 'i' instead of 'j'

2021-02-26 Thread Konrad Rzeszutek Wilk
.. otherwise people spend extra cycles looking for the inner loop and wondering 'why j'? This was an over-sight when initial work was rebased so lets fix it here. Fixes: 583fa5e71cae ("cxl/mem: Add basic IOCTL interface") Signed-off-by: Konrad Rzeszutek Wilk --- drivers/cxl/mem.c | 6 +++--- 1

Re: [PATCH] ARM: ep93xx: don't use clang IAS for crunch

2021-02-26 Thread Nick Desaulniers
On Fri, Feb 26, 2021 at 11:32 AM Hartley Sweeten wrote: > > On Friday, February 26, 2021 12:23 PM, Alexander Sverdlin wrote: > > On Fri, 2021-02-26 at 17:43 +0100, Arnd Bergmann wrote: > >> Randconfig builds with ep93xx fail with the clang integrated assembler > >> that does not understand the mav

Re: Question about the "EXPERIMENTAL" tag for dax in XFS

2021-02-26 Thread Dave Chinner
On Fri, Feb 26, 2021 at 11:24:53AM -0800, Dan Williams wrote: > On Fri, Feb 26, 2021 at 11:05 AM Darrick J. Wong wrote: > > > > On Fri, Feb 26, 2021 at 09:45:45AM +, ruansy.f...@fujitsu.com wrote: > > > Hi, guys > > > > > > Beside this patchset, I'd like to confirm something about the > > > "E

Re: [PATCH v2] block: Add bio_max_segs

2021-02-26 Thread Chaitanya Kulkarni
On 2/26/21 12:39, Matthew Wilcox wrote: > This seems to have missed the merge window ;-( > > On Fri, Jan 29, 2021 at 04:38:57AM +, Matthew Wilcox (Oracle) wrote: >> It's often inconvenient to use BIO_MAX_PAGES due to min() requiring the >> sign to be the same. Introduce bio_max_segs() and chan

Re: [PATCH] Fix zero_user_segments() with start > end

2021-02-26 Thread Matthew Wilcox
On Sat, Feb 27, 2021 at 01:11:35AM +0900, OGAWA Hirofumi wrote: > zero_user_segments() is used from __block_write_begin_int(), for > example like the following > > zero_user_segments(page, 4096, 1024, 512, 918) > > But new zero_user_segments() implements for HIGMEM + TRANSPARENT_HUGEPAGE >

[PATCH] kunit: fix checkpatch warning

2021-02-26 Thread Lucas Pires Stankus
Tidy up code by fixing the following checkpatch warnings: CHECK: Alignment should match open parenthesis CHECK: Lines should not end with a '(' Signed-off-by: Lucas Stankus --- lib/kunit/assert.c | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git

Re: [PATCH] cxl: Make loop variable be 'i' instead of 'j'

2021-02-26 Thread Dan Williams
On Fri, Feb 26, 2021 at 12:46 PM Konrad Rzeszutek Wilk wrote: > Hey, Konrad, thanks for fixing this up. Some more cosmetic changes to fold in below... > .. otherwise people spend extra cycles looking for the > inner loop and wondering 'why j'? > > This was an over-sight when initial work was reb

Re: [PATCH] cxl: Make loop variable be 'i' instead of 'j'

2021-02-26 Thread Al Viro
On Fri, Feb 26, 2021 at 03:45:52PM -0500, Konrad Rzeszutek Wilk wrote: > .. otherwise people spend extra cycles looking for the > inner loop and wondering 'why j'? > > This was an over-sight when initial work was rebased > so lets fix it here. > > Fixes: 583fa5e71cae ("cxl/mem: Add basic IOCTL in

Re: [PATCH] kunit: tool: Disable PAGE_POISONING under --alltests

2021-02-26 Thread Brendan Higgins
On Mon, Feb 8, 2021 at 11:10 PM David Gow wrote: > > kunit_tool maintains a list of config options which are broken under > UML, which we exclude from an otherwise 'make ARCH=um allyesconfig' > build used to run all tests with the --alltests option. > > Something in UML allyesconfig is causing seg

Re: [PATCH] arm64: vmlinux.lds.S: keep .entry.tramp.text section

2021-02-26 Thread Kees Cook
On Fri, Feb 26, 2021 at 03:03:39PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > When building with CONFIG_LD_DEAD_CODE_DATA_ELIMINATION, > I sometimes see an assertion > > ld.lld: error: Entry trampoline text too big Heh, "too big" seems a weird report for having it discarded. :) Any

Re: Question about the "EXPERIMENTAL" tag for dax in XFS

2021-02-26 Thread Dan Williams
On Fri, Feb 26, 2021 at 12:51 PM Dave Chinner wrote: > > On Fri, Feb 26, 2021 at 11:24:53AM -0800, Dan Williams wrote: > > On Fri, Feb 26, 2021 at 11:05 AM Darrick J. Wong wrote: > > > > > > On Fri, Feb 26, 2021 at 09:45:45AM +, ruansy.f...@fujitsu.com wrote: > > > > Hi, guys > > > > > > > >

Re: [PATCH 2/2] gpio: fix gpio-device list corruption

2021-02-26 Thread Saravana Kannan
On Fri, Feb 26, 2021 at 6:55 AM Johan Hovold wrote: > > Make sure to hold the gpio_lock when removing the gpio device from the > gpio_devices list (when dropping the last reference) to avoid corrupting > the list when there are concurrent accesses. > > Fixes: ff2b13592299 ("gpio: make the gpiochip

AMDGPU unable to resume from suspend in kernel 5.11

2021-02-26 Thread Siniša Bandin
Hello! Since I have installed kernel 5.11 on my Lenovo Yoga Slim 7 (AMD Ryzen 7 4800U with Radeon Graphics) with openSUSE Tumbleweed, laptop is unable to resume from suspend. Everything works just fine with any kernel from 5.3 until 5.10. I have tested with one of 5.11-rcX, and with 5.11.0-3

Re: [PATCH] swiotlb: swiotlb_tbl_map_single() kernel BUG in iommu-helper.h:30

2021-02-26 Thread Konrad Rzeszutek Wilk
On Fri, Feb 26, 2021 at 12:43:07PM -0800, Brad Larson wrote: > Kernel Oops introduced in next-20210222 due to get_max_slots return arg size. > In the function find_slots() variable max_slots is zero when boundary_mask is > 0x. I am looking at the stable/for-linus-5.12 and what I se

[PATCH] ecryptfs: fix kernel panic with null dev_name

2021-02-26 Thread Jeffrey Mitchell
When mounting eCryptfs, a null "dev_name" argument to ecryptfs_mount() causes a kernel panic if the parsed options are valid. The easiest way to reproduce this is to call mount() from userspace with an existing eCryptfs mount's options and a "source" argument of 0. Error out if "dev_name" is null

[PATCH] ecryptfs: add rename flag support

2021-02-26 Thread Jeffrey Mitchell
Currently, ecryptfs_rename() returns EINVAL if any flags are passed in. However, if the lower filesystem has support for those flags, it doesn't require any additional complexity to take advantage of it in eCryptfs. Add flag support to ecryptfs_rename() by passing them through to the lower filesys

Re: [PATCH] sched: Optimize __calc_delta.

2021-02-26 Thread Peter Zijlstra
On Fri, Feb 26, 2021 at 11:52:39AM -0800, Josh Don wrote: > From: Clement Courbet > > A significant portion of __calc_delta time is spent in the loop > shifting a u64 by 32 bits. Use a __builtin_clz instead of iterating. > > This is ~7x faster on benchmarks. Have you tried on hardware without s

Re: [PATCH v4 2/2] dt-bindings: Document bindings for new SDM845 devices

2021-02-26 Thread Caleb Connolly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Is this patch ready to be merged? Regards, Caleb On 25/01/2021 10:18 pm, Rob Herring wrote: > On Thu, 14 Jan 2021 20:32:06 +, Caleb Connolly wrote: >> Document compatible bindings for the new OnePlus 6/6T devices. >> >> Signed-off-by: Cal

Re: [PATCH 3/3] kernel/smp: add more data to CSD lock debugging

2021-02-26 Thread Peter Zijlstra
On Fri, Feb 26, 2021 at 10:12:05AM -0800, Paul E. McKenney wrote: > On Fri, Feb 26, 2021 at 05:38:44PM +0100, Peter Zijlstra wrote: > > > > I hate all of this, but if this will finally catch the actual problem, > > we can then revert all this, so sure. > > OK, I will bite... What exactly do you

Re: [PATCH] kunit: fix checkpatch warning

2021-02-26 Thread Brendan Higgins
On Fri, Feb 26, 2021 at 12:54 PM Lucas Pires Stankus wrote: > > Tidy up code by fixing the following checkpatch warnings: > CHECK: Alignment should match open parenthesis > CHECK: Lines should not end with a '(' > > Signed-off-by: Lucas Stankus Reviewed-by: Brendan Higgins Thanks!

TREAT AND REPLY URGENTLY.

2021-02-26 Thread Mr. Dabire Basole
Dear Friend, Greetings! How are you with your family today? I hope both of you are in good health decently, I know that this message might meet you in utmost surprise as we never know each other before. I am Mr. Dabire Basole a banker by profession, I need your urgent assist in transferring the s

possible deadlock in sk_clone_lock

2021-02-26 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:577c2835 Add linux-next specific files for 20210224 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=137cef82d0 kernel config: https://syzkaller.appspot.com/x/.config?x=e9bb3d369b3bf49 dashboard l

[PATCH] drm/msm/dp: Restore aux retry tuning logic

2021-02-26 Thread Stephen Boyd
In commit 9fc418430c65 ("drm/msm/dp: unplug interrupt missed after irq_hpd handler") we dropped a reset of the aux phy during aux transfers because resetting the phy during active communication caused us to miss an hpd irq in some cases. Unfortunately, we also dropped the part of the code that chan

Re: [PATCH v2 1/3] lockdep: add lockdep_assert_not_held()

2021-02-26 Thread Peter Zijlstra
On Fri, Feb 26, 2021 at 10:52:13AM -0700, Shuah Khan wrote: > + /* avoid false negative lockdep_assert_not_held() > + * and lockdep_assert_held() > + */ That's a coding style fail.

Re: [PATCH v3 5/9] media: hantro: Introduce G2/HEVC decoder

2021-02-26 Thread Ezequiel Garcia
On Fri, 2021-02-26 at 10:47 +0100, Benjamin Gaignard wrote: > > Le 25/02/2021 à 18:55, Ezequiel Garcia a écrit : > > Hi Benjamin, > > > > Thanks for the good work! > > I mostly have two concerns with this implementation, > > the tiled output and the allocation path. > > > > More below. > > > >

<    2   3   4   5   6   7   8   9   >