Re: [PATCH net-next 1/2] dt-bindings: net: nfc: s3fwrn5: Support a UART interface

2020-11-23 Thread k...@kernel.org
On Mon, Nov 23, 2020 at 04:55:26PM +0900, Bongsu Jeon wrote: > Since S3FWRN82 NFC Chip, The UART interface can be used. > S3FWRN82 supports I2C and UART interface. > > Signed-off-by: Bongsu Jeon > --- > .../bindings/net/nfc/samsung,s3fwrn5.yaml | 28 +-- > 1 file changed, 26

Re: [External] Re: [PATCH v5 13/21] mm/hugetlb: Use PG_slab to indicate split pmd

2020-11-23 Thread Muchun Song
On Mon, Nov 23, 2020 at 3:48 PM Michal Hocko wrote: > > On Fri 20-11-20 17:30:27, Muchun Song wrote: > > On Fri, Nov 20, 2020 at 4:16 PM Michal Hocko wrote: > > > > > > On Fri 20-11-20 14:43:17, Muchun Song wrote: > > > > When we allocate hugetlb page from buddy, we may need split huge pmd > > >

Re: About regression caused by commit aea6cb99703e ("regulator: resolve supply after creating regulator")

2020-11-23 Thread Qu Wenruo
On 2020/11/23 下午2:47, Jan Kiszka wrote: > On 22.11.20 17:35, Michał Mirosław wrote: >> On Sun, Nov 22, 2020 at 03:43:33PM +0100, Jan Kiszka wrote: >>> On 09.11.20 00:28, Qu Wenruo wrote: On 2020/11/9 上午1:18, Michał Mirosław wrote: > On Sun, Nov 08, 2020 at 03:35:33PM +0800, Qu Wenruo

Re: [drm/fb] 6a1b34c0a3: WARNING:at_drivers/gpu/drm/drm_fb_helper.c:#drm_fb_helper_damage_work

2020-11-23 Thread Thomas Zimmermann
Hi Am 22.11.20 um 15:18 schrieb kernel test robot: Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 6a1b34c0a339fdc75d7932ad5702f2177c9d7a1c ("drm/fb-helper: Move damage blit code and its setup into separate routine") url:

Re: [PATCH v4 3/6] irqchip: ocelot: prepare to support more SoC

2020-11-23 Thread Alexandre Belloni
On 20/11/2020 17:41:05+0100, Gregory CLEMENT wrote: > This patch extends irqchip driver for oceleot to be used with other > vcoreiii base platforms. > > Signed-off-by: Gregory CLEMENT Acked-by: Alexandre Belloni > --- > drivers/irqchip/irq-mscc-ocelot.c | 76 ++- >

Re: [PATCH v4 4/6] irqchip: ocelot: Add support for Luton platforms

2020-11-23 Thread Alexandre Belloni
On 20/11/2020 17:41:06+0100, Gregory CLEMENT wrote: > This patch extends irqchip driver for oceleot to be used with an other > vcoreiii base platform: Luton. > > For this platform there is a few differences: >- the interrupt must be enabled for the parent controller >- there is no trigger

Re: [PATCH 01/29] iov_iter: Switch to using a table of operations

2020-11-23 Thread Christoph Hellwig
On Sat, Nov 21, 2020 at 02:13:30PM +, David Howells wrote: > Switch to using a table of operations. In a future patch the individual > methods will be split up by type. For the moment, however, the ops tables > just jump directly to the old functions - which are now static. Inline >

linux-next: manual merge of the akpm-current tree with the tip tree

2020-11-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: include/linux/mm.h between commit: 95bb7c42ac8a ("mm: Add 'mprotect' hook to struct vm_operations_struct") from the tip tree and commit: 6dd8e5dab7c1 ("mremap: don't allow MREMAP_DONTUNMAP on special_mappings

Re: [PATCH v4 1/4] dt-bindings: phy: Add sparx5-serdes bindings

2020-11-23 Thread Steen Hegelund
On 20.11.2020 17:09, Alexandre Belloni wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe Hi, On 20/11/2020 16:03:56+0100, Steen Hegelund wrote: Document the Sparx5 ethernet serdes phy driver bindings. Signed-off-by: Lars Povlsen

Re: [PATCH 2/2] jffs2: fix can't set rp_size to zero during remounting

2020-11-23 Thread Richard Weinberger
On Thu, Nov 19, 2020 at 3:59 AM Zhe Li wrote: > > Maintainer ping? Didn't I reply to this series? /me double checks sent folder. -- Thanks, //richard

Re: [PATCH net-next 2/2] net: nfc: s3fwrn5: Support a UART interface

2020-11-23 Thread k...@kernel.org
On Mon, Nov 23, 2020 at 04:56:58PM +0900, Bongsu Jeon wrote: > Since S3FWRN82 NFC Chip, The UART interface can be used. > S3FWRN82 uses NCI protocol and supports I2C and UART interface. > > Signed-off-by: Bongsu Jeon Please start sending emails properly, e.g. with git send-email, so all your

Re: [PATCH net] bonding: fix feature flag setting at init time

2020-11-23 Thread Ivan Vecera
On Sun, 22 Nov 2020 22:17:16 -0500 Jarod Wilson wrote: > Have run into a case where bond_option_mode_set() gets called before > hw_features has been filled in, and very bad things happen when > netdev_change_features() then gets called, because the empty hw_features > wipes out almost all

Re: [PATCH net-next v4 2/5] net/lapb: support netdev events

2020-11-23 Thread Xie He
On Sun, Nov 22, 2020 at 10:55 PM Martin Schiller wrote: > > No, they aren't independent. The carrier can only be up if the device / > interface is UP. And as far as I can see a NETDEV_CHANGE event will also > only be generated on interfaces that are UP. > > So you can be sure, that if there is a

Re: [PATCH 050/141] RDMA/mlx5: Fix fall-through warnings for Clang

2020-11-23 Thread Leon Romanovsky
On Fri, Nov 20, 2020 at 12:31:49PM -0600, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding the new pseudo-keyword fallthrough; instead of > letting the code fall through to the next case. > > Link:

Re: [PATCH 104/141] mtd: rawnand: stm32_fmc2: Fix fall-through warnings for Clang

2020-11-23 Thread Miquel Raynal
Hi Gustavo, "Gustavo A. R. Silva" wrote on Fri, 20 Nov 2020 12:37:48 -0600: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple > of warnings by explicitly adding a couple of fallthrough pseudo-keywords > instead of letting the code fall through to the next case. > >

drivers/ntb/hw/idt/ntb_hw_idt.c:1116:1: warning: the frame size of 1032 bytes is larger than 1024 bytes

2020-11-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 418baf2c28f3473039f2f7377760bd8f6897ae18 commit: f2c9699f65557a31fed4ddb9e5b4d9489b1bf32f riscv: Add STACKPROTECTOR supported date: 4 months ago config: riscv-randconfig-r035-20201123 (attached as .config

[PATCH] drm/nouveau/fb/gp102-: use flexible-array member instead of zero-length array

2020-11-23 Thread Tian Tao
fixed the coccicheck: drivers/gpu/drm/nouveau/include/nvfw/hs.h:26:5-9: WARNING use flexible-array member instead. Signed-off-by: Tian Tao --- drivers/gpu/drm/nouveau/include/nvfw/hs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/include/nvfw/hs.h

Re: [PATCH 0/2] arm64: dts: meson-axg-s400: add support for Power Controller & MIPI-DSI PHY

2020-11-23 Thread Neil Armstrong
Hi, On 20/11/2020 20:00, Kevin Hilman wrote: > Neil Armstrong writes: > >> This adds the Power Controller and MIPI DSI PHY nodes to AXG, since the >> corresponding >> driver and dt-bindings had been applied for next release. >> >> Dependencies: >> - Patch 1: [1] applied for 5.11 in meson-clk

Re: [PATCH 1/3] Input: goodix - add option to disable firmware loading

2020-11-23 Thread Hans de Goede
Hi, On 11/23/20 7:53 AM, Dmitry Torokhov wrote: > On Fri, Oct 30, 2020 at 10:56:20AM +0100, Hans de Goede wrote: >> Hi, >> >> On 10/29/20 9:36 PM, Dmitry Torokhov wrote: >>> Hi Andrej, >>> >>> On Thu, Oct 29, 2020 at 06:03:11PM +0100, Andrej Valek wrote: Firmware file loadind for GT911

Re: [PATCH] Input: soc_button_array - add missing include

2020-11-23 Thread Hans de Goede
Hi, On 11/23/20 7:15 AM, Dmitry Torokhov wrote: > This fixes the following build errors: > > CC [M] drivers/input/misc/soc_button_array.o > drivers/input/misc/soc_button_array.c:156:4: error: implicit declaration of > function 'irq_set_irq_type' [-Werror,-Wimplicit-function-declaration] >

[PATCH v3] media: v4l2-ctrl: Add base layer priority id control.

2020-11-23 Thread Dikshita Agarwal
This control indicates the priority id to be applied to base layer. Signed-off-by: Dikshita Agarwal --- Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 9 + drivers/media/v4l2-core/v4l2-ctrls.c | 1 + include/uapi/linux/v4l2-controls.h

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

2020-11-23 Thread Muchun Song
On Mon, Nov 23, 2020 at 3:40 PM Michal Hocko wrote: > > On Fri 20-11-20 23:44:26, Muchun Song wrote: > > On Fri, Nov 20, 2020 at 9:11 PM Michal Hocko wrote: > > > > > > On Fri 20-11-20 20:40:46, Muchun Song wrote: > > > > On Fri, Nov 20, 2020 at 4:42 PM Michal Hocko wrote: > > > > > > > > > >

Re: [PATCH net-next v4 2/5] net/lapb: support netdev events

2020-11-23 Thread Martin Schiller
On 2020-11-23 09:31, Xie He wrote: On Sun, Nov 22, 2020 at 10:55 PM Martin Schiller wrote: No, they aren't independent. The carrier can only be up if the device / interface is UP. And as far as I can see a NETDEV_CHANGE event will also only be generated on interfaces that are UP. So you

Re: [PATCH RFC 01/10] vmalloc: Add basic perm alloc implementation

2020-11-23 Thread Christoph Hellwig
First thanks for doing this, having a vmalloc variant that starts out with proper permissions has been on my todo list for a while. > +#define PERM_R 1 > +#define PERM_W 2 > +#define PERM_X 4 > +#define PERM_RWX (PERM_R | PERM_W | PERM_X) > +#define PERM_RW

Re: Pinning ZONE_MOVABLE pages

2020-11-23 Thread Michal Hocko
On Fri 20-11-20 15:27:46, Pavel Tatashin wrote: > Recently, I encountered a hang that is happening during memory hot > remove operation. It turns out that the hang is caused by pinned user > pages in ZONE_MOVABLE. > > Kernel expects that all pages in ZONE_MOVABLE can be migrated, but > this is

[PATCH v4] dt-bindings: misc: convert fsl,qoriq-mc from txt to YAML

2020-11-23 Thread Laurentiu Tudor
From: Ionut-robert Aron Convert fsl,qoriq-mc to YAML in order to automate the verification process of dts files. In addition, update MAINTAINERS accordingly and, while at it, add some missing files. Signed-off-by: Ionut-robert Aron [laurentiu.tu...@nxp.com: update MINTAINERS, updates & fixes

Re: [RFC PATCH v1 1/4] irqchip/gic-v4.1: Plumb get_irqchip_state VLPI callback

2020-11-23 Thread Marc Zyngier
On 2020-11-23 06:54, Shenming Lu wrote: From: Zenghui Yu Up to now, the irq_get_irqchip_state() callback of its_irq_chip leaves unimplemented since there is no architectural way to get the VLPI's pending state before GICv4.1. Yeah, there has one in v4.1 for VLPIs. With GICv4.1, after

[PATCH 0/3] STM32MP15 OTG params updates

2020-11-23 Thread Amelie Delaunay
This patchset brings some updates on STM32MP15 OTG HS and FS. It sets ahbcfg parameter for both HS and FS as the value reported by the hardware is not recommended. It also disables Link Power Management on OTG HS because with some Host controllers (at least seen with some USB 3.2 Gen2

[PATCH 2/3] usb: dwc2: enable FS/LS PHY clock select on STM32MP15 FS OTG

2020-11-23 Thread Amelie Delaunay
When the core is in FS host mode, using the FS transceiver, and a Low-Speed device is connected, transceiver clock is 6Mhz. So, to support Low-Speed devices, enable support of FS/LS Low Power mode, so that the PHY supplies a 6 MHz clock during Low-Speed mode. Signed-off-by: Amelie Delaunay ---

Re: [PATCH v1 0/2] Add support to capture external module's SCM version

2020-11-23 Thread Christoph Hellwig
On Sat, Nov 21, 2020 at 01:16:49AM +, Will McVicker wrote: > These two patches add module support to capture an external module's SCM > version as a MODULE_INFO() attribute. This allows users to identity the SCM > version of a given kernel module by using the modinfo tool or on the device >

linux-next: Tree for Nov 23

2020-11-23 Thread Stephen Rothwell
Hi all, Changes since 20201120: Linus' tree gained a build failure for which I applied a patch. The tip tree gained a conflict against the cpupower tree. The akpm-current tree gained a conflict against the tip tree. Non-merge commits (relative to Linus' tree): 6791 6784 files changed, 580241

[PATCH 3/3] usb: dwc2: disable Link Power Management on STM32MP15 HS OTG

2020-11-23 Thread Amelie Delaunay
Link Power Management (LPM) on STM32MP15 OTG HS encounters instabilities with some Host controllers. OTG core fails to exit L1 state in 200us: "dwc2 4900.usb-otg: Failed to exit L1 sleep state in 200us." Then the device is still not enumerated. To avoid this issue, disable Link Power

[PATCH 1/3] usb: dwc2: set ahbcfg parameter for STM32MP15 OTG HS and FS

2020-11-23 Thread Amelie Delaunay
STM32MP15 ahbcfg register default value sets Burst length/type (HBSTLEN) to Single (32-bit accesses on AHB), which is not recommended, according to STM32MP157 Reference manual [1]. This patch sets Burst length/type (HBSTLEN) so that bus transactions target 16x32 bit accesses. This improves OTG

Re: [EXT] Re: [PATCH v4 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-23 Thread Krzysztof Kozlowski
On Mon, Nov 23, 2020 at 04:45:13AM +, Alice Guo wrote: > > > > -Original Message- > > From: Krzysztof Kozlowski > > Sent: 2020年11月20日 18:51 > > To: Alice Guo > > Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de; > > dl-linux-imx ; Peng Fan ; > >

Re: [PATCH v2] checkpatch: add --fix option for INCLUDE_LINUX

2020-11-23 Thread Dwaipayan Ray
On Sun, Nov 22, 2020 at 2:54 AM Dwaipayan Ray wrote: > > Provide fix option to INCLUDE_LINUX check to replace asm > includes. > > Macros of type: > #include > > are corrected to: > #include > > Signed-off-by: Dwaipayan Ray > --- > Hello Joe, Could I get some review on this if you are not

Re: [PATCH net-next 3/3] net: phy: mscc: use new PTP_MSGTYPE_* defines

2020-11-23 Thread Antoine Tenart
Hello Christian, Quoting Christian Eggers (2020-11-22 09:26:36) > Use recently introduced PTP_MSGTYPE_SYNC and PTP_MSGTYPE_DELAY_REQ > defines instead of a driver internal enumeration. > > Signed-off-by: Christian Eggers Reviewed-by: Antoine Tenart Thanks! Antoine > Cc: Quentin Schulz >

Re: [RFC PATCH v1 2/4] KVM: arm64: GICv4.1: Try to save hw pending state in save_pending_tables

2020-11-23 Thread Marc Zyngier
On 2020-11-23 06:54, Shenming Lu wrote: After pausing all vCPUs and devices capable of interrupting, in order ^ See my comment below about this. to save the information of all interrupts, besides flushing the pending states in kvm’s vgic, we also try to flush the

[PATCH 3/3] MIPS: Loongson: Enable Loongson SPI in loongson3_defconfig

2020-11-23 Thread Qing Zhang
This is now supported, enable for Loongson systems. Signed-off-by: Qing Zhang --- arch/mips/configs/loongson3_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig index 38a817e..3f88e6c 100644 ---

[PATCH 2/3] MIPS: Loongson64: DTS: Add SPI support to LS3A

2020-11-23 Thread Qing Zhang
The LS3A SPI module is now supported, enable it. Signed-off-by: Qing Zhang --- arch/mips/boot/dts/loongson/loongson64c-package.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/boot/dts/loongson/loongson64c-package.dtsi

[PATCH 1/3] spi: Loongson: Add Loongson 3A+7A SPI controller driver support

2020-11-23 Thread Qing Zhang
This module is integrated into the Loongson-3A SoC and the LS7A bridge chip. The SPI controller has the following characteristics: -Full-duplex synchronous serial data transmission -Support up to 4 variable length byte transmission -Main mode support -Mode failure generates an error flag and

Re: [RFC] Documentation/scheduler/schedutil.txt

2020-11-23 Thread Dietmar Eggemann
On 20/11/2020 08:55, Peter Zijlstra wrote: [...] > PELT (Per Entity Load Tracking) > --- [...] > Using this we track 2 key metrics: 'running' and 'runnable'. 'Running' > reflects the time an entity spends on the CPU, while 'runnable' reflects the > time an entity

RE: [PATCH v15 0/9] Enable ptp_kvm for arm/arm64

2020-11-23 Thread Jianyong Wu
Hi, Ping ... Any comments? > -Original Message- > From: Jianyong Wu > Sent: Wednesday, November 11, 2020 2:22 PM > To: net...@vger.kernel.org; yangbo...@nxp.com; john.stu...@linaro.org; > t...@linutronix.de; pbonz...@redhat.com; sean.j.christopher...@intel.com; > m...@kernel.org;

Re: [RFC PATCH v1 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2020-11-23 Thread Marc Zyngier
On 2020-11-23 06:54, Shenming Lu wrote: From: Zenghui Yu When setting the forwarding path of a VLPI, it is more consistent to I'm not sure it is more consistent. It is a *new* behaviour, because it only matters for migration, which has been so far unsupported. also transfer the pending

Re: [RFC PATCH v5] sched/fair: select idle cpu from idle cpumask for task wakeup

2020-11-23 Thread Vincent Guittot
Hi Aubrey, On Thu, 19 Nov 2020 at 13:15, Aubrey Li wrote: > > Add idle cpumask to track idle cpus in sched domain. When a CPU > enters idle, if the idle driver indicates to stop tick, this CPU > is set in the idle cpumask to be a wakeup target. And if the CPU > is not in idle, the CPU is cleared

Re: [PATCH v1 2/2] modules: add scmversion field

2020-11-23 Thread Greg KH
On Sat, Nov 21, 2020 at 01:16:51AM +, Will McVicker wrote: > Add the modinfo field `scmversion` to include the SCM version of kernel > modules, e.g. git sha1. This allows one to identify the exact source > code version of a given kernel module. > > You can retrieve it in two ways, > > 1) By

Re: [PATCH 0/3] usb: meson: fix shared reset control use

2020-11-23 Thread Amjad Ouled-Ameur
Hello Felipe and Kevin, Could you please review this patchset ? Thank you in advance. On 13/11/2020 01:05, Amjad Ouled-Ameur wrote: This patchset fixes a usb suspend warning seen on the libretech-cc by using reset_control_rearm() call of the reset framework API. This call allows a reset

Re: [RFC] Documentation/scheduler/schedutil.txt

2020-11-23 Thread Dietmar Eggemann
On 20/11/2020 09:56, Peter Zijlstra wrote: > On Fri, Nov 20, 2020 at 08:55:27AM +0100, Peter Zijlstra wrote: >> - In saturated scenarios task movement will cause some transient dips, >>suppose we have a CPU saturated with 4 tasks, then when we migrate a task >>to an idle CPU, the old CPU

Re: [PATCH v1 2/2] modules: add scmversion field

2020-11-23 Thread Greg KH
On Sat, Nov 21, 2020 at 01:16:51AM +, Will McVicker wrote: > +/** > + * struct modinfo_attrs - Module attributes. > + * @module_uevent: Used to notify udev of events. > + * @modinfo_version: Module version. > + * @modinfo_srcversion: Checksum of module source. > + * @modinfo_scmversion: SCM

Re: [PATCH 030/141] ext2: Fix fall-through warnings for Clang

2020-11-23 Thread Jan Kara
On Fri 20-11-20 12:28:25, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of just letting the code > fall through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 >

Re: [PATCH net-next v4 2/5] net/lapb: support netdev events

2020-11-23 Thread Xie He
On Mon, Nov 23, 2020 at 1:00 AM Martin Schiller wrote: > > AFAIK the carrier can't be up before the device is up. Therefore, there > will be a NETDEV_CHANGE event after the NETDEV_UP event. > > This is what I can see in my tests (with the HDLC interface). > > Is the behaviour different for e.g.

Re: [PATCH v4 20/25] coresight: etm4x: Detect system instructions support

2020-11-23 Thread Suzuki K Poulose
On 11/23/20 7:58 AM, Tingwei Zhang wrote: Hi Suzuki, On Fri, Nov 20, 2020 at 12:45:42AM +0800, Suzuki K Poulose wrote: ETM v4.4 onwards adds support for system instruction access to the ETM. Detect the support on an ETM and switch to using the mode when available. Cc: Mike Leach Reviewed-by:

Re: [PATCH] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add gpio-line-names

2020-11-23 Thread Michael Klein
On Mon, Nov 23, 2020 at 12:39:07PM +0800, Chen-Yu Tsai wrote: On Sat, Nov 21, 2020 at 2:28 AM Michael Klein wrote: Thank you for having a look at the patch! On Fri, Nov 20, 2020 at 04:52:52PM +0100, Maxime Ripard wrote: >On Sun, Nov 15, 2020 at 11:24:25PM +0100, Michael Klein wrote: >> Add

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

2020-11-23 Thread Michal Hocko
On Mon 23-11-20 16:53:53, Muchun Song wrote: > On Mon, Nov 23, 2020 at 3:40 PM Michal Hocko wrote: > > > > On Fri 20-11-20 23:44:26, Muchun Song wrote: > > > On Fri, Nov 20, 2020 at 9:11 PM Michal Hocko wrote: > > > > > > > > On Fri 20-11-20 20:40:46, Muchun Song wrote: > > > > > On Fri, Nov 20,

Re: [PATCH v3] MAINTAINERS: Add Kamel Bouhara as TCB counter driver maintainer

2020-11-23 Thread Nicolas.Ferre
On 21/11/2020 at 19:58, William Breathitt Gray wrote: > Acked-by: Kamel Bouhara > Signed-off-by: William Breathitt Gray > --- > Changes in v3: >- Reorder entries to match preferred MAINTAINERS ordering > > MAINTAINERS | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git

[PATCH v5 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-23 Thread Alice Guo
Add DT Binding doc for the Unique ID of i.MX 8M series. Signed-off-by: Alice Guo --- v2: remove the subject prefix "LF-2571-1" v3: put it into Documentation/devicetree/bindings/arm/fsl.yaml modify the description of nvmem-cells use "make ARCH=arm64 dtbs_check" to test it and fix errors

[PATCH v5 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-11-23 Thread Alice Guo
Add compatible string to .dtsi files for binding of imx8_soc_info and device. v2: remove the subject prefix "LF-2571-2" v3: none v4: change subject and commit message, add Reviewed-by Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alice Guo --- v2: remove the subject prefix "LF-2571-2" v3:

[PATCH v5 4/4] soc: imx8m: change to use platform driver

2020-11-23 Thread Alice Guo
Directly reading ocotp register depends on that bootloader enables ocotp clk, which is not always effective, so change to use nvmem API. Using nvmem API requires to support driver defer probe and thus change soc-imx8m.c to use platform driver. The other reason is that directly reading ocotp

Re: [PATCH] drm/nouveau: fix relocations applying logic and a double-free

2020-11-23 Thread Daniel Vetter
On Fri, Nov 20, 2020 at 4:23 PM Matti Hamalainen wrote: > > Commit 03e0d26fcf79 ("drm/nouveau: slowpath for pushbuf ioctl") included > a logic-bug which results in the relocations not actually getting > applied at all as the call to nouveau_gem_pushbuf_reloc_apply() is > never reached. This

[PATCH v5 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-11-23 Thread Alice Guo
In order to be able to use NVMEM APIs to read soc unique ID, add the nvmem data cell and name for nvmem-cells to the "soc" node, and add a nvmem node which provides soc unique ID to efuse@3035. Signed-off-by: Alice Guo --- v2: remove the subject prefix "LF-2571-3" v3: convert register

Re: Printk specifiers for __user pointers

2020-11-23 Thread Petr Mladek
On Fri 2020-11-20 13:42:42, Steven Rostedt wrote: > On Fri, 20 Nov 2020 11:44:12 -0500 > Alan Stern wrote: > > > To the VSPRINTF maintainers: > > > > Documentation/core-api/printk-formats.rst lists a large number of format > > specifiers for pointers of various sorts. Yet as far as I can see,

Re: [PATCH] mm, page_alloc: skip ->watermark_boost for atomic order-0 allocations-fix

2020-11-23 Thread Greg KH
On Mon, Oct 19, 2020 at 02:40:17PM -0400, Ralph Siemsen wrote: > Hi, > > Please consider applying the patch from this thread to 5.8.y: > commit f80b08fc44536a311a9f3182e50f318b79076425 5.8 is end-of-life, sorry. Now queued up for 5.4.y. thanks, greg k-h

Re: [PATCH v4 0/5] Add DW PCIe support for Exynos5433 SoCs

2020-11-23 Thread Lorenzo Pieralisi
On Fri, 13 Nov 2020 18:01:34 +0100, Marek Szyprowski wrote: > This patchset is a resurrection of the DW PCIe support for the Exynos5433 > SoCs posted long time ago here: https://lkml.org/lkml/2016/12/26/6 and > later here: https://lkml.org/lkml/2017/12/21/296 . > > In meantime the support for the

[PATCH v10 0/9] mm: introduce memfd_secret system call to create "secret" memory areas

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport Hi, This is an implementation of "secret" mappings backed by a file descriptor. The file descriptor backing secret memory mappings is created using a dedicated memfd_secret system call The desired protection mode for the memory is configured using flags parameter of the

[PATCH v10 2/9] mmap: make mlock_future_check() global

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport It will be used by the upcoming secret memory implementation. Signed-off-by: Mike Rapoport --- mm/internal.h | 3 +++ mm/mmap.c | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mm/internal.h b/mm/internal.h index c43ccdddb0f6..ae146a260b14

BUG: receive list entry not found for dev vcan0, id 001, mask C00007FF

2020-11-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:b9ad3e9f bonding: wait for sysfs kobject destruction befor.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=1195c5cd50 kernel config: https://syzkaller.appspot.com/x/.config?x=330f3436df12fd44

inconsistent lock state in io_file_data_ref_zero

2020-11-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:27bba9c5 Merge tag 'scsi-fixes' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11041f1e50 kernel config: https://syzkaller.appspot.com/x/.config?x=330f3436df12fd44

[PATCH v10 6/9] secretmem: add memcg accounting

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport Account memory consumed by secretmem to memcg. The accounting is updated when the memory is actually allocated and freed. Signed-off-by: Mike Rapoport Acked-by: Roman Gushchin --- mm/filemap.c | 3 ++- mm/secretmem.c | 36 +++- 2 files

[PATCH v10 5/9] secretmem: use PMD-size pages to amortize direct map fragmentation

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport Removing a PAGE_SIZE page from the direct map every time such page is allocated for a secret memory mapping will cause severe fragmentation of the direct map. This fragmentation can be reduced by using PMD-size pages as a pool for small pages for secret memory mappings. Add

[PATCH v10 7/9] PM: hibernate: disable when there are active secretmem users

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport It is unsafe to allow saving of secretmem areas to the hibernation snapshot as they would be visible after the resume and this essentially will defeat the purpose of secret memory mappings. Prevent hibernation whenever there are active secret memory users. Signed-off-by:

[PATCH v10 9/9] secretmem: test: add basic selftest for memfd_secret(2)

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport The test verifies that file descriptor created with memfd_secret does not allow read/write operations, that secret memory mappings respect RLIMIT_MEMLOCK and that remote accesses with process_vm_read() and ptrace() to the secret memory fail. Signed-off-by: Mike Rapoport ---

[PATCH v10 1/9] mm: add definition of PMD_PAGE_ORDER

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport The definition of PMD_PAGE_ORDER denoting the number of base pages in the second-level leaf page is already used by DAX and maybe handy in other cases as well. Several architectures already have definition of PMD_ORDER as the size of second level page table, so to avoid

[PATCH v10 4/9] mm: introduce memfd_secret system call to create "secret" memory areas

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport Introduce "memfd_secret" system call with the ability to create memory areas visible only in the context of the owning process and not mapped not only to other processes but in the kernel page tables as well. The user will create a file descriptor using the memfd_secret()

[PATCH v10 8/9] arch, mm: wire up memfd_secret system call were relevant

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport Wire up memfd_secret system call on architectures that define ARCH_HAS_SET_DIRECT_MAP, namely arm64, risc-v and x86. Signed-off-by: Mike Rapoport Acked-by: Palmer Dabbelt Acked-by: Arnd Bergmann --- arch/arm64/include/uapi/asm/unistd.h | 1 +

[PATCH v10 3/9] set_memory: allow set_direct_map_*_noflush() for multiple pages

2020-11-23 Thread Mike Rapoport
From: Mike Rapoport The underlying implementations of set_direct_map_invalid_noflush() and set_direct_map_default_noflush() allow updating multiple contiguous pages at once. Add numpages parameter to set_direct_map_*_noflush() to expose this ability with these APIs. Signed-off-by: Mike

Re: [RFC 06/11] coresight: ete: Detect ETE as one of the supported ETMs

2020-11-23 Thread Suzuki K Poulose
Hi Tingwei, On 11/14/20 5:36 AM, Tingwei Zhang wrote: Hi Anshuman, On Tue, Nov 10, 2020 at 08:45:04PM +0800, Anshuman Khandual wrote: From: Suzuki K Poulose Add ETE as one of the supported device types we support with ETM4x driver. The devices are named following the existing convention as

Re: [PATCH v4 3/6] hwmon: scmi: update hwmon internal scale data type

2020-11-23 Thread Sudeep Holla
On Sat, Nov 21, 2020 at 08:59:03AM -0800, Guenter Roeck wrote: > On Thu, Nov 19, 2020 at 05:49:03PM +, Cristian Marussi wrote: > > Use an int to calculate scale values inside scmi_hwmon_scale() to match > > the updated scale data type in struct scmi_sensor_info. > > > > Cc:

Re: [RFC 09/11] coresight: etm-perf: Disable the path before capturing the trace data

2020-11-23 Thread Suzuki K Poulose
On 11/23/20 6:08 AM, Anshuman Khandual wrote: On 11/12/20 2:57 PM, Suzuki K Poulose wrote: On 11/10/20 12:45 PM, Anshuman Khandual wrote: perf handle structure needs to be shared with the TRBE IRQ handler for capturing trace data and restarting the handle. There is a probability of an

[arm] Internal error: Oops: 17 : __traceiter_kmem_cache_alloc

2020-11-23 Thread Naresh Kamboju
While running LTP tracing on qemu_arm the following kernel crash was noticed on the linux mainline master branch kernel. Please find these easy steps to reproduce the kernel build and test steps step to reproduce: # please install tuxmake # sudo pip3 install -U tuxmake # cd linux # tuxmake

Build regressions/improvements in v5.10-rc5

2020-11-23 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.10-rc5[1] compared to v5.9[2]. Summarized: - build errors: +1/-7 - build warnings: +23/-27 JFYI, when comparing v5.10-rc5[1] to v5.10-rc4[3], the summaries are: - build errors: +0/-1 - build warnings: +4/-2 Happy

general protection fault in ieee80211_subif_start_xmit

2020-11-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a349e4c6 Merge tag 'xfs-5.10-fixes-7' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1427b22550 kernel config: https://syzkaller.appspot.com/x/.config?x=330f3436df12fd44

Re: [PATCH V3 1/2] sched/core: Rename and move schedutil_cpu_util() to core.c

2020-11-23 Thread Viresh Kumar
On 19-11-20, 13:30, Rafael J. Wysocki wrote: > On Thu, Nov 19, 2020 at 8:38 AM Viresh Kumar wrote: > > > > There is nothing schedutil specific in schedutil_cpu_util(), move it to > > core.c and rename it to sched_cpu_util(), so it can be used from other > > parts of the kernel as well. > > The

kernel BUG at fs/notify/dnotify/dnotify.c:LINE! (2)

2020-11-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:27bba9c5 Merge tag 'scsi-fixes' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11b8222550 kernel config: https://syzkaller.appspot.com/x/.config?x=330f3436df12fd44

WARNING in nbd_config_put

2020-11-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:27bba9c5 Merge tag 'scsi-fixes' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15ffd94d50 kernel config: https://syzkaller.appspot.com/x/.config?x=e7f3c831f4536ec1

WARNING in cm109_submit_buzz_toggle/usb_submit_urb

2020-11-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a349e4c6 Merge tag 'xfs-5.10-fixes-7' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1756e03550 kernel config: https://syzkaller.appspot.com/x/.config?x=330f3436df12fd44

possible deadlock in ovl_maybe_copy_up

2020-11-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a349e4c6 Merge tag 'xfs-5.10-fixes-7' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1181329950 kernel config: https://syzkaller.appspot.com/x/.config?x=a521022462477aea

Re: [RFC] Documentation/scheduler/schedutil.txt

2020-11-23 Thread Vincent Guittot
On Mon, 23 Nov 2020 at 10:30, Dietmar Eggemann wrote: > > On 20/11/2020 09:56, Peter Zijlstra wrote: > > On Fri, Nov 20, 2020 at 08:55:27AM +0100, Peter Zijlstra wrote: > >> - In saturated scenarios task movement will cause some transient dips, > >>suppose we have a CPU saturated with 4

Re: [PATCH v5 3/7] iommu: Allow the dma-iommu api to use bounce buffers

2020-11-23 Thread Christoph Hellwig
> + /* > + * If both the physical buffer start address and size are > + * page aligned, we don't need to use a bounce page. > + */ > + if (IS_ENABLED(CONFIG_SWIOTLB) && dev_is_untrusted(dev) && > + iova_offset(iovad, phys | org_size)) { > + aligned_size =

Re: [PATCH] clk: samsung: allow compile testing of Exynos, S3C64xx and S5Pv210

2020-11-23 Thread Sylwester Nawrocki
On 11/22/20 12:34, Krzysztof Kozlowski wrote: > On Fri, Nov 20, 2020 at 05:36:35PM +0100, Sylwester Nawrocki wrote: >> On 11/19/20 17:45, Krzysztof Kozlowski wrote: >>> So far all Exynos, S3C64xx and S5Pv210 clock units were selected by >>> respective SOC/ARCH Kconfig option. On a kernel built

Re: [PATCH net-next v4 2/5] net/lapb: support netdev events

2020-11-23 Thread Xie He
On Mon, Nov 23, 2020 at 1:36 AM Xie He wrote: > > Some drivers don't support carrier status and will never change it. > Their carrier status will always be UP. There will not be a > NETDEV_CHANGE event. > > lapbether doesn't change carrier status. I also have my own virtual > HDLC WAN driver (for

[PATCH net-next v2] net/nfc/nci: Support NCI 2.x initial sequence

2020-11-23 Thread Bongsu Jeon
implement the NCI 2.x initial sequence to support NCI 2.x NFCC. Since NCI 2.0, CORE_RESET and CORE_INIT sequence have been changed. If NFCEE supports NCI 2.x, then NCI 2.x initial sequence will work. In NCI 1.0, Initial sequence and payloads are as below: (DH) (NFCC) | --

Re: [PATCH v9 0/3] Add Novatek NT36xxx touchscreen driver

2020-11-23 Thread Amit Pundir
Hi, On Thu, 29 Oct 2020 at 06:32, wrote: > > From: AngeloGioacchino Del Regno > > This patch series adds support for the Novatek NT36xxx Series' In-Cell > touchscreen (integrated into the DriverIC). > > This patch series has been tested against the following devices: > - Sony Xperia 10

[PATCH] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment

2020-11-23 Thread Borislav Petkov
On Mon, Nov 23, 2020 at 06:19:22PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the tip tree, today's linux-next build (htmldocs) produced > these warnings: > > arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Function parameter or member > 'encl' not described in

[PATCH] HSI: Fix PM usage counter unbalance in ssi_hw_init

2020-11-23 Thread Zhang Qilong
pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to putting operation will result in reference leak here. We fix it by replacing it with pm_runtime_resume_and_get to keep usage counter balanced. Fixes: b209e047bc743 ("HSI: Introduce OMAP SSI driver") Signed-off-by:

Re: [PATCH v6 0/5] Add support for SCMIv3.0 Voltage Domain Protocol and SCMI-Regulator

2020-11-23 Thread Sudeep Holla
On Thu, 19 Nov 2020 19:10:46 +, Cristian Marussi wrote: > this series introduces the support for the new SCMI Voltage Domain Protocol > defined by the upcoming SCMIv3.0 specification, whose BETA release is > available at [1]. > > Afterwards, a new generic SCMI Regulator driver is developed on

[PATCH] PM / EM: Micro optimization in em_pd_energy

2020-11-23 Thread Pavankumar Kondeti
When the sum of the utilization of CPUs in a power domain is zero, return the energy as 0 without doing any computations. Signed-off-by: Pavankumar Kondeti --- include/linux/energy_model.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/energy_model.h

Re: [PATCH v5] clk: samsung: Prevent potential endless loop in the PLL ops

2020-11-23 Thread Sylwester Nawrocki
On 11/22/20 16:16, Krzysztof Kozlowski wrote: On Fri, Nov 20, 2020 at 04:57:31PM +0100, Sylwester Nawrocki wrote: The PLL status polling loops in the set_rate callbacks of some PLLs have no timeout detection and may become endless loops when something goes wrong with the PLL. For some PLLs

[PATCH] coresight: tmc-etr: Check if page is valid before dma_map_page()

2020-11-23 Thread Sai Prakash Ranjan
From: Mao Jinlong alloc_pages_node() return should be checked before calling dma_map_page() to make sure that valid page is mapped or else it can lead to aborts as below: Unable to handle kernel paging request at virtual address ffc00800 Mem abort info: ... pc :

Re: [PATCH v7 15/17] KVM: arm64: disable LTO for the nVHE directory

2020-11-23 Thread David Brazdil
Hey Sami, On Wed, Nov 18, 2020 at 02:07:29PM -0800, Sami Tolvanen wrote: > We use objcopy to manipulate ELF binaries for the nVHE code, > which fails with LTO as the compiler produces LLVM bitcode > instead. Disable LTO for this code to allow objcopy to be used. We now partially link the nVHE

Re: [PATCHv4 net-next 2/3] octeontx2-af: Add devlink health reporters for NPA

2020-11-23 Thread Jiri Pirko
Mon, Nov 23, 2020 at 03:49:06AM CET, gcher...@marvell.com wrote: > > >> -Original Message- >> From: Jiri Pirko >> Sent: Saturday, November 21, 2020 7:44 PM >> To: George Cherian >> Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; >> k...@kernel.org; da...@davemloft.net; Sunil

Re: [PATCH v5 16/16] dmaengine: dw-axi-dmac: Virtually split the linked-list

2020-11-23 Thread Andy Shevchenko
On Mon, Nov 23, 2020 at 10:34:52AM +0800, Sia Jee Heng wrote: > AxiDMA driver exposed the dma_set_max_seg_size() to the DMAENGINE. > It shall helps the DMA clients to create size-optimized linked-list > for the controller. > > However, there are certain situations where DMA client might not be >

  1   2   3   4   5   6   7   8   9   10   >