Re: [PATCH v2 1/3] dt-bindings: pinctrl: qcom: Define common TLMM binding

2021-02-11 Thread Linus Walleij
On Tue, Jan 26, 2021 at 5:26 AM Bjorn Andersson wrote: > Several properties are shared between all TLMM bindings. By providing a > common binding to define these properties each platform's binding can be > reduced to just listing which of these properties should be checked for > - or further spec

[PATCH 4.19 00/27] 4.19.176-rc2 review

2021-02-11 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.19.176 release. There are 27 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. Responses should be made by Sun, 14 Feb 2021 07:42:29 +. Anything re

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-11 Thread Amir Goldstein
On Fri, Feb 12, 2021 at 6:47 AM Nicolas Boichat wrote: > > Filesystems such as procfs and sysfs generate their content at > runtime. This implies the file sizes do not usually match the > amount of data that can be read from the file, and that seeking > may not work as intended. > > This will be u

Re: [PATCH] virt: acrn: Fix vCPU removing code build error

2021-02-11 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 12:57:24PM +0800, shuo.a@intel.com wrote: > From: Shuo Liu > > vCPU removing code depends on CONFIG_HOTPLUG_CPU as it uses remove_cpu() > and add_cpu(). Make the vCPU removing interface building with > CONFIG_HOTPLUG_CPU. > > ../drivers/virt/acrn/hsm.c: In function ‘r

Re: [GIT PULL v2] extcon next for v5.12

2021-02-11 Thread Greg KH
On Fri, Feb 12, 2021 at 02:19:37PM +0900, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-next pull request for v5.12. I add detailed description of > this pull request on below. Please pull extcon with following updates. > > Changes from v1: > - Add missing committer information > > Best Re

Re: [PATCH v6 0/2] pinctrl: qcom: Add SM8350 pinctrl support

2021-02-11 Thread Linus Walleij
On Fri, Feb 5, 2021 at 3:01 PM Vinod Koul wrote: > This adds binding and driver for TLMM block found in SM8350 SoC > > The binding is dependent on TLMM common binding from Bjorn: > > https://lore.kernel.org/linux-arm-msm/20210126042650.1725176-1-bjorn.anders...@linaro.org > > Changes in v6: >

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-11 Thread Greg KH
On Fri, Feb 12, 2021 at 12:44:00PM +0800, Nicolas Boichat wrote: > Filesystems such as procfs and sysfs generate their content at > runtime. This implies the file sizes do not usually match the > amount of data that can be read from the file, and that seeking > may not work as intended. > > This w

Re: [PATCH] scripts: Fix linking extract-cert against libcrypto

2021-02-11 Thread Rolf Eike Beer
Am Donnerstag, 11. Februar 2021, 11:29:33 CET schrieb Rolf Eike Beer: > I'm just guessing, but your build error looks like you are also > cross-building the tools, which is wrong. You want them to be host-tools. > So don't export PKG_CONFIG_SYSROOT_DIR, it would then try to link target > libraries

Re: [PATCH v2] PCI: designware-ep: Fix the reference to pci->num_{ib,ob}_windows before setting

2021-02-11 Thread Kunihiko Hayashi
Cc: Hou Zhiqiang I found that this patch would cause null pointer dereference exception when removing the function link. If once linking the test function to the controller, # ln -s functions/pci_epf_test/test controllers/6600.pcie-ep/ and unlinking it immediately, # rm controllers/660

Re: [PATCH net-next v2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-11 Thread Greg KH
On Thu, Feb 11, 2021 at 08:16:15PM -0500, min.li...@renesas.com wrote: > From: Min Li > > This driver supports 1588 related functions of ClockMatrix(TM) > and 82P33xxx families of timing and synchronization devices. > > The driver is developed to be only used by Renesas PTP Clock > Manager for L

Re: kernel BUG at mm/zswap.c:1275! (rc6 - git 61556703b610)

2021-02-11 Thread Oleksandr Natalenko
Hello. On Thu, Feb 11, 2021 at 10:43:18AM +, Song Bao Hua (Barry Song) wrote: > Are you using zsmalloc? There is a known bug on the combination > of zsmalloc and zswap, fixed by patches of tiantao: > > mm: set the sleep_mapped to true for zbud and z3fold > mm/zswap: fix variable 'entry' is un

Re: [PATCH 4.19 00/24] 4.19.176-rc1 review

2021-02-11 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 10:16:11AM +0530, Naresh Kamboju wrote: > On Thu, 11 Feb 2021 at 20:36, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.19.176 release. > > There are 24 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH net-next v2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-11 Thread Greg KH
On Thu, Feb 11, 2021 at 08:16:15PM -0500, min.li...@renesas.com wrote: > +static int > +rsmu_open(struct inode *iptr, struct file *fptr) > +{ > + struct rsmu_cdev *rsmu; > + > + rsmu = container_of(iptr->i_cdev, struct rsmu_cdev, rsmu_cdev); > + if (!rsmu) > + return -EAGAIN

Re: [PATCH v2] drm/msm: a6xx: Make sure the SQE microcode is safe

2021-02-11 Thread Akhil P Oommen
On 2/11/2021 9:32 PM, Jordan Crouse wrote: On Thu, Feb 11, 2021 at 06:50:28PM +0530, Akhil P Oommen wrote: On 2/10/2021 6:22 AM, Jordan Crouse wrote: Most a6xx targets have security issues that were fixed with new versions of the microcode(s). Make sure that we are booting with a safe version o

[PATCH] Documentation: connector: Update the description of sink-vdos

2021-02-11 Thread Kyle Tso
Remove the acronym "VDM" and replace it with the full name "Vendor Defined Message". Signed-off-by: Kyle Tso --- .../devicetree/bindings/connector/usb-connector.yaml | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/connector/usb-c

Re: [PATCH v2 0/2] of: of_device.h cleanups

2021-02-11 Thread Greg Kroah-Hartman
On Thu, Feb 11, 2021 at 05:27:43PM -0600, Rob Herring wrote: > This is a couple of cleanups for of_device.h. They fell out from my > attempt at decoupling of_device.h and of_platform.h which is a mess > and I haven't finished, but there's no reason to wait on these. Reviewed-by: Greg Kroah-Hartman

[PATCH -next] staging: nvec: minor coding style fix

2021-02-11 Thread Fatih Yildirim
Fix for the below coding style warning. Warning: Move const after static - use 'static const int' Signed-off-by: Fatih Yildirim --- drivers/staging/nvec/nvec_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging/nvec/nvec

[PATCH 10/13] dt-bindings: watchdog: Add compatible for SC7280 SoC

2021-02-11 Thread Rajendra Nayak
From: Sai Prakash Ranjan Add compatible for watchdog timer on SC7280 SoC. Signed-off-by: Sai Prakash Ranjan Signed-off-by: Rajendra Nayak --- Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog

[PATCH 11/13] arm64: dts: qcom: sc7280: Add APSS watchdog node

2021-02-11 Thread Rajendra Nayak
From: Sai Prakash Ranjan Add APSS (Application Processor Subsystem) watchdog DT node for SC7280 SoC. Signed-off-by: Sai Prakash Ranjan Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7

[PATCH 13/13] arm64: dts: qcom: sc7280: Add cpuidle states

2021-02-11 Thread Rajendra Nayak
From: Maulik Shah Add cpuidle states for little and big cpus. Signed-off-by: Maulik Shah Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 78 1 file changed, 78 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arc

[PATCH 04/13] dt-bindings: qcom,pdc: Add compatible for sc7280

2021-02-11 Thread Rajendra Nayak
Add the compatible string for sc7180 SoC from Qualcomm Signed-off-by: Rajendra Nayak --- Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt b/Documentation/d

[PATCH 08/13] arm64: dts: qcom: sc7280: Add device node for APPS SMMU

2021-02-11 Thread Rajendra Nayak
From: Sai Prakash Ranjan Adding device node for APPS SMMU available on SC7280 chipset. This is shared among the multiple client devices such as display, video, usb, mmc and others. Signed-off-by: Sai Prakash Ranjan Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 89 ++

[PATCH 12/13] arm64: dts: qcom: sc7280: Add SPMI PMIC arbiter device for SC7280

2021-02-11 Thread Rajendra Nayak
From: satya priya Add SPMI PMIC arbiter device to communicate with PMICs attached to SPMI bus. Signed-off-by: satya priya Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc

[PATCH 09/13] arm64: dts: qcom: Add reserved memory for fw

2021-02-11 Thread Rajendra Nayak
From: Maulik Shah Add fw reserved memory area for CPUCP and AOP. Signed-off-by: Maulik Shah Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/s

[PATCH 07/13] dt-bindings: arm-smmu: Add compatible for SC7280 SoC

2021-02-11 Thread Rajendra Nayak
From: Sai Prakash Ranjan Add the SoC specific compatible for SC7280 implementing arm,mmu-500. Signed-off-by: Sai Prakash Ranjan Signed-off-by: Rajendra Nayak --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/

[PATCH 06/13] arm64: dts: qcom: SC7280: Add rpmhcc clock controller node

2021-02-11 Thread Rajendra Nayak
Add rpmhcc clock controller node for SC7280. Also add the 'fixed clock' nodes which can now be referenced in gcc. Signed-off-by: Taniya Das Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 55 1 file changed, 55 insertions(+) diff --

[PATCH 00/13] Add binding updates and DT files for SC7280 SoC

2021-02-11 Thread Rajendra Nayak
This series includes a few minor binding updates and base device tree files (to boot to shell) for SC7280 SoC and the IDP board using this SoC. The series is dependent on a few driver patches to merge first, for gcc, rpmhcc and pinctrl https://lore.kernel.org/patchwork/project/lkml/list/?series=48

[PATCH 03/13] arm64: dts: sc7280: Add basic dts/dtsi files for SC7280 soc

2021-02-11 Thread Rajendra Nayak
Add initial device tree support for the SC7280 SoC and the IDP boards based on this SoC Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sc7280-idp.dts | 47 + arch/arm64/boot/dts/qcom/sc7280.dtsi| 294 ++

[PATCH 02/13] dt-bindings: firmware: scm: Add SC7280 support

2021-02-11 Thread Rajendra Nayak
Add compatible for SC7280 SoC Signed-off-by: Rajendra Nayak --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt index 784

[PATCH 05/13] arm64: dts: qcom: sc7280: Add RSC and PDC devices

2021-02-11 Thread Rajendra Nayak
From: Maulik Shah Add PDC interrupt controller along with apps RSC device. Also add reserved memory for command_db. Signed-off-by: Maulik Shah Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 44 1 file changed, 44 insertions(+) di

[PATCH 01/13] dt-bindings: arm: qcom: Document SC7280 SoC and board

2021-02-11 Thread Rajendra Nayak
Document the SC7280 SoC and the IDP board bindings Signed-off-by: Rajendra Nayak --- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index

Re: Memory keys and io_uring.

2021-02-11 Thread Dave Hansen
On 2/11/21 10:59 PM, Aneesh Kumar K.V wrote: > A read syscall do fail with EFAULT. But we allow read via io_uring > syscalls. Is that ok? In short, yes. As much as I'd like to apply pkey permissions to all accesses, when we don't have the CPU registers around, we don't have a choice: we have to

Re: [RFC PATCH 4/7] regulator: add property parsing and callbacks to set protection limits

2021-02-11 Thread Matti Vaittinen
On Thu, 2021-02-11 at 14:35 +0200, Matti Vaittinen wrote: > Add DT property parsing code and setting callback for regulator > over/under > voltage, over-current and temperature error limits. > > Signed-off-by: Matti Vaittinen > --- > drivers/regulator/core.c | 122 > ++

Re: [PATCH v6 6/7] dt-bindings: connector: Add SVDM VDO properties

2021-02-11 Thread Kyle Tso
On Fri, Feb 12, 2021 at 12:21 PM Guenter Roeck wrote: > > On Fri, Feb 05, 2021 at 11:34:14AM +0800, Kyle Tso wrote: > > Add bindings of VDO properties of USB PD SVDM so that they can be > > used in device tree. > > > > Signed-off-by: Kyle Tso > > Reviewed-by: Guenter Roeck > > Would it be possib

Re: [PATCH v6 3/7] usb: typec: tcpm: Determine common SVDM Version

2021-02-11 Thread Kyle Tso
On Fri, Feb 12, 2021 at 3:10 PM Kyle Tso wrote: > > On Fri, Feb 12, 2021 at 12:17 PM Guenter Roeck wrote: > > > > On Fri, Feb 05, 2021 at 11:34:11AM +0800, Kyle Tso wrote: > > > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > > > 6.4.4.2.3 Structured VDM Version > > > "The Structured VDM

Re: [PATCH 3/3] dma-contiguous: Type cast MAX_ORDER as unsigned int

2021-02-11 Thread Anshuman Khandual
On 2/11/21 1:34 PM, Christoph Hellwig wrote: > On Thu, Feb 11, 2021 at 11:52:11AM +0530, Anshuman Khandual wrote: >> Type cast MAX_ORDER as unsigned int to fix the following build warning. >> >> In file included from ./include/linux/kernel.h:14, >> from ./include/asm-generic/bug

Re: [PATCH v10 2/7] i2c: Allow an ACPI driver to manage the device's power state during probe

2021-02-11 Thread Wolfram Sang
> I'm actually renaming this as I2C_DRV_ACPI_WAIVE_D0_PROBE, with similar > changes to the function names. I opportunistically assume the ack holds > still. :-) Rightfully so :) signature.asc Description: PGP signature

Re: [PATCH 1/3] mm/page_alloc: Fix pageblock_order when HUGETLB_PAGE_ORDER >= MAX_ORDER

2021-02-11 Thread Anshuman Khandual
On 2/11/21 1:30 PM, Christoph Hellwig wrote: >> -if (HPAGE_SHIFT > PAGE_SHIFT) >> +if ((HPAGE_SHIFT > PAGE_SHIFT) && (HUGETLB_PAGE_ORDER < MAX_ORDER)) > > No need for the braces. Will drop them.

Re: [PATCH 2/3] arm64/hugetlb: Enable HUGETLB_PAGE_SIZE_VARIABLE

2021-02-11 Thread Anshuman Khandual
On 2/11/21 1:31 PM, Christoph Hellwig wrote: > On Thu, Feb 11, 2021 at 11:52:10AM +0530, Anshuman Khandual wrote: >> MAX_ORDER which invariably depends on FORCE_MAX_ZONEORDER can be a variable >> for a given page size, depending on whether TRANSPARENT_HUGEPAGE is enabled >> or not. In certain pa

Re: [PATCH v6 3/7] usb: typec: tcpm: Determine common SVDM Version

2021-02-11 Thread Kyle Tso
On Fri, Feb 12, 2021 at 12:17 PM Guenter Roeck wrote: > > On Fri, Feb 05, 2021 at 11:34:11AM +0800, Kyle Tso wrote: > > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > > 6.4.4.2.3 Structured VDM Version > > "The Structured VDM Version field of the Discover Identity Command > > sent and

Re: [PATCH 0/3] mm/page_alloc: Fix pageblock_order with HUGETLB_PAGE_SIZE_VARIABLE

2021-02-11 Thread Anshuman Khandual
On 2/11/21 2:07 PM, David Hildenbrand wrote: > On 11.02.21 07:22, Anshuman Khandual wrote: >> The following warning gets triggered while trying to boot a 64K page size >> without THP config kernel on arm64 platform. >> >> WARNING: CPU: 5 PID: 124 at mm/vmstat.c:1080 __fragmentation_index+0xa4/0xc

Memory keys and io_uring.

2021-02-11 Thread Aneesh Kumar K.V
Hi, I am trying to estabilish the behaviour we should expect when passing a buffer with memory keys attached to io_uring syscalls. As show in the blow test /* * gcc -Wall -O2 -D_GNU_SOURCE -o pkey_uring pkey_uring.c -luring */ #include #include #include #include #include #include #incl

Fair Pay O-S cont.. Internet Optimization.

2021-02-11 Thread Ywe Cærlyn
Suggesting also a major optimization of the internet, with the Saturn Low-Latency Protocol, where we cut all that can be to binary (no HTML fully typed out words), No OS on servers, but Saturn X O-S on desktop. In line with Fair Pay thinking. Reducing ping time in games, as many also want! Se

Re: [PATCH] rtw88: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()

2021-02-11 Thread Felix Fietkau
On 2021-02-12 03:13, Shuah Khan wrote: > ieee80211_find_sta_by_ifaddr() must be called under the RCU lock and > the resulting pointer is only valid under RCU lock as well. > > Fix rtw_rx_addr_match_iter() to hold RCU read lock before it calls > ieee80211_find_sta_by_ifaddr() and release it when th

Re: [PATCH v7 3/5] counter: Add character device interface

2021-02-11 Thread William Breathitt Gray
On Wed, Dec 30, 2020 at 03:04:40PM +, Jonathan Cameron wrote: > On Fri, 25 Dec 2020 19:15:36 -0500 > William Breathitt Gray wrote: > > > This patch introduces a character device interface for the Counter > > subsystem. Device data is exposed through standard character device read > > operatio

Re: [PATCH 1/2] ath9k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()

2021-02-11 Thread Felix Fietkau
On 2021-02-12 03:13, Shuah Khan wrote: > ieee80211_find_sta_by_ifaddr() must be called under the RCU lock and > the resulting pointer is only valid under RCU lock as well. > > Fix ath_tx_process_buffer() to hold RCU read lock before it calls > ieee80211_find_sta_by_ifaddr() and release it when the

grcan.c:undefined reference to `devm_platform_ioremap_resource'

2021-02-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: 65725aa8829f0042db888c2b7e6cc8f1d79e7131 can: grcan: use devm_platform_ioremap_resource() to simplify code date: 1 year, 3 months ago config: s390-randconfi

RE: [PATCH v2 2/3] dt-bindings: fpga: Add binding doc for versal fpga manager

2021-02-11 Thread Nava kishore Manne
Hi Rob, Please find my response inline. > -Original Message- > From: Rob Herring > Sent: Thursday, February 11, 2021 8:26 PM > To: Nava kishore Manne > Cc: linux-arm-ker...@lists.infradead.org; m...@kernel.org; linux- > f...@vger.kernel.org; git ; Appana Durga Kedareswara Rao > ; device

Re: [RFC PATCH v4 00/17] virtio/vsock: introduce SOCK_SEQPACKET support

2021-02-11 Thread Arseny Krasnov
On 11.02.2021 17:57, Stefano Garzarella wrote: > Hi Arseny, > > On Mon, Feb 08, 2021 at 09:32:59AM +0300, Arseny Krasnov wrote: >> On 07.02.2021 19:20, Michael S. Tsirkin wrote: >>> On Sun, Feb 07, 2021 at 06:12:56PM +0300, Arseny Krasnov wrote: This patchset impelements support of SOCK_S

mmotm 2021-02-11-22-05 uploaded

2021-02-11 Thread akpm
The mm-of-the-moment snapshot 2021-02-11-22-05 has been uploaded to https://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: https://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH v7 5/5] counter: 104-quad-8: Add IRQ support for the ACCES 104-QUAD-8

2021-02-11 Thread William Breathitt Gray
On Wed, Dec 30, 2020 at 03:31:15PM +, Jonathan Cameron wrote: > On Fri, 25 Dec 2020 19:15:38 -0500 > William Breathitt Gray wrote: > > > The LSI/CSI LS7266R1 chip provides programmable output via the FLG pins. > > When interrupts are enabled on the ACCES 104-QUAD-8, they occur whenever > > FL

[GIT PULL] xen: branch for v5.11-rc8

2021-02-11 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-5.11-rc8-tag xen: branch for v5.11-rc8 It contains a single fix for an issue introduced in 5.11: when running as a Xen guest on Arm systems the kernel will hang during boot. Thanks.

Re: [PATCH] ARM: Implement Clang's SLS mitigation

2021-02-11 Thread Nathan Chancellor
Hi Jian, On Thu, Feb 11, 2021 at 09:14:58PM -0800, Jian Cai wrote: > This patch adds a config CONFIG_HARDEN_SLS_ALL that can be used to turn Drop "a config". > on -mharden-sls=all, which mitigates the straight-line speculation > vulnerability, or more commonly known as Spectre, Meldown.

arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared

2021-02-11 Thread kernel test robot
ago config: m68k-randconfig-r001-20210211 (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

Re: [PATCH 1/2] quota: Add mountpath based quota support

2021-02-11 Thread kernel test robot
Hi Sascha, I love your patch! Yet something to improve: [auto build test ERROR on arm64/for-next/core] [also build test ERROR on tip/x86/asm m68k/for-next hp-parisc/for-next powerpc/next s390/features linus/master v5.11-rc7 next-20210211] [cannot apply to sparc/master] [If your patch is applied

Re: [PATCH V3 11/14] coresight: sink: Add TRBE driver

2021-02-11 Thread Anshuman Khandual
On 2/11/21 12:30 AM, Mathieu Poirier wrote: > On Wed, Jan 27, 2021 at 02:25:35PM +0530, Anshuman Khandual wrote: >> Trace Buffer Extension (TRBE) implements a trace buffer per CPU which is >> accessible via the system registers. The TRBE supports different addressing >> modes including CPU virtu

Re: [PATCH v3] printk: Userspace format enumeration support

2021-02-11 Thread kernel test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on jeyu/modules-next] [also build test ERROR on linux/master soc/for-next openrisc/for-next powerpc/next uml/linux-next asm-generic/master linus/master v5.11-rc7 next-20210211] [cannot apply to tip/x86/core

Re: [PATCH] mt76: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()

2021-02-11 Thread Felix Fietkau
On 2021-02-12 03:13, Shuah Khan wrote: > ieee80211_find_sta_by_ifaddr() must be called under the RCU lock and > the resulting pointer is only valid under RCU lock as well. > > Fix mt76_check_sta() to hold RCU read lock before it calls > ieee80211_find_sta_by_ifaddr() and release it when the resu

drivers/mmc/host/sdhci-esdhc-imx.c:343:19: warning: unused function 'is_imx6q_usdhc'

2021-02-11 Thread kernel test robot
Hi Krzysztof, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: 54d8454436a205682bd89d66d8d9eedbc8452d15 mmc: host: Enable compile testing of multiple drivers date:

Re: [PATCH 6/6] vfs: Disallow copy_file_range on generated file systems

2021-02-11 Thread Nicolas Boichat
On Fri, Feb 12, 2021 at 12:59 PM Darrick J. Wong wrote: > > On Thu, Feb 11, 2021 at 08:53:47PM -0800, Darrick J. Wong wrote: > > On Fri, Feb 12, 2021 at 12:44:05PM +0800, Nicolas Boichat wrote: > > > copy_file_range (which calls generic_copy_file_checks) uses the > > > inode file size to adjust th

Re: [PATCH v2 2/6] platform/surface: aggregator_registry: Add base device hub

2021-02-11 Thread kernel test robot
Hi Maximilian, I love your patch! Yet something to improve: [auto build test ERROR on next-20210211] [cannot apply to linus/master v5.11-rc7 v5.11-rc6 v5.11-rc5 v5.11-rc7] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '-

[git pull] drm fixes for 5.11 final

2021-02-11 Thread Dave Airlie
(resent with a subject this time) Hi Linus, Regular fixes for final, there is a ttm regression fix, dp-mst fix, one amdgpu revert, two i915 fixes, and some misc fixes for sun4i, xlnx, and vc4. All pretty quiet and don't think we have any known outstanding regressions. Dave. drm-fixes-2021-02-12

[GIT PULL v2] extcon next for v5.12

2021-02-11 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v5.12. I add detailed description of this pull request on below. Please pull extcon with following updates. Changes from v1: - Add missing committer information Best Regards, Chanwoo Choi The following changes since commit 6ee1d745b7c9fd573fba142

[PATCH] ARM: Implement Clang's SLS mitigation

2021-02-11 Thread Jian Cai
This patch adds a config CONFIG_HARDEN_SLS_ALL that can be used to turn on -mharden-sls=all, which mitigates the straight-line speculation vulnerability, or more commonly known as Spectre, Meldown. Notice -mharden-sls= has other options as below, and this config turns on the strongest option. all

[PATCH net-next 1/2] ptp: ptp_clockmatrix: Add wait_for_sys_apll_dpll_lock.

2021-02-11 Thread vincent.cheng.xh
From: Vincent Cheng Part of the device initialization aligns the rising edge of the output clock to the internal 1 PPS clock. If the system APLL and DPLL is not locked, then the alignment will fail and there will be a fixed offset between the internal 1 PPS clock and the output clock. After load

[PATCH net-next 2/2] ptp: ptp_clockmatrix: Add alignment of 1 PPS to idtcm_perout_enable.

2021-02-11 Thread vincent.cheng.xh
From: Vincent Cheng When enabling output using PTP_CLK_REQ_PEROUT, need to align the output clock to the internal 1 PPS clock. Signed-off-by: Vincent Cheng --- drivers/ptp/ptp_clockmatrix.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/ptp/ptp_cl

[PATCH net-next 0/2] ptp: ptp_clockmatrix: Fix output 1 PPS alignment.

2021-02-11 Thread vincent.cheng.xh
From: Vincent Cheng This series fixes a race condition that may result in the output clock not aligned to internal 1 PPS clock. Part of device initialization is to align the rising edge of output clocks to the internal rising edge of the 1 PPS clock. If the system APLL and DPLL are not locked w

RE: [Linuxarm] Re: [PATCH for next v1 1/2] gpio: omap: Replace raw_spin_lock_irqsave with raw_spin_lock in omap_gpio_irq_handler()

2021-02-11 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Grygorii Strashko [mailto:grygorii.stras...@ti.com] > Sent: Friday, February 12, 2021 9:17 AM > To: Arnd Bergmann > Cc: luojiaxing ; Linus Walleij > ; Andy Shevchenko ; Andy > Shevchenko ; Santosh Shilimkar > ; Kevin Hilman ; open list:GPIO > SUBSYSTEM , linu

[PATCH] pinctrl: qcom: sc7280: Add GPIO wakeup interrupt map

2021-02-11 Thread Rajendra Nayak
From: Maulik Shah GPIOs that can be configured as wakeup sources, have their interrupt lines routed to PDC interrupt controller. Provide the interrupt map of the GPIO to its wakeup capable interrupt parent. Signed-off-by: Maulik Shah Signed-off-by: Rajendra Nayak --- drivers/pinctrl/qcom/pin

Re: [PATCH 6/6] vfs: Disallow copy_file_range on generated file systems

2021-02-11 Thread Darrick J. Wong
On Thu, Feb 11, 2021 at 08:53:47PM -0800, Darrick J. Wong wrote: > On Fri, Feb 12, 2021 at 12:44:05PM +0800, Nicolas Boichat wrote: > > copy_file_range (which calls generic_copy_file_checks) uses the > > inode file size to adjust the copy count parameter. This breaks > > with special filesystems li

[PATCH] virt: acrn: Fix vCPU removing code build error

2021-02-11 Thread shuo . a . liu
From: Shuo Liu vCPU removing code depends on CONFIG_HOTPLUG_CPU as it uses remove_cpu() and add_cpu(). Make the vCPU removing interface building with CONFIG_HOTPLUG_CPU. ../drivers/virt/acrn/hsm.c: In function ‘remove_cpu_store’: ../drivers/virt/acrn/hsm.c:389:3: error: implicit declaration of f

Re: general protection fault in tomoyo_socket_sendmsg_permission

2021-02-11 Thread Tetsuo Handa
On 2021/02/12 11:22, Tetsuo Handa wrote: > On 2021/02/12 10:34, Shuah Khan wrote: >> On 2/10/21 6:14 PM, Tetsuo Handa wrote: >>> (Dropping LSM ML because this is not a TOMOYO's bug.) >>> >>> On 2021/02/11 4:29, Shuah Khan wrote: This is a good find. I already replied to the thread to send a co

Re: sdhci.c:undefined reference to `mmc_can_gpio_cd'

2021-02-11 Thread Randy Dunlap
On 2/11/21 1:44 AM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb > commit: e65bb38824711559844ba932132f417bc5a355e2 mmc: sdhci: do not enable > card detect interrupt for gpio cd ty

Re: [PATCH 2/3] net:ethernet:rmnet:Support for downlink MAPv5 csum offload

2021-02-11 Thread kernel test robot
Hi Sharath, Thank you for the patch! Yet something to improve: [auto build test ERROR on ipvs/master] [also build test ERROR on linus/master sparc-next/master v5.11-rc7 next-20210211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH 6/6] vfs: Disallow copy_file_range on generated file systems

2021-02-11 Thread Darrick J. Wong
On Fri, Feb 12, 2021 at 12:44:05PM +0800, Nicolas Boichat wrote: > copy_file_range (which calls generic_copy_file_checks) uses the > inode file size to adjust the copy count parameter. This breaks > with special filesystems like procfs/sysfs/debugfs/tracefs, where > the file size appears to be zero

Re: [PATCH v2 0/2] hwmon: (pmbus) Add ST STPDDC60 pmbus driver

2021-02-11 Thread Guenter Roeck
On 2/4/21 5:20 AM, Erik Rosen wrote: > This patch series adds hardware monitoring support for the ST STPDDC60 > chip. The driver has been tested with a Flex BMR481 converter. > > The checkpatch script complains about an unneeded paranthesis in an > if-statement but gcc gives a warning if it is rem

Re: [PATCH] fs: generic_copy_file_checks: Do not adjust count based on file size

2021-02-11 Thread Nicolas Boichat
On Thu, Jan 28, 2021 at 1:57 PM Darrick J. Wong wrote: > > On Thu, Jan 28, 2021 at 08:46:04AM +0800, Nicolas Boichat wrote: [snip] > > Okay, so, based on this and Al's reply, I see 2 things we can do: > > 1. Go should probably not use copy_file_range in a common library > > function, as I don't s

Re: [PATCH 4.19 00/24] 4.19.176-rc1 review

2021-02-11 Thread Naresh Kamboju
On Thu, 11 Feb 2021 at 20:36, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.176 release. > There are 24 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 6/6] vfs: Disallow copy_file_range on generated file systems

2021-02-11 Thread Nicolas Boichat
copy_file_range (which calls generic_copy_file_checks) uses the inode file size to adjust the copy count parameter. This breaks with special filesystems like procfs/sysfs/debugfs/tracefs, where the file size appears to be zero, but content is actually returned when a read operation is performed. Ot

[PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-11 Thread Nicolas Boichat
Filesystems such as procfs and sysfs generate their content at runtime. This implies the file sizes do not usually match the amount of data that can be read from the file, and that seeking may not work as intended. This will be useful to disallow copy_file_range with input files from such filesyst

[PATCH 2/6] proc: Add FS_GENERATED_CONTENT to filesystem flags

2021-02-11 Thread Nicolas Boichat
procfs content is generated at runtime. Signed-off-by: Nicolas Boichat --- fs/proc/root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/root.c b/fs/proc/root.c index c7e3b1350ef8..7ed715a0f807 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c @@ -282,7 +282,7 @@ sta

[PATCH 5/6] tracefs: Add FS_GENERATED_CONTENT to filesystem flags

2021-02-11 Thread Nicolas Boichat
tracefs content is generated at runtime. Signed-off-by: Nicolas Boichat --- fs/tracefs/inode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c index 4b83cbded559..89980312c7a3 100644 --- a/fs/tracefs/inode.c +++ b/fs/tracefs/inode.c @@ -308,6 +308,7 @

[PATCH 4/6] debugfs: Add FS_GENERATED_CONTENT to filesystem flags

2021-02-11 Thread Nicolas Boichat
debugfs content is generated at runtime. Signed-off-by: Nicolas Boichat --- fs/debugfs/inode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index c35249497b9b..2bbc5e6d3041 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -279,6 +279,7 @

[PATCH 3/6] sysfs: Add FS_GENERATED_CONTENT to filesystem flags

2021-02-11 Thread Nicolas Boichat
sysfs content is generated at runtime. Signed-off-by: Nicolas Boichat --- fs/sysfs/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index e747c135c1d1..7e367ae5edc1 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c @@ -91,7 +91,7

[PATCH 0/6] Add generated flag to filesystem struct to block copy_file_range

2021-02-11 Thread Nicolas Boichat
We hit an issue when upgrading Go compiler from 1.13 to 1.15 [1], as we use Go's `io.Copy` to copy the content of `/sys/kernel/debug/tracing/trace` to a temporary file. Under the hood, Go 1.15 uses `copy_file_range` syscall to optimize the copy operation. However, that fails to copy any content wh

Re: [PATCH V7 1/3] kbuild: Add generic rule to apply fdtoverlay

2021-02-11 Thread Viresh Kumar
On 12-02-21, 12:07, Masahiro Yamada wrote: > BTW, I do not know how to use overlay. > Do we apply overlay in the build time? Ideally it can be applied at both build time and runtime, but we haven't allowed the runtime way until now in kernel. This patchset is all about applying it at build time.

Re: [PATCH 1/2] dt-bindings: remoteproc: qcom: pas: Add SM8350 remoteprocs

2021-02-11 Thread Vinod Koul
On 11-02-21, 12:52, Bjorn Andersson wrote: > On Wed 10 Feb 04:45 CST 2021, Vinod Koul wrote: > > > Add the SM8350 audio, compute, modem and sensor remoteprocs to the PAS > > DT binding. > > > > Signed-off-by: Vinod Koul > > --- > > .../devicetree/bindings/remoteproc/qcom,adsp.txt | 12 +

[PATCH] perf libperf: Remove unused xyarray.c

2021-02-11 Thread Ian Rogers
Migrated to libperf in: commit 4b247fa7314c ("libperf: Adopt xyarray class from perf") Signed-off-by: Ian Rogers --- tools/perf/util/xyarray.c | 33 - 1 file changed, 33 deletions(-) delete mode 100644 tools/perf/util/xyarray.c diff --git a/tools/perf/util/xyarr

include/linux/unaligned/be_byteshift.h:46:19: error: redefinition of 'get_unaligned_be32'

2021-02-11 Thread kernel test robot
Hi Gene, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: 1f4877218f7e2c2b914aeb69a8a0f47d59c74717 iio: adc: mt6360: Add ADC driver for MT6360 date: 3 months ago con

Re: [PATCH v5 3/3] MAINTAINERS: Add entry for Texas Instruments TPS23861 PoE PSE

2021-02-11 Thread Guenter Roeck
On Thu, Jan 21, 2021 at 02:44:34PM +0100, Robert Marko wrote: > Add maintainers entry for the Texas Instruments TPS23861 PoE PSE driver. > > Signed-off-by: Robert Marko > Cc: Luka Perkov > Reviewed-by: Guenter Roeck Applied. Thanks, Guenter > --- > Changes in v4: > * Add documentation file >

Re: [PATCH v5 2/3] hwmon: add Texas Instruments TPS23861 driver

2021-02-11 Thread Guenter Roeck
On Thu, Jan 21, 2021 at 02:44:33PM +0100, Robert Marko wrote: > Add basic monitoring support as well as port on/off control for Texas > Instruments TPS23861 PoE PSE IC. > > Signed-off-by: Robert Marko > Cc: Luka Perkov > Reviewed-by: Guenter Roeck Applied. Thanks, Guenter > --- > Changes in

Re: [PATCH v5 1/3] dt-bindings: hwmon: Add TI TPS23861 bindings

2021-02-11 Thread Guenter Roeck
On Thu, Jan 21, 2021 at 02:44:32PM +0100, Robert Marko wrote: > Document bindings for the Texas Instruments TPS23861 driver. > > Signed-off-by: Robert Marko > Cc: Luka Perkov > Reviewed-by: Rob Herring Applied. Thanks, Guenter > --- > Changes in v5: > * Drop uint32 reference > > Changes in

linux-next: manual merge of the spi tree with the powerpc tree

2021-02-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the spi tree got a conflict in: drivers/spi/spi-mpc52xx.c between commit: e10656114d32 ("spi: mpc52xx: Avoid using get_tbl()") from the powerpc tree and commit: 258ea99fe25a ("spi: spi-mpc52xx: Use new structure for SPI transfer delays") from the spi

Re: [PATCH v1 2/9] cpufreq: sfi-cpufreq: Remove driver for deprecated firmware

2021-02-11 Thread Viresh Kumar
On 11-02-21, 15:40, Andy Shevchenko wrote: > SFI-based platforms are gone. So does this driver. > > Signed-off-by: Andy Shevchenko > Acked-by: Linus Walleij > --- > drivers/cpufreq/Kconfig.x86 | 10 --- > drivers/cpufreq/Makefile | 1 - > drivers/cpufreq/sfi-cpufreq.c | 127 --

Re: [PATCH 5.4 00/24] 5.4.98-rc1 review

2021-02-11 Thread Naresh Kamboju
On Thu, 11 Feb 2021 at 20:36, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.98 release. > There are 24 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. > > Resp

Re: [PATCH] ext4: add .kunitconfig fragment to enable ext4-specific tests

2021-02-11 Thread Theodore Ts'o
On Tue, Feb 09, 2021 at 05:32:06PM -0800, Daniel Latypov wrote: > As of [1], we no longer want EXT4_KUNIT_TESTS and others to `select` > their deps. This means it can get harder to get all the right things > selected as we gain more tests w/ more deps over time. > > This patch (and [2]) proposes w

Re: [PATCH v6 6/7] dt-bindings: connector: Add SVDM VDO properties

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:14AM +0800, Kyle Tso wrote: > Add bindings of VDO properties of USB PD SVDM so that they can be > used in device tree. > > Signed-off-by: Kyle Tso Reviewed-by: Guenter Roeck Would it be possible to unify the dt definitions with the definitions in include/linux/usb

Re: [PATCH v6 7/7] usb: typec: tcpm: Get Sink VDO from fwnode

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:15AM +0800, Kyle Tso wrote: > Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config > configuration mechanism") removed the tcpc_config which includes the > Sink VDO and it is not yet added back with fwnode. Add it now. > > Signed-off-by: Kyle Tso Reviewed-by:

Re: [PATCH v6 5/7] usb: typec: displayport: Fill the negotiated SVDM Version in the header

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:13AM +0800, Kyle Tso wrote: > VDM header now requires SVDM Version. Get it from typec_partner. > > Signed-off-by: Kyle Tso Reviewed-by: Guenter Roeck > --- > Changes since v5: > - follow the changes of "usb: typec: Manage SVDM version" > > drivers/usb/typec/altm

Re: [PATCH v6 4/7] usb: typec: ucsi: Determine common SVDM Version

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:12AM +0800, Kyle Tso wrote: > This patch implements the following requirement in the Spec. > > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > 6.4.4.2.3 Structured VDM Version > "The Structured VDM Version field of the Discover Identity Command > sent and r

  1   2   3   4   5   6   7   8   9   10   >