Re: [PATCH v6 1/4] dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems'

2021-02-10 Thread Rob Herring
On Sun, 07 Feb 2021 13:19:11 +0800, Hsin-Hsiung Wang wrote: > The constraint of 'maxItem: 1' might be larger than 1, so we modify it > to 'minItem: 1'. > > Signed-off-by: Hsin-Hsiung Wang > --- > changes since v5: > - update the constraint of minItem to 1. > --- > Documentation/devicetree/bindin

[PATCH net-next v2 3/9] net: phy: icplus: drop address operator for functions

2021-02-10 Thread Michael Walle
Don't sometimes use the address operator and sometimes not. Drop it and make the code look uniform. Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn --- Changes since v1: - none drivers/net/phy/icplus.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/driver

[PATCH net-next v2 1/9] net: phy: icplus: use PHY_ID_MATCH_MODEL() macro

2021-02-10 Thread Michael Walle
Simpify the initializations of the structures. There is no functional change. Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn --- Changes since v1: - none drivers/net/phy/icplus.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/net/phy/i

[PATCH net-next v2 2/9] net: phy: icplus: use PHY_ID_MATCH_EXACT() for IP101A/G

2021-02-10 Thread Michael Walle
According to the datasheet of the IP101A/G there is no revision field and MII_PHYSID2 always reads as 0x0c54. Use PHY_ID_MATCH_EXACT() then. Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn --- Changes since v1: - none drivers/net/phy/icplus.c | 4 ++-- 1 file changed, 2 insertions(+), 2

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

2021-02-10 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 v1: - none drivers/net/phy/icplus.c | 32 ++-- 1 file changed,

Re: [PATCH v2 5/8] cxl/mem: Add a "RAW" send command

2021-02-10 Thread Ben Widawsky
On 21-02-10 15:26:27, ariel.sib...@microchip.com wrote: > > diff --git a/drivers/cxl/Kconfig b/drivers/cxl/Kconfig > > index c4ba3aa0a05d..08eaa8e52083 100644 > > --- a/drivers/cxl/Kconfig > > +++ b/drivers/cxl/Kconfig > > @@ -33,6 +33,24 @@ config CXL_MEM > > > > If unsure say 'm'. > >

[PATCH net-next v2 0/9] net: phy: icplus: cleanups and new features

2021-02-10 Thread Michael Walle
Cleanup the PHY drivers for IPplus devices and add PHY counters and MDIX support for the IP101A/G. Patch 5 adds a model detection based on the behavior of the PHY. Unfortunately, the IP101A shares the PHY ID with the IP101G. But the latter provides more features. Try to detect the newer model by a

[PATCH net-next v2 9/9] net: phy: icplus: add MDI/MDIX support for IP101A/G

2021-02-10 Thread Michael Walle
Implement the operations to set desired mode and retrieve the current mode. This feature was tested with an IP101G. Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn --- Changes since v1: - none, except that the callbacks are register for both IP101A and IP101G PHY drivers drivers/net

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

2021-02-10 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

[PATCH net-next v2 7/9] net: phy: icplus: fix paged register access

2021-02-10 Thread Michael Walle
Registers >= 16 are paged. Be sure to set the page. It seems this was working for now, because the default is correct for the registers used in the driver at the moment. But this will also assume, nobody will change the page select register before linux is started. The page select register is _not_

[PATCH net-next v2 8/9] net: phy: icplus: add PHY counter for IP101G

2021-02-10 Thread Michael Walle
The IP101G provides three counters: RX packets, CRC errors and symbol errors. The error counters can be configured to clear automatically on read. Unfortunately, this isn't true for the RX packet counter. Because of this and because the RX packet counter is more likely to overflow, than the error c

Re: [PATCH 6/8] lib: bitmap: support "N" as an alias for size of bitmap

2021-02-10 Thread Andy Shevchenko
On Wed, Feb 10, 2021 at 10:58:25AM -0500, Paul Gortmaker wrote: > [Re: [PATCH 6/8] lib: bitmap: support "N" as an alias for size of bitmap] On > 09/02/2021 (Tue 15:16) Yury Norov wrote: > > > On Tue, Feb 9, 2021 at 3:01 PM Paul Gortmaker > > wrote: > > [...] > > > > -static const char *bitmap_

[PATCH net-next v2 6/9] net: phy: icplus: don't set APS_EN bit on IP101G

2021-02-10 Thread Michael Walle
This bit is reserved as 'always-write-1'. While this is not a particular error, because we are only setting it, guard it by checking the model to prevent errors in the future. Signed-off-by: Michael Walle --- Changes since v1: - dropped the model check. Instead use two different functions. Andr

Re: [PATCH v2 1/2] dt-bindings: phy: add Amlogic G12A Analog MIPI D-PHY bindings

2021-02-10 Thread Rob Herring
On Wed, Feb 10, 2021 at 09:07:35AM +0100, Neil Armstrong wrote: > The Amlogic G12A SoCs embeds an Analog MIPI D-PHY to communicate with DSI > panels, this adds the bindings. > > This Analog D-PHY works with a separate Digital MIPI D-PHY. > > Signed-off-by: Neil Armstrong > --- > .../phy/amlogic

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

2021-02-10 Thread Mathieu Poirier
On Wed, Feb 10, 2021 at 09:42:29AM +0530, Anshuman Khandual wrote: > > > On 2/9/21 11:09 PM, Mathieu Poirier wrote: > > On Fri, Feb 05, 2021 at 10:53:30AM -0700, Mathieu Poirier wrote: > >> On Wed, Jan 27, 2021 at 02:25:35PM +0530, Anshuman Khandual wrote: > >>> Trace Buffer Extension (TRBE) impl

Re: bcm2711_thermal: Kernel panic - not syncing: Asynchronous SError Interrupt

2021-02-10 Thread Nicolas Saenz Julienne
Hi Robin, On Wed, 2021-02-10 at 16:25 +, Robin Murphy wrote: > On 2021-02-10 13:15, Nicolas Saenz Julienne wrote: > > [ Add Robin, Catalin and Florian in case they want to chime in ] > > > > Hi Juerg, thanks for the report! > > > > On Wed, 2021-02-10 at 11:48 +0100, Juerg Haefliger wrote: >

Re: [PATCH 0/3][RESEND] add support for never printing hashed addresses

2021-02-10 Thread Timur Tabi
On 2/10/21 5:47 AM, Andy Shevchenko wrote: It's a bit hard in some mailers (like Gmail) to see the different versions of your patches. Can you use in the future - either `git format-patch -v ...`, where is a version - or `git format-patch --subject-prefix="PATCH vX / RESEND / etc" ...` ? Y

Re: [PATCH v2 2/8] cxl/mem: Find device capabilities

2021-02-10 Thread Ben Widawsky
On 21-02-10 15:07:59, Jonathan Cameron wrote: > On Wed, 10 Feb 2021 13:32:52 + > Jonathan Cameron wrote: > > > On Tue, 9 Feb 2021 16:02:53 -0800 > > Ben Widawsky wrote: > > > > > Provide enough functionality to utilize the mailbox of a memory device. > > > The mailbox is used to interact wi

Re: [PATCH 0/3][RESEND] add support for never printing hashed addresses

2021-02-10 Thread Andy Shevchenko
On Thu, Feb 11, 2021 at 01:39:41AM +0900, Tetsuo Handa wrote: > On 2021/02/11 1:18, Steven Rostedt wrote: > > The point of this exercise is to be able to debug the *same* kernel that > > someone is having issues with. And this is to facilitate that debugging. > > That's too difficult to use. If a

Re: Very slow unlockall()

2021-02-10 Thread Michal Hocko
On Wed 10-02-21 16:18:50, Vlastimil Babka wrote: > On 2/1/21 8:19 PM, Milan Broz wrote: > > On 01/02/2021 19:55, Vlastimil Babka wrote: > >> On 2/1/21 7:00 PM, Milan Broz wrote: > >>> On 01/02/2021 14:08, Vlastimil Babka wrote: > On 1/8/21 3:39 PM, Milan Broz wrote: > > On 08/01/2021 14:41

[PATCH] staging: rtl8723bs: cleanup macros within include/rtw_debug.h

2021-02-10 Thread Phillip Potter
Remove do/while loops from DBG_871X, MSG_8192C and DBG_8192C. Also fix opening brace placements and trailing single statement layout within RT_PRINT_DATA, as well as making newline character placement more consistent and removing camel case where possible. Finally, add parentheses for DBG_COUNTER d

Re: [v7 PATCH 01/12] mm: vmscan: use nid from shrink_control for tracepoint

2021-02-10 Thread Yang Shi
On Tue, Feb 9, 2021 at 11:14 AM Shakeel Butt wrote: > > On Tue, Feb 9, 2021 at 9:47 AM Yang Shi wrote: > > > > The tracepoint's nid should show what node the shrink happens on, the start > > tracepoint > > uses nid from shrinkctl, but the nid might be set to 0 before end > > tracepoint if the >

[PATCH] staging: rtl8723bs: remove blank line from include/autoconf.h

2021-02-10 Thread Phillip Potter
Remove additional blank line from include/autoconf.h, fixes one checkpatch check notice. Signed-off-by: Phillip Potter --- drivers/staging/rtl8723bs/include/autoconf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/include/autoconf.h b/drivers/staging/rtl8723bs/inc

Re: [PATCH v8 1/4] KEYS: trusted: Add generic trusted keys framework

2021-02-10 Thread Jarkko Sakkinen
On Tue, Nov 03, 2020 at 09:31:43PM +0530, Sumit Garg wrote: > + case Opt_new: > + key_len = payload->key_len; > + ret = static_call(trusted_key_get_random)(payload->key, > + key_len); > + if (ret != key_le

Re: [RFC][PATCH] objtool: WARN about ENDBR instructions

2021-02-10 Thread Peter Zijlstra
On Wed, Feb 10, 2021 at 10:09:45AM -0600, Josh Poimboeuf wrote: > On Wed, Feb 10, 2021 at 09:39:53AM +0100, Peter Zijlstra wrote: > > > > > > Given all the ENDBR fun we recently had, do we want the below? Until > > someone comes and fixes up kprobes/ftrace/livepatch etc.. having them is > > a gia

Re: [PATCH V2 4/8] mm/highmem: Add VM_BUG_ON() to mem*_page() calls

2021-02-10 Thread Ira Weiny
On Wed, Feb 10, 2021 at 04:41:34PM +, Christoph Hellwig wrote: > On Wed, Feb 10, 2021 at 08:29:01AM -0800, Ira Weiny wrote: > > On Wed, Feb 10, 2021 at 12:55:02PM +, Christoph Hellwig wrote: > > > On Tue, Feb 09, 2021 at 10:22:17PM -0800, ira.we...@intel.com wrote: > > > > From: Ira Weiny

Re: [PATCH] staging: wlan-ng: Fix comments typos

2021-02-10 Thread Greg KH
On Wed, Feb 10, 2021 at 03:59:52PM +0100, Mairo Paul Rufus wrote: > Signed-off-by: Mairo Paul Rufus > --- > drivers/staging/wlan-ng/p80211netdev.c | 2 +- > drivers/staging/wlan-ng/prism2mib.c| 2 +- > drivers/staging/wlan-ng/prism2sta.c| 4 ++-- > 3 files changed, 4 insertions(+), 4 dele

Re: [PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-02-10 Thread Daniel Thompson
On Wed, Feb 10, 2021 at 03:15:10PM +0100, Maciej W. Rozycki wrote: > On Wed, 10 Feb 2021, Daniel Thompson wrote: > > > > NB if GDB sees a register padded out (FAOD it means all-x's rather than > > > a > > > hex string placed throughout the respective slot) in a `g' packet, then > > > it > > >

Re: [Patch v4 net-next 0/7] ethtool support for fec and link configuration

2021-02-10 Thread Hariprasad Kelam
Hi Jakub, > -Original Message- > From: Jakub Kicinski > Sent: Tuesday, February 9, 2021 11:56 PM > To: Hariprasad Kelam > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > da...@davemloft.net; willemdebruijn.ker...@gmail.com; > and...@lunn.ch; Sunil Kovvuri Goutham ; Linu > Che

[PATCH] arm/xen: Don't probe xenbus as part of an early initcall

2021-02-10 Thread Julien Grall
From: Julien Grall After Commit 3499ba8198cad ("xen: Fix event channel callback via INTX/GSI"), xenbus_probe() will be called too early on Arm. This will recent to a guest hang during boot. If there hang wasn't there, we would have ended up to call xenbus_probe() twice (the second time is in xen

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

2021-02-10 Thread Jason Gunthorpe
On Wed, Feb 10, 2021 at 09:37:46AM -0700, Alex Williamson wrote: > > > register a migration region and intercept guest writes to specific > > > registers. [PATCH 4/9] demonstrates the former but not the latter > > > (which is allowed in v1). > > > > And this is why, the ROI to wrapper every vf

Re: [PATCH 0/3][RESEND] add support for never printing hashed addresses

2021-02-10 Thread Tetsuo Handa
On 2021/02/11 1:46, Steven Rostedt wrote: > On Thu, 11 Feb 2021 01:39:41 +0900 > Tetsuo Handa wrote: > >> On 2021/02/11 1:18, Steven Rostedt wrote: >>> The point of this exercise is to be able to debug the *same* kernel that >>> someone is having issues with. And this is to facilitate that debugg

Re: [stable 4.4, 4.9, 4.14, 4.19 LTS] Missing fix "memcg: fix a crash in wb_workfn when a device disappears"

2021-02-10 Thread Greg KH
On Wed, Feb 10, 2021 at 11:04:19AM -0500, Mathieu Desnoyers wrote: > Hi, > > While reconciling the lttng-modules writeback instrumentation with its > counterpart > within the upstream Linux kernel, I notice that the following commit > introduced in > 5.6 is present in stable branches 5.4 and 5.5

Re: [PATCH v3 09/10] usb: dwc3: qcom: Detect DWC3 DT-nodes with "usb"-prefixed names

2021-02-10 Thread Greg Kroah-Hartman
On Wed, Feb 10, 2021 at 05:56:40PM +0300, Serge Semin wrote: > On Wed, Feb 03, 2021 at 10:06:46AM +0100, Greg Kroah-Hartman wrote: > > On Tue, Feb 02, 2021 at 05:02:08PM -0600, Bjorn Andersson wrote: > > > On Sat 05 Dec 09:56 CST 2020, Serge Semin wrote: > > > > > > > In accordance with the USB HC

Re: [PATCH 0/2] coresight: Patches for v5.12 (part 2)

2021-02-10 Thread Greg KH
On Wed, Feb 10, 2021 at 09:36:08AM -0700, Mathieu Poirier wrote: > Hi Greg, > > Please see if you can add these 2 patches to your 5.12 tally. No worries > if you think it is too close to the merge window, I'll simply queue them > for the next one. > > Thanks, > Mathieu > > Leo Yan (1): > Docu

Re: [PATCH 0/2] coresight: Patches for v5.12 (part 2)

2021-02-10 Thread Greg KH
On Wed, Feb 10, 2021 at 06:10:34PM +0100, Greg KH wrote: > On Wed, Feb 10, 2021 at 09:36:08AM -0700, Mathieu Poirier wrote: > > Hi Greg, > > > > Please see if you can add these 2 patches to your 5.12 tally. No worries > > if you think it is too close to the merge window, I'll simply queue them >

[PATCH v5 0/4] USB: misc: Add onboard_usb_hub driver

2021-02-10 Thread Matthias Kaehlcke
This series adds the onboard_usb_hub_driver, the corresponding device tree bindings and creation of onboard_usb_hub platform in the xhci-plat driver during probe(). The main issue the driver addresses is that a USB hub needs to be powered before it can be discovered. For discrete onboard hubs (an

[PATCH v5 1/4] dt-bindings: usb: Add binding for discrete onboard USB hubs

2021-02-10 Thread Matthias Kaehlcke
Discrete onboard USB hubs (an example for such a hub is the Realtek RTS5411) need to be powered and may require initialization of other resources (like GPIOs or clocks) to work properly. This adds a device tree binding for these hubs. Signed-off-by: Matthias Kaehlcke --- Changes in v5: - updated

[PATCH v5 2/4] USB: misc: Add onboard_usb_hub driver

2021-02-10 Thread Matthias Kaehlcke
The main issue this driver addresses is that a USB hub needs to be powered before it can be discovered. For discrete onboard hubs (an example for such a hub is the Realtek RTS5411) this is often solved by supplying the hub with an 'always-on' regulator, which is kind of a hack. Some onboard hubs ma

[PATCH v5 3/4] usb: host: xhci-plat: Create platform device for onboard hubs in probe()

2021-02-10 Thread Matthias Kaehlcke
Check during probe() if a hub supported by the onboard_usb_hub driver is connected to the controller. If such a hub is found create the corresponding platform device. This requires the device tree to have a node for the hub with its vendor and product id (which is not common for USB devices). Furth

[PATCH v5 4/4] arm64: dts: qcom: sc7180-trogdor: Add nodes for onboard USB hub

2021-02-10 Thread Matthias Kaehlcke
Add nodes for the onboard USB hub on trogdor devices. Remove the 'always-on' and 'boot-on' properties from the hub regulator, since the regulator is now managed by the onboard_usb_hub driver. Signed-off-by: Matthias Kaehlcke --- Changes in v5: - patch added to the series .../boot/dts/qcom/sc7

Re: [PATCH v2 1/8] cxl/mem: Introduce a driver for CXL-2.0-Type-3 endpoints

2021-02-10 Thread Ben Widawsky
On 21-02-10 16:17:07, Jonathan Cameron wrote: > On Tue, 9 Feb 2021 16:02:52 -0800 > Ben Widawsky wrote: > > > From: Dan Williams > > > > The CXL.mem protocol allows a device to act as a provider of "System > > RAM" and/or "Persistent Memory" that is fully coherent as if the memory > > was attac

Re: [PATCH 1/1] PCI/RCEC: Fix failure to inject errors to some RCiEP devices

2021-02-10 Thread Krzysztof Wilczyński
Hi Qiuxu, Nice catch! Thank you for sending the fix over! [...] > On a Sapphire Rapids server, it failed to inject correctable errors > to the RCiEP device e8:02.0 which was associated with the RCEC device > e8:00.4. See the following error log before applying the patch: > > aer-inject -s e8:02

Re: [PATCH] staging: rtl8723bs: cleanup macros within include/rtw_debug.h

2021-02-10 Thread Greg KH
On Wed, Feb 10, 2021 at 05:00:03PM +, Phillip Potter wrote: > Remove do/while loops from DBG_871X, MSG_8192C and DBG_8192C. Also > fix opening brace placements and trailing single statement layout within > RT_PRINT_DATA, as well as making newline character placement more > consistent and removi

[PATCH v1 0/2] Add support for RPMH clock for SC7280

2021-02-10 Thread Taniya Das
Add the bindings for sc7280 and support the rpmh clock which are required to be supported on SC7280. Taniya Das (2): dt-bindings: clock: Add RPMHCC bindings for SC7280 clk: qcom: rpmh: Add support for RPMH clocks on SC7280 .../devicetree/bindings/clock/qcom,rpmhcc.yaml | 1 + drivers/cl

[PATCH v1 1/2] dt-bindings: clock: Add RPMHCC bindings for SC7280

2021-02-10 Thread Taniya Das
Add bindings and update documentation for clock rpmh driver on SC7280. Signed-off-by: Taniya Das --- Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml b/Documentation/devicetree/b

[PATCH v1 2/2] clk: qcom: rpmh: Add support for RPMH clocks on SC7280

2021-02-10 Thread Taniya Das
Add support for RPMH clocks on SC7280 SoCs. Signed-off-by: Taniya Das --- drivers/clk/qcom/clk-rpmh.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c index 6a2a13c..c180959 100644 --- a/drivers

Re: [PATCH] KVM: selftests: Add missing header file needed by xAPIC IPI tests

2021-02-10 Thread Paolo Bonzini
On 10/02/21 02:17, Sean Christopherson wrote: From: Peter Shier Fixes: 678e90a349a4 ("KVM: selftests: Test IPI to halted vCPU in xAPIC while backing page moves") Cc: Andrew Jones Cc: Jim Mattson Signed-off-by: Peter Shier Signed-off-by: Sean Christopherson --- Delta patch taken verbatim f

Re: [PATCH v17 00/10] Carry forward IMA measurement log on kexec on ARM64

2021-02-10 Thread Rob Herring
On Tue, Feb 09, 2021 at 10:21:50AM -0800, Lakshmi Ramasubramanian wrote: > On kexec file load Integrity Measurement Architecture (IMA) subsystem > may verify the IMA signature of the kernel and initramfs, and measure > it. The command line parameters passed to the kernel in the kexec call > may al

Re: [PATCH v3] KVM: x86/MMU: Do not check unsync status for root SP.

2021-02-10 Thread Paolo Bonzini
On 09/02/21 18:01, Yu Zhang wrote: In shadow page table, only leaf SPs may be marked as unsync; instead, for non-leaf SPs, we store the number of unsynced children in unsync_children. Therefore, in kvm_mmu_sync_root(), sp->unsync shall always be zero for the root SP and there is no need to check

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

2021-02-10 Thread Heiner Kallweit
On 10.02.2021 17:47, Michael Walle wrote: > 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

Re: [PATCH v3] printk: fix deadlock when kernel panic

2021-02-10 Thread Petr Mladek
On Wed 2021-02-10 11:48:23, Muchun Song wrote: > printk_safe_flush_on_panic() caused the following deadlock on our > server: > > CPU0: CPU1: > panic rcu_dump_cpu_stacks > kdump_nmi_shootdown_cpus

Re: linux-next: build warning after merge of the rdma tree

2021-02-10 Thread Nathan Chancellor
On Wed, Feb 10, 2021 at 09:47:42AM -0400, Jason Gunthorpe wrote: > On Wed, Feb 10, 2021 at 09:11:49PM +1100, Stephen Rothwell wrote: > > Hi all, > > > > After merging the rdma tree, today's linux-next build (htmldocs) produced > > this warning: > > > > drivers/infiniband/core/device.c:859: warnin

Re: [PATCH v17 05/10] powerpc: Move ima buffer fields to struct kimage

2021-02-10 Thread Rob Herring
On Tue, Feb 09, 2021 at 10:21:55AM -0800, Lakshmi Ramasubramanian wrote: > The fields ima_buffer_addr and ima_buffer_size in "struct kimage_arch" > for powerpc are used to carry forward the IMA measurement list across > kexec system call. These fields are not architecture specific, but are > curre

[PATCH 1/3] MAINTAINERS: power: supply: add entry for S3C ADC battery driver

2021-02-10 Thread Krzysztof Kozlowski
The S3C ADC battery driver is a very old piece of code but still used by (very old as well) S3C24xx platforms (iPAQ h1930/h1940/rx1950). Currently the header file is not covered by maintainers file, so it might look abandoned. Add a new entry for entire S3C ADC battery driver with Krzysztof Kozlow

[PATCH 3/3] power: supply: s3c_adc_battery: remove unused pdata in suspend/resume

2021-02-10 Thread Krzysztof Kozlowski
The "pdata" local variable is not used in suspend/resume handlers since commit 7776bcd241e0 ("power: supply: s3c-adc-battery: Convert to GPIO descriptors"): drivers/power/supply/s3c_adc_battery.c: In function ‘s3c_adc_bat_suspend’: drivers/power/supply/s3c_adc_battery.c:405:28: warning: un

[PATCH 2/3] power: supply: s3c_adc_battery: add SPDX license identifier

2021-02-10 Thread Krzysztof Kozlowski
Add SPDX license identifier and replace license boilerplate. Signed-off-by: Krzysztof Kozlowski --- drivers/power/supply/s3c_adc_battery.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/power/supply/s3c_adc_battery.c b/drivers/power/supply/s3c_adc_b

Re: [RFC][PATCH v6 1/7] drm: Add a sharable drm page-pool implementation

2021-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2021 at 5:39 PM Suren Baghdasaryan wrote: > > On Wed, Feb 10, 2021 at 5:06 AM Daniel Vetter wrote: > > > > On Tue, Feb 09, 2021 at 12:16:51PM -0800, Suren Baghdasaryan wrote: > > > On Tue, Feb 9, 2021 at 12:03 PM Daniel Vetter wrote: > > > > > > > > On Tue, Feb 9, 2021 at 6:46 PM

Re: [PATCH 0/3][RESEND] add support for never printing hashed addresses

2021-02-10 Thread Timur Tabi
On 2/10/21 10:46 AM, Steven Rostedt wrote: Now the question is, why do you need the unhashed pointer? Currently, the instruction pointer is what is fine right? You get the a function and its offset. If there's something that is needed, perhaps we should look at how to fix that, instead of jus

[PATCH] MAINTAINERS: cpuidle: exynos: include header in file pattern

2021-02-10 Thread Krzysztof Kozlowski
Inclue the platform data header in Exynos cpuidle maintainer entry. Cc: Bartlomiej Zolnierkiewicz Cc: Daniel Lezcano Cc: Rafael J. Wysocki Signed-off-by: Krzysztof Kozlowski --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 674f42375acf..68e2b

Re: [PATCH v2 1/8] cxl/mem: Introduce a driver for CXL-2.0-Type-3 endpoints

2021-02-10 Thread Jonathan Cameron
On Wed, 10 Feb 2021 09:12:20 -0800 Ben Widawsky wrote: ... > > > +} > > > + > > > +static int cxl_mem_probe(struct pci_dev *pdev, const struct > > > pci_device_id *id) > > > +{ > > > + struct device *dev = &pdev->dev; > > > + int regloc; > > > + > > > + regloc = cxl_mem_dvsec(pdev, PCI_DVSEC

Re: [PATCH v12 net-next 01/15] doc: marvell: add CM3 address space and PPv2.3 description

2021-02-10 Thread Rob Herring
On Wed, 10 Feb 2021 11:48:06 +0200, stef...@marvell.com wrote: > From: Stefan Chulski > > Patch adds CM3 address space and PPv2.3 description. > > Signed-off-by: Stefan Chulski > Acked-by: Marcin Wojtas > --- > Documentation/devicetree/bindings/net/marvell-pp2.txt | 6 -- > 1 file changed

Re: [PATCH v17 02/10] of: Add a common kexec FDT setup function

2021-02-10 Thread Rob Herring
On Tue, Feb 09, 2021 at 10:21:52AM -0800, Lakshmi Ramasubramanian wrote: > From: Rob Herring > > Both arm64 and powerpc do essentially the same FDT /chosen setup for > kexec. The differences are either omissions that arm64 should have > or additional properties that will be ignored. The setup c

Re: [PATCH] dma-buf: system_heap: do not warn for costly allocation

2021-02-10 Thread Suren Baghdasaryan
The code looks fine to me. Description needs a bit polishing :) On Wed, Feb 10, 2021 at 8:26 AM Minchan Kim wrote: > > Linux VM is not hard to support PAGE_ALLOC_COSTLY_ODER allocation > so normally expects driver passes __GFP_NOWARN in that case > if they has fallback options. > > system_heap in

[gustavoars-linux:testing/media/venus/hfi_cmds] BUILD SUCCESS e7d451cef70317bd0267ddd26062dc238f8c6e47

2021-02-10 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/media/venus/hfi_cmds branch HEAD: e7d451cef70317bd0267ddd26062dc238f8c6e47 media: venus: hfi_cmds.h: Replace one-element array with flexible-array member elapsed time: 1249m configs tested: 89 configs sk

Re: [stable 4.4, 4.9, 4.14, 4.19 LTS] Missing fix "memcg: fix a crash in wb_workfn when a device disappears"

2021-02-10 Thread Mathieu Desnoyers
- On Feb 10, 2021, at 12:09 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: > On Wed, Feb 10, 2021 at 11:04:19AM -0500, Mathieu Desnoyers wrote: >> Hi, >> >> While reconciling the lttng-modules writeback instrumentation with its >> counterpart >> within the upstream Linux kernel, I

Re: [v3 net-next 08/10] skbuff: reuse NAPI skb cache on allocation path (__build_skb())

2021-02-10 Thread Jesper Dangaard Brouer
On Wed, 10 Feb 2021 12:25:04 + Alexander Lobakin wrote: > From: Paolo Abeni > Date: Wed, 10 Feb 2021 11:21:06 +0100 > > > I'm sorry for the late feedback, I could not step-in before. > > > > Also adding Jesper for awareness, as he introduced the bulk free > > infrastructure. Thanks (and A

Re: [PATCH v17 03/10] arm64: Use common of_kexec_alloc_and_setup_fdt()

2021-02-10 Thread Will Deacon
On Tue, Feb 09, 2021 at 10:21:53AM -0800, Lakshmi Ramasubramanian wrote: > From: Rob Herring > > The code for setting up the /chosen node in the device tree > and updating the memory reservation for the next kernel has been > moved to of_kexec_alloc_and_setup_fdt() defined in "drivers/of/kexec.c"

Re: [PATCH 3/3] lib/vsprintf: make-printk-non-secret printks all addresses as unhashed

2021-02-10 Thread Timur Tabi
On 2/10/21 7:41 AM, Petr Mladek wrote: The option causes that vsprintf() will not hash pointers. Yes, it is primary used by printk(). But it is used also in some other interfaces, especially trace_printk(), seq_buf() API. The naked pointers might appear more or less anywhere, including procfs

Re: [RFC][PATCH v6 1/7] drm: Add a sharable drm page-pool implementation

2021-02-10 Thread Suren Baghdasaryan
On Wed, Feb 10, 2021 at 9:21 AM Daniel Vetter wrote: > > On Wed, Feb 10, 2021 at 5:39 PM Suren Baghdasaryan wrote: > > > > On Wed, Feb 10, 2021 at 5:06 AM Daniel Vetter wrote: > > > > > > On Tue, Feb 09, 2021 at 12:16:51PM -0800, Suren Baghdasaryan wrote: > > > > On Tue, Feb 9, 2021 at 12:03 PM

[PATCH v6 04/10] arm: dts: lpc18xx: Harmonize EHCI/OHCI DT nodes name

2021-02-10 Thread Serge Semin
In accordance with the Generic EHCI/OHCI bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "generic-ehci" and "generic-ohci"-compatible nodes are correctl

[PATCH v6 03/10] arc: dts: Harmonize EHCI/OHCI DT nodes name

2021-02-10 Thread Serge Semin
In accordance with the Generic EHCI/OHCI bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "generic-ehci" and "generic-ohci"-compatible nodes are correctl

[PATCH v6 02/10] arm: dts: keystone: Correct DWC USB3 compatible string

2021-02-10 Thread Serge Semin
Syonpsys IP cores are supposed to be defined with "snps" vendor-prefix. Use it instead of the deprecated "synopsys" one. Signed-off-by: Serge Semin Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/keystone-k2e.dtsi | 2 +- arch/arm/boot/dts/keystone.dtsi | 2 +- 2 files changed, 2 ins

[PATCH RESEND v6 00/10] dt-bindings: usb: Harmonize xHCI/EHCI/OHCI/DWC3 nodes name

2021-02-10 Thread Serge Semin
As the subject states this series is an attempt to harmonize the xHCI, EHCI, OHCI and DWC USB3 DT nodes with the DT schema introduced in the framework of the patchset [1]. Firstly as Krzysztof suggested we've deprecated a support of DWC USB3 controllers with "synopsys,"-vendor prefix compatible st

[PATCH v6 01/10] arm: dts: ls1021a: Harmonize DWC USB3 DT nodes name

2021-02-10 Thread Serge Semin
In accordance with the DWC USB3 bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named. Signed-off-by: Serge

[RESEND PATCH v3] MAINTAINERS: add Dan Murphy as TI LP8xxx drivers maintainer

2021-02-10 Thread Krzysztof Kozlowski
Milo Kim's email in TI bounces with permanent error (550: Invalid recipient). Last email from him on LKML was in 2017. Move Milo Kim to credits and add Dan Murphy from TI to look after: - TI LP855x backlight driver, - TI LP8727 charger driver, - TI LP8788 MFD (ADC, LEDs, charger and regulator)

[PATCH v6 06/10] arm: dts: keystone: Harmonize DWC USB3 DT nodes name

2021-02-10 Thread Serge Semin
In accordance with the DWC USB3 bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named. Signed-off-by: Serge

[PATCH v6 07/10] arm: dts: stih407-family: Harmonize DWC USB3 DT nodes name

2021-02-10 Thread Serge Semin
In accordance with the DWC USB3 bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named. Signed-off-by: Serge

Re: [PATCH 0/3][RESEND] add support for never printing hashed addresses

2021-02-10 Thread Steven Rostedt
On Thu, 11 Feb 2021 02:07:21 +0900 Tetsuo Handa wrote: > I'm not refusing to use kernel command line options. I'm expecting that we can > also hardcode using kernel config options. Since boot-time switching via > kernel > command line options makes the kernel behave differently, less boot-time >

[PATCH v6 09/10] usb: dwc3: qcom: Detect DWC3 DT-nodes with "usb"-prefixed names

2021-02-10 Thread Serge Semin
In accordance with the USB HCD/DRD schema all the USB controllers are supposed to have DT-nodes named with prefix "^usb(@.*)?". Since the existing DT-nodes will be renamed in a subsequent patch let's first make sure the DWC3 Qualcomm driver supports them and second falls back to the deprecated nam

[PATCH v6 08/10] arm64: dts: apm: Harmonize DWC USB3 DT nodes name

2021-02-10 Thread Serge Semin
In accordance with the DWC USB3 bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named despite of the warning

[PATCH v6 05/10] powerpc: dts: akebono: Harmonize EHCI/OHCI DT nodes name

2021-02-10 Thread Serge Semin
In accordance with the Generic EHCI/OHCI bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "generic-ehci" and "generic-ohci"-compatible nodes are correctl

[PATCH v6 10/10] arm64: dts: qcom: Harmonize DWC USB3 DT nodes name

2021-02-10 Thread Serge Semin
In accordance with the DWC USB3 bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named. Signed-off-by: Serge

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

2021-02-10 Thread Drew Fustini
On Wed, Feb 10, 2021 at 11:56:49AM +0200, Andy Shevchenko wrote: > On Wed, Feb 10, 2021 at 9:50 AM Drew Fustini wrote: > > > > Add "pinmux-select" to debugfs which will activate a function and group > > when 2 integers " " are written to > > the file. The write operation pinmux_select() handles th

Re: [PATCH] dma-buf: system_heap: do not warn for costly allocation

2021-02-10 Thread John Stultz
On Wed, Feb 10, 2021 at 8:26 AM Minchan Kim wrote: > > Linux VM is not hard to support PAGE_ALLOC_COSTLY_ODER allocation > so normally expects driver passes __GFP_NOWARN in that case > if they has fallback options. > > system_heap in dmabuf is the case so do not flood into demsg > with the warning

Re: [PATCH v17 00/10] Carry forward IMA measurement log on kexec on ARM64

2021-02-10 Thread Lakshmi Ramasubramanian
On 2/10/21 9:15 AM, Rob Herring wrote: On Tue, Feb 09, 2021 at 10:21:50AM -0800, Lakshmi Ramasubramanian wrote: On kexec file load Integrity Measurement Architecture (IMA) subsystem may verify the IMA signature of the kernel and initramfs, and measure it. The command line parameters passed to t

Re: [PATCH] locking/arch: Move qrwlock.h include after qspinlock.h

2021-02-10 Thread Ben Gardon
On Wed, Feb 10, 2021 at 7:54 AM Waiman Long wrote: > > On 2/10/21 10:05 AM, Guenter Roeck wrote: > > On 2/10/21 6:45 AM, Waiman Long wrote: > >> The queued rwlock code has a dependency on the current spinlock > >> implementation (likely to be qspinlock), but not vice versa. Including > >> qrwlock.

Re: [PATCH v2 2/8] cxl/mem: Find device capabilities

2021-02-10 Thread Jonathan Cameron
On Wed, 10 Feb 2021 08:55:57 -0800 Ben Widawsky wrote: > On 21-02-10 15:07:59, Jonathan Cameron wrote: > > On Wed, 10 Feb 2021 13:32:52 + > > Jonathan Cameron wrote: > > > > > On Tue, 9 Feb 2021 16:02:53 -0800 > > > Ben Widawsky wrote: > > > > > > > Provide enough functionality to uti

[PATCH v4 1/2] dt-bindings: input/touchscreen: add bindings for msg2638

2021-02-10 Thread Vincent Knecht
This adds dts bindings for the mstar msg2638 touchscreen. Signed-off-by: Vincent Knecht --- Changed in v4: - don't use wildcards in compatible strings (Rob H) - rename from msg26xx to msg2638 - rename example pinctrl-0 to &ts_int_reset_default for consistency Changed in v3: - added `touchscreen-s

Re: [RESEND PATCH v3] MAINTAINERS: add Dan Murphy as TI LP8xxx drivers maintainer

2021-02-10 Thread Dan Murphy
Krzysztof On 2/10/21 11:29 AM, Krzysztof Kozlowski wrote: Milo Kim's email in TI bounces with permanent error (550: Invalid recipient). Last email from him on LKML was in 2017. Move Milo Kim to credits and add Dan Murphy from TI to look after: - TI LP855x backlight driver, - TI LP8727 char

Re: [PATCH] staging: rtl8723bs: cleanup macros within include/rtw_debug.h

2021-02-10 Thread Phillip Potter
On Wed, Feb 10, 2021 at 06:12:54PM +0100, Greg KH wrote: > On Wed, Feb 10, 2021 at 05:00:03PM +, Phillip Potter wrote: > > Remove do/while loops from DBG_871X, MSG_8192C and DBG_8192C. Also > > fix opening brace placements and trailing single statement layout within > > RT_PRINT_DATA, as well a

[PATCH v4 2/2] Input: add MStar MSG2638 touchscreen driver

2021-02-10 Thread Vincent Knecht
Add support for the msg2638 touchscreen IC from MStar. This driver reuses zinitix.c structure, while the checksum and irq handler functions are based on out-of-tree driver for Alcatel Idol 3 (4.7"). Signed-off-by: Vincent Knecht --- Changed in v4: - rename from msg26xx to msg2638, following compa

[PATCH net-next RFC v2] net: hdlc_x25: Queue outgoing LAPB frames

2021-02-10 Thread Xie He
When sending packets, we will first hand over the (L3) packets to the LAPB module, then the LAPB module will hand over the corresponding LAPB (L2) frames back to us for us to transmit. The LAPB module can also emit LAPB (L2) frames at any time without an (L3) packet currently being sent, when it i

Re: [RESEND PATCH v3] MAINTAINERS: add Dan Murphy as TI LP8xxx drivers maintainer

2021-02-10 Thread Krzysztof Kozlowski
On Wed, Feb 10, 2021 at 11:33:49AM -0600, Dan Murphy wrote: > Krzysztof > > On 2/10/21 11:29 AM, Krzysztof Kozlowski wrote: > > Milo Kim's email in TI bounces with permanent error (550: Invalid > > recipient). Last email from him on LKML was in 2017. Move Milo Kim to > > credits and add Dan Murp

Re: [PATCH V10 01/10] dt-bindings: remoteproc: convert imx rproc bindings to json-schema

2021-02-10 Thread Rob Herring
On Mon, Feb 08, 2021 at 04:56:02PM +0800, peng@oss.nxp.com wrote: > From: Peng Fan > > Convert the imx rproc binding to DT schema format using json-schema. > > Signed-off-by: Peng Fan > --- > .../bindings/remoteproc/fsl,imx-rproc.yaml| 59 +++ > .../bindings/remoteproc/

Re: [PATCH] KVM: nSVM: call nested_svm_load_cr3 on nested state load

2021-02-10 Thread Paolo Bonzini
On 10/02/21 16:59, Maxim Levitsky wrote: While KVM's MMU should be fully reset by loading of nested CR0/CR3/CR4 by KVM_SET_SREGS, we are not in nested mode yet when we do it and therefore only root_mmu is reset. On regular nested entries we call nested_svm_load_cr3 which both updates the guest's

[PATCH -next] fs: io_uring: build when CONFIG_NET is disabled

2021-02-10 Thread Randy Dunlap
sertions(+), 12 deletions(-) --- linux-next-20210210.orig/fs/io_uring.c +++ linux-next-20210210/fs/io_uring.c @@ -5145,14 +5145,12 @@ static int io_sendmsg_prep(struct io_kio return -EOPNOTSUPP; } -static int io_sendmsg(struct io_kiocb *req, unsigned int issue_flags, -

Re: Very slow unlockall()

2021-02-10 Thread Michal Hocko
On Wed 10-02-21 17:57:29, Michal Hocko wrote: > On Wed 10-02-21 16:18:50, Vlastimil Babka wrote: [...] > > And the munlock (munlock_vma_pages_range()) is slow, because it uses > > follow_page_mask() in a loop incrementing addresses by PAGE_SIZE, so that's > > always traversing all levels of page ta

Re: [PATCH] dma-buf: system_heap: do not warn for costly allocation

2021-02-10 Thread Minchan Kim
On Wed, Feb 10, 2021 at 09:24:52AM -0800, Suren Baghdasaryan wrote: > The code looks fine to me. Description needs a bit polishing :) > > On Wed, Feb 10, 2021 at 8:26 AM Minchan Kim wrote: > > > > Linux VM is not hard to support PAGE_ALLOC_COSTLY_ODER allocation > > so normally expects driver pas

Re: [PATCH] x86, sched: Allow NUMA nodes to share an LLC on Intel platforms

2021-02-10 Thread Dave Hansen
On 2/10/21 12:10 AM, Peter Zijlstra wrote: > On Tue, Feb 09, 2021 at 11:09:27PM +, Luck, Tony wrote: >>> +#define X86_BUG_NUMA_SHARES_LLCX86_BUG(25) /* CPU may >>> enumerate an LLC shared by multiple NUMA nodes */ >> >> During internal review I wondered why this is a "BUG" rather t

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