drivers/gpu/drm/i915/i915_sw_fence.c:47:20: error: unused function 'debug_fence_init_onstack'

2021-04-01 Thread kernel test robot
: x86_64-randconfig-r036-20210401 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 1c268a8ff4e90a85d0e634350b1104080614cf2b) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH v14 13/13] iommu/smmuv3: Accept configs with more than one context descriptor

2021-04-01 Thread Auger Eric
Hi Zenghui, On 3/30/21 11:23 AM, Zenghui Yu wrote: > Hi Eric, > > On 2021/2/24 4:56, Eric Auger wrote: >> In preparation for vSVA, let's accept userspace provided configs >> with more than one CD. We check the max CD against the host iommu >> capability and also the format (linear versus 2 level)

Re: [PATCH v2 1/2] dt-bindings: iio: temperature: Add DT bindings for TMP117

2021-04-01 Thread Rob Herring
On Thu, Apr 01, 2021 at 02:46:47PM +0530, Puranjay Mohan wrote: > Add devicetree binding document for TMP117, a digital temperature sensor. Please run checkpatch.pl and fix trailing WS. > > Signed-off-by: Puranjay Mohan > --- > .../bindings/iio/temperature/ti,tmp117.yaml | 34 +++

[PATCH 15/32] MAINTAINERS: update atmel,sama5d2-adc.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 58ff1b519753 ("dt-bindings:iio:adc:atmel,sama5d2-adc: txt to yaml conversion") renamed: Documentation/devicetree/bindings/iio/adc/at91-sama5d2_adc.txt to: Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml. Update its cross-reference accordingly. Fixes: 58ff1b519753 ("dt-

[PATCH 16/32] MAINTAINERS: update pni,rm3100.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset f383069be33e ("dt-bindings:iio:magnetometer:pni,rm3100: txt to yaml conversion.") renamed: Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.txt to: Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.yaml. Update its cross-reference accordingly. Fixes: f383069be3

Re: [syzbot] WARNING in mntput_no_expire (2)

2021-04-01 Thread Christian Brauner
On Thu, Apr 01, 2021 at 02:09:20AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:d19cc4bf Merge tag 'trace-v5.12-rc5' of git://git.kernel.o.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1018f281d0 > kernel

[PATCH 32/32] pinctrl: update pin-control.rst references

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 5513b411ea5b ("Documentation: rename pinctl to pin-control") renamed: Documentation/driver-api/pinctl.rst to: Documentation/driver-api/pin-control.rst. Update the cross-references accordingly. Fixes: 5513b411ea5b ("Documentation: rename pinctl to pin-control") Signed-off-by: Mauro Carva

[PATCH 13/32] MAINTAINERS: update marvell,armada-3700-utmi-phy.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 6569d8386388 ("dt-bindings: phy: convert phy-mvebu-utmi to YAML schema") renamed: Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt to: Documentation/devicetree/bindings/phy/marvell,armada-3700-utmi-phy.yaml. Update its cross-reference accordingly. Fixes: 6569d8386388 ("dt-bindi

[PATCH 25/32] dt-bindings:iio:dac: update microchip,mcp4725.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 6ced946a4bba ("dt-bindings:iio:dac:microchip,mcp4725 yaml conversion") renamed: Documentation/devicetree/bindings/iio/dac/mcp4725.txt to: Documentation/devicetree/bindings/iio/dac/microchip,mcp4725.yaml. Update its cross-reference accordingly. Fixes: 6ced946a4bba ("dt-bindings:iio:dac:m

[PATCH] torture: Correctly fetch CPUs for kvm-build.sh with all native language

2021-04-01 Thread Frederic Weisbecker
Grepping for "CPU" on lscpu output isn't always successful, depending on the local language setting. As a result, the build can be aborted early with: "make: the '-j' option requires a positive integer argument" Prefer a more generic solution. Signed-off-by: Frederic Weisbecker --- too

[PATCH 26/32] dt-bindings: iommu: mediatek: update mediatek,iommu.yaml references

2021-04-01 Thread Mauro Carvalho Chehab
Changeset bca28426805d ("dt-bindings: iommu: mediatek: Convert IOMMU to DT schema") renamed: Documentation/devicetree/bindings/iommu/mediatek,iommu.txt to: Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml. Update the cross-references accordingly. Fixes: bca28426805d ("dt-bindings: iom

[PATCH 17/32] MAINTAINERS: update renesas,rcar-gyroadc.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 8c41245872e2 ("dt-bindings:iio:adc:renesas,rcar-gyroadc: txt to yaml conversion.") renamed: Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt to: Documentation/devicetree/bindings/iio/adc/renesas,rcar-gyroadc.yaml. Update its cross-reference accordingly. Fixes: 8c41245872e2

Re: [PATCH v2 3/3] bindings: ipmi: Add binding for Aspeed SSIF BMC driver

2021-04-01 Thread Rob Herring
On Tue, Mar 30, 2021 at 09:10:29PM +0700, Quan Nguyen wrote: > Add device tree binding document for the Aspeed SSIF BMC driver. > > Signed-off-by: Quan Nguyen > --- > .../bindings/ipmi/aspeed-ssif-bmc.txt | 18 ++ > 1 file changed, 18 insertions(+) > create mode 100644

Re: [PATCH v3 00/14] PCI/MSI: Getting rid of msi_controller, and other cleanups

2021-04-01 Thread Marc Zyngier
On Thu, 01 Apr 2021 12:27:42 +0100, Lorenzo Pieralisi wrote: > > On Tue, 30 Mar 2021 16:11:31 +0100, Marc Zyngier wrote: > > This is a respin of the series described at [1]. > > > > * From v2 [2]: > > - Fixed the Xilinx driver, thanks to Bharat for testing it > > - Dropped the no_msi attribu

[PATCH 31/32] Documentation: update sysfs-platform_profile.rst reference

2021-04-01 Thread Mauro Carvalho Chehab
The file name: Documentation/ABI/testing/sysfs-platform_profile.rst should be, instead: Documentation/userspace-api/sysfs-platform_profile.rst. Update its cross-reference accordingly. Fixes: a2ff95e018f1 ("ACPI: platform: Add platform profile support") Fixes: 8e0cbf356377 ("Documentation: Add doc

[PATCH 27/32] dt-bindings: i3c: update i3c.yaml references

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 5e4cdca887fd ("dt-bindings: i3c: Convert the bus description to yaml") renamed: Documentation/devicetree/bindings/i3c/i3c.txt to: Documentation/devicetree/bindings/i3c/i3c.yaml. Update the cross-references accordingly. Fixes: 5e4cdca887fd ("dt-bindings: i3c: Convert the bus description

[PATCH 20/32] MAINTAINERS: update snps,dw-axi-dmac.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 8c70fb7e0a0a ("dt-bindings: dma: Add YAML schemas for dw-axi-dmac") renamed: Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt to: Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml. Update its cross-reference accordingly. Fixes: 8c70fb7e0a0a ("dt-bindings: dma: Add YA

[PATCH 21/32] MAINTAINERS: update ti,dac7612.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 8b74e06b0f4d ("dt-bindings:iio:dac:ti,dac7612 yaml conversion") renamed: Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt to: Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml. Update its cross-reference accordingly. Fixes: 8b74e06b0f4d ("dt-bindings:iio:dac:ti,dac7612 y

[PATCH 24/32] MAINTAINERS: update imi,rdacm2x-gmsl.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
The file name: Documentation/devicetree/bindings/media/i2c/rdacm2x-gmsl.yaml should be, instead: Documentation/devicetree/bindings/media/i2c/imi,rdacm2x-gmsl.yaml. Update its cross-reference accordingly. Fixes: 34009bffc1c6 ("media: i2c: Add RDACM20 driver") Fixes: e9f817689789 ("media: dt-bindi

[PATCH 19/32] MAINTAINERS: update st,vl53l0x.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset b4be8bd1c6a2 ("dt-bindings:iio:proximity:st,vl53l0x yaml conversion") renamed: Documentation/devicetree/bindings/iio/proximity/vl53l0x.txt to: Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml. Update its cross-reference accordingly. Fixes: b4be8bd1c6a2 ("dt-bindings:iio:p

[PATCH 00/32] Fix broken documentation file references

2021-04-01 Thread Mauro Carvalho Chehab
Each patch on this series can be applied independently. They fix broken file references. Most of them are due to DT binding renames, but there are also other unrelated changes. This series is based on next-20210401. Mauro Carvalho Chehab (32): MAINTAINERS: update adi,ad5758.yaml reference

[PATCH 18/32] MAINTAINERS: update st,lsm6dsx.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 7a2cf8e91390 ("dt-bindings:iio:imu:st,lsm6dsx: txt to yaml conversion") renamed: Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt to: Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml. Update its cross-reference accordingly. Fixes: 7a2cf8e91390 ("dt-bindings:iio:imu:st,

Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-04-01 Thread Peter Zijlstra
On Wed, Mar 31, 2021 at 09:11:27AM +0200, Peter Zijlstra wrote: > On Tue, Mar 30, 2021 at 02:29:06PM -0700, Josh Don wrote: > > On Mon, Mar 29, 2021 at 2:55 AM Peter Zijlstra wrote: > > > > > > OK, fixed the fails. My tired head made it unconditionally return the > > > cookie-id of 'current' inste

Re: [PATCH v2 2/4] drm/msm: Avoid mutex in shrinker_count()

2021-04-01 Thread Doug Anderson
Hi, On Wed, Mar 31, 2021 at 6:24 PM Rob Clark wrote: > > @@ -45,6 +30,9 @@ msm_gem_shrinker_scan(struct shrinker *shrinker, struct > shrink_control *sc) > list_for_each_entry(msm_obj, &priv->inactive_dontneed, mm_list) { > if (freed >= sc->nr_to_scan) >

Re: [PATCH v2 2/6] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding

2021-04-01 Thread Rob Herring
On Tue, Mar 30, 2021 at 04:48:17PM +0300, Cristian Ciocaltea wrote: > Add devicetree binding for the Actions Semi Owl socinfo driver. > > Signed-off-by: Cristian Ciocaltea > --- > .../bindings/soc/actions/owl-socinfo.yaml | 57 +++ > 1 file changed, 57 insertions(+) > create

[PATCH] usb: isp1301-omap: Add missing gpiod_add_lookup_table function

2021-04-01 Thread Maciej Falkowski
The gpiod table was added without any usage making it unused as reported by Clang compilation from omap1_defconfig on linux-next: arch/arm/mach-omap1/board-h2.c:347:34: warning: unused variable 'isp1301_gpiod_table' [-Wunused-variable] static struct gpiod_lookup_table isp1301_gpiod_table = {

[PATCH 04/32] MAINTAINERS: update fsl,dpaa2-console.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 616fde2dd60f ("dt-bindings: misc: convert fsl,dpaa2-console from txt to YAML") renamed: Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt to: Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml. Update its cross-reference accordingly. Fixes: 616fde2dd60f ("dt-bindi

[PATCH 05/32] MAINTAINERS: update st,hts221.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 9a6ac3138258 ("dt-bindings:iio:humidity:st,hts221 yaml conversion.") renamed: Documentation/devicetree/bindings/iio/humidity/hts221.txt to: Documentation/devicetree/bindings/iio/humidity/st,hts221.yaml. Update its cross-reference accordingly. Fixes: 9a6ac3138258 ("dt-bindings:iio:humidi

Re: [PATCH v2 1/2] dt-bindings: iio: temperature: Add DT bindings for TMP117

2021-04-01 Thread Jonathan Cameron
On Thu, 1 Apr 2021 14:46:47 +0530 Puranjay Mohan wrote: > Add devicetree binding document for TMP117, a digital temperature sensor. > > Signed-off-by: Puranjay Mohan > --- > .../bindings/iio/temperature/ti,tmp117.yaml | 34 +++ > 1 file changed, 34 insertions(+) > create mo

[PATCH 03/32] MAINTAINERS: update brcm,bcm-v3d.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset cb18a7979a35 ("dt-bindings: gpu: Convert v3d to json-schema") renamed: Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt to: Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.yaml. Update its cross-reference accordingly. Fixes: cb18a7979a35 ("dt-bindings: gpu: Convert v3d to json-

[PATCH 12/32] MAINTAINERS: update lego,ev3-battery.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 3004e581d92a ("dt-bindings: power: supply: lego-ev3-battery: Convert to DT schema format") renamed: Documentation/devicetree/bindings/power/supply/lego_ev3_battery.txt to: Documentation/devicetree/bindings/power/supply/lego,ev3-battery.yaml. Update its cross-reference accordingly. Fixe

[PATCH 02/32] MAINTAINERS: update ste,mcde.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 2abb0b994db5 ("dt-bindings: display: mcde: Convert to YAML schema") renamed: Documentation/devicetree/bindings/display/ste,mcde.txt to: Documentation/devicetree/bindings/display/ste,mcde.yaml. Update its cross-reference accordingly. Fixes: 2abb0b994db5 ("dt-bindings: display: mcde: Conv

[PATCH 06/32] MAINTAINERS: update dpot-dac.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 06d2ff6fe11e ("dt-bindings:iio:dac:dpot-dac: yaml conversion.") renamed: Documentation/devicetree/bindings/iio/dac/dpot-dac.txt to: Documentation/devicetree/bindings/iio/dac/dpot-dac.yaml. Update its cross-reference accordingly. Fixes: 06d2ff6fe11e ("dt-bindings:iio:dac:dpot-dac: yaml c

Re [PATCH v2 21/21] ipmi: kcs_bmc_aspeed: Optionally apply status address

2021-04-01 Thread Zev Weiss
On Fri, Mar 19, 2021 at 01:27:52AM CDT, Andrew Jeffery wrote: >Some Aspeed KCS devices can derive the status register address from the >address of the data register. As such, the address of the status >register can be implicit in the configuration if desired. On the other >hand, sometimes address s

Re: Backporting to v5.6: fd258dc4442c ("x86/mce: Add Skylake quirk for patrol scrub reported errors")

2021-04-01 Thread Borislav Petkov
Hey Paul, On Thu, Apr 01, 2021 at 09:17:40AM -0700, Paul E. McKenney wrote: > Hello! > > We are looking at backporting fd258dc4442c ("x86/mce: Add Skylake quirk > for patrol scrub reported errors") to v5.6. When accompanied by these > guys, it passes our usual kernel smoke-testing: > > 1df73b21

Re: [PATCH v4 7/7] dt-bindings: clock: st: clkgen-fsyn: add new introduced compatible

2021-04-01 Thread Rob Herring
On Wed, 31 Mar 2021 22:16:32 +0200, Alain Volmat wrote: > New compatible are added, supporting various kind of clkgen-fsyn > used for STiH407, STiH410 and STiH418 > > Signed-off-by: Alain Volmat > --- > Documentation/devicetree/bindings/clock/st/st,quadfs.txt | 3 +++ > 1 file changed, 3 inserti

[PATCH v8 02/13] dt-bindings: media: nxp,imx8mq-vpu: Update the bindings for G2 support

2021-04-01 Thread Benjamin Gaignard
Introducing G2 hevc video decoder lead to modify the bindings to allow to get one node per VPUs. VPUs share one hardware control block which is provided as a phandle on an syscon. Each node got now one reg and one interrupt. Add a compatible for G2 hardware block: nxp,imx8mq-vpu-g2. To be compatib

[PATCH 9/9] sched: prctl() and cgroup interaction

2021-04-01 Thread Peter Zijlstra
All the nasty bits that manage prctl() and cgroup core-sched interaction. In order to manage this; a 'fat' cookie is introduced, this is basically a nested cookie that links to two other cookies. Any unique combination of task and cgroup cookies will get _one_ fat cookie. Uniqueness of fat cookie

Re: Fix hibernation in FIPS mode?

2021-04-01 Thread Rafael J. Wysocki
On Thu, Apr 1, 2021 at 3:54 PM Ard Biesheuvel wrote: > > On Thu, 1 Apr 2021 at 15:38, Rafael J. Wysocki wrote: > > > > On Thu, Apr 1, 2021 at 10:47 AM Ard Biesheuvel wrote: > > > > > > On Tue, 30 Mar 2021 at 21:56, Simo Sorce wrote: > > > > > > > > On Tue, 2021-03-30 at 21:45 +0200, Ard Biesheu

[tip: x86/core] objtool: Cache instruction relocs

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: 4ecdc0265dc911adba0772fd6e816d48da678fe7 Gitweb: https://git.kernel.org/tip/4ecdc0265dc911adba0772fd6e816d48da678fe7 Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:13 +01:00 Committer

Re: [PATCH v5 08/10] coresight: config: Add preloaded configurations

2021-04-01 Thread Mathieu Poirier
On Tue, Mar 16, 2021 at 06:03:58PM +, Mike Leach wrote: > Preload set of configurations. > > This patch creates a small set of preloaded configurations and features > that are available immediately after coresight has been initialised. > > The current set provides a strobing feature for ETMv4

Re: [PATCH RESEND V12 8/8] fuse: Introduce passthrough for mmap

2021-04-01 Thread Alessio Balsini
On Wed, Feb 17, 2021 at 03:05:07PM +0100, Miklos Szeredi wrote: > On Mon, Jan 25, 2021 at 4:31 PM Alessio Balsini wrote: > > > > Enabling FUSE passthrough for mmap-ed operations not only affects > > performance, but has also been shown as mandatory for the correct > > functioning of FUSE passthrou

Re: [PATCH] perf data: Add JSON export

2021-04-01 Thread Jiri Olsa
On Wed, Mar 31, 2021 at 06:42:48AM -0400, Nicholas Fraser wrote: > From ddcfd620e7cad4100d0076090c4b39dba8aeead3 Mon Sep 17 00:00:00 2001 > From: Nicholas Fraser > Date: Wed, 31 Mar 2021 06:10:00 -0400 > Subject: [PATCH] perf data: Add JSON export no need to add headers again in here > > This a

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 01:43:36PM +, Liu, Yi L wrote: > > From: Jason Gunthorpe > > Sent: Thursday, April 1, 2021 9:16 PM > > > > On Thu, Apr 01, 2021 at 01:10:48PM +, Liu, Yi L wrote: > > > > From: Jason Gunthorpe > > > > Sent: Thursday, April 1, 2021 7:47 PM > > > [...] > > > > I'm wo

[PATCH v8 07/13] media: hantro: Define HEVC codec profiles and supported features

2021-04-01 Thread Benjamin Gaignard
Define which HEVC profiles (up to level 5.1) and features (no scaling, no 10 bits) are supported by the driver. Signed-off-by: Benjamin Gaignard Reviewed-by: Ezequiel Garcia --- version 8: - add Ezequiel review tag drivers/staging/media/hantro/hantro.h | 3 ++ drivers/staging/media/hantr

Re: [PATCH v2 3/6] dt-bindings: memory: tegra124: emc: Replace core regulator with power domain

2021-04-01 Thread Rob Herring
On Wed, 31 Mar 2021 02:04:42 +0300, Dmitry Osipenko wrote: > Power domain fits much better than a voltage regulator in regards to > a proper hardware description and from a software perspective as well. > Hence replace the core regulator with the power domain. Note that this > doesn't affect any ex

[PATCH 1/6] KVM: nVMX: delay loading of PDPTRs to KVM_REQ_GET_NESTED_STATE_PAGES

2021-04-01 Thread Maxim Levitsky
Similar to the rest of guest page accesses after migration, this should be delayed to KVM_REQ_GET_NESTED_STATE_PAGES request. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/vmx/nested.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/x86/kvm/vmx/nested.c b

[PATCH V2 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Update the binding to add four new variants

2021-04-01 Thread satya priya
Update the binding to add PM7325, PM8350C, PMK8350 and PMR735A GPIO support. Signed-off-by: satya priya --- Changes in V2: - Placed this patch before conversion patch and updated commit text to be more clear. Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 8 1 file

[PATCH 4/6] KVM: x86: Introduce KVM_GET_SREGS2 / KVM_SET_SREGS2

2021-04-01 Thread Maxim Levitsky
This is a new version of KVM_GET_SREGS / KVM_SET_SREGS ioctls, aiming to replace them. It has the following changes: * Has flags for future extensions * Has vcpu's PDPTS, which allows to save/restore them on migration. * Lacks obsolete interrupt bitmap (done now via KVM_SET_VCPU_EVENTS)

Re: [PATCH -next 3/3] mm/debug_vm_pgtable: Remove useless pfn_pmd()

2021-04-01 Thread Anshuman Khandual
On 4/1/21 7:53 AM, Shixin Liu wrote: > The call to pfn_pmd() here is redundant. > > Signed-off-by: Shixin Liu > --- > mm/debug_vm_pgtable.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/debug_vm_pgtable.c b/mm/debug_vm_pgtable.c > index c379bbe42c2a..9f4c4a114229 100644 > --- a/

Re: [PATCH v3] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu onlining

2021-04-01 Thread Qais Yousef
On 03/27/21 22:01, Thomas Gleixner wrote: > And while you carefully reworded the comment, did you actually read what > it said and what is says now? > > > -* cpu_down() which takes cpu maps lock. cpu maps lock > > -* needs to be held as this might race against in kernel > >

[PATCH v10 4/4] mtd: rawnand: qcom: Add missing nand_cleanup() in error path

2021-04-01 Thread Manivannan Sadhasivam
Add missing nand_cleanup() in the alloc_bam_transaction() error path to cleanup the resources properly. Signed-off-by: Manivannan Sadhasivam --- drivers/mtd/nand/raw/qcom_nandc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_na

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 07:04:01AM +, Liu, Yi L wrote: > After reading your reply in > https://lore.kernel.org/linux-iommu/20210331123801.gd1463...@nvidia.com/#t > So you mean /dev/ioasid FD is per-VM instead of per-ioasid, so above skeleton > doesn't suit your idea. You can do it one PASID

Re: [PATCH 4/4] ARM: dts: Fix-up EMMC2 controller's frequency

2021-04-01 Thread Alan Cooper
Nicolas, Sorry, I just noticed this thread. This is a known bug in some newer Arasan cores. The problem happens when the difference between the core clock and the bus clock is too great. Limiting the clock to 200KHz minimum should be a good fix. In my experience, it's only eMMC that needs the cloc

Re: [PATCH v4 2/2] dt-bindings: display: sitronix, st7789v-dbi: Add Waveshare 2inch LCD module

2021-04-01 Thread Rob Herring
On Wed, 31 Mar 2021 03:05:50 +, Carlis wrote: > From: Xuezhi Zhang > > Document support for the Waveshare 2inch LCD module display, which is a > 240x320 2" TFT display driven by a Sitronix ST7789V TFT Controller. > > Signed-off-by: Xuezhi Zhang > --- > v2:change compatible value. > v3:chang

[tip: x86/core] objtool: Fix static_call list generation

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: b62b63571e4be0ce31984ce83b04853f2cba678b Gitweb: https://git.kernel.org/tip/b62b63571e4be0ce31984ce83b04853f2cba678b Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:05 +01:00 Committer

Re: [PATCH net-next 1/2] net: stmmac: enable 2.5Gbps link speed

2021-04-01 Thread Russell King - ARM Linux admin
On Thu, Apr 01, 2021 at 11:01:51PM +0800, Michael Sit Wei Hong wrote: > + /* 2.5G mode only support 2500baseT full duplex only */ > + if (priv->plat->has_gmac4 && priv->plat->speed_2500_en) { > + phylink_set(mac_supported, 2500baseT_Full); > + phylink_set(mask, 10bas

[PATCH 3/6] KVM: x86: introduce kvm_register_clear_available

2021-04-01 Thread Maxim Levitsky
Small refactoring that will be used in the next patch. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/kvm_cache_regs.h | 7 +++ arch/x86/kvm/svm/svm.c| 6 ++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/kvm_cache_regs.h b/arch/x86/kvm/kvm_cache_regs

[PATCH 5/6] KVM: nSVM: avoid loading PDPTRs after migration when possible

2021-04-01 Thread Maxim Levitsky
if new KVM_*_SREGS2 ioctls are used, the PDPTRs are part of the migration state and thus are loaded by those ioctls. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/svm/nested.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/svm/nested.c b/arch/x

[PATCH 6/6] KVM: nVMX: avoid loading PDPTRs after migration when possible

2021-04-01 Thread Maxim Levitsky
if new KVM_*_SREGS2 ioctls are used, the PDPTRs are part of the migration state and thus are loaded by those ioctls. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/vmx/nested.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/vmx/nested.c b/arch/x86/k

[PATCH 0/6] Introduce KVM_{GET|SET}_SREGS2 and fix PDPTR migration

2021-04-01 Thread Maxim Levitsky
This patch set aims to fix few flaws that were discovered in KVM_{GET|SET}_SREGS on x86: * There is no support for reading/writing PDPTRs although these are considered to be part of the guest state. * There is useless interrupt bitmap which isn't needed * No support for future extensions (via

Re: [PATCH 1/1] use crc32 instead of md5 for hibernation e820 integrity check

2021-04-01 Thread Rafael J. Wysocki
On Thu, Apr 1, 2021 at 3:34 PM Rafael J. Wysocki wrote: > > On Thu, Apr 1, 2021 at 2:25 PM Chris von Recklinghausen > wrote: > > > > Suspend fails on a system in fips mode because md5 is used for the e820 > > integrity check and is not available. Use crc32 instead. > > > > Fixes: 62a03defeabd ("P

[PATCH v14 1/6] locking/qspinlock: Rename mcs lock/unlock macros and make them more generic

2021-04-01 Thread Alex Kogan
The mcs unlock macro (arch_mcs_lock_handoff) should accept the value to be stored into the lock argument as another argument. This allows using the same macro in cases where the value to be stored when passing the lock is different from 1. Signed-off-by: Alex Kogan Reviewed-by: Steve Sistare Rev

[PATCH V2 1/3] pinctrl: qcom: spmi-gpio: Add support for four variants

2021-04-01 Thread satya priya
Add PM7325, PM8350c, PMK8350 and PMR735A compatibles for GPIO support. Signed-off-by: satya priya Acked-by: Bjorn Andersson --- Changes in V2: - No change. drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

Re: [PATCH] kernel: initialize cpumask before parsing

2021-04-01 Thread Steven Rostedt
On Thu, 1 Apr 2021 14:58:23 +0900 Tetsuo Handa wrote: > KMSAN complains that new_value at cpumask_parse_user() from > write_irq_affinity() from irq_affinity_proc_write() is uninitialized. > > [ 148.133411][ T5509] = > [ 148.135383][ T550

[PATCH V2 3/3] dt-bindings: pinctrl: qcom-pmic-gpio: Convert qcom pmic gpio bindings to YAML

2021-04-01 Thread satya priya
Convert Qualcomm PMIC GPIO bindings from .txt to .yaml format. Signed-off-by: satya priya --- Changes in V3: - As per Rob's comments fixed bot erros. - Moved this patch to end of the series so that other patches are not blocked on this. .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt |

Re: [PATCH v2 1/6] dt-bindings: reserved-memory: Add Owl SoC serial number binding

2021-04-01 Thread Cristian Ciocaltea
On Thu, Apr 01, 2021 at 12:07:04PM -0500, Rob Herring wrote: > On Tue, Mar 30, 2021 at 04:48:16PM +0300, Cristian Ciocaltea wrote: > > Add devicetree binding for the Actions Semi Owl SoC serial number > > reserved-memory range. > > > > Signed-off-by: Cristian Ciocaltea > > --- > > .../actions,ow

Re: [Linux-cifsd-devel] [PATCH] cifsd: use kfree to free memory allocated by kzalloc

2021-04-01 Thread Namjae Jeon
2021-04-01 22:14 GMT+09:00, Ralph Boehme : > Am 4/1/21 um 2:59 PM schrieb Namjae Jeon: >> 2021-04-01 21:50 GMT+09:00, Ralph Boehme : >>> fwiw, while at it what about renaming everything that still references >>> "cifs" to "smb" ? This is not the 90's... :) >> It is also used with the name "ksmbd".

Re: [PATCH v14 13/13] iommu/smmuv3: Accept configs with more than one context descriptor

2021-04-01 Thread Auger Eric
Hi Shameer, On 4/1/21 2:38 PM, Shameerali Kolothum Thodi wrote: > > >> -Original Message- >> From: Auger Eric [mailto:eric.au...@redhat.com] >> Sent: 01 April 2021 12:49 >> To: yuzenghui >> Cc: eric.auger@gmail.com; io...@lists.linux-foundation.org; >> linux-kernel@vger.kernel.org; k

[PATCH 2/6] KVM: nSVM: call nested_svm_load_cr3 on nested state load

2021-04-01 Thread Maxim Levitsky
While KVM's MMU should be fully reset by loading of nested CR0/CR3/CR4 by KVM_SET_SREGS, we are not in nested mode yet when we do it and therefore only root_mmu is reset. On regular nested entries we call nested_svm_load_cr3 which both updates the guest's CR3 in the MMU when it is needed, and it a

[PATCH v3 4/4] MIPS: Remove get_fs/set_fs

2021-04-01 Thread Thomas Bogendoerfer
All get_fs/set_fs calls in MIPS code are gone, so remove implementation of it. With the clear separation of user/kernel space access we no longer need the EVA special handling, so get rid of that, too. Signed-off-by: Thomas Bogendoerfer --- arch/mips/Kconfig | 1 - arch/mips

[PATCH v3 1/4] MIPS: kernel: Remove not needed set_fs calls

2021-04-01 Thread Thomas Bogendoerfer
flush_icache_range always does flush kernel address ranges, so no need to do the set_fs dance. Reviewed-by: Christoph Hellwig Signed-off-by: Thomas Bogendoerfer --- arch/mips/kernel/ftrace.c | 8 1 file changed, 8 deletions(-) diff --git a/arch/mips/kernel/ftrace.c b/arch/mips/kernel/

[PATCH v3 2/4] MIPS: uaccess: Added __get/__put_kernel_nofault

2021-04-01 Thread Thomas Bogendoerfer
Added __get/__put_kernel_nofault as preparation for removing get/set_fs. Reviewed-by: Christoph Hellwig Signed-off-by: Thomas Bogendoerfer --- arch/mips/include/asm/uaccess.h | 24 arch/mips/mm/Makefile | 4 arch/mips/mm/maccess.c | 10 +

[PATCH v3 0/4] MIPS: Remove get_fs/set_fs

2021-04-01 Thread Thomas Bogendoerfer
This series replaces get_fs/set_fs and removes it from MIPS arch code. Changes in v3: - use get_user/get_kernel_nofault for helper functions Changes in v2: - added copy_from_kernel_nofault_allowed() for !EVA to restrict access of __get/__put_kernel_nofault - replaced __get_data macro by helper

[PATCH V2 0/3] Add GPIO support for PM7325, PM8350c, PMK8350 and PMR735A

2021-04-01 Thread satya priya
satya priya (3): pinctrl: qcom: spmi-gpio: Add support for four variants dt-bindings: pinctrl: qcom-pmic-gpio: Update the binding to add four new variants dt-bindings: pinctrl: qcom-pmic-gpio: Convert qcom pmic gpio bindings to YAML .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt

RE: [PATCH v2 04/15] ACPI: table: replace __attribute__((packed)) by __packed

2021-04-01 Thread David Laight
From: Rafael J. Wysocki > Sent: 01 April 2021 14:50 ... > So what exactly is wrong with using "packed"? It is way easier to > understand for a casual reader of the code. Because it is usually wrong! If I have: struct foo { u64 val; } __packed; And then have: u64

Re: Fix hibernation in FIPS mode?

2021-04-01 Thread Simo Sorce
On Thu, 2021-04-01 at 18:02 +0200, Rafael J. Wysocki wrote: > On Thu, Apr 1, 2021 at 3:54 PM Ard Biesheuvel wrote: > > On Thu, 1 Apr 2021 at 15:38, Rafael J. Wysocki wrote: > > > On Thu, Apr 1, 2021 at 10:47 AM Ard Biesheuvel wrote: > > > > On Tue, 30 Mar 2021 at 21:56, Simo Sorce wrote: > > >

Re: [PATCH v1 3/7] PCI: New Primary to Sideband (P2SB) bridge support library

2021-04-01 Thread Andy Shevchenko
On Thu, Apr 01, 2021 at 09:06:17PM +0300, Mika Westerberg wrote: > On Thu, Apr 01, 2021 at 06:43:11PM +0300, Andy Shevchenko wrote: > > On Sat, Mar 13, 2021 at 10:45:57AM +0100, Henning Schild wrote: > > > Am Mon, 8 Mar 2021 14:20:16 +0200 > > > schrieb Andy Shevchenko : > > > > ... > > > > > > +

[PATCH v2 6/6] clk: at91: clk-master: improve readability by using local variables

2021-04-01 Thread Claudiu Beznea
Improve readability in clk_sama7g5_master_set() by using local variables. Suggested-by: Nicolas Ferre Signed-off-by: Claudiu Beznea --- drivers/clk/at91/clk-master.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/at91/clk-master.c b/drivers/clk/at91/clk-ma

[PATCH v3 3/4] MIPS: uaccess: Remove get_fs/set_fs call sites

2021-04-01 Thread Thomas Bogendoerfer
Use new helpers to access user/kernel for functions, which are used with user/kernel pointers. Instead of dealing with get_fs/set_fs select user/kernel access via parameter. Signed-off-by: Thomas Bogendoerfer --- arch/mips/kernel/access-helper.h | 18 +++ arch/mips/kernel/traps.c | 105

Re: [PATCH 1/2] soundwire: add macro to selectively change error levels

2021-04-01 Thread Greg KH
On Thu, Apr 01, 2021 at 01:07:49PM -0500, Pierre-Louis Bossart wrote: > > > > > > +#define sdw_dev_dbg_or_err(dev, is_err, fmt, ...) > > > > > \ > > > > > + do { > > > > > \ > > > > > + if (is_err)

[PATCH net-next] net: document a side effect of ip_local_reserved_ports

2021-04-01 Thread Otto Hollmann
If there is overlapp between ip_local_port_range and ip_local_reserved_ports with a huge reserved block, it will affect probability of selecting ephemeral ports, see file net/ipv4/inet_hashtables.c:723 int __inet_hash_connect( ... for (i = 0; i < remaining; i += 2, port +

Re: [PATCH 24/32] MAINTAINERS: update imi,rdacm2x-gmsl.yaml reference

2021-04-01 Thread Jacopo Mondi
Hi Mauro, On Thu, Apr 01, 2021 at 02:17:44PM +0200, Mauro Carvalho Chehab wrote: > The file name: Documentation/devicetree/bindings/media/i2c/rdacm2x-gmsl.yaml > should be, instead: > Documentation/devicetree/bindings/media/i2c/imi,rdacm2x-gmsl.yaml. > > Update its cross-reference accordingly. >

[PATCH 21/30] media: atmel: atmel-isc: create callback for DPC submodule product specific

2021-04-01 Thread Eugen Hristev
Create a product specific callback for initializing the DPC submodule of the pipeline. For sama5d2 product, this module does not exist, thus this function is a noop. Signed-off-by: Eugen Hristev --- drivers/media/platform/atmel/atmel-isc-base.c| 1 + drivers/media/platform/atmel/atmel-isc.h

[PATCH 04/30] media: atmel: atmel-isc: specialize max width and max height

2021-04-01 Thread Eugen Hristev
Move the max width and max height constants to the product specific driver and have them in the device struct. Signed-off-by: Eugen Hristev --- drivers/media/platform/atmel/atmel-isc-base.c | 28 +-- drivers/media/platform/atmel/atmel-isc.h | 9 -- .../media/platform/at

Re: [PATCH v1 3/7] PCI: New Primary to Sideband (P2SB) bridge support library

2021-04-01 Thread Andy Shevchenko
On Thu, Apr 01, 2021 at 11:42:56AM -0500, Bjorn Helgaas wrote: > On Thu, Apr 01, 2021 at 06:45:02PM +0300, Andy Shevchenko wrote: > > On Tue, Mar 09, 2021 at 09:42:52AM +0100, Henning Schild wrote: > > > Am Mon, 8 Mar 2021 19:42:21 -0600 > > > schrieb Bjorn Helgaas : > > > > On Mon, Mar 08, 2021 at

Re: [PATCH v1 0/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys

2021-04-01 Thread James Bottomley
On Thu, 2021-04-01 at 18:50 +0530, Sumit Garg wrote: > On Thu, 1 Apr 2021 at 15:36, Ahmad Fatoum > wrote: > > Hello Richard, > > > > On 31.03.21 21:36, Richard Weinberger wrote: > > > James, > > > > > > - Ursprüngliche Mail - > > > > Von: "James Bottomley" > > > > Well, yes. For the TP

[PATCH v14 6/6] locking/qspinlock: Introduce the shuffle reduction optimization into CNA

2021-04-01 Thread Alex Kogan
This performance optimization chooses probabilistically to avoid moving threads from the main queue into the secondary one when the secondary queue is empty. It is helpful when the lock is only lightly contended. In particular, it makes CNA less eager to create a secondary queue, but does not intr

[PATCH v2 0/8] CXL Port Enumeration

2021-04-01 Thread Dan Williams
Changes since v1 [1]: - Add stronger rationale for the 'struct cxl_regs' arrangement that accommodates devices that compose register blocks mixing "component", "device", and "memory device" register sets. (Christoph) - Reorganize root, address space, and port device creation into separate 'a

Re: [PATCH v14 07/13] iommu/smmuv3: Implement cache_invalidate

2021-04-01 Thread Auger Eric
Hi Zenghui, On 4/1/21 8:11 AM, Zenghui Yu wrote: > Hi Eric, > > On 2021/2/24 4:56, Eric Auger wrote: >> +static int >> +arm_smmu_cache_invalidate(struct iommu_domain *domain, struct device >> *dev, >> +  struct iommu_cache_invalidate_info *inv_info) >> +{ >> +    struct arm_smmu_cmdq_

Re: [PATCH v4 7/8] KVM: arm64: vgic-v3: Expose GICR_TYPER.Last for userspace

2021-04-01 Thread Marc Zyngier
Hi Eric, On Thu, 01 Apr 2021 09:52:37 +0100, Eric Auger wrote: > > Commit 23bde34771f1 ("KVM: arm64: vgic-v3: Drop the > reporting of GICR_TYPER.Last for userspace") temporarily fixed > a bug identified when attempting to access the GICR_TYPER > register before the redistributor region setting,

[PATCH v2 3/8] cxl/core: Rename bus.c to core.c

2021-04-01 Thread Dan Williams
In preparation for more generic shared functionality across endpoint consumers of core cxl resources, and platform-firmware producers of those resources, rename bus.c to core.c. In addition to the central rendezvous for interleave coordination, the core will also define common routines like CXL reg

Re: [RFC PATCH v1 3/4] arm64: Detect FTRACE cases that make the stack trace unreliable

2021-04-01 Thread Mark Brown
On Thu, Apr 01, 2021 at 12:43:25PM -0500, Madhavan T. Venkataraman wrote: > >> +#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS > >> + { (unsigned long) &ftrace_graph_call, 0 }, > >> +#ifdef CONFIG_FUNCTION_GRAPH_TRACER > >> + { (unsigned long) ftrace_graph_caller, 0 }, > > It's weird that we take the a

Re: [PATCH 1/2] soundwire: add macro to selectively change error levels

2021-04-01 Thread Pierre-Louis Bossart
On 4/1/21 2:24 AM, Vinod Koul wrote: On 31-03-21, 09:13, Bard Liao wrote: From: Pierre-Louis Bossart We sometimes discard -ENODATA when reporting errors and lose all traces of issues in the console log, add a macro to add use dev_dbg() in such cases. Signed-off-by: Pierre-Louis Bossart Re

Re: [PATCH] soundwire: intel_init: test link->cdns

2021-04-01 Thread Pierre-Louis Bossart
On 4/1/21 2:21 AM, Vinod Koul wrote: On 31-03-21, 09:02, Bard Liao wrote: intel_link_probe() could return error and dev_get_drvdata() will return null in such case. So we have to test link->cdns after link->cdns = dev_get_drvdata(&ldev->auxdev.dev); Otherwise, we will meet the "kernel NULL po

Re: [PATCH v2] soundwire: qcom: wait for fifo space to be available before read/write

2021-04-01 Thread Pierre-Louis Bossart
On 4/1/21 4:00 AM, Srinivas Kandagatla wrote: If we write registers very fast we can endup in a situation where some of the writes will be dropped without any notice. So wait for the fifo space to be available before reading/writing the soundwire registers. Out of curiosity, do you actually

[PATCH 00/30] media: atmel: atmel-isc: add support for xisc

2021-04-01 Thread Eugen Hristev
Hello, This series adds support for a variant of the ISC named XISC. This block is present in the product named sama7g5. I started by moving code around, the code which was specialized for sama5d2 type of ISC, to have it inside the dedicated sama5d2 file. I added several new pipeline elements to

RE: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-04-01 Thread Liu, Yi L
> From: Jason Gunthorpe > Sent: Thursday, April 1, 2021 9:43 PM > > On Thu, Apr 01, 2021 at 01:38:46PM +, Liu, Yi L wrote: > > > From: Jean-Philippe Brucker > > > Sent: Thursday, April 1, 2021 8:05 PM > > [...] > > > > > > Also wondering about: > > > > > > * Querying IOMMU nesting capabiliti

Re: Fix hibernation in FIPS mode?

2021-04-01 Thread Eric Biggers
On Thu, Apr 01, 2021 at 09:54:21AM -0400, Chris von Recklinghausen wrote: > On 4/1/21 9:38 AM, Rafael J. Wysocki wrote: > > On Thu, Apr 1, 2021 at 10:47 AM Ard Biesheuvel wrote: > > > On Tue, 30 Mar 2021 at 21:56, Simo Sorce wrote: > > > > On Tue, 2021-03-30 at 21:45 +0200, Ard Biesheuvel wrote:

Re: [PATCH] power: reset: at91-reset: free resources on exit path

2021-04-01 Thread Claudiu.Beznea
On 01.04.2021 17:42, Claudiu Beznea - M18063 wrote: > On 31.03.2021 11:18, Nicolas Ferre wrote: >> On 09/02/2021 at 12:01, Claudiu Beznea wrote: >>> Free resources on exit path (failure path of probe and remove). >> >> I'm not sure we can use this driver as a module anyway. >> >> Otherwise, it look

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