[PATCH v11 10/16] PCI/ERR: Add pci_walk_bridge() to pcie_do_recovery()

2020-11-17 Thread Sean V Kelley
Consolidate subordinate bus checks with pci_walk_bus() into pci_walk_bridge() for walking below potentially AER affected bridges. [bhelgaas: fix kerneldoc] Suggested-by: Bjorn Helgaas Link: https://lore.kernel.org/r/20201002184735.1229220-7-seanvk@oregontracks.org Signed-off-by: Sean V Kelle

Re: [PATCH v41 00/24] Intel SGX foundations

2020-11-17 Thread Jarkko Sakkinen
On Mon, Nov 16, 2020 at 06:28:40PM +0100, Borislav Petkov wrote: > On Mon, Nov 16, 2020 at 09:21:16AM -0800, Dave Hansen wrote: > > That works when there is something universal across the set, like if > > Sean Signed-off-by on each patch and we didn't have any other SoB's. > > Sean is also mentione

[PATCH v11 13/16] PCI/RCEC: Add RCiEP's linked RCEC to AER/ERR

2020-11-17 Thread Sean V Kelley
From: Qiuxu Zhuo When attempting error recovery for an RCiEP associated with an RCEC device, there needs to be a way to update the Root Error Status, the Uncorrectable Error Status and the Uncorrectable Error Severity of the parent RCEC. In some non-native cases in which there is no OS-visible d

[PATCH v11 02/16] PCI/RCEC: Add RCEC class code and extended capability

2020-11-17 Thread Sean V Kelley
From: Qiuxu Zhuo A PCIe Root Complex Event Collector (RCEC) has base class 0x08, sub-class 0x07, and programming interface 0x00. Add the class code 0x0807 to identify RCEC devices and add #defines for the RCEC Endpoint Association Extended Capability. See PCIe r5.0, sec 1.3.4 ("Root Complex Eve

Re: [PATCH v4 1/2] arm64: kvm: Save/restore MTE registers

2020-11-17 Thread Marc Zyngier
Hi Steven, These patches unfortunately don't apply to -rc4 anymore, as we repainted quite a bit while working on fixes. I'd be grateful if you could rebase them. A few other things though: On 2020-10-26 15:57, Steven Price wrote: Define the new system registers that MTE introduces and contex

Re: [PATCH 01/24] x86/resctrl: Split struct rdt_resource

2020-11-17 Thread Reinette Chatre
Hi James, On 10/30/2020 9:10 AM, James Morse wrote: resctrl is the defacto Linux ABI for SoC resource partitioning features. To support it on another architecture, it needs to be abstracted from Intel RDT, and moved it to /fs/. Current support for AMD PQoS should also be considered. s/and mov

Re: [PATCH] tracepoint: Do not fail unregistering a probe due to memory allocation

2020-11-17 Thread Steven Rostedt
On Tue, 17 Nov 2020 14:15:10 -0500 (EST) Mathieu Desnoyers wrote: > diff --git a/include/linux/tracepoint-defs.h b/include/linux/tracepoint-defs.h > index e7c2276be33e..e0351bb0b140 100644 > --- a/include/linux/tracepoint-defs.h > +++ b/include/linux/tracepoint-defs.h > @@ -38,6 +38,7 @@ struct

Re: [PATCH 02/24] x86/resctrl: Split struct rdt_domain

2020-11-17 Thread Reinette Chatre
Hi James, On 10/30/2020 9:10 AM, James Morse wrote: resctrl is the defacto Linux ABI for SoC resource partitioning features. To support it on another architecture, it needs to be abstracted from Intel RDT, and moved it to /fs/. Same comments as previous patch regarding "Intel RDT" and "moved i

Re: [PATCH] interconnect: qcom: msm8974: Don't boost the NoC rate during boot

2020-11-17 Thread Luca Weiss
Hi Georgi On Montag, 9. November 2020 13:45:12 CET Georgi Djakov wrote: > It has been reported that on Fairphone 2 (msm8974-based), increasing > the clock rate for some of the NoCs during boot may lead to hangs. > Let's restore the original behavior and not touch the clock rate of > any of the NoC

[git pull] Input updates for v5.10-rc4

2020-11-17 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get a fix for "use-after-free" in Sun keyboard driver, a fix to firmware updates on newer ICs in Elan touchpad diver, and a couple more

Re: [PATCH] RISC-V: fix barrier() use in

2020-11-17 Thread Randy Dunlap
On 11/17/20 11:00 AM, Nick Desaulniers wrote: > On Mon, Nov 16, 2020 at 5:40 PM Randy Dunlap wrote: >> >> riscv's uses barrier() so it should >> #include to prevent build errors. >> >> Fixes this build error: >> CC [M] drivers/net/ethernet/emulex/benet/be_main.o >> In file included from ./inc

Re: [External] RE: [PATCH v4 00/21] Free some vmemmap pages of hugetlb page

2020-11-17 Thread Matthew Wilcox
On Wed, Nov 18, 2020 at 12:29:07AM +0800, Muchun Song wrote: > > ideally, we should be able to free PageTail if we change struct page in > > some way. > > Then we will save much more for 2MB hugetlb. but it seems it is not easy. > > Now for the 2MB HugrTLB page, we only free 6 vmemmap pages. > Bu

Re: [PATCH 1/2] kbuild: Hoist '--orphan-handling' into Kconfig

2020-11-17 Thread Nick Desaulniers
On Mon, Nov 16, 2020 at 5:54 PM Nathan Chancellor wrote: > > On Mon, Nov 16, 2020 at 05:41:58PM -0800, Nick Desaulniers wrote: > > On Fri, Nov 13, 2020 at 11:56 AM Nathan Chancellor > > wrote: > > > > > > Currently, '--orphan-handling=warn' is spread out across four different > > > architectures

Re: [PATCH] RISC-V: fix barrier() use in

2020-11-17 Thread Randy Dunlap
On 11/17/20 11:22 AM, Randy Dunlap wrote: > On 11/17/20 11:00 AM, Nick Desaulniers wrote: >> On Mon, Nov 16, 2020 at 5:40 PM Randy Dunlap wrote: >>> >>> riscv's uses barrier() so it should >>> #include to prevent build errors. >>> >>> Fixes this build error: >>> CC [M] drivers/net/ethernet/em

Re: [PATCH v4 11/19] sched/core: Make migrate disable and CPU hotplug cooperative

2020-11-17 Thread Valentin Schneider
On 13/11/20 15:06, Qian Cai wrote: > On Fri, 2020-10-23 at 12:12 +0200, Peter Zijlstra wrote: [...] >> @@ -7310,7 +7334,7 @@ int sched_cpu_dying(unsigned int cpu) >> sched_tick_stop(cpu); >> >> rq_lock_irqsave(rq, &rf); >> -BUG_ON(rq->nr_running != 1); >> +BUG_ON(rq->nr_runnin

Re: [PATCH] x86/sgx: clarify 'laundry_list' locking

2020-11-17 Thread Jarkko Sakkinen
On Mon, Nov 16, 2020 at 02:25:31PM -0800, Dave Hansen wrote: > From: Dave Hansen > > Short Version: > > The SGX section->laundry_list structure is effectively thread-local, > but declared next to some shared structures. Its semantics are clear > as mud. Fix that. No functional changes. Compi

[PATCH v2] RISC-V: fix barrier() use in

2020-11-17 Thread Randy Dunlap
riscv's uses barrier() so it should #include to prevent build errors. Fixes this build error: CC [M] drivers/net/ethernet/emulex/benet/be_main.o In file included from ./include/vdso/processor.h:10, from ./arch/riscv/include/asm/processor.h:11, from ./include/

Re: [PATCH] drivers: gpio: use of_match_ptr() and ACPI_PTR() macros

2020-11-17 Thread kernel test robot
Hi "Enrico, I love your patch! Perhaps something to improve: [auto build test WARNING on gpio/for-next] [also build test WARNING on joel-aspeed/for-next v5.10-rc4 next-20201117] [cannot apply to xlnx/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: [PATCH] RISC-V: fix barrier() use in

2020-11-17 Thread Arvind Sankar
On Tue, Nov 17, 2020 at 11:22:39AM -0800, Randy Dunlap wrote: > On 11/17/20 11:00 AM, Nick Desaulniers wrote: > > On Mon, Nov 16, 2020 at 5:40 PM Randy Dunlap wrote: > >> > >> riscv's uses barrier() so it should > >> #include to prevent build errors. > >> > >> Fixes this build error: > >> CC [

Re: [PATCH v3 0/2] Adding I2C support to RX6110 RTC

2020-11-17 Thread Alexandre Belloni
On Tue, 17 Nov 2020 13:18:15 +0100, Claudius Heine wrote: > based on the last feedback round we decided to remove the ACPI patch from this > patchset for now until we have the correct one. I have also moved the typo fix > to the front, so it can be applied independently. > > best regards, > Claudi

[PATCH net-next 1/4] net: ptp: introduce enum ptp_msg_type

2020-11-17 Thread Christian Eggers
Using a PTP wide enum will obsolete different driver internal defines and uses of magic numbers. Signed-off-by: Christian Eggers Cc: Kurt Kanzenbach --- include/linux/ptp_classify.h | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/include/linux/ptp_classify.h

Re: [PATCH] sched: Fix data-race in wakeup

2020-11-17 Thread Valentin Schneider
On 17/11/20 16:13, Peter Zijlstra wrote: > On Tue, Nov 17, 2020 at 03:37:24PM +, Valentin Schneider wrote: > >> >> + /* >> >> + * This field must not be in the scheduler word above due to wakelist >> >> + * queueing no longer being serialized by p->on_cpu. However: >> >> + * >> >> + * p->

[PATCH net-next 2/4] net: phy: dp83640: use enum ptp_msg_type

2020-11-17 Thread Christian Eggers
Use new return type of ptp_get_msgtype(). Remove usage of magic number. Signed-off-by: Christian Eggers Cc: Richard Cochran Cc: Kurt Kanzenbach --- drivers/net/phy/dp83640.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/phy/dp83640.c b/drivers/net/p

Re: [PATCH net-next v5] net: linux/skbuff.h: combine SKB_EXTENSIONS + KCOV handling

2020-11-17 Thread Jakub Kicinski
On Tue, 17 Nov 2020 07:36:26 +0100 Florian Westphal wrote: > Randy Dunlap wrote: > > The previous Kconfig patch led to some other build errors as > > reported by the 0day bot and my own overnight build testing. > > > > These are all in when KCOV is enabled but > > SKB_EXTENSIONS is not enabled,

[PATCH net-next 3/4] dpaa2-eth: use enum ptp_msg_type

2020-11-17 Thread Christian Eggers
Use new return type of ptp_get_msgtype(). Remove usage of magic numbers. Signed-off-by: Christian Eggers Cc: Ioana Ciornei Cc: Ioana Radulescu Cc: Yangbo Lu --- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/

Re: [PATCH 1/3] x86/quirks: Scan all busses for early PCI quirks

2020-11-17 Thread Thomas Gleixner
On Tue, Nov 17 2020 at 12:19, David Woodhouse wrote: > On Tue, 2020-11-17 at 10:53 +0100, Thomas Gleixner wrote: >> But that does not solve the problem either simply because then the IOMMU >> will catch the rogue MSIs and you get an interrupt storm on the IOMMU >> error interrupt. > > Not if you ca

Re: [GIT PULL] MIPS fixes for v5.10

2020-11-17 Thread pr-tracker-bot
The pull request you sent on Tue, 17 Nov 2020 19:01:54 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/ > tags/mips_fixes_5.10_1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ed129cd75ac1073f32d04d0f2012ede40e86fb77 Thank you! -- Deet-doot-do

Re: [GIT RFC PULL rcu/urgent] Fix lockdep issue in rcu_print_task_stall()

2020-11-17 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Nov 2020 14:01:53 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > urgent-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9dacf44c3837b7f1cf460de904f352714e7cd107 Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] perf tools fixes for v5.10: 3rd batch

2020-11-17 Thread pr-tracker-bot
The pull request you sent on Tue, 17 Nov 2020 10:17:47 -0300: > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-tools-fixes-for-v5.10-2020-11-17 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/be1dd6692adbdb1d70da47da124ac8376bba5ad5 Thank you

Re: [GIT PULL] s390 updates for 5.10-rc5

2020-11-17 Thread pr-tracker-bot
The pull request you sent on Tue, 17 Nov 2020 19:21:58 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.10-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/111e91a6df505e532a3809ead372787a01e23e0c Thank you! -- Deet-doot-dot, I am a

[PATCH net-next 4/4] ptp: ptp_ines: use enum ptp_msg_type

2020-11-17 Thread Christian Eggers
Use new return type of ptp_get_msgtype(). Remove driver internal defines for this. Signed-off-by: Christian Eggers Cc: Richard Cochran Cc: Kurt Kanzenbach --- drivers/ptp/ptp_ines.c | 25 ++--- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/drivers/ptp/ptp_

Re: [PATCH v4 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-11-17 Thread Marc Zyngier
Hi Steven, On 2020-10-26 15:57, Steven Price wrote: Add a new VM feature 'KVM_ARM_CAP_MTE' which enables memory tagging for a VM. This exposes the feature to the guest and automatically tags memory pages touched by the VM as PG_mte_tagged (and clears the tags storage) to ensure that the guest ca

Re: [PATCH] net: usb: qmi_wwan: Set DTR quirk for MR400

2020-11-17 Thread Bjørn Mork
Filip Moc writes: > LTE module MR400 embedded in TL-MR6400 v4 requires DTR to be set. > > Signed-off-by: Filip Moc > --- > drivers/net/usb/qmi_wwan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c > index afeb09b9

Re: [PATCH 4.19 000/264] 4.19.153-rc1 review

2020-11-17 Thread Salvatore Bonaccorso
Hi Guenter, On Sat, Nov 14, 2020 at 05:27:41AM -0800, Guenter Roeck wrote: > On 11/14/20 12:35 AM, Salvatore Bonaccorso wrote: > > Hi Guenter, > > > > On Sat, Oct 31, 2020 at 07:31:32AM -0700, Guenter Roeck wrote: > >> On 10/31/20 2:45 AM, Salvatore Bonaccorso wrote: > >>> Hi Greg, > >>> > >>> On

Re: [PATCH v9 6/9] secretmem: add memcg accounting

2020-11-17 Thread Roman Gushchin
On Tue, Nov 17, 2020 at 06:29:29PM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > Account memory consumed by secretmem to memcg. The accounting is updated > when the memory is actually allocated and freed. > > Signed-off-by: Mike Rapoport Hi Mike! I like this version so much more, than

Re: [PATCH 38/42] drm/vc4/vc4_hdmi: Remove set but unused variable 'ret'

2020-11-17 Thread Daniel Vetter
On Mon, Nov 16, 2020 at 05:41:08PM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/vc4/vc4_hdmi.c: In function ‘vc4_hdmi_set_audio_infoframe’: > drivers/gpu/drm/vc4/vc4_hdmi.c:334:6: warning: variable ‘ret’ set but not > used [-Wunused-but-set-vari

Re: [PATCH v2 2/9] media: cedrus: h264: Support profile and level controls

2020-11-17 Thread Ezequiel Garcia
On Tue, 2020-11-17 at 20:24 +0100, Jernej Škrabec wrote: > Hi Ezequiel, > > sorry for late review. > > First of all, this patch doesn't break anything. However, see comment below. > > Dne petek, 13. november 2020 ob 22:51:14 CET je Ezequiel Garcia napisal(a): > > Cedrus supports H.264 profiles f

Re: [PATCH RESEND net-next 00/18] net: phy: add support for shared interrupts (part 2)

2020-11-17 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Fri, 13 Nov 2020 18:52:08 +0200 you wrote: > From: Ioana Ciornei > > This patch set aims to actually add support for shared interrupts in > phylib and not only for multi-PHY devices. While we are at it, > streamline t

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

2020-11-17 Thread matthew . gerlach
On Tue, 17 Nov 2020, Xu Yilun wrote: On Mon, Nov 16, 2020 at 05:25:52PM -0800, matthew.gerl...@linux.intel.com wrote: From: Matthew Gerlach A DFL may not begin at offset 0 of BAR 0. A PCIe vendor specific capability can be used to specify the start of a number of DFLs. Signed-off-by: Mat

Re: [PATCH v41 19/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-11-17 Thread Jarkko Sakkinen
On Tue, Nov 17, 2020 at 02:14:02PM +0100, Borislav Petkov wrote: > On Fri, Nov 13, 2020 at 12:01:30AM +0200, Jarkko Sakkinen wrote: > > diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile > > index 2ad757fb3c23..9915fbd34264 100644 > > --- a/arch/x86/entry/vdso/Makefile > > +++

Re: [PATCH 2/2] kbuild: Disable CONFIG_LD_ORPHAN_WARN for ld.lld 10.0.1

2020-11-17 Thread Nick Desaulniers
On Fri, Nov 13, 2020 at 11:56 AM Nathan Chancellor wrote: > > ld.lld 10.0.1 spews a bunch of various warnings about .rela sections, > along with a few others. Newer versions of ld.lld do not have these > warnings. As a result, do not add '--orphan-handling=warn' to > LDFLAGS_vmlinux if ld.lld's ve

Re: [PATCH 2/6] remoteproc/pru: Add a PRU remoteproc driver

2020-11-17 Thread Suman Anna
Hi Greg, I have a few minor comments below.. On 11/14/20 2:46 AM, Grzegorz Jaszczyk wrote: > From: Suman Anna > > The Programmable Real-Time Unit Subsystem (PRUSS) consists of > dual 32-bit RISC cores (Programmable Real-Time Units, or PRUs) > for program execution. This patch adds a remoteproc

Re: [PATCH V4 net-next 0/4] net: hns3: updates for -next

2020-11-17 Thread Jakub Kicinski
On Mon, 16 Nov 2020 16:20:50 +0800 Huazhong Tan wrote: > There are several updates relating to the interrupt coalesce for > the HNS3 ethernet driver. > > #1 adds support for QL(quantity limiting, interrupt coalesce >based on the frame quantity). > #2 queries the maximum value of GL from the fi

Re: [PATCH v41 20/24] selftests/x86: Add a selftest for SGX

2020-11-17 Thread Jarkko Sakkinen
On Mon, Nov 16, 2020 at 11:19:12AM -0700, Shuah Khan wrote: > On 11/12/20 3:01 PM, Jarkko Sakkinen wrote: > > Add a selftest for SGX. It is a trivial test where a simple enclave copies > > one 64-bit word of memory between two memory locations, but ensures that > > all SGX hardware and software inf

Re: [PATCH 42/42] include/drm/drm_atomic: Make use of 'new_crtc_state'

2020-11-17 Thread Daniel Vetter
On Mon, Nov 16, 2020 at 05:41:12PM +, Lee Jones wrote: > In the macro for_each_oldnew_crtc_in_state() 'crtc_state' is provided > as a container for state->crtcs[i].new_state, but is not utilised in > some use-cases, so we fake-use it instead. > > Fixes the following W=1 kernel build warning(s)

Re: [PATCH -next] ASoC: samsung: fix platform_no_drv_owner.cocci warnings

2020-11-17 Thread Krzysztof Kozlowski
On Mon, Nov 16, 2020 at 08:29:00PM +0800, Zou Wei wrote: > ./sound/soc/samsung/midas_wm1811.c:534:3-8: No need to set .owner here. The > core will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci >

Re: [RFC PATCH 15/27] of/fdt: Introduce early_init_dt_add_memory_hyp()

2020-11-17 Thread Rob Herring
On Tue, Nov 17, 2020 at 12:16 PM Quentin Perret wrote: > > Introduce early_init_dt_add_memory_hyp() to allow KVM to conserve a copy > of the memory regions parsed from DT. This will be needed in the context > of the protected nVHE feature of KVM/arm64 where the code running at EL2 > will be cleanl

[PATCH v4 0/7] Enable rk3066a HDMI sound

2020-11-17 Thread Johan Jonker
First fix some legacy things in clk-rk3188.c that was never updated, because probably nobody used rk3066a I2S before in the mainline kernel. Update the rk3066a HDMI documents with a #sound-dai-cells property. Include the code for sound in the HDMI driver. Add a simple-sound-card compatible node to

[PATCH v4 2/7] clk: rockchip: fix i2s gate bits on rk3066 and rk3188

2020-11-17 Thread Johan Jonker
The Rockchip PX2/RK3066 uses these bits in CRU_CLKGATE7_CON: hclk_i2s_8ch_gate_en bit 4 (dtsi: i2s0) hclk_i2s0_2ch_gate_en bit 2 (dtsi: i2s1) hclk_i2s1_2ch_gate_en bit 3 (dtsi: i2s2) The Rockchip PX3/RK3188 uses this bit in CRU_CLKGATE7_CON: hclk_i2s_2ch_gate_en bit 2 (dtsi: i2s0) The bits go

[PATCH v4 1/7] clk: rockchip: add CLK_SET_RATE_PARENT to sclk for rk3066a i2s and uart clocks

2020-11-17 Thread Johan Jonker
Add CLK_SET_RATE_PARENT to sclk for rk3066a i2s and uart clocks, so that the parent COMPOSITE_FRACMUX and COMPOSITE_NOMUX also update. Signed-off-by: Johan Jonker --- drivers/clk/rockchip/clk-rk3188.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --gi

[PATCH v4 3/7] dt-bindings: display: add #sound-dai-cells property to rockchip rk3066 hdmi

2020-11-17 Thread Johan Jonker
'#sound-dai-cells' is required to properly interpret the list of DAI specified in the 'sound-dai' property. Add it to rockchip,rk3066-hdmi.yaml to document that the rk3066 HDMI TX also can be used to transmit some audio. Signed-off-by: Johan Jonker --- .../devicetree/bindings/display/rockchip/ro

[PATCH v4 5/7] ARM: dts: rockchip: rk3066a: add #sound-dai-cells to hdmi node

2020-11-17 Thread Johan Jonker
'#sound-dai-cells' is required to properly interpret the list of DAI specified in the 'sound-dai' property, so add them to the 'hdmi' node for 'rk3066a.dtsi'. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk30

[PATCH v4 4/7] drm: rockchip: add sound support to rk3066 hdmi driver

2020-11-17 Thread Johan Jonker
From: Zheng Yang Add sound support to the rk3066 HDMI driver. The I2S input of the HDMI TX allows transmission of DVD-Audio and decoded Dolby Digital to A/V Receivers and high-end displays. The interface supports 2 to 8 channels audio up to 192 kHz. The HDMI TX supports variable word length of 1

[PATCH v4 7/7] ARM: dts: rockchip: enable hdmi_sound and i2s0 for rk3066a-mk808

2020-11-17 Thread Johan Jonker
Make some noise with mk808. Enable the hdmi_sound node and add i2s0 as sound source for hdmi. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a-mk808.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a-mk808.dts b/arch/arm/boot/dts/rk3066a-mk808.dts

[PATCH v4 6/7] ARM: dts: rockchip: add hdmi-sound node to rk3066a.dtsi

2020-11-17 Thread Johan Jonker
Add hdmi-sound node to rk3066a.dtsi, so that it can be reused by boards with HDMI support. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index 67

Re: [External] RE: [PATCH v4 00/21] Free some vmemmap pages of hugetlb page

2020-11-17 Thread Oscar Salvador
On 2020-11-17 17:29, Muchun Song wrote: Now for the 2MB HugrTLB page, we only free 6 vmemmap pages. But your words woke me up. Maybe we really can free 7 vmemmap pages. In this case, we can see 8 of the 512 struct page structures has beed set PG_head flag. If we can adjust compound_head() slightl

Re: [PATCH v2] RISC-V: fix barrier() use in

2020-11-17 Thread Nick Desaulniers
On Tue, Nov 17, 2020 at 11:31 AM Randy Dunlap wrote: > > riscv's uses barrier() so it should > #include to prevent build errors. > > Fixes this build error: > CC [M] drivers/net/ethernet/emulex/benet/be_main.o > In file included from ./include/vdso/processor.h:10, > from ./ar

Re: [PATCH v4 01/10] Add auxiliary bus support

2020-11-17 Thread Martin Habets
On Fri, Nov 13, 2020 at 08:18:50AM -0800, Dave Ertman wrote: > Add support for the Auxiliary Bus, auxiliary_device and auxiliary_driver. > It enables drivers to create an auxiliary_device and bind an > auxiliary_driver to it. > > The bus supports probe/remove shutdown and suspend/resume callbacks.

Re: [PATCH] tracepoint: Do not fail unregistering a probe due to memory allocation

2020-11-17 Thread Mathieu Desnoyers
- On Nov 17, 2020, at 2:21 PM, rostedt rost...@goodmis.org wrote: > On Tue, 17 Nov 2020 14:15:10 -0500 (EST) > Mathieu Desnoyers wrote: > > >> diff --git a/include/linux/tracepoint-defs.h >> b/include/linux/tracepoint-defs.h >> index e7c2276be33e..e0351bb0b140 100644 >> --- a/include/linux

[PATCH] thermal: int340x: Support Alder Lake

2020-11-17 Thread Srinivas Pandruvada
Add ACPI IDs for thermal drivers for Alder Lake support. Signed-off-by: Srinivas Pandruvada --- drivers/thermal/intel/int340x_thermal/int3400_thermal.c | 1 + drivers/thermal/intel/int340x_thermal/int3403_thermal.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/thermal/intel/int34

Re: Re: [PATCH v2 2/9] media: cedrus: h264: Support profile and level controls

2020-11-17 Thread Jernej Škrabec
Dne torek, 17. november 2020 ob 20:40:09 CET je Ezequiel Garcia napisal(a): > On Tue, 2020-11-17 at 20:24 +0100, Jernej Škrabec wrote: > > Hi Ezequiel, > > > > sorry for late review. > > > > First of all, this patch doesn't break anything. However, see comment below. > > > > Dne petek, 13. nove

Re: [PATCH net-next v2 3/6] net/x25: replace x25_kill_by_device with x25_kill_by_neigh

2020-11-17 Thread Xie He
On Mon, Nov 16, 2020 at 6:00 AM Martin Schiller wrote: > > Remove unnecessary function x25_kill_by_device. > -/* > - * Kill all bound sockets on a dropped device. > - */ > -static void x25_kill_by_device(struct net_device *dev) > -{ > - struct sock *s; > - > - write_lock_bh(&x25_l

Re: [PATCH 1/2] soc: qcom: aoss: Expose send for generic usecase

2020-11-17 Thread Chris Lew
On 11/11/2020 10:33 AM, Sibi Sankar wrote: Hey Chris, Thanks for the patch. On 2020-11-03 08:49, Chris Lew wrote: Not all upcoming usecases will have an interface to allow the aoss driver to hook onto. Expose the send api and create a get function to enable drivers to send their own messages

Re: [PATCH] drm/msm: Fix error return code in msm_drm_init()

2020-11-17 Thread abhinavk
On 2020-11-16 18:36, Wei Li wrote: When it fail to create crtc_event kthread, it just jump to err_msm_uninit, while the 'ret' is not updated. So assign the return code before that. Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support") Reported-by: Hulk Robot Signed-off-by: Wei Li Reviewed-

Re: [Freedreno] [PATCH] drm/msm/dpu: Fix error return code in dpu_mdss_init()

2020-11-17 Thread abhinavk
On 2020-11-16 18:56, Chen Zhou wrote: Fix to return a negative error code from the error handling case instead of 0 in function dpu_mdss_init(), as done elsewhere in this function. Fixes: 070e64dc1bbc ("drm/msm/dpu: Convert to a chained irq chip") Reported-by: Hulk Robot Signed-off-by: Chen Zho

Re: [PATCH 5.9 000/255] 5.9.9-rc1 review

2020-11-17 Thread Jeffrin Jose T
On Tue, 2020-11-17 at 14:02 +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.9.9 release. > There are 255 patches in this series, all will be posted as a > response > to this one. If anyone has any issues with these being applied, > please > let me know. >

Re: [PATCH net-next 1/1] net: phy: Add additional logics on probing C45 PHY devices

2020-11-17 Thread Jakub Kicinski
On Thu, 12 Nov 2020 23:03:51 +0800 Wong Vee Khee wrote: > For clause 45 PHY, introduce additional logics in get_phy_c45_ids() to > check if there is at least one valid device ID, return 0 on true, and > -ENODEV otherwise. > > Signed-off-by: Wong Vee Khee I don't see any response to Andrew's ques

Re: Re: [PATCH v2 2/9] media: cedrus: h264: Support profile and level controls

2020-11-17 Thread Ezequiel Garcia
On Tue, 2020-11-17 at 20:55 +0100, Jernej Škrabec wrote: > Dne torek, 17. november 2020 ob 20:40:09 CET je Ezequiel Garcia napisal(a): > > On Tue, 2020-11-17 at 20:24 +0100, Jernej Škrabec wrote: > > > Hi Ezequiel, > > > > > > sorry for late review. > > > > > > First of all, this patch doesn't br

[PATCH 01/12] tools headers UAPI: Update tools's copy of linux/perf_event.h

2020-11-17 Thread kan . liang
From: Kan Liang To get the changes in: commit 8d97e71811aa ("perf/core: Add PERF_SAMPLE_DATA_PAGE_SIZE") commit 995f088efebe ("perf/core: Add support for PERF_SAMPLE_CODE_PAGE_SIZE") This silences this perf tools build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/pe

[PATCH 04/12] perf sort: Add sort option for data page size

2020-11-17 Thread kan . liang
From: Kan Liang Add a new sort option "data_page_size" for --mem-mode sort. With this option applied, perf can sort and report by sample's data page size. Here is an example. perf report --stdio --mem-mode --sort=comm,symbol,phys_daddr,data_page_size # To display the perf.data header info, pl

[PATCH 00/12] Add the page size in the perf record (user tools)

2020-11-17 Thread kan . liang
From: Kan Liang Current perf can report both virtual addresses and physical addresses, but not the page size. Without the page size information of the utilized page, users cannot decide whether to promote/demote large pages to optimize memory usage. The kernel patches have been merged into tip p

[PATCH 05/12] perf mem: Factor out a function to generate sort order

2020-11-17 Thread kan . liang
From: Kan Liang Now, "--phys-data" is the only option which impacts the sort order. A simple "if else" is enough to handle the option. But there will be more options added, e.g. "--data-page-size", which also impact the sort order. The code will become too complex to be maintained. Divide the so

[PATCH 07/12] perf mem: Support data page size

2020-11-17 Thread kan . liang
From: Kan Liang Add option --data-page-size in "perf mem" to record/report data page size. Here are some examples. perf mem --phys-data --data-page-size report -D # PID, TID, IP, ADDR, PHYS ADDR, DATA PAGE SIZE, LOCAL WEIGHT, DSRC, # SYMBOL 20134 20134 0xb5bd2fd0 0x0169a274e96a308

[PATCH 06/12] perf mem: Clean up output format

2020-11-17 Thread kan . liang
From: Kan Liang Now, "--phys-data" is the only option which impacts the output format. A simple "if else" is enough to handle the option. But there will be more options added, e.g. "--data-page-size", which also impact the output format. The code will become too complex to be maintained. Divide

Re: [PATCH 03/24] x86/resctrl: Add resctrl_arch_get_num_closid()

2020-11-17 Thread Reinette Chatre
Hi James, On 10/30/2020 9:10 AM, James Morse wrote: resctrl chooses whether to enable CDP, once it does, half the number of closid are available. MPAM doesn't behave like this, an in-kernel user of MPAM could be 'using CDP' while resctrl is not. To move the 'half the closids' behaviour to be pa

[PATCH 11/12] perf report: Add support for PERF_SAMPLE_CODE_PAGE_SIZE

2020-11-17 Thread kan . liang
From: Stephane Eranian Add a new sort dimension "code_page_size" for common sort. With this option applied, perf can sort and report by sample's code page size. For example, perf report --stdio --sort=comm,symbol,code_page_size # To display the perf.data header info, please use # --header/--he

[PATCH 10/12] perf script: Add support for PERF_SAMPLE_CODE_PAGE_SIZE

2020-11-17 Thread kan . liang
From: Stephane Eranian Display sampled code page sizes when PERF_SAMPLE_CODE_PAGE_SIZE was set. For example, perf script --fields comm,event,ip,code_page_size dtlb mem-loads:uP:445777 4K dtlb mem-loads:uP:40f724 4K dtlb mem-loads:uP:

[PATCH 12/12] perf test: Add test case for PERF_SAMPLE_CODE_PAGE_SIZE

2020-11-17 Thread kan . liang
From: Stephane Eranian Extend sample-parsing test cases to support new sample type PERF_SAMPLE_CODE_PAGE_SIZE. Signed-off-by: Stephane Eranian --- tools/perf/tests/sample-parsing.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/perf/tests/sample-parsing.c b/too

[PATCH 03/12] perf script: Support data page size

2020-11-17 Thread kan . liang
From: Kan Liang Display the data page size if it is available. Can be configured by the user, for example: perf script --fields comm,event,phys_addr,data_page_size dtlb mem-loads:uP:3fec82ea8 4K dtlb mem-loads:uP:3fec82e90 4K dtlb mem-loads:u

[PATCH 08/12] perf test: Add test case for PERF_SAMPLE_DATA_PAGE_SIZE

2020-11-17 Thread kan . liang
From: Kan Liang Extend sample-parsing test cases to support new sample type PERF_SAMPLE_DATA_PAGE_SIZE. Signed-off-by: Kan Liang --- tools/perf/tests/sample-parsing.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/perf/tests/sample-parsing.c b/tools/perf/tests/

[PATCH 09/12] perf tools: Add support for PERF_SAMPLE_CODE_PAGE_SIZE

2020-11-17 Thread kan . liang
From: Stephane Eranian Adds the infrastructure to sample the code address page size. Introduce a new --code-page-size option for perf record. Signed-off-by: Stephane Eranian --- tools/perf/Documentation/perf-record.txt | 3 +++ tools/perf/builtin-record.c | 2 ++ tools/perf/uti

[PATCH 02/12] perf record: Support new sample type for data page size

2020-11-17 Thread kan . liang
From: Kan Liang Support new sample type PERF_SAMPLE_DATA_PAGE_SIZE for page size. Add new option --data-page-size to record sample data page size. Signed-off-by: Kan Liang --- tools/perf/Documentation/perf-record.txt | 3 +++ tools/perf/builtin-record.c | 2 ++ tools/perf/util/

Re: [PATCH 1/2] fpga: dfl: refactor cci_enumerate_feature_devs()

2020-11-17 Thread Tom Rix
On 11/16/20 5:25 PM, matthew.gerl...@linux.intel.com wrote: > From: Matthew Gerlach > > In preparation of looking for dfls based on a vendor > specific pcie capability, move code that assumes > Bar0/offset0 as start of DFL to its own function. > > Signed-off-by: Matthew Gerlach > --- > drivers

Re: [PATCH v9 6/9] secretmem: add memcg accounting

2020-11-17 Thread Shakeel Butt
On Tue, Nov 17, 2020 at 11:49 AM Roman Gushchin wrote: > > On Tue, Nov 17, 2020 at 06:29:29PM +0200, Mike Rapoport wrote: > > From: Mike Rapoport > > > > Account memory consumed by secretmem to memcg. The accounting is updated > > when the memory is actually allocated and freed. > > > > Signed-of

Re: [PATCH v11 01/16] AER: aer_root_reset() non-native handling

2020-11-17 Thread Kuppuswamy, Sathyanarayanan
On 11/17/20 11:19 AM, Sean V Kelley wrote: If an OS has not been granted AER control via _OSC, then the OS should not make changes to PCI_ERR_ROOT_COMMAND and PCI_ERR_ROOT_STATUS related registers. Per section 4.5.1 of the System Firmware Intermediary (SFI) _OSC and DPC Updates ECN [1], this b

[PATCH bpf v7 1/2] lib/strncpy_from_user.c: Don't overcopy bytes after NUL terminator

2020-11-17 Thread Daniel Xu
do_strncpy_from_user() may copy some extra bytes after the NUL terminator into the destination buffer. This usually does not matter for normal string operations. However, when BPF programs key BPF maps with strings, this matters a lot. A BPF program may read strings from user memory by calling the

[PATCH bpf v7 0/2] Fix bpf_probe_read_user_str() overcopying

2020-11-17 Thread Daniel Xu
6ae08ae3dea2 ("bpf: Add probe_read_{user, kernel} and probe_read_{user, kernel}_str helpers") introduced a subtle bug where bpf_probe_read_user_str() would potentially copy a few extra bytes after the NUL terminator. This issue is particularly nefarious when strings are used as map keys, as seemin

[PATCH bpf v7 2/2] selftest/bpf: Test bpf_probe_read_user_str() strips trailing bytes after NUL

2020-11-17 Thread Daniel Xu
Previously, bpf_probe_read_user_str() could potentially overcopy the trailing bytes after the NUL due to how do_strncpy_from_user() does the copy in long-sized strides. The issue has been fixed in the previous commit. This commit adds a selftest that ensures we don't regress bpf_probe_read_user_st

Re: [PATCH][next] nfp: tls: Fix unreachable code issue

2020-11-17 Thread Simon Horman
On Tue, Nov 17, 2020 at 11:13:47AM -0600, Gustavo A. R. Silva wrote: > Fix the following unreachable code issue: > >drivers/net/ethernet/netronome/nfp/crypto/tls.c: In function > 'nfp_net_tls_add': >include/linux/compiler_attributes.h:208:41: warning: statement will never > be executed [

Re: [PATCH v9 3/3] mm/madvise: introduce process_madvise() syscall: an external memory hinting API

2020-11-17 Thread Linus Torvalds
On Mon, Nov 16, 2020 at 7:51 AM Minchan Kim wrote: > > Let me send a patch with your SoB if you don't mind. Eric, can you ack this SoB and I'll apply it to me tree? Or is it already queued up somewhere else? Linus

Re: [git pull] Input updates for v5.10-rc4

2020-11-17 Thread pr-tracker-bot
The pull request you sent on Tue, 17 Nov 2020 11:23:51 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0fa8ee0d9ab95c9350b8b84574824d9a384a9f7d Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [PATCH v11 02/16] PCI/RCEC: Add RCEC class code and extended capability

2020-11-17 Thread Kuppuswamy, Sathyanarayanan
Hi, On 11/17/20 11:19 AM, Sean V Kelley wrote: From: Qiuxu Zhuo A PCIe Root Complex Event Collector (RCEC) has base class 0x08, sub-class 0x07, and programming interface 0x00. Add the class code 0x0807 to identify RCEC devices and add #defines for the RCEC Endpoint Association Extended Capabi

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

2020-11-17 Thread matthew . gerlach
On Tue, 17 Nov 2020, Wu, Hao wrote: Subject: [PATCH 2/2] fpga: dfl: look for vendor specific capability From: Matthew Gerlach A DFL may not begin at offset 0 of BAR 0. A PCIe vendor specific capability can be used to specify the start of a number of DFLs. Signed-off-by: Matthew Gerlach

Re: [PATCH 9/9] platform/surface: Add Surface ACPI Notify driver

2020-11-17 Thread Randy Dunlap
On 11/15/20 11:21 AM, Maximilian Luz wrote: > diff --git a/drivers/platform/surface/Kconfig > b/drivers/platform/surface/Kconfig > index cecad7a0cb7b..3b0da86546fa 100644 > --- a/drivers/platform/surface/Kconfig > +++ b/drivers/platform/surface/Kconfig > @@ -40,6 +40,26 @@ config SURFACE_3_POWER_O

Re: [PATCH v11 03/16] PCI/RCEC: Bind RCEC devices to the Root Port driver

2020-11-17 Thread Kuppuswamy, Sathyanarayanan
On 11/17/20 11:19 AM, Sean V Kelley wrote: From: Qiuxu Zhuo If a Root Complex Integrated Endpoint (RCiEP) is implemented, it may signal errors through a Root Complex Event Collector (RCEC). Each RCiEP must be associated with no more than one RCEC. For an RCEC (which is technically not a Br

Re: [PATCH 5/6] remoteproc/pru: Add support for various PRU cores on K3 AM65x SoCs

2020-11-17 Thread Suman Anna
Hi Greg, On 11/14/20 2:46 AM, Grzegorz Jaszczyk wrote: > From: Suman Anna > > The K3 AM65x family of SoCs have the next generation of the PRU-ICSS > processor subsystem, commonly referred to as ICSSG. Each ICSSG processor > subsystem on AM65x SR1.0 contains two primary PRU cores and two new > au

Re: [PATCH] Input: sunkbd - fix UAF in sunkbd_reinit()

2020-11-17 Thread Dmitry Torokhov
Hi Yang, On Tue, Nov 17, 2020 at 09:27:51PM +0800, Yang Yingliang wrote: > > After sunkbd->tq is added to workqueue, before scheduled work finish, sunkbd > is > freed by sunkbd_disconnect(), when sunkbd is used in sunkbd_reinit(), it > causes > a UAF. Fix this by calling flush_scheduled_work()

Re: [PATCH v11 05/16] PCI/ERR: Rename reset_link() to reset_subordinates()

2020-11-17 Thread Kuppuswamy, Sathyanarayanan
Hi, On 11/17/20 11:19 AM, Sean V Kelley wrote: reset_link() appears to be misnamed. The point is to reset any devices below a given bridge, so rename it to reset_subordinates() to make it clear that we are passing a bridge with the intent to reset the devices below it. [bhelgaas: fix reset_sub

[PATCH 1/4] dt-bindings: arm: samsung: document SMDK2416 board binding

2020-11-17 Thread Krzysztof Kozlowski
Add binding for the SMDK2416 board. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/arm/samsung/samsung-boards.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/

[PATCH 4/4] ARM: dts: s3c6410: correct SMDK6410 board compatible

2020-11-17 Thread Krzysztof Kozlowski
The SMDK6410 DTS was incorrectly called mini6410, probably copy-paste from FriendlyARM Mini6410 board. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s3c6410-smdk6410.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/s3c6410-smdk6410.dts b/arch/

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