Re: tracer_init_tracefs really slow

2020-12-07 Thread Steven Rostedt
On Mon, 07 Dec 2020 17:24:58 +0100 Lucas Stach wrote: > I would be happy to test a patch on our whimpy machines, though. :) Let me know if this helps: -- Steve diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 06134189e9a7..48aa5b6a7d15 100644 --- a/kernel/trace/trace.c +++

Re: [PATCH v5 02/16] IB: fix kernel-doc markups

2020-12-07 Thread Jason Gunthorpe
On Tue, Dec 01, 2020 at 01:08:55PM +0100, Mauro Carvalho Chehab wrote: > Some functions have different names between their prototypes > and the kernel-doc markup. > > Others need to be fixed, as kernel-doc markups should use this format: > identifier - description > > Signed-off-by:

Re: [PATCH net-next v2 2/4] vm_sockets: Add VMADDR_FLAG_TO_HOST vsock flag

2020-12-07 Thread Paraschiv, Andra-Irina
On 07/12/2020 11:59, Stefano Garzarella wrote: On Fri, Dec 04, 2020 at 07:02:33PM +0200, Andra Paraschiv wrote: Add VMADDR_FLAG_TO_HOST vsock flag that is used to setup a vsock connection where all the packets are forwarded to the host. Then, using this type of vsock channel, vsock

Re: linux-next: Tree for Dec 7 (bpf: sock_from_file)

2020-12-07 Thread Florent Revest
On Mon, 2020-12-07 at 10:39 -0800, Randy Dunlap wrote: > On 12/7/20 1:25 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20201204: > > > > on i386: > # CONFIG_NET is not set > > ld: kernel/trace/bpf_trace.o: in function `bpf_sock_from_file': > bpf_trace.c:(.text+0xe23): undefined

Re: [patch 3/3] tick: Annotate tick_do_timer_cpu data races

2020-12-07 Thread Paul E. McKenney
On Mon, Dec 07, 2020 at 07:19:51PM +0100, Marco Elver wrote: > On Mon, 7 Dec 2020 at 18:46, Thomas Gleixner wrote: > > On Mon, Dec 07 2020 at 13:09, Peter Zijlstra wrote: > > > On Sun, Dec 06, 2020 at 10:12:56PM +0100, Thomas Gleixner wrote: > > >> +if (data_race(tick_do_timer_cpu) ==

Re: [PATCH v2] net: dsa: ksz8795: adjust CPU link to host interface

2020-12-07 Thread Jean Pihet
Hi Andrew, On Tue, Dec 1, 2020 at 9:45 PM Andrew Lunn wrote: > > > Configure the host port of the switch to match the host interface > > settings. This is useful when the switch is directly connected to the > > host MAC interface. > > Why do you need this when no other board does? Why is your

Re: [patch 3/3] tick: Annotate tick_do_timer_cpu data races

2020-12-07 Thread Thomas Gleixner
On Mon, Dec 07 2020 at 19:19, Marco Elver wrote: > On Mon, 7 Dec 2020 at 18:46, Thomas Gleixner wrote: >> On Mon, Dec 07 2020 at 13:09, Peter Zijlstra wrote: >> > I prefer the form: >> > >> > if (data_race(tick_do_timer_cpu == TICK_DO_TIMER_BOOT)) { >> > >> > But there doesn't yet seem to

Re: [PATCH v2 10/19] dt-bindings: dma: ti: Add document for K3 BCDMA

2020-12-07 Thread Rob Herring
On Tue, Nov 17, 2020 at 12:56:47PM +0200, Peter Ujfalusi wrote: > New binding document for > Texas Instruments K3 Block Copy DMA (BCDMA). > > BCDMA is introduced as part of AM64. > > Signed-off-by: Peter Ujfalusi > --- > .../devicetree/bindings/dma/ti/k3-bcdma.yaml | 175 ++ >

Re: [PATCH] infiniband: i40iw: replace atomic_add_return()

2020-12-07 Thread Jason Gunthorpe
On Mon, Nov 30, 2020 at 04:52:56PM +0800, Yejune Deng wrote: > atomic_inc_return() is a little neater > > Signed-off-by: Yejune Deng > --- > drivers/infiniband/hw/i40iw/i40iw_cm.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied to for-next with the note from Shiraz

Re: [PATCH v2] net: dsa: ksz8795: adjust CPU link to host interface

2020-12-07 Thread Jean Pihet
Hi Vladimir, On Tue, Dec 1, 2020 at 8:48 PM Vladimir Oltean wrote: > > Hi Jean, > > On Tue, Dec 01, 2020 at 07:58:01PM +0100, Jean Pihet wrote: > > Hi Andrew, > > > > On Tue, Dec 1, 2020 at 7:41 PM Andrew Lunn wrote: > > > > > > On Tue, Dec 01, 2020 at 09:34:08AM +0100, Jean Pihet wrote: > > >

[PATCH v4 2/4] pwm: pca9685: Set full OFF bits in probe

2020-12-07 Thread Clemens Gruber
The full OFF bits are set by default in the PCA9685 LEDn_OFF_H registers at POR. LEDn_ON_L/H and LEDn_OFF_L default to 0. The datasheet states that LEDn_OFF and LEDn_ON should never be both set to the same values. This patch removes the clearing of the full OFF bit in the probe function. We

[PATCH v4 4/4] dt-bindings: pwm: pca9685: Add nxp,staggered-outputs property

2020-12-07 Thread Clemens Gruber
The pca9685 driver supports a new nxp,staggered-outputs property for reduced current surges and EMI. This adds documentation for the new DT property. Signed-off-by: Clemens Gruber --- Changes since v1: - Added vendor prefix Documentation/devicetree/bindings/pwm/nxp,pca9685-pwm.txt | 2 ++ 1

[PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-07 Thread Clemens Gruber
The switch to the atomic API goes hand in hand with a few fixes to previously experienced issues: - The duty cycle is no longer lost after disable/enable (previously the OFF registers were cleared in disable and the user was required to call config to restore the duty cycle settings) - If one

[PATCH v4 3/4] pwm: pca9685: Support staggered output ON times

2020-12-07 Thread Clemens Gruber
The PCA9685 supports staggered LED output ON times to minimize current surges and reduce EMI. When this new option is enabled, the ON times of each channel are delayed by channel number x counter range / 16, which avoids asserting all enabled outputs at the same counter value while still

Re: [PATCH v2 2/3] dt-bindings: input: Convert sc27xx-vibra.txt to json-schema

2020-12-07 Thread Rob Herring
On Tue, 17 Nov 2020 11:49:48 +0800, Chunyan Zhang wrote: > From: Chunyan Zhang > > Convert the sprd sc27xx vibrator binding to DT schema using json-schema. > > Signed-off-by: Chunyan Zhang > --- > .../bindings/input/sprd,sc27xx-vibra.txt | 23 -- >

[PATCH 00/12] media: atomisp: Codingstyle

2020-12-07 Thread Philipp Gerlesberger
Hello! This series fix some codingstyle errors in the files rmgr_vbuf.c, ia_css_rmgr.h, timer.c, spctrl.c and queue.c in the drivers/staging/media area. Best regards Philipp -- media: atomsip: Convert comments to C99

Re: [PATCH v2 3/3] dt-bindings: input: Add compatible string for SC2721 and SC2730

2020-12-07 Thread Rob Herring
On Tue, 17 Nov 2020 11:49:49 +0800, Chunyan Zhang wrote: > From: Chunyan Zhang > > Add new compatible strings to support sc2730 and sc2721 which are > two varieties of SC27XX family. > > Signed-off-by: Chunyan Zhang > --- > .../devicetree/bindings/input/sprd,sc27xx-vibrator.yaml | 2

Re: [RFC V2 00/37] Enhance memory utilization with DMEMFS

2020-12-07 Thread Dan Williams
On Mon, Dec 7, 2020 at 4:03 AM David Hildenbrand wrote: > > On 07.12.20 12:30, yulei.ker...@gmail.com wrote: > > From: Yulei Zhang > > > > In current system each physical memory page is assocaited with > > a page structure which is used to track the usage of this page. > > But due to the memory

[PATCH 11/12] media: atomisp: Write function decleration in one line

2020-12-07 Thread Philipp Gerlesberger
CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' WARNING:LEADING_SPACE: please, no spaces at the start of a line Avoid these errors by writing the function decleration in one line. Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger ---

[PATCH 10/12] media: atomisp: Fix BLOCK_COMMENT_STYLE

2020-12-07 Thread Philipp Gerlesberger
Block comments should align the * on each line Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- drivers/staging/media/atomisp/pci/runtime/spctrl/src/spctrl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 09/12] media: atomisp: Fix PARENTHESIS_ALIGNMENT

2020-12-07 Thread Philipp Gerlesberger
You can sum up the two lines, because the maximum line length of 100 columns is not exceeded. Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- drivers/staging/media/atomisp/pci/runtime/spctrl/src/spctrl.c | 3 +-- 1 file changed, 1

[PATCH 08/12] media: atomisp: Delete braces

2020-12-07 Thread Philipp Gerlesberger
WARNING:BRACES: braces {} are not necessary for single statement blocks Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- drivers/staging/media/atomisp/pci/runtime/timer/src/timer.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 07/12] media: atomisp: Fix funciton decleration

2020-12-07 Thread Philipp Gerlesberger
Write return_type, function_name and parameters in one line because lines should not end with a '(' [OPEN_ENDED_LINE] Write open brace ’{’ on the next line to fix OPEN_BRACE Error Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger ---

[PATCH 04/12] media: atomisp: Fix OPEN_ENDED_LINE

2020-12-07 Thread Philipp Gerlesberger
Lines should not end with a '(' Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 01/12] media: atomsip: Convert comments to C99 initializers

2020-12-07 Thread Philipp Gerlesberger
The struct initalizers have been changed as recommended on https://kernelnewbies.org/KernelJanitors/Todo Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- .../atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c | 30 +-- 1 file

Re: [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps, dw-wdt.yaml

2020-12-07 Thread Rob Herring
On Mon, 16 Nov 2020 15:25:39 +0100, Johan Jonker wrote: > The Rockchip watchdog compatibles below are already in use, > but somehow never added to a document, > so add them to the snps,dw-wdt.yaml file. > > "rockchip,rk3066-wdt", "snps,dw-wdt" > "rockchip,rk3188-wdt", "snps,dw-wdt" >

[PATCH 06/12] media: atomisp: Add parentheses

2020-12-07 Thread Philipp Gerlesberger
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- .../media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h| 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 12/12] media: atomisp: Fix LOGICAL_CONTINUATIONS

2020-12-07 Thread Philipp Gerlesberger
Logical continuations should be on the previous line Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 03/12] media: atomisp: Fix EMBEDDED_FUNCTION_NAME warning

2020-12-07 Thread Philipp Gerlesberger
Use the automatically defined __func__ macro instead of the function name, so it stays correct when the function is renamed. Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- .../media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c| 8

[PATCH 05/12] media: atomisp: Fix overlong line

2020-12-07 Thread Philipp Gerlesberger
Line length of 105 exceeds 100 columns. Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 02/12] media: atomisp: Fix Block Comments

2020-12-07 Thread Philipp Gerlesberger
Block comments should use * on subsequent lines and should use a trailing */ on a separate line. Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- .../staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c | 5 +++-- 1 file changed, 3

Re: [PATCH v2 1/2] dt-bindings: leds: Add bindings for Intel LGM SoC

2020-12-07 Thread Rob Herring
On Mon, Nov 16, 2020 at 07:42:51PM +0800, Amireddy Mallikarjuna reddy wrote: > Add DT bindings YAML schema for SSO controller driver > of Lightning Mountain (LGM) SoC. > > Signed-off-by: Amireddy Mallikarjuna reddy > > --- > v1: > - Initial version > > v2: > - Fix bot errors (wrong

Re: [RFC PATCH 1/4] cpufreq: acpi-cpufreq: Re-factor overriding ACPI PSD

2020-12-07 Thread Wei Huang
On 11/25/20 8:48 AM, Punit Agrawal wrote: > Re-factor the code to override the firmware provided frequency domain > information (via PSD) to localise the checks in one function. > > No functional change intended. > > Signed-off-by: Punit Agrawal > Cc: Wei Huang > --- >

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

2020-12-07 Thread Valentin Schneider
nd, which may or may not be of some help: > > Okay, your patch did not help, since it can still be reproduced using this, > > https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/hotplug/cpu_hotplug/functional/cpuhotplug04.sh > > # while :; do cpuhotplug04.s

Re: [PATCH v3 3/4] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-07 Thread Jason Gunthorpe
On Sun, Dec 06, 2020 at 08:26:16PM +0100, Thomas Gleixner wrote: > Just as a side note. I was looking at tpm_tis_probe_irq_single() and > that function is leaking the interrupt request if any of the checks > afterwards fails, except for the final interrupt probe check which does > a cleanup. That

TREAT AND REPLY URGENTLY.

2020-12-07 Thread abdul karim
FROM MR. ABDUL KARIM AUDIT & ACCOUNT MANAGER BANK OF AFRICA (B.O.A) OUAGADOUGOU BURKINA FASO WEST AFRICA. Greeting My Dear Friend, With due respect, I have decided to contact you on a business transaction that will be beneficial to both of us. At the bank last account and auditing evaluation, my

Re: [PATCH v2 07/17] driver core: Add fwnode_init()

2020-12-07 Thread Saravana Kannan
On Sat, Dec 5, 2020 at 11:26 PM Leon Romanovsky wrote: > > On Fri, Nov 20, 2020 at 06:02:22PM -0800, Saravana Kannan wrote: > > There are multiple locations in the kernel where a struct fwnode_handle > > is initialized. Add fwnode_init() so that we have one way of > > initializing a

Re: [PATCH net-next v2 1/4] vm_sockets: Include flags field in the vsock address data structure

2020-12-07 Thread Paraschiv, Andra-Irina
On 07/12/2020 11:59, Stefano Garzarella wrote: On Fri, Dec 04, 2020 at 07:02:32PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. With the multi transport support (guest->host and host->guest), nested VMs can also use vsock

Re: [RFC PATCH v2 0/2] add simple copy support

2020-12-07 Thread Javier González
On 07.12.2020 15:56, Hannes Reinecke wrote: On 12/7/20 3:11 PM, Christoph Hellwig wrote: So, I'm really worried about: a) a good use case. GC in f2fs or btrfs seem like good use cases, as does accelating dm-kcopyd. I agree with Damien that lifting dm-kcopyd to common code would also

Re: [PATCH v2 08/17] driver core: Add fwnode link support

2020-12-07 Thread Saravana Kannan
On Sat, Dec 5, 2020 at 11:48 PM Leon Romanovsky wrote: > > On Fri, Nov 20, 2020 at 06:02:23PM -0800, Saravana Kannan wrote: > > Add support for creating supplier-consumer links between fwnodes. It is > > intended for internal use the driver core and generic firmware support > > code (eg. Device

Re: [PATCH] dt-bindings: phy: bcm-ns-usb2-phy: convert to yaml

2020-12-07 Thread Rob Herring
On Mon, 16 Nov 2020 08:46:50 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > 1. Convert from txt to yaml > 2. Drop "Driver for" from the title > 3. Document "#phy-cells" > 4. Fix example node name (noticed by dt_binding_check) > 5. Add #include to example (noticed by dt_binding_check) > 6.

Re: [PATCH net-next v2 0/4] vsock: Add flags field in the vsock address

2020-12-07 Thread Paraschiv, Andra-Irina
On 07/12/2020 12:05, Stefano Garzarella wrote: Hi Andra, On Fri, Dec 04, 2020 at 07:02:31PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. Nested VMs can be setup to use vsock channels, as the multi transport support has

Re: [PATCH] dt-bindings: phy: bcm-ns-usb3-phy: convert to yaml

2020-12-07 Thread Rob Herring
On Mon, 16 Nov 2020 08:46:49 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > 1. Change syntax from txt to yaml > 2. Drop "Driver for" from the title > 3. Drop "reg = <0x0>;" from example (noticed by dt_binding_check) > 4. Specify license > > Signed-off-by: Rafał Miłecki > --- > I think

Re: [PATCH RFC v2 1/5] dt-bindings: net: dwmac-meson: use picoseconds for the RGMII RX delay

2020-12-07 Thread Rob Herring
On Sun, Nov 15, 2020 at 07:52:06PM +0100, Martin Blumenstingl wrote: > Amlogic Meson G12A, G12B and SM1 SoCs have a more advanced RGMII RX > delay register which allows picoseconds precision. Deprecate the old > "amlogic,rx-delay-ns" in favour of a new "amlogic,rgmii-rx-delay-ps" > property. > >

Re: [PATCH] arm64: dts: meson: minor fixups for Khadas VIM/VIM2 dts

2020-12-07 Thread Kevin Hilman
On Thu, 3 Dec 2020 06:16:05 +, Christian Hewitt wrote: > Reorder the VIM/VIM2 includes/bindings to follow the format of other dts > in the Amlogic tree and remove a stray empty line in the VIM2 dts. Applied, thanks! [1/1] arm64: dts: meson: minor fixups for Khadas VIM/VIM2 dts commit:

Re: [PATCH v3 1/5] arm64: dts: meson: g12b: odroid-n2: fix PHY deassert timing requirements

2020-12-07 Thread Kevin Hilman
On Mon, 7 Dec 2020 18:57:59 +0100, Stefan Agner wrote: > According to the datasheet (Rev. 1.9) the RTL8211F requires at least > 72ms "for internal circuits settling time" before accessing the PHY > registers. This fixes an issue where the Ethernet link doesn't come up > when using ip link set

Re: [PATCH v4 0/7] arm64: dts: meson: add more GX soundcards

2020-12-07 Thread Kevin Hilman
On Thu, 3 Dec 2020 06:00:16 +, Christian Hewitt wrote: > This series adds basic support for LPCM audio over HDMI and S/PDIF > to GXBB/GXL/GXM devices that I own and have tested with. Audio can > be extended in the future (some devices have DACs and headphone > hardware to connect) but this

Re: [PATCH] arm64: dts: meson: add KHAMSIN IR remote node to SML5442TW

2020-12-07 Thread Kevin Hilman
On Thu, 26 Nov 2020 05:04:40 +, Christian Hewitt wrote: > Set the IR keymap to the KHAMSIN remote shipped with the SML5442TW. Applied, thanks! [1/1] arm64: dts: meson: add KHAMSIN IR remote node to SML5442TW commit: 2493a9a515cf2bfa958d1d68beab507a1c7f5962 Best regards, -- Kevin

Re: [RFC PATCH v2 0/2] add simple copy support

2020-12-07 Thread Javier González
On 07.12.2020 15:11, Christoph Hellwig wrote: So, I'm really worried about: a) a good use case. GC in f2fs or btrfs seem like good use cases, as does accelating dm-kcopyd. I agree with Damien that lifting dm-kcopyd to common code would also be really nice. I'm not 100% sure it should

Re: [PATCH] dt-bindings: dmaengine: Convert Qualcomm ADM bindings to yaml

2020-12-07 Thread Rob Herring
On Sun, Nov 15, 2020 at 06:12:42PM +, Jonathan McDowell wrote: > Converts the device tree bindings for the Qualcomm Application Data > Mover (ADM) DMA controller over to YAML schemas. > > Signed-off-by: Jonathan McDowell > --- > .../devicetree/bindings/dma/qcom,adm.yaml | 102

[PATCH v2 1/4] thermal/core: Rename passive_delay and polling_delay with units

2020-12-07 Thread Daniel Lezcano
The input unit used by the thermal framework is the msec but it uses the jiffies to set the timers. As it is stored in the thermal zone device structure, everytime the timer is setup at each polling interval, the msecs to jiffies conversion happens. The jiffies is the unit the thermal framework

[PATCH v2 4/4] thermal/core: Remove ms based delay fields

2020-12-07 Thread Daniel Lezcano
The code does no longer use the ms unit based fields to set the delays as they are replaced by the jiffies. Remove them and replace their user to use the jiffies version instead. Signed-off-by: Daniel Lezcano --- drivers/platform/x86/acerhdf.c | 3 ++-

[PATCH v2 3/4] thermal/core: Use precomputed jiffies for the polling

2020-12-07 Thread Daniel Lezcano
The delays are also stored in jiffies based unit. Use them instead of the ms. Signed-off-by: Daniel Lezcano --- drivers/thermal/thermal_core.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index

[PATCH v2 2/4] thermal/core: Precompute the delays from msecs to jiffies

2020-12-07 Thread Daniel Lezcano
The delays are stored in ms units and when the polling function is called this delay is converted into jiffies at each call. Instead of doing the conversion again and again, compute the jiffies at init time and use the value directly when setting the polling. Signed-off-by: Daniel Lezcano ---

Re: [PATCH v13 0/3] scsi: ufs: Add Host Performance Booster Support

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 10:54:58AM -0800, James Bottomley wrote: > On Mon, 2020-12-07 at 19:35 +0100, Greg KH wrote: > > On Mon, Dec 07, 2020 at 06:26:03PM +, Christoph Hellwig wrote: > > > On Mon, Dec 07, 2020 at 07:23:12PM +0100, Greg KH wrote: > > > > What "real workload" test can be run on

[PATCH] thermal/core: Emit a warning if the thermal zone is updated without ops

2020-12-07 Thread Daniel Lezcano
The actual code is silently ignoring a thermal zone update when a driver is requesting it without a get_temp ops set. That looks not correct, as the caller should not have called this function if the thermal zone is unable to read the temperature. That makes the code less robust as the check

Re: [PATCH] s390/vfio-ap: Clean up vfio_ap resources when KVM pointer invalidated

2020-12-07 Thread Tony Krowiak
On 12/2/20 6:41 PM, Tony Krowiak wrote: The vfio_ap device driver registers a group notifier with VFIO when the file descriptor for a VFIO mediated device for a KVM guest is opened to receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM event). When the KVM pointer is

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-07 Thread Will McVicker
On Mon, Dec 07, 2020 at 07:24:16PM +0100, Greg KH wrote: > On Mon, Dec 07, 2020 at 09:55:48AM -0800, Will McVicker wrote: > > On Sat, Dec 05, 2020 at 09:59:57AM +0100, Greg KH wrote: > > > On Sat, Dec 05, 2020 at 12:48:48AM +, Will McVicker wrote: > > > > The HID subsystem allows an "HID

[PATCH v2 3/4] soc: samsung: exynos-chipid: order list of SoCs by name

2020-12-07 Thread Krzysztof Kozlowski
Bring some order to the list of SoCs. No functional change. Signed-off-by: Krzysztof Kozlowski --- drivers/soc/samsung/exynos-chipid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index

[PATCH v2 4/4] soc: samsung: exynos-chipid: convert to driver and merge exynos-asv

2020-12-07 Thread Krzysztof Kozlowski
The Exynos Chip ID driver on Exynos SoCs has so far only informational purpose - to expose the SoC device in sysfs. No other drivers depend on it so there is really no benefit of initializing it early. The code would be the most flexible if converted to a regular driver. However there is already

[PATCH v2 1/4] soc: samsung: exynos-asv: don't defer early on not-supported SoCs

2020-12-07 Thread Krzysztof Kozlowski
From: Marek Szyprowski Check if the SoC is really supported before gathering the needed resources. This fixes endless deferred probe on some SoCs other than Exynos5422 (like Exynos5410). Fixes: 5ea428595cc5 ("soc: samsung: Add Exynos Adaptive Supply Voltage driver") Cc: Signed-off-by: Marek

Re: [PATCH] Add support for getting and setting SACLs

2020-12-07 Thread Pavel Shilovsky
Hi Boris, Are you talking about this patch "[PATCH] Extend cifs acl utilities to handle SACLs"? Just for the future, I am trying to monitor the samba-dev mailing list but if you would like to get the fastest response to your patches then please include me directly or at least the linux-cifs

[PATCH v2 2/4] soc: samsung: exynos-asv: handle reading revision register error

2020-12-07 Thread Krzysztof Kozlowski
If regmap_read() fails, the product_id local variable will contain random value from the stack. Do not try to parse such value and fail the ASV driver probe. Fixes: 5ea428595cc5 ("soc: samsung: Add Exynos Adaptive Supply Voltage driver") Cc: Signed-off-by: Krzysztof Kozlowski ---

[PATCH v2 0/4] soc: samsung: exynos-chipid and asv improvements

2020-12-07 Thread Krzysztof Kozlowski
Hi, Changes since v1: 1. Drop patch "soc: samsung: exynos-chipid: initialize later - with arch_initcall" which is now superseded by convertin to a driver. 2. Include Marek's patch, just for the reference and rebase. 3. Add patch "soc: samsung: exynos-asv: handle reading revision register

Re: [PATCH 2/3] rwsem: Implement down_read_interruptible

2020-12-07 Thread Waiman Long
On 12/7/20 11:58 AM, David Laight wrote: From: Waiman Long Sent: 07 December 2020 15:34 On 12/7/20 4:02 AM, Peter Zijlstra wrote: On Thu, Dec 03, 2020 at 08:59:13PM -0500, Waiman Long wrote: On 12/3/20 3:11 PM, Eric W. Biederman wrote: +static inline int __down_read_interruptible(struct

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-07 Thread Marc Zyngier
On Mon, 07 Dec 2020 16:34:05 +, Catalin Marinas wrote: > > On Mon, Dec 07, 2020 at 04:05:55PM +, Marc Zyngier wrote: > > What I'd really like to see is a description of how shared memory > > is, in general, supposed to work with MTE. My gut feeling is that > > it doesn't, and that you

UBSAN: array-index-out-of-bounds in dquot_resume

2020-12-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:b3298500 Merge tag 'for-5.10/dm-fixes' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1429c99b50 kernel config: https://syzkaller.appspot.com/x/.config?x=c3904d1cc0af152

Re: [PATCH v4 0/4] media: meson: Add support for the Amlogic GE2D Accelerator Unit

2020-12-07 Thread Kevin Hilman
On Wed, 2 Dec 2020 18:44:13 +0100, Neil Armstrong wrote: > The GE2D is a 2D accelerator with various features like configurable blitter > with alpha blending, frame rotation, scaling, format conversion and colorspace > conversion. > > The driver implements a Memory2Memory VB2 V4L2 streaming

KASAN: use-after-free Read in ieee80211_ibss_build_presp

2020-12-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e87297fa Merge tag 'drm-fixes-2020-12-04' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=144035d350 kernel config: https://syzkaller.appspot.com/x/.config?x=e49433cfed49b7d9

Re: [PATCH 2/6] dt-bindings: clk: mstar msc313 mpll binding description

2020-12-07 Thread Rob Herring
On Sat, 14 Nov 2020 22:50:40 +0900, Daniel Palmer wrote: > Add a binding description for the MStar/SigmaStar MPLL clock block. > > Signed-off-by: Daniel Palmer > --- > .../bindings/clock/mstar,msc313-mpll.yaml | 58 +++ > MAINTAINERS | 1 +

[PATCH 2/2] scsi: ufs: Fix wrong print message in dev_err()

2020-12-07 Thread Bean Huo
From: Bean Huo Change dev_err() print message from "dme-reset" to "dme_enable" in function ufshcd_dme_enable(). Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index

[PATCH 0/2] two UFS changes

2020-12-07 Thread Bean Huo
From: Bean Huo Bean Huo (2): scsi: ufs: Remove an unused macro definition POWER_DESC_MAX_SIZE scsi: ufs: Fix wrong print message in dev_err() drivers/scsi/ufs/ufs.h| 1 - drivers/scsi/ufs/ufshcd.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) -- 2.17.1

Re: [PATCH 1/6] dt-bindings: clk: mstar msc313 mpll binding header

2020-12-07 Thread Rob Herring
On Sat, 14 Nov 2020 22:50:39 +0900, Daniel Palmer wrote: > Simple header to document the relationship between the MPLL outputs > and which divider they come from. > > Output 0 is missing because it should not be consumed. > > Signed-off-by: Daniel Palmer > --- > MAINTAINERS

[PATCH 1/2] scsi: ufs: Remove an unused macro definition POWER_DESC_MAX_SIZE

2020-12-07 Thread Bean Huo
From: Bean Huo No user uses POWER_DESC_MAX_SIZE, remove it. Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/ufs/ufs.h b/drivers/scsi/ufs/ufs.h index 311d5f7a024d..527ba5c00097 100644 --- a/drivers/scsi/ufs/ufs.h +++

Re: [PATCH v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport

2020-12-07 Thread Rob Herring
On Thu, Nov 12, 2020 at 12:56:26PM -0500, Jim Quinlan wrote: > In normal use of smc/hvc transport in SCMI the message completion is > indicated by the return of the SMC call. This commit provides for an > optional interrupt named "message-serviced" which is used instead to > indicate the

Re: ping // [PATCH] mtd:cfi_cmdset_0002: fix atomic sleep bug when CONFIG_MTD_XIP=y

2020-12-07 Thread Vignesh Raghavendra
Hi Xiaoming, On 12/7/20 4:23 PM, Miquel Raynal wrote: > Hi Xiaoming, > > Xiaoming Ni wrote on Mon, 7 Dec 2020 18:48:33 > +0800: > >> ping >> >> On 2020/11/27 21:07, Xiaoming Ni wrote: >>> When CONFIG_MTD_XIP=y, local_irq_disable() is called in xip_disable(). >>> To avoid sleep in interrupt

[PATCH] soc: fix comment for freeing soc_dev_attr

2020-12-07 Thread Krzysztof Kozlowski
The soc_dev_attr is stored soc_dev->attr during soc_device_register() so it could be used till the cleanup call: soc_device_unregister(). Therefore this memory should not be freed prior, but after unregistering soc device. Signed-off-by: Krzysztof Kozlowski --- drivers/base/soc.c | 2 +- 1 file

linux-kernel confirm for me

2020-12-07 Thread Juaquin Dabeer
Good day, Please confirm receipt of the previous mail I sent to linux-kernel@vger.kernel.org or do I resend it again? Regards Juaquin Dabeer juaquindab...@mail.com.tr

Re: [PATCH v2 1/6] dt-bindings: PCI: pci-ep: Add binding to specify virtual function

2020-12-07 Thread Rob Herring
On Thu, Nov 12, 2020 at 11:23:53PM +0530, Kishon Vijay Abraham I wrote: > Add binding to specify virtual function (associated with each physical > function) in endpoint mode. > > Signed-off-by: Kishon Vijay Abraham I > --- > Documentation/devicetree/bindings/pci/pci-ep.yaml | 9 + > 1

Re: [PATCH v1 0/5] dm: dm-user: New target that proxies BIOs to userspace

2020-12-07 Thread Palmer Dabbelt
On Fri, 04 Dec 2020 02:33:36 PST (-0800), Christoph Hellwig wrote: What is the advantage over simply using nbd? There's a short bit about that in the cover letter (and in some talks), but I'll expand on it here -- I suppose my most important question is "is this interesting enough to take

Re: [PATCH v13 0/3] scsi: ufs: Add Host Performance Booster Support

2020-12-07 Thread James Bottomley
On Mon, 2020-12-07 at 19:35 +0100, Greg KH wrote: > On Mon, Dec 07, 2020 at 06:26:03PM +, Christoph Hellwig wrote: > > On Mon, Dec 07, 2020 at 07:23:12PM +0100, Greg KH wrote: > > > What "real workload" test can be run on this to help show if it > > > is useful or not? These vendors seem to

Re: [PATCH] drivers: thermal: Add NULL pointer check before using cooling device stats

2020-12-07 Thread manafm
On 2020-12-05 16:42, Daniel Lezcano wrote: On 04/12/2020 20:09, Manaf Meethalavalappu Pallikunhi wrote: There is a possible chance that some cooling device stats buffer allocation fails due to very high cooling device max state value. Later cooling device update or cooling stats sysfs will try

[PATCH v2] drivers: thermal: Add NULL pointer check before using cooling device stats

2020-12-07 Thread Manaf Meethalavalappu Pallikunhi
There is a possible chance that some cooling device stats buffer allocation fails due to very high cooling device max state value. Later cooling device update sysfs can try to access stats data for the same cooling device. It will lead to NULL pointer dereference issue. Add a NULL pointer check

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

2020-12-07 Thread Paul E. McKenney
On Mon, Dec 07, 2020 at 10:48:51AM -0700, Jonathan Corbet wrote: > On Mon, 7 Dec 2020 08:47:04 -0800 > "Paul E. McKenney" wrote: > > > I freely confess that I have absolutely no idea what it doesn't like. > > It is complaining about this header comment, correct? > > > > /** > > *

Re: [External] Re: [RESEND PATCH v2 00/12] Convert all vmstat counters to pages or bytes

2020-12-07 Thread Randy Dunlap
On 12/7/20 7:02 AM, Michal Hocko wrote: > On Mon 07-12-20 22:52:30, Muchun Song wrote: >> On Mon, Dec 7, 2020 at 9:00 PM Michal Hocko wrote: >>> >>> On Sun 06-12-20 18:14:39, Muchun Song wrote: Hi, This patch series is aimed to convert all THP vmstat counters to pages and some

Re: [PATCH] dt-bindings: pwm: pca9685: add staggered-outputs property

2020-12-07 Thread Rob Herring
On Thu, Nov 12, 2020 at 05:39:31PM +0100, Clemens Gruber wrote: > The pca9685 driver supports a new staggered-outputs property for reduced > current surges and EMI. This adds documentation for the new DT property. > > Signed-off-by: Clemens Gruber > --- >

[PATCH 3/3] init: remove root_device_name

2020-12-07 Thread Alex Xu (Hello71)
root_device_name has gone through many iterations, but is now solely used for removing a /dev/ prefix off root= parameter. It's time for it to be removed. Signed-off-by: Alex Xu (Hello71) --- init/do_mounts.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 2/3] init: remove special-case for mtd/ubi

2020-12-07 Thread Alex Xu (Hello71)
This should be handled by the fallback after trying to resolve it. Signed-off-by: Alex Xu (Hello71) --- init/do_mounts.c | 5 - 1 file changed, 5 deletions(-) diff --git a/init/do_mounts.c b/init/do_mounts.c index 8aa38ec0bfec..a2a273b9866f 100644 --- a/init/do_mounts.c +++

Re: [PATCH] s390/vfio-ap: Clean up vfio_ap resources when KVM pointer invalidated

2020-12-07 Thread Tony Krowiak
On 12/4/20 2:05 PM, Halil Pasic wrote: On Fri, 4 Dec 2020 09:43:59 -0500 Tony Krowiak wrote: +{ + if (matrix_mdev->kvm) { + (matrix_mdev->kvm); + matrix_mdev->kvm->arch.crypto.pqap_hook = NULL; Is a plain assignment to arch.crypto.pqap_hook apropriate, or

[PATCH 1/3] init: fall back on mounting raw root

2020-12-07 Thread Alex Xu (Hello71)
9p/virtio, virtiofs, and others can be mounted with no block device or userspace helpers. Signed-off-by: Alex Xu (Hello71) --- init/do_mounts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init/do_mounts.c b/init/do_mounts.c index b5f9604d0c98..8aa38ec0bfec 100644 ---

Re: [PATCH 02/22] dt-bindings: Add bindings for Keem Bay IPC driver

2020-12-07 Thread Daniele Alessandrelli
Hi Rob, Thanks for the feedback. On Mon, 2020-12-07 at 10:01 -0600, Rob Herring wrote: > On Tue, Dec 01, 2020 at 02:34:51PM -0800, mgr...@linux.intel.com wrote: > > From: Daniele Alessandrelli > > > > Add DT binding documentation for the Intel Keem Bay IPC driver, which > > enables

Re: [PATCH] MAINTAINERS: crypto: s5p-sss: drop Kamil Konieczny

2020-12-07 Thread Vladimir Zapolskiy
On 12/7/20 6:55 PM, Krzysztof Kozlowski wrote: E-mails to Kamil Konieczny to his Samsung address bounce with 550 (User unknown). Kamil no longer takes care about Samsung S5P SSS driver so remove the invalid email address from: - mailmap, - bindings maintainer entries, - maintainers entry

Re: [PATCH 3/3] exec: Transform exec_update_mutex into a rw_semaphore

2020-12-07 Thread Linus Torvalds
On Mon, Dec 7, 2020 at 1:10 AM Peter Zijlstra wrote: > > > PeterZ, is there something I'm missing? > > Like this? > > > https://lkml.kernel.org/r/20200828123720.gz1362...@hirez.programming.kicks-ass.net Yes, except I think you should remove the old ptrace_may_access() check. Because

Re: linux-next: Tree for Dec 7 (bpf: sock_from_file)

2020-12-07 Thread Randy Dunlap
On 12/7/20 1:25 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20201204: > on i386: # CONFIG_NET is not set ld: kernel/trace/bpf_trace.o: in function `bpf_sock_from_file': bpf_trace.c:(.text+0xe23): undefined reference to `sock_from_file' -- ~Randy Reported-by: Randy Dunlap

Re: [External] Re: [PATCH v7 00/15] Free some vmemmap pages of hugetlb page

2020-12-07 Thread Oscar Salvador
On Fri, Dec 04, 2020 at 11:39:31AM +0800, Muchun Song wrote: > On Fri, Dec 4, 2020 at 7:49 AM Mike Kravetz wrote: > > As previously mentioned, I feel qualified to review the hugetlb changes > > and some other closely related changes. However, this patch set is > > touching quite a few areas and

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-07 Thread Justin Forbes
On Mon, Dec 7, 2020 at 2:16 AM Michal Kubecek wrote: > > On Thu, Nov 12, 2020 at 08:18:57AM +0800, Alex Shi wrote: > > > > > > 在 2020/11/11 上午3:50, Andrew Morton 写道: > > > On Tue, 10 Nov 2020 08:39:24 +0530 Souptick Joarder > > > wrote: > > > > > >> On Fri, Nov 6, 2020 at 4:55 PM Alex Shi > >

Re: [PATCH v13 0/3] scsi: ufs: Add Host Performance Booster Support

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 07:35:03PM +0100, Greg KH wrote: > On Mon, Dec 07, 2020 at 06:26:03PM +, Christoph Hellwig wrote: > > On Mon, Dec 07, 2020 at 07:23:12PM +0100, Greg KH wrote: > > > What "real workload" test can be run on this to help show if it is > > > useful or not? These vendors

Re: [PATCH v13 0/3] scsi: ufs: Add Host Performance Booster Support

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 06:26:03PM +, Christoph Hellwig wrote: > On Mon, Dec 07, 2020 at 07:23:12PM +0100, Greg KH wrote: > > What "real workload" test can be run on this to help show if it is > > useful or not? These vendors seem to think it helps for some reason, > > otherwise they wouldn't

Re: [PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers

2020-12-07 Thread Borislav Petkov
On Thu, Dec 03, 2020 at 03:25:48PM -0800, Reinette Chatre wrote: > From: Fenghua Yu > > The code of setting the CPU on which a task is running in a CPU mask is > moved into a couple of helpers. Pls read section "2) Describe your changes" in Documentation/process/submitting-patches.rst for more

Re: [PATCH v13 0/3] scsi: ufs: Add Host Performance Booster Support

2020-12-07 Thread Christoph Hellwig
On Mon, Dec 07, 2020 at 07:23:12PM +0100, Greg KH wrote: > What "real workload" test can be run on this to help show if it is > useful or not? These vendors seem to think it helps for some reason, > otherwise they wouldn't have added it to their silicon :) > > Should they run fio? If so, any

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