[PATCH 09/12] dma-direct: remove __dma_to_phys

2020-09-08 Thread Christoph Hellwig
There is no harm in just always clearing the SME encryption bit, while significantly simplifying the interface. Signed-off-by: Christoph Hellwig --- arch/arm/include/asm/dma-direct.h | 2 +- arch/mips/bmips/dma.c | 2 +- arch/mips/cavium-octeon/dma-octeon.c | 2 +- arc

[PATCH 08/12] dma-direct: use phys_to_dma_direct in dma_direct_alloc

2020-09-08 Thread Christoph Hellwig
Replace the currently open code copy. Signed-off-by: Christoph Hellwig --- kernel/dma/direct.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/dma/direct.c b/kernel/dma/direct.c index 12e9f5f75dfe4b..57a6e7d7cf8f16 100644 --- a/kernel/dma/direct.c +++ b/kernel/dma/

[PATCH 03/12] MIPS/jazzdma: decouple from dma-direct

2020-09-08 Thread Christoph Hellwig
The jazzdma ops implement support for a very basic IOMMU. Thus we really should not use the dma-direct code that takes physical address limits into account. This survived through the great MIPS DMA ops cleanup mostly because I was lazy, but now it is time to fully split the implementations. Sign

Re: linux-next: manual merge of the drm-intel tree with Linus' tree

2020-09-08 Thread Hans de Goede
Hi, On 9/8/20 1:04 PM, Stephen Rothwell wrote: Hi Hans, On Tue, 8 Sep 2020 10:22:06 +0200 Hans de Goede wrote: On 9/8/20 6:00 AM, Stephen Rothwell wrote: Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/display/intel_panel.c between commit:

[PATCH 06/12] dma-direct: remove dma_direct_{alloc,free}_pages

2020-09-08 Thread Christoph Hellwig
Just merge these helpers into the main dma_direct_{alloc,free} routines, as the additional checks are always false for the two callers. Signed-off-by: Christoph Hellwig --- arch/x86/kernel/amd_gart_64.c | 6 +++--- include/linux/dma-direct.h| 4 kernel/dma/direct.c | 39

[PATCH] e1000: do not panic on malformed rx_desc

2020-09-08 Thread Tong Zhang
length may be corrupted in rx_desc and lead to panic, so check the sanity before passing it to skb_put [ 167.667701] skbuff: skb_over_panic: text:b1e32cc1 len:60224 put:60224 head:888055ac5000 data:888055ac5040 tail:0xeb80 end:0x6c0 dev:e th0 [ 167.668429] [ cut her

Re: [PATCH net-next 0/1] Support for VLAN interface over HSR/PRP

2020-09-08 Thread Murali Karicheri
Hi Willem, On 9/4/20 11:52 AM, Willem de Bruijn wrote: On Thu, Sep 3, 2020 at 12:30 AM Murali Karicheri wrote: All, On 9/2/20 12:14 PM, Murali Karicheri wrote: All, On 9/1/20 3:54 PM, Murali Karicheri wrote: This series add support for creating VLAN interface over HSR or PRP interface. Ty

Re: [PATCH v2 1/2] firmware: qcom_scm: Add memory protect virtual address ranges

2020-09-08 Thread Bjorn Andersson
On Mon 17 Aug 03:27 CDT 2020, Stanimir Varbanov wrote: > This adds a new SCM memprotect command to set virtual address ranges. > Acked-by: Bjorn Andersson Please feel free to pick this through linux-media. Regards, Bjorn > Signed-off-by: Stanimir Varbanov > --- > drivers/firmware/qcom_scm

Re: [PATCH 22/35] arm64: mte: Enable in-kernel MTE

2020-09-08 Thread Andrey Konovalov
On Fri, Aug 14, 2020 at 7:28 PM Andrey Konovalov wrote: > > From: Vincenzo Frascino > > The Tag Checking operation causes a synchronous data abort as > a consequence of a tag check fault when MTE is configured in > synchronous mode. > > Enable MTE in Synchronous mode in EL1 to provide a more imme

Re: [PATCH v2 2/2] venus: firmware: Set virtual address ranges

2020-09-08 Thread Bjorn Andersson
On Mon 17 Aug 03:27 CDT 2020, Stanimir Varbanov wrote: > In order to boot some of the new Venus firmware versions TZ call to set > virtual address ranges is needed. Add virtual address ranges for CP and > CP_NONPIX in resource structure and use them when loading and booting > the firmware on remot

[PATCH 5.4 020/129] xen/xenbus: Fix granting of vmallocd memory

2020-09-08 Thread Greg Kroah-Hartman
From: Simon Leiner [ Upstream commit d742db70033c745e410523e00522ee0cfe2aa416 ] On some architectures (like ARM), virt_to_gfn cannot be used for vmalloc'd memory because of its reliance on virt_to_phys. This patch introduces a check for vmalloc'd addresses and obtains the PFN using vmalloc_to_pf

Re: [PATCH v4 2/2] mfd: intel-m10-bmc: add Max10 BMC chip support for Intel FPGA PAC

2020-09-08 Thread Lee Jones
On Fri, 28 Aug 2020, Tom Rix wrote: > > >> + > >> +static int check_m10bmc_version(struct intel_m10bmc *m10bmc) > >> +{ > >> + unsigned int v; > >> + > >> + if (m10bmc_raw_read(m10bmc, M10BMC_LEGACY_SYS_BASE + M10BMC_BUILD_VER, > >> + &v)) > >> + return -ENODEV; >

Re: [PATCH] s390/idle: Fix suspicious RCU usage

2020-09-08 Thread Heiko Carstens
On Tue, Sep 08, 2020 at 03:30:31PM +0200, pet...@infradead.org wrote: > > After commit eb1f00237aca ("lockdep,trace: Expose tracepoints") the > lock tracepoints are visible to lockdep and RCU-lockdep is finding a > bunch more RCU violations that were previously hidden. > > Switch the idle->seqcou

Re: [PATCH v2 00/15] scsi: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:13PM +0530, Vaibhav Gupta wrote: > Linux Kernel Mentee: Remove Legacy Power Management. > > The purpose of this patch series is to upgrade power management in scsi > drivers. This has been done by upgrading .suspend() and .resume() callbacks. > > The upgrade makes su

Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-09-08 Thread Mike Rapoport
Hi David, On Tue, Sep 08, 2020 at 11:09:19AM +0200, David Hildenbrand wrote: > On 20.08.20 17:52, Mike Rapoport wrote: > > On Wed, Aug 19, 2020 at 07:45:29PM +0200, David Hildenbrand wrote: > >> On 19.08.20 19:33, Mike Rapoport wrote: > >>> On Wed, Aug 19, 2020 at 02:10:43PM +0200, David Hildenbra

Re: [PATCH v3 0/3] ASoC: Add sdw stream operations to dailink ops.

2020-09-08 Thread Mark Brown
On Tue, Sep 08, 2020 at 02:26:14PM +0200, Jaroslav Kysela wrote: > "[PATCH v2 0/4] soundwire: Remove sdw stream operations from Intel" and > cannot be used standalone. I believe that one maintainer should accept it or > there should be a co-ordination between Mark and Vinod to push this in sync.

Re: [PATCH 1/7] soundwire: bus: use property to set interrupt masks

2020-09-08 Thread Mark Brown
On Tue, Sep 08, 2020 at 02:05:11PM +0200, Jaroslav Kysela wrote: > Dne 28. 08. 20 v 8:51 Vinod Koul napsal(a): > >> sound/soc/codecs/rt700-sdw.c| 4 > >> sound/soc/codecs/rt711-sdw.c| 4 > >> sound/soc/codecs/rt715-sdw.c| 4 > >> sound/soc/codecs/wsa881x.c | 1

Re: [PATCH 1/7] dt-bindings: cpufreq: cpufreq-qcom-hw: Document SM8250 compatible

2020-09-08 Thread Amit Kucheria
On Tue, Sep 8, 2020 at 1:27 PM Manivannan Sadhasivam wrote: > > Document the SM8250 SoC specific compatible for Qualcomm Cpufreq HW. The > hardware block which carries out CPUFreq operations on SM8250 SoC is > called EPSS. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Amit Kucheria >

Re: [PATCH 5/7] cpufreq: qcom-hw: Use regmap for accessing hardware registers

2020-09-08 Thread Amit Kucheria
On Tue, Sep 8, 2020 at 5:18 PM Amit Kucheria wrote: > > On Tue, Sep 8, 2020 at 4:48 PM Viresh Kumar wrote: > > > > On 08-09-20, 16:41, Manivannan Sadhasivam wrote: > > > On 0908, Viresh Kumar wrote: > > > > On 08-09-20, 13:27, Manivannan Sadhasivam wrote: > > > > > Use regmap for accessing cpufre

Re: [PATCH v2 01/15] scsi: megaraid_sas: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:14PM +0530, Vaibhav Gupta wrote: > With legacy PM hooks, it was the responsibility of a driver to manage PCI > states and also the device's power state. The generic approach is to let > the PCI core handle the work. > > PCI core passes "struct device*" as an argument

[PATCH v2 0/4] arm64: dts: ti: k3-j7200: add dma and mcu cpsw

2020-09-08 Thread Grygorii Strashko
Hi All, arm64: dts: ti: k3-j7200: add dma and mcu cpsw nodes This series adds DT nodes for TI J7200 SoC - INTR/INTA, Ringacc and UDMA nodes for Main and MCU NAVSS, which are compatible with J721E Soc, to enable DMA support - MCU CPSW2g DT nodes to enable networking This series depends on: - [

Re: [PATCH v2 02/15] scsi: aacraid: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:15PM +0530, Vaibhav Gupta wrote: > With legacy PM hooks, it was the responsibility of a driver to manage PCI > states and also the device's power state. The generic approach is to let > the PCI core handle the work. > > PCI core passes "struct device*" as an argument

[GIT PULL] Kselftest update for Linux 5.9-rc5

2020-09-08 Thread Shuah Khan
Hi Linus, Please pull the following Kselftest update for Linux 5.9-rc5. This kselftest fixes update for Linux 5.9-rc5 consists of a single fix to timers test to disable timeout setting for tests to run and report accurate results. diff is attached. thanks, -- Shuah --

[PATCH v2 1/4] arm64: dts: ti: k3-j7200: add DMA support

2020-09-08 Thread Grygorii Strashko
From: Peter Ujfalusi Add the intr, inta, ringacc and udmap nodes for main and mcu NAVSS. Signed-off-by: Peter Ujfalusi Signed-off-by: Grygorii Strashko --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 61 +++ .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 44 +

[PATCH v2 3/4] arm64: dts: ti: k3-j7200-mcu: add mcu cpsw nuss node

2020-09-08 Thread Grygorii Strashko
Add DT node for The TI j7200 MCU SoC Gigabit Ethernet two ports Switch subsystem (MCU CPSW NUSS). Signed-off-by: Grygorii Strashko --- .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 74 +++ 1 file changed, 74 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup

[PATCH v2 2/4] arm64: dts: ti: k3-j7200-main: add main navss cpts node

2020-09-08 Thread Grygorii Strashko
Add DT node for Main NAVSS CPTS module. Signed-off-by: Grygorii Strashko --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index cc4ff380a7bc..822c

Re: [PATCH v2 03/15] scsi: aic7xxx: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:16PM +0530, Vaibhav Gupta wrote: > With legacy PM hooks, it was the responsibility of a driver to manage PCI > states and also the device's power state. The generic approach is to let > the PCI core handle the work. > > PCI core passes "struct device*" as an argument

Re: Question: Why is there no notification when a file is opened using filp_open()?

2020-09-08 Thread Xiaoming Ni
On 2020/9/8 18:06, Amir Goldstein wrote: On Tue, Sep 8, 2020 at 11:02 AM Xiaoming Ni wrote: The file opening action on the system may be from user-mode sys_open() or kernel-mode filp_open(). Currently, fsnotify_open() is invoked in do_sys_openat2(). But filp_open() is not notified. Why? Is thi

Re: [PATCH v2 04/15] scsi: aic79xx: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:17PM +0530, Vaibhav Gupta wrote: > With legacy PM hooks, it was the responsibility of a driver to manage PCI > states and also the device's power state. The generic approach is to let > the PCI core handle the work. > > PCI core passes "struct device*" as an argument

[PATCH v2 4/4] arm64: dts: ti: k3-j7200-common-proc-board: add mcu cpsw nuss pinmux and phy defs

2020-09-08 Thread Grygorii Strashko
The TI j7200 EVM base board has TI DP83867 PHY connected to external CPSW NUSS Port 1 in rgmii-rxid mode. Hence, add pinmux and Ethernet PHY configuration for TI j7200 SoC MCU Gigabit Ethernet two ports Switch subsystem (CPSW NUSS). Signed-off-by: Grygorii Strashko --- .../dts/ti/k3-j7200-commo

Re: [f2fs-dev] [PATCH v3 2/2] f2fs: change return value of f2fs_disable_compressed_file to bool

2020-09-08 Thread Chao Yu
On 2020-9-8 10:44, Daeho Jeong wrote: From: Daeho Jeong The returned integer is not required anywhere. So we need to change the return value to bool type. Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,

Re: [PATCH RFC 4/7] bridge: cfm: Kernel space implementation of CFM.

2020-09-08 Thread Nikolay Aleksandrov
On Fri, 2020-09-04 at 09:15 +, Henrik Bjoernlund wrote: > This is the implementation of the CFM protocol according to > 802.1Q section 12.14. > > Connectivity Fault Management (CFM) comprises capabilities for > detecting, verifying, and isolating connectivity failures in > Virtual Bridged Netw

Re: [PATCH v2 05/15] scsi: arcmsr: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:18PM +0530, Vaibhav Gupta wrote: > With legacy PM hooks, it was the responsibility of a driver to manage PCI > states and also the device's power state. The generic approach is to let > the PCI core handle the work. > > PCI core passes "struct device*" as an argument

Re: [PATCH v2 06/15] scsi: esas2r: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:19PM +0530, Vaibhav Gupta wrote: > With legacy PM, drivers themselves were responsible for managing the > device's power states and takes care of register states. > > After upgrading to the generic structure, PCI core will take care of > required tasks and drivers sho

Re: [PATCH v2 09/28] kbuild: add support for Clang LTO

2020-09-08 Thread Sami Tolvanen
On Thu, Sep 03, 2020 at 03:08:59PM -0700, Kees Cook wrote: > On Thu, Sep 03, 2020 at 01:30:34PM -0700, Sami Tolvanen wrote: > > This change adds build system support for Clang's Link Time > > Optimization (LTO). With -flto, instead of ELF object files, Clang > > produces LLVM bitcode, which is comp

Re: [PATCH 23/23] Documentation: gpio: add documentation for gpio-mockup

2020-09-08 Thread Bartosz Golaszewski
On Mon, Sep 7, 2020 at 2:22 PM Greg Kroah-Hartman wrote: > > On Mon, Sep 07, 2020 at 02:06:15PM +0200, Bartosz Golaszewski wrote: > > On Mon, Sep 7, 2020 at 1:53 PM Andy Shevchenko > > wrote: > > > > > > On Mon, Sep 07, 2020 at 12:26:34PM +0200, Bartosz Golaszewski wrote: > > > > On Mon, Sep 7, 2

Re: [PATCH 2/7] arm64: dts: qcom: sm8250: Add cpufreq hw node

2020-09-08 Thread Amit Kucheria
On Tue, Sep 8, 2020 at 1:27 PM Manivannan Sadhasivam wrote: > > From: Bjorn Andersson > > Add cpufreq HW device node to scale 4-Silver/3-Gold/1-Gold+ cores > on SM8250 SoCs. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Amit Kucheria > --- > arch/a

Re: [PATCH v2 07/15] scsi: hisi_sas_v3_hw: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:20PM +0530, Vaibhav Gupta wrote: > With legacy PM, drivers themselves were responsible for managing the > device's power states and takes care of register states. > > After upgrading to the generic structure, PCI core will take care of > required tasks and drivers sho

Re: [PATCH for-next] io_uring: return EBADFD when ring isn't in the right state

2020-09-08 Thread Jens Axboe
On 9/8/20 10:52 AM, Stefano Garzarella wrote: > This patch uniforms the returned error (EBADFD) when the ring state > (enabled/disabled) is not the expected one. > > The changes affect io_uring_enter() and io_uring_register() syscalls. I added a Fixes line: Fixes: 7ec3d1dd9378 ("io_uring: allow

Re: [PATCH v2 08/15] scsi: mpt3sas_scsih: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:21PM +0530, Vaibhav Gupta wrote: > With legacy PM, drivers themselves were responsible for managing the > device's power states and takes care of register states. > > After upgrading to the generic structure, PCI core will take care of > required tasks and drivers sho

Re: linux-next: build failure after merge of the rcu tree

2020-09-08 Thread Paul E. McKenney
On Tue, Sep 08, 2020 at 03:38:30PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the rcu tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > ERROR: modpost: "resched_cpu" [kernel/scftorture.ko] undefined! > > Caused by commit > > 20c881d0592c ("scftorture

Re: v5.9-rc3-rt3 boot time networking lockdep splat

2020-09-08 Thread Mike Galbraith
On Tue, 2020-09-08 at 17:06 +0200, Sebastian Andrzej Siewior wrote: > On 2020-09-08 16:56:20 [+0200], Mike Galbraith wrote: > > On Tue, 2020-09-08 at 14:19 +0200, Sebastian Andrzej Siewior wrote: > > > > > > This has nothing to do with the bridge but with the fact that you use a > > > non standard

Re: [PATCH v2 09/15] scsi: lpfc: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:22PM +0530, Vaibhav Gupta wrote: > With legacy PM, drivers themselves were responsible for managing the > device's power states and takes care of register states. > > After upgrading to the generic structure, PCI core will take care of > required tasks and drivers sho

Re: [PATCH v3 1/2] iio: adc: mt6360: Add ADC driver for MT6360

2020-09-08 Thread Jonathan Cameron
... > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > +#include > > > > > + > > > > >

[PATCH 5.8 106/186] perf stat: Turn off summary for interval mode by default

2020-09-08 Thread Greg Kroah-Hartman
From: Jin Yao [ Upstream commit ee6a961432e75393bd69bf70ba70bad90396fa82 ] There's a risk that outputting interval mode summaries by default breaks CSV consumers. It already broke pmu-tools/toplev. So now we turn off the summary by default but we create a new option '--summary' to enable the su

Re: [PATCH v2 10/15] scsi: pm_8001: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:23PM +0530, Vaibhav Gupta wrote: > With legacy PM, drivers themselves were responsible for managing the > device's power states and takes care of register states. > > After upgrading to the generic structure, PCI core will take care of > required tasks and drivers sho

[PATCH 5.8 053/186] perf top: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set

2020-09-08 Thread Greg Kroah-Hartman
From: Tiezhu Yang [ Upstream commit 0c5f1acc2a14416bf30023f373558d369afdbfc8 ] When I execute 'perf top' without HAVE_LIBBPF_SUPPORT, there exists the following segmentation fault, skip the side-band event setup to fix it, this is similar with commit 1101c872c8c7 ("perf record: Skip side-band ev

[PATCH 5.8 019/186] gfs2: add some much needed cleanup for log flushes that fail

2020-09-08 Thread Greg Kroah-Hartman
From: Bob Peterson [ Upstream commit 462582b99b6079a6fbcdfc65bac49f5c2a27cfff ] When a log flush fails due to io errors, it signals the failure but does not clean up after itself very well. This is because buffers are added to the transaction tr_buf and tr_databuf queue, but the io error causes

[PATCH 5.8 120/186] x86/debug: Allow a single level of #DB recursion

2020-09-08 Thread Greg Kroah-Hartman
From: Andy Lutomirski commit d5c678aed5eddb944b8e7ce451b107b39245962d upstream. Trying to clear DR7 around a #DB from usermode malfunctions if the tasks schedules when delivering SIGTRAP. Rather than trying to define a special no-recursion region, just allow a single level of recursion. The sa

[PATCH 5.8 010/186] drm/msm: enable vblank during atomic commits

2020-09-08 Thread Greg Kroah-Hartman
From: Rob Clark [ Upstream commit 43906812eaab06423f56af5cca9a9fcdbb4ac454 ] This has roughly the same effect as drm_atomic_helper_wait_for_vblanks(), basically just ensuring that vblank accounting is enabled so that we get valid timestamp/seqn on pageflip events. Signed-off-by: Rob Clark Test

[PATCH 5.8 125/186] btrfs: drop path before adding new uuid tree entry

2020-09-08 Thread Greg Kroah-Hartman
From: Josef Bacik commit 9771a5cf937129307d9f58922d60484d58ababe7 upstream. With the conversion of the tree locks to rwsem I got the following lockdep splat: == WARNING: possible circular locking dependency detected 5.8.0-rc7-00167-g0d7b

Re: [PATCH v2 11/15] scsi: hpsa: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:24PM +0530, Vaibhav Gupta wrote: > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above menti

[PATCH v1 1/3] clk: qcom: clk-alpha-pll: Add support for controlling Agera PLLs

2020-09-08 Thread Taniya Das
Add programming sequence support for managing the Agera PLLs. Signed-off-by: Taniya Das --- drivers/clk/qcom/clk-alpha-pll.c | 82 drivers/clk/qcom/clk-alpha-pll.h | 4 ++ 2 files changed, 86 insertions(+) diff --git a/drivers/clk/qcom/clk-alpha-pll.c b

Re: [PATCH 4/7] cpufreq: qcom-hw: Make use of of_match data for offsets and row size

2020-09-08 Thread Amit Kucheria
On Tue, Sep 8, 2020 at 8:40 PM Manivannan Sadhasivam wrote: > > On 0908, Amit Kucheria wrote: > > On Tue, Sep 8, 2020 at 1:27 PM Manivannan Sadhasivam > > wrote: > > > > > > For preparing the driver to handle further SoC revisions, let's use the > > > of_match data for getting the device specific

[PATCH v1 2/3] dt-bindings: clock: Add YAML schemas for the QCOM Camera clock bindings.

2020-09-08 Thread Taniya Das
The Camera Subsystem clock provider have a bunch of generic properties that are needed in a device tree. Add a YAML schemas for those. Add clock ids for Camera clocks which are required to bring the camera subsystem out of reset. Signed-off-by: Taniya Das --- .../bindings/clock/qcom,sc7180-camc

Re: [PATCH v2 14/15] scsi: mvumi: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:27PM +0530, Vaibhav Gupta wrote: > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above menti

Re: Question about dev_validate_header used in af_packet.c

2020-09-08 Thread Willem de Bruijn
On Tue, Sep 8, 2020 at 6:23 PM Xie He wrote: > > On Tue, Sep 8, 2020 at 4:53 AM Willem de Bruijn > wrote: > > > > On Tue, Sep 8, 2020 at 1:04 PM Xie He wrote: > > > > > > I was recently looking at some drivers, and I felt that if af_packet.c > > > could help me filter out the invalid RAW frames,

Re: [PATCH v2 13/15] scsi: 3w-sas: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:26PM +0530, Vaibhav Gupta wrote: > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above menti

[PATCH v1 3/3] clk: qcom: camcc: Add camera clock controller driver for SC7180

2020-09-08 Thread Taniya Das
Add support for the camera clock controller found on SC7180 based devices. This would allow camera drivers to probe and control their clocks. Signed-off-by: Taniya Das --- drivers/clk/qcom/Kconfig|9 + drivers/clk/qcom/Makefile |1 + drivers/clk/qcom/camcc-sc7180.c | 1737 +

Re: [PATCH v2 1/6] dt-bindings: mfd: Add ENE KB930 Embedded Controller binding

2020-09-08 Thread Rob Herring
On Fri, Sep 4, 2020 at 9:54 AM Dmitry Osipenko wrote: > > 04.09.2020 18:40, Rob Herring пишет: > > On Fri, Sep 4, 2020 at 6:07 AM Dmitry Osipenko wrote: > >> > >> 03.09.2020 19:10, Rob Herring пишет: > >>> On Sun, 30 Aug 2020 21:53:51 +0300, Dmitry Osipenko wrote: > Add binding document for

Re: [PATCH v2 15/15] scsi: pmcraid: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:28PM +0530, Vaibhav Gupta wrote: > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above menti

Re: [PATCH v2 12/15] scsi: 3w-9xxx: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:25PM +0530, Vaibhav Gupta wrote: > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above menti

Re: [PATCH] x86/msr: do not warn on writes to OC_MAILBOX

2020-09-08 Thread Srinivas Pandruvada
On Mon, 2020-09-07 at 12:06 +0200, Borislav Petkov wrote: > + Srinivas. > + kitsunyan. > > On Mon, Sep 07, 2020 at 11:48:43AM +0200, Jason A. Donenfeld wrote: > > Popular tools, like intel-undervolt, use MSR 0x150 to control the > > CPU > > voltage offset. In fact, evidently the intel_turbo_max_3

[PATCH 5.8 126/186] btrfs: fix potential deadlock in the search ioctl

2020-09-08 Thread Greg Kroah-Hartman
From: Josef Bacik commit a48b73eca4ceb9b8a4b97f290a065335dbcd8a04 upstream. With the conversion of the tree locks to rwsem I got the following lockdep splat: == WARNING: possible circular locking dependency detected 5.8.0-rc7-00165-g04ec

Re: [PATCH 26/35] kasan, arm64: Enable TBI EL1

2020-09-08 Thread Catalin Marinas
On Tue, Sep 08, 2020 at 03:18:04PM +0200, Andrey Konovalov wrote: > On Thu, Aug 27, 2020 at 12:40 PM Catalin Marinas > wrote: > > > > On Fri, Aug 14, 2020 at 07:27:08PM +0200, Andrey Konovalov wrote: > > > diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S > > > index 152d74f2cc9c..6880ddaa5

Re: [PATCH v2 09/28] kbuild: add support for Clang LTO

2020-09-08 Thread Sami Tolvanen
On Sun, Sep 06, 2020 at 04:36:32AM +0900, Masahiro Yamada wrote: > On Fri, Sep 4, 2020 at 5:31 AM Sami Tolvanen wrote: > > > > This change adds build system support for Clang's Link Time > > Optimization (LTO). With -flto, instead of ELF object files, Clang > > produces LLVM bitcode, which is comp

[PATCH v1 0/3] Add Camera clock controller driver for SC7180

2020-09-08 Thread Taniya Das
[v1] * Add support for Agera PLL which is used in the camera clock controller. * Add driver support for camera clock controller for SC7180 and also update device tree bindings for the various clocks supported in the clock controller. Taniya Das (3): clk: qcom: clk-alpha-pll: Add support

[PATCH 5.8 133/186] x86/mm/32: Bring back vmalloc faulting on x86_32

2020-09-08 Thread Greg Kroah-Hartman
[ Upstream commit 4819e15f740ec884a50bdc431d7f1e7638b6f7d9 ] One can not simply remove vmalloc faulting on x86-32. Upstream commit: 7f0a002b5a21 ("x86/mm: remove vmalloc faulting") removed it on x86 alltogether because previously the arch_sync_kernel_mappings() interface was introduced.

Re: [PATCH 04/12] x86/platform/uv: Update UV MMRs for UV5

2020-09-08 Thread Greg KH
On Tue, Sep 08, 2020 at 08:35:37AM -0700, Mike Travis wrote: > > > On 9/8/2020 8:23 AM, Greg KH wrote: > > On Mon, Sep 07, 2020 at 01:54:34PM -0500, Mike Travis wrote: > > > --- linux.orig/drivers/misc/sgi-gru/grufile.c > > > +++ linux/drivers/misc/sgi-gru/grufile.c > > > @@ -7,7 +7,8 @@ > > >

[PATCH 5.8 121/186] ext2: dont update mtime on COW faults

2020-09-08 Thread Greg Kroah-Hartman
From: Mikulas Patocka commit 1ef6ea0efe8e68d0299dad44c39dc6ad9e5d1f39 upstream. When running in a dax mode, if the user maps a page with MAP_PRIVATE and PROT_WRITE, the ext2 filesystem would incorrectly update ctime and mtime when the user hits a COW fault. This breaks building of the Linux ker

Re: [PATCH] regmap: debugfs: potentially duplicate the name string of the config

2020-09-08 Thread Mark Brown
On Tue, Sep 08, 2020 at 05:28:59PM +0200, Dafna Hirschfeld wrote: > In function regmap_debugfs_init the name of the regmap_config is assigned > in a node of regmap_debugfs_early_list to be used later after regmap > is initialized. It is unknown how and when the name is allocated and freed. > Theref

Re: [PATCH 20/35] arm64: mte: Add in-kernel MTE helpers

2020-09-08 Thread Catalin Marinas
On Tue, Sep 08, 2020 at 03:23:20PM +0200, Andrey Konovalov wrote: > On Thu, Aug 27, 2020 at 11:38 AM Catalin Marinas > wrote: > > On Fri, Aug 14, 2020 at 07:27:02PM +0200, Andrey Konovalov wrote: > > > diff --git a/arch/arm64/include/asm/mte.h b/arch/arm64/include/asm/mte.h > > > index 1c99fcadb58

[PATCH 5.4 091/129] ALSA: usb-audio: Add implicit feedback quirk for UR22C

2020-09-08 Thread Greg Kroah-Hartman
From: Joshua Sivec commit 7c5b892e0871655fea3294ffac6fa3cc3400b60d upstream. This uses the same quirk as the Motu and SSL2 devices. Tested on the UR22C. Fixes bug 208851. Signed-off-by: Joshua Sivec BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208851 Cc: Link: https://lore.kernel.org

Re: [PATCH 24/35] arm64: mte: Switch GCR_EL1 in kernel entry and exit

2020-09-08 Thread Catalin Marinas
On Tue, Sep 08, 2020 at 03:58:07PM +0200, Andrey Konovalov wrote: > On Thu, Aug 27, 2020 at 12:38 PM Catalin Marinas > wrote: > > > > On Fri, Aug 14, 2020 at 07:27:06PM +0200, Andrey Konovalov wrote: > > > @@ -957,6 +984,7 @@ SYM_FUNC_START(cpu_switch_to) > > > mov sp, x9 > > > msr

Re: [PATCH] x86/msr: do not warn on writes to OC_MAILBOX

2020-09-08 Thread Jason A. Donenfeld
On Tue, Sep 8, 2020 at 7:10 PM Srinivas Pandruvada wrote: > > On Mon, 2020-09-07 at 12:06 +0200, Borislav Petkov wrote: > > + Srinivas. > > + kitsunyan. > > > > On Mon, Sep 07, 2020 at 11:48:43AM +0200, Jason A. Donenfeld wrote: > > > Popular tools, like intel-undervolt, use MSR 0x150 to control t

[PATCH 5.8 046/186] rxrpc: Keep the ACK serial in a var in rxrpc_input_ack()

2020-09-08 Thread Greg Kroah-Hartman
From: David Howells [ Upstream commit 68528d937dcd675e79973061c1a314db598162d1 ] Keep the ACK serial number in a variable in rxrpc_input_ack() as it's used frequently. Signed-off-by: David Howells Signed-off-by: Sasha Levin --- net/rxrpc/input.c | 21 +++-- 1 file changed, 11

[PATCH 5.4 046/129] bnxt_en: fix HWRM error when querying VF temperature

2020-09-08 Thread Greg Kroah-Hartman
From: Edwin Peer [ Upstream commit 12cce90b934bf2b0ed9c339b4d5503e69954351a ] Firmware returns RESOURCE_ACCESS_DENIED for HWRM_TEMP_MONITORY_QUERY for VFs. This produces unpleasing error messages in the log when temp1_input is queried via the hwmon sysfs interface from a VF. The error is harmle

Re: [PATCH 00/12] x86/platform/uv: Updates for UV5

2020-09-08 Thread Greg KH
On Tue, Sep 08, 2020 at 08:28:16AM -0700, Mike Travis wrote: > > > On 9/8/2020 8:20 AM, Greg KH wrote: > > On Mon, Sep 07, 2020 at 01:54:30PM -0500, Mike Travis wrote: > > > Subject: [PATCH 00/12] x86/platform/uv: Updates for UV5 > > > > > > Add changes needed for new UV5 UV architecture. Chief

[PATCH 5.4 059/129] fix regression in "epoll: Keep a reference on files added to the check list"

2020-09-08 Thread Greg Kroah-Hartman
From: Al Viro [ Upstream commit 77f4689de17c0887775bb77896f4cc11a39bf848 ] epoll_loop_check_proc() can run into a file already committed to destruction; we can't grab a reference on those and don't need to add them to the set for reverse path check anyway. Tested-by: Marc Zyngier Fixes: a9ed4a

Re: [PATCH v2 09/28] kbuild: add support for Clang LTO

2020-09-08 Thread Sami Tolvanen
On Sun, Sep 06, 2020 at 05:17:32AM +0900, Masahiro Yamada wrote: > On Fri, Sep 4, 2020 at 5:31 AM Sami Tolvanen wrote: > > > > This change adds build system support for Clang's Link Time > > Optimization (LTO). With -flto, instead of ELF object files, Clang > > produces LLVM bitcode, which is comp

[PATCH 5.4 057/129] perf tools: Correct SNOOPX field offset

2020-09-08 Thread Greg Kroah-Hartman
From: Al Grant [ Upstream commit 39c0a53b114d0317e5c4e76b631f41d133af5cb0 ] perf_event.h has macros that define the field offsets in the data_src bitmask in perf records. The SNOOPX and REMOTE offsets were both 37. These are distinct fields, and the bitfield layout in perf_mem_data_src confirms

[PATCH 5.4 051/129] selftests/bpf: Fix massive output from test_maps

2020-09-08 Thread Greg Kroah-Hartman
From: Jesper Dangaard Brouer [ Upstream commit fa4505675e093e895b7ec49a76d44f6b5ad9602e ] When stdout output from the selftests tool 'test_maps' gets redirected into e.g file or pipe, then the output lines increase a lot (from 21 to 33949 lines). This is caused by the printf that happens before

[PATCH 5.4 015/129] s390: dont trace preemption in percpu macros

2020-09-08 Thread Greg Kroah-Hartman
From: Sven Schnelle [ Upstream commit 1196f12a2c960951d02262af25af0bb1775ebcc2 ] Since commit a21ee6055c30 ("lockdep: Change hardirq{s_enabled,_context} to per-cpu variables") the lockdep code itself uses percpu variables. This leads to recursions because the percpu macros are calling preempt_en

[PATCH 5.4 049/129] media: vicodec: add missing v4l2_ctrl_request_hdl_put()

2020-09-08 Thread Greg Kroah-Hartman
From: Hans Verkuil [ Upstream commit 2e7c8fb8942773f412fe12f3b63e8bb92c18ab3f ] The check for a required control in the request was missing a call to v4l2_ctrl_request_hdl_put(), so the control request object was never released. Signed-off-by: Hans Verkuil Fixes: 997deb811bf5 ("media: vicodec:

[PATCH 5.4 050/129] media: cedrus: Add missing v4l2_ctrl_request_hdl_put()

2020-09-08 Thread Greg Kroah-Hartman
From: Ezequiel Garcia [ Upstream commit b30063976f29fc221a99d18d37d22ca035068aa9 ] The check for a required control in the request was missing a call to v4l2_ctrl_request_hdl_put() in the error path. Fix it. Fixes: 50e761516f2b8c ("media: platform: Add Cedrus VPU decoder driver") Signed-off-by:

[PATCH] fib: fix fib_rule_ops indirect call wrappers when CONFIG_IPV6=m

2020-09-08 Thread Brian Vazquez
If CONFIG_IPV6=m, the IPV6 functions won't be found by the linker: ld: net/core/fib_rules.o: in function `fib_rules_lookup': fib_rules.c:(.text+0x606): undefined reference to `fib6_rule_match' ld: fib_rules.c:(.text+0x611): undefined reference to `fib6_rule_match' ld: fib_rules.c:(.text+0x68c): un

Re: [PATCH 7/7] cpufreq: qcom-hw: Use devm_platform_ioremap_resource() to simplify code

2020-09-08 Thread Amit Kucheria
On Tue, Sep 8, 2020 at 1:27 PM Manivannan Sadhasivam wrote: > > devm_platform_ioremap_resource() is the combination of > platform_get_resource() and devm_ioremap_resource(). Hence, use it to > simplify the code a bit. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Amit Kucheria > --- >

Re: [PATCH v2] Revert "ALSA: hda: Add support for Loongson 7A1000 controller"

2020-09-08 Thread Greg KH
On Tue, Sep 08, 2020 at 11:09:31AM +0800, Tiezhu Yang wrote: > On 09/08/2020 08:37 AM, Huacai Chen wrote: > > Hi, all > > > > This patch should be backported to 5.4. > > Hi, > > Commit 61eee4a7fc40 ("ALSA: hda: Add support for Loongson > 7A1000 controller") has been not yet merged into 5.4, so n

[PATCH 5.4 085/129] btrfs: tree-checker: fix the error message for transid error

2020-09-08 Thread Greg Kroah-Hartman
From: Qu Wenruo commit f96d6960abbc52e26ad124e69e6815283d3e1674 upstream. The error message for inode transid is the same as for inode generation, which makes us unable to detect the real problem. Reported-by: Tyler Richmond Fixes: 496245cac57e ("btrfs: tree-checker: Verify inode item") CC: st

[PATCH 5.4 014/129] nbd: restore default timeout when setting it to zero

2020-09-08 Thread Greg Kroah-Hartman
From: Hou Pu [ Upstream commit acb19e17c5134dd78668c429ecba5b481f038e6a ] If we configured io timeout of nbd0 to 100s. Later after we finished using it, we configured nbd0 again and set the io timeout to 0. We expect it would timeout after 30 seconds and keep retry. But in fact we could not chan

[PATCH 5.4 084/129] btrfs: set the lockdep class for log tree extent buffers

2020-09-08 Thread Greg Kroah-Hartman
From: Josef Bacik commit d3beaa253fd6fa40b8b18a216398e6e5376a9d21 upstream. These are special extent buffers that get rewound in order to lookup the state of the tree at a specific point in time. As such they do not go through the normal initialization paths that set their lockdep class, so han

Re: [PATCH]] drm/dp check aux_dev before use in drm_dp_aux_dev_get_by_minor()

2020-09-08 Thread Zwane Mwaikambo
On Mon, 7 Sep 2020, Ville Syrjälä wrote: > On Fri, Sep 04, 2020 at 12:21:26AM -0700, Zwane Mwaikambo wrote: > > I observed this when unplugging a DP monitor whilst a computer is asleep > > and then waking it up. This left DP chardev nodes still being present on > > the filesystem and accessing t

Re: [PATCH RFC 3/7] bridge: uapi: cfm: Added EtherType used by the CFM protocol.

2020-09-08 Thread Nikolay Aleksandrov
On Fri, 2020-09-04 at 09:15 +, Henrik Bjoernlund wrote: > This EtherType is used by all CFM protocal frames transmitted > according to 802.1Q section 12.14. > > Signed-off-by: Henrik Bjoernlund > --- > include/uapi/linux/if_ether.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/i

[PATCH kernel] srcu: Fix static initialization

2020-09-08 Thread Alexey Kardashevskiy
init_srcu_struct_nodes() is called with is_static==true only internally and when this happens, the srcu->sda is not initialized in init_srcu_struct_fields() and we crash on dereferencing @sdp. This fixes the crash by moving "if (is_static)" out of the loop which only does useful work for is_static

[PATCH 5.4 019/129] drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init

2020-09-08 Thread Greg Kroah-Hartman
From: Dinghao Liu [ Upstream commit b67a468a4ccef593cd8df6a02ba3d167b77f0c81 ] When amdgpu_display_modeset_create_props() fails, state and state->context should be freed to prevent memleak. It's the same when amdgpu_dm_audio_init() fails. Signed-off-by: Dinghao Liu Signed-off-by: Alex Deucher

Re: linux-next: Tree for Sep 8 (sched/topology.c)

2020-09-08 Thread Randy Dunlap
On 9/8/20 9:28 AM, Valentin Schneider wrote: > > On 08/09/20 17:07, Valentin Schneider wrote: >> On 08/09/20 16:50, Randy Dunlap wrote: >>> Sure, here it is again. And >>> CONFIG_SMP=y >>> CONFIG_SCHED_DEBUG=y >>> >>> thanks. >> >> Okay so I can reproduce that with GCC-10.1, now to figure out WTH

Re: [PATCH v4.14.y 2/3] vfio-pci: Fault mmaps to enable vma tracking

2020-09-08 Thread Greg KH
On Tue, Sep 08, 2020 at 01:47:06AM +0530, Ajay Kaher wrote: > From: Alex Williamson > > commit 11c4cd07ba111a09f49625f9e4c851d83daf0a22 upstream. > > Rather than calling remap_pfn_range() when a region is mmap'd, setup > a vm_ops handler to support dynamic faulting of the range on access. > This

Re: [PATCH v4.14.y 0/3] vfio: Fix for CVE-2020-12888

2020-09-08 Thread Greg KH
On Tue, Sep 08, 2020 at 01:47:08AM +0530, Ajay Kaher wrote: > CVE-2020-12888 Kernel: vfio: access to disabled MMIO space of some > devices may lead to DoS scenario > > The VFIO modules allow users (guest VMs) to enable or disable access to the > devices' MMIO memory address spaces. If a user a

[PATCH 7/8] arm64: dts: zynqmp-zcu100-revC: Correct interrupt flags in examples

2020-09-08 Thread Krzysztof Kozlowski
GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. These are simple defines so they could be used in DTS but they will not have the same meaning: 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE 2. GPIO_ACTIVE_LOW = 1 = IRQ_TYPE_EDGE_RISING Correct the interrupt flags, assuming the aut

Re: [PATCH v2] sched/debug: Add new tracepoint to track cpu_capacity

2020-09-08 Thread Dietmar Eggemann
On 08/09/2020 17:17, Qais Yousef wrote: > On 09/08/20 13:17, Dietmar Eggemann wrote: >> On 07/09/2020 16:51, Qais Yousef wrote: >>> On 09/07/20 13:13, pet...@infradead.org wrote: On Mon, Sep 07, 2020 at 11:48:45AM +0100, Qais Yousef wrote: > IMHO the above is a hack. Out-of-tree modules sh

<    1   2   3   4   5   6   7   8   9   10   >