[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

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 '-

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

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] 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

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 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 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

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] 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.

[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 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

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: [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

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

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 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

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] 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

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

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

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

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 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 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 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 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: 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 > ++

[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

[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 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 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 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 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 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 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 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 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 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 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 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

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 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

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 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 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: 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 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: [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] 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: [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 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

[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 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

Re: [PATCH v2 net-next 04/11] net: bridge: offload initial and final port flags through switchdev

2021-02-11 Thread Ido Schimmel
On Thu, Feb 11, 2021 at 01:23:52AM +0200, Vladimir Oltean wrote: > On Wed, Feb 10, 2021 at 12:59:49PM +0200, Ido Schimmel wrote: > > > > The reverse, during unlinking, would be to refuse unlinking if the upper > > > > has uppers of its own. netdev_upper_dev_unlink() needs to learn to > > > > return

Re: [PATCH] staging: rtl8723bs: remove obsolete commented out code

2021-02-11 Thread Dan Carpenter
On Thu, Feb 11, 2021 at 12:40:41AM +0530, karthik alapati wrote: > @@ -867,10 +845,8 @@ static void PHY_HandleSwChnlAndSetBW8723B( > if (bSetBandWidth) > pHalData->bSetChnlBW = true; > > - if (!pHalData->bSetChnlBW && !pHalData->bSwChnl) { > - /* DBG_871X("<= P

Re: [PATCH 0/9] Add support for SVM atomics in Nouveau

2021-02-11 Thread Christoph Hellwig
On Wed, Feb 10, 2021 at 01:59:13PM -0400, Jason Gunthorpe wrote: > Really what you want to do here is leave the CPU page in the VMA and > the page tables where it started and deny CPU access to the page. Then > all the proper machinery will continue to work. > > IMHO "migration" is the wrong idea

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

2021-02-11 Thread Christoph Hellwig
> - if (HPAGE_SHIFT > PAGE_SHIFT) > + if ((HPAGE_SHIFT > PAGE_SHIFT) && (HUGETLB_PAGE_ORDER < MAX_ORDER)) No need for the braces.

[PATCH net-next v4 4/9] net: phy: icplus: use the .soft_reset() of the phy-core

2021-02-11 Thread Michael Walle
The PHY core already resets the PHY before .config_init() if a .soft_reset() op is registered. Drop the open-coded ip1xx_reset(). Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn --- Changes since v3: - none Changes since v2: - none Changes since v1: - none drivers/net/phy/icplus.c |

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

2021-02-11 Thread Christoph Hellwig
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 page size and THP combinations HUGETLB_PAGE_ORDER can b

[PATCH net-next v4 5/9] net: phy: icplus: split IP101A/G driver

2021-02-11 Thread Michael Walle
Unfortunately, the IP101A and IP101G share the same PHY identifier. While most of the functions are somewhat backwards compatible, there is for example the APS_EN bit on the IP101A but on the IP101G this bit reserved. Also, the IP101G has many more functionalities. Deduce the model by accessing th

Re: [PATCH v7 3/4] x509: Add support for parsing x509 certs with ECDSA keys

2021-02-11 Thread kernel test robot
Hi Stefan, Thank you for the patch! Yet something to improve: [auto build test ERROR on cryptodev/master] [also build test ERROR on crypto/master security/next-testing v5.11-rc7 next-20210125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we s

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

2021-02-11 Thread Christoph Hellwig
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.h:20, > from ./arch/arm64/include/a

Re: [PATCH v1] mm, hwpoison: enable error handling on shmem thp

2021-02-11 Thread Oscar Salvador
On Tue, Feb 09, 2021 at 03:21:28PM +0900, Naoya Horiguchi wrote: > From: Naoya Horiguchi > > Currently hwpoison code checks PageAnon() for thp and refuses to handle > errors on non-anonymous thps (just for historical reason). We now > support non-anonymou thp like shmem one, so this patch sugges

Re: [PATCH v4 2/2] pinctrl: pinmux: Add pinmux-select debugfs file

2021-02-11 Thread Geert Uytterhoeven
Hi Drew, On Wed, Feb 10, 2021 at 11:33 PM Drew Fustini wrote: > Add "pinmux-select" to debugfs which will activate a function and group > when "" are written to the file. The write > operation pinmux_select() handles this by checking that the names map to > valid selectors and then calling ops->s

Re: [PATCH] usb: Replace lkml.org links with lore

2021-02-11 Thread Johan Hovold
On Wed, Feb 10, 2021 at 03:53:30PM -0800, Kees Cook wrote: > As started by commit 05a5f51ca566 ("Documentation: Replace lkml.org > links with lore"), replace lkml.org links with lore to better use a > single source that's more likely to stay available long-term. > > Signed-off-by: Kees Cook Acke

Re: [PATCH v2] mm/hugetlb: Remove unnecessary VM_BUG_ON_PAGE on putback_active_hugepage()

2021-02-11 Thread Oscar Salvador
On Tue, Feb 09, 2021 at 02:11:51AM -0500, Miaohe Lin wrote: > All callers know they are operating on a hugetlb head page. So this > VM_BUG_ON_PAGE can not catch anything useful. > > Signed-off-by: Miaohe Lin Reviewed-by: Oscar Salvador > --- > mm/hugetlb.c | 1 - > 1 file changed, 1 deletion(

[PATCH] KCOV: Introduced tracing unique covered PCs

2021-02-11 Thread Alexander Lochmann
Introduced new tracing mode KCOV_MODE_UNIQUE. It simply stores the executed PCs. The execution order is discarded. Each bit in the shared buffer represents every fourth byte of the text segment. Since a call instruction on every supported architecture is at least four bytes, it is safe to just stor

Re: [PATCH v5 1/2] ARM: kprobes: fix UNPREDICTABLE warnings

2021-02-11 Thread Ard Biesheuvel
On Thu, 11 Feb 2021 at 03:52, Nick Desaulniers wrote: > > GNU as warns twice for this file: > Warning: using r15 results in unpredictable behaviour > > via the Arm ARM: > K1.1.1 Overview of the constraints on Armv7 UNPREDICTABLE behaviors > > The term UNPREDICTABLE describes a number of cases wh

Re: [PATCH v5 2/2] ARM: kprobes: rewrite test-arm.c in UAL

2021-02-11 Thread Ard Biesheuvel
On Thu, 11 Feb 2021 at 03:52, Nick Desaulniers wrote: > > Clang's integrated assembler only accepts UAL syntax, rewrite the > instructions that were changed by RVCTv2.1. The document "Assembly > language changes after RVCTv2.1" was very helpful. > > .syntax unified > > directive is added, since

RE: [EXT] Re: [PATCH v12 net-next 12/15] net: mvpp2: add BM protection underrun feature support

2021-02-11 Thread Stefan Chulski
> > -- > From: > Date: Wed, 10 Feb 2021 11:48:17 +0200 > > > > > +static int bm_underrun_protect = 1; > > + > > +module_param(bm_underrun_protect, int, 0444); > > +MODULE_PARM_DESC(bm_underrun_protect, "Set BM underrun protect

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

2021-02-11 Thread Rolf Eike Beer
Am Dienstag, 9. Februar 2021, 09:44:33 CET schrieb Rolf Eike Beer: > Am Dienstag, 9. Februar 2021, 05:59:56 CET schrieb Daniel Díaz: > > When compiling under OpenEmbedded, the following error is seen > > > > as of recently: > > /srv/oe/build/tmp/hosttools/ld: cannot find /lib/libc.so.6 inside /

[PATCH] workqueue: Move the position of debug_work_activate() in __queue_work()

2021-02-11 Thread qiang . zhang
From: Zqiang The debug_work_activate() is called on the premise that the work can be inserted, because if wq be in WQ_DRAINING status, insert work may be failed. Signed-off-by: Zqiang --- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/workqueue.c

Re: [PATCH v3 1/2] s390/kvm: extend kvm_s390_shadow_fault to return entry pointer

2021-02-11 Thread Janosch Frank
On 2/9/21 4:43 PM, Claudio Imbrenda wrote: > Extend kvm_s390_shadow_fault to return the pointer to the valid leaf > DAT table entry, or to the invalid entry. > > Also return some flags in the lower bits of the address: > DAT_PROT: indicates that DAT protection applies because of the > pr

Re: [PATCH v2 0/9] Introduce vfio-pci-core subsystem

2021-02-11 Thread Christoph Hellwig
On Wed, Feb 10, 2021 at 09:34:52AM -0400, Jason Gunthorpe wrote: > > I'm a bit confused about the change from v1 to v2, especially about > > how to inject module specific operations. From live migration p.o.v > > it may requires two hook points at least for some devices (e.g. i40e > > in original

Re: [PATCH v2 14/14] x86/fault, x86/efi: Fix and rename efi_recover_from_page_fault()

2021-02-11 Thread Ard Biesheuvel
On Wed, 10 Feb 2021 at 03:34, Andy Lutomirski wrote: > > efi_recover_from_page_fault() doesn't recover -- it does a special EFI > mini-oops. Rename it to make it clear that it crashes. > > While renaming it, I noticed a blatant bug: a page fault oops in a > different thread happening concurrently

Re: [PATCH v3 2/2] s390/kvm: VSIE: correctly handle MVPG when in VSIE

2021-02-11 Thread Janosch Frank
On 2/9/21 4:43 PM, Claudio Imbrenda wrote: > Correctly handle the MVPG instruction when issued by a VSIE guest. > > Fixes: a3508fbe9dc6d ("KVM: s390: vsie: initial support for nested > virtualization") > Cc: sta...@vger.kernel.org > Signed-off-by: Claudio Imbrenda > --- Thanks for fixing this.

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

2021-02-11 Thread David Hildenbrand
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/0xc0 Modules linked in: CPU: 5 PID: 124 Comm: kswapd0 Not tai

Re: [PATCH v17 07/10] mm: introduce memfd_secret system call to create "secret" memory areas

2021-02-11 Thread Michal Hocko
On Thu 11-02-21 09:13:19, Mike Rapoport wrote: > On Tue, Feb 09, 2021 at 02:17:11PM +0100, Michal Hocko wrote: > > On Tue 09-02-21 11:09:38, Mike Rapoport wrote: [...] > > > Citing my older email: > > > > > > I've hesitated whether to continue to use new flags to memfd_create() > > > or to >

Re: [PATCH] ARM: fix panic when kasan and kprobe are enabled

2021-02-11 Thread Ard Biesheuvel
On Tue, 9 Feb 2021 at 09:55, Shaobo Huang wrote: > > From: huangshaobo > > arm32 uses software to simulate the instruction replaced > by kprobe. some instructions may be simulated by constructing > assembly functions. therefore, before executing instruction > simulation, it is necessary to constr

Re: [PATCH 8/9] vfio/pci: use x86 naming instead of igd

2021-02-11 Thread Christoph Hellwig
On Thu, Feb 04, 2021 at 11:12:49AM +0200, Max Gurtovoy wrote: > But the PCI function (the bounded BDF) is GPU function or NVLINK function ? > > If it's NVLINK function then we should fail probing in the host vfio-pci > driver. > > if its a GPU function so it shouldn't been called nvlink2 vfio-pci

Re: [PATCH 8/9] vfio/pci: use x86 naming instead of igd

2021-02-11 Thread Christoph Hellwig
On Tue, Feb 02, 2021 at 04:59:23PM -0700, Alex Williamson wrote: > vfio-pci-igd support knows very little about the device, we're > effectively just exposing a firmware table and some of the host bridge > config space (read-only). So the idea that the host kernel needs to > have updated i915 suppo

Re: [PATCH v3 1/2] kunit: support failure from dynamic analysis tools

2021-02-11 Thread David Gow
On Wed, Feb 10, 2021 at 6:14 AM Daniel Latypov wrote: > > From: Uriel Guajardo > > Add a kunit_fail_current_test() function to fail the currently running > test, if any, with an error message. > > This is largely intended for dynamic analysis tools like UBSAN and for > fakes. > E.g. say I had a f

Re: mt76: mt7921: add MCU support

2021-02-11 Thread Lorenzo Bianconi
> Hi, > Hi Colin, a fix for this issue has been already posted upstream: https://patchwork.kernel.org/project/linux-wireless/patch/857ff74f736d4e593f5ad602cee7ac67ebfca5ca.1612867656.git.lore...@kernel.org/ Regards, Lorenzo > Static analysis with Coverity on linux-next has found an issue with

Re: [PATCH 8/9] vfio/pci: use x86 naming instead of igd

2021-02-11 Thread Christoph Hellwig
On Wed, Feb 03, 2021 at 09:54:48AM -0400, Jason Gunthorpe wrote: > If people are accepting that these device-specific drivers are > required then we need to come to a community consensus to decide what > direction to pursue: > > * Do we embrace the driver core and use it to load VFIO modules like

Re: [PATCH v4 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2021-02-11 Thread Paolo Bonzini
On 29/01/21 01:43, Babu Moger wrote: This support also fixes an issue where a guest may sometimes see an inconsistent value for the SPEC_CTRL MSR on processors that support this feature. With the current SPEC_CTRL support, the first write to SPEC_CTRL is intercepted and the virtualized version

Re: [PATCH v4 resend 00/13] MFD/extcon/ASoC: Rework arizona codec jack-detect support

2021-02-11 Thread Lee Jones
On Wed, 10 Feb 2021, Mark Brown wrote: > On Tue, Feb 09, 2021 at 03:45:11PM +, Lee Jones wrote: > > On Tue, 09 Feb 2021, Hans de Goede wrote: > > > > The alternative is Mark doing a PR from ASoC to MFD to get 5/5 from the > > > previous set > > > in MFD first, which seems less then ideal. >

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

2021-02-11 Thread Mikhail Gavrilov
Hi folks. During the 5.11 test cycle I caught a rare but repeatable problem when after a day uptime happens "BUG at mm/zswap.c:1275!". I am still not having an idea how to reproduce it, but maybe the authors of this code could explain what happens here? $ grep "mm/zswap.c" dmesg*.txt dmesg101.txt:

Re: [RESEND PATCH ] KVM: VMX: Enable/disable PML when dirty logging gets enabled/disabled

2021-02-11 Thread Paolo Bonzini
On 11/02/21 03:07, Sean Christopherson wrote: Tested: kvm-unit-tests dirty_log_test dirty_log_perf_test Eh, I get that we like these for internal tracking, but for upstream there's an assumption that you did your due diligence. If there's something noteworthy about your

Re: [PATCH v4 09/22] media: camss: Refactor CSID HW version support

2021-02-11 Thread Andrey Konovalov
Hi Robert, Thank you for your patch! On 05.02.2021 13:44, Robert Foss wrote: In order to support Qualcomm ISP hardware architectures that diverge from older architectures, the CSID subdevice drivers needs to be refactored to better abstract the different ISP hardware architectures. Signed-off-

Re: phy_attach_direct()'s use of device_bind_driver()

2021-02-11 Thread Saravana Kannan
On Wed, Feb 10, 2021 at 11:31 PM Heiner Kallweit wrote: > > On 11.02.2021 00:29, Saravana Kannan wrote: > > On Wed, Feb 10, 2021 at 2:52 PM Andrew Lunn wrote: > >> > >> On Wed, Feb 10, 2021 at 02:13:48PM -0800, Saravana Kannan wrote: > >>> Hi, > >>> > >>> This email was triggered by this other em

Re: [PATCH v17 07/10] mm: introduce memfd_secret system call to create "secret" memory areas

2021-02-11 Thread David Hildenbrand
On 11.02.21 09:39, Michal Hocko wrote: On Thu 11-02-21 09:13:19, Mike Rapoport wrote: On Tue, Feb 09, 2021 at 02:17:11PM +0100, Michal Hocko wrote: On Tue 09-02-21 11:09:38, Mike Rapoport wrote: [...] Citing my older email: I've hesitated whether to continue to use new flags to memfd_cr

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