Re: [PATCH 2/2] i2c: imx: remove id_table entry

2020-10-24 Thread Krzysztof Kozlowski
On Sat, Oct 24, 2020 at 07:47:13AM +, Peng Fan wrote: > > Subject: Re: [PATCH 2/2] i2c: imx: remove id_table entry > > > > On Fri, Oct 23, 2020 at 04:18:23PM +0800, peng@nxp.com wrote: > > > From: Peng Fan > > > > > > The legacy platform device code has been removed under > > >

Re: [PATCH] char: ppdev: check if ioctl argument is present and valid

2020-10-24 Thread Arnd Bergmann
On Sat, Oct 24, 2020 at 5:54 PM harshal chaudhari wrote: > On Tue, Oct 13, 2020 at 4:42 PM David Laight wrote: > So I am a little bit confused about this check whether it's required or not > Please could you point me in the right direction? > > In any case, thanks for your help ... > > Here is

Re: [linux-sunxi] [PATCH 02/10] ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Clément Péron
Hi, On Sat, 24 Oct 2020 at 20:39, Icenowy Zheng wrote: > > > > 于 2020年10月25日 GMT+08:00 上午2:30:35, "Jernej Škrabec" > 写到: > >Dne sobota, 24. oktober 2020 ob 19:51:06 CEST je Icenowy Zheng > >napisal(a): > >> 在 2020-10-25星期日的 00:25 +0800,Chen-Yu Tsai写道: > >> > >> > From: Chen-Yu Tsai > >> > >

[PATCH] PCI/ASPM: Save/restore ASPM-L1SS controls for suspend/resume

2020-10-24 Thread Vidya Sagar
Previously ASPM L1-Sub-States control registers (CTL1 and CTL2) weren't saved and restored during suspend/resume leading to ASPM-L1SS configuration being lost post resume. Save the ASPM-L1SS control registers so that the configuration is retained post resume. Signed-off-by: Vidya Sagar --- v1:

[git pull] vfs misc pile

2020-10-24 Thread Al Viro
Assorted stuff all over the place (the largest group here is Christoph's stat cleanups). This is probably the last pull request for this window - there's also a group of sparc patches in -next, and davem seemed to be OK with that at the time, but I'd rather have it go through his tree

Re: [linux-sunxi] [PATCH 02/10] ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Icenowy Zheng
于 2020年10月25日 GMT+08:00 上午2:30:35, "Jernej Škrabec" 写到: >Dne sobota, 24. oktober 2020 ob 19:51:06 CEST je Icenowy Zheng >napisal(a): >> 在 2020-10-25星期日的 00:25 +0800,Chen-Yu Tsai写道: >> >> > From: Chen-Yu Tsai >> > >> > The Ethernet PHY on the A31 Hummingbird has the RX and TX delays >> >

Re: [linux-sunxi] [PATCH 02/10] ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Jernej Škrabec
Dne sobota, 24. oktober 2020 ob 19:51:06 CEST je Icenowy Zheng napisal(a): > 在 2020-10-25星期日的 00:25 +0800,Chen-Yu Tsai写道: > > > From: Chen-Yu Tsai > > > > The Ethernet PHY on the A31 Hummingbird has the RX and TX delays > > enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. > > >

[no subject]

2020-10-24 Thread Mr. Landolt
Antworten Sie zu den 850.000,00 Euro, die Ihnen gerade von Herrn Manuel Franco gespendet wurden.

[no subject]

2020-10-24 Thread Mr. Landolt
Antworten Sie zu den 850.000,00 Euro, die Ihnen gerade von Herrn Manuel Franco gespendet wurden.

Re: [RFC net-next 0/5] net: phy: add support for shared interrupts

2020-10-24 Thread Ioana Ciornei
On Sat, Oct 24, 2020 at 07:17:05PM +0200, Andrew Lunn wrote: > > - Every PHY driver gains a .handle_interrupt() implementation that, for > > the most part, would look like below: > > > > irq_status = phy_read(phydev, INTR_STATUS); > > if (irq_status < 0) { > >

Re: WARNING in dma_map_page_attrs

2020-10-24 Thread Jakub Kicinski
CC: rdma, looks like rdma from the stack trace On Fri, 23 Oct 2020 20:07:17 -0700 syzbot wrote: > syzbot has found a reproducer for the following issue on: > > HEAD commit:3cb12d27 Merge tag 'net-5.10-rc1' of git://git.kernel.org/.. > git tree: net > console output:

Re: [PATCH v3] checkpatch: fix false positives in REPEATED_WORD warning

2020-10-24 Thread Aditya
On 24/10/20 9:03 pm, Joe Perches wrote: > On Sat, 2020-10-24 at 18:54 +0530, Aditya wrote: >>> Would you like to work on >>> further rules that can be improved with your evaluation approach? >> >> Yes, I would like work on further rules. > > Some generic ideas: > > How about working to reduce

Re: [GIT PULL] RISC-V Patches for the 5.10 Merge Window, Part 2

2020-10-24 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Oct 2020 22:13:02 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv-for-linus-5.10-mw1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0593c1b4598a77b5f835b278cde0ab71e2578588 Thank you! --

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.10-2 tag

2020-10-24 Thread pr-tracker-bot
The pull request you sent on Sat, 24 Oct 2020 21:50:21 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.10-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b6f96e75ae121ead54da3f58c545d68184079f90 Thank you! --

Re: [RFC net-next 0/5] net: phy: add support for shared interrupts

2020-10-24 Thread Russell King - ARM Linux admin
On Sat, Oct 24, 2020 at 07:17:05PM +0200, Andrew Lunn wrote: > > - Every PHY driver gains a .handle_interrupt() implementation that, for > > the most part, would look like below: > > > > irq_status = phy_read(phydev, INTR_STATUS); > > if (irq_status < 0) { > >

Re: [PATCH net] ravb: Fix bit fields checking in ravb_hwtstamp_get()

2020-10-24 Thread Sergei Shtylyov
On 9/30/20 10:21 PM, Andrew Gabbasov wrote: > In the function ravb_hwtstamp_get() in ravb_main.c with the existing > values for RAVB_RXTSTAMP_TYPE_V2_L2_EVENT (0x2) and RAVB_RXTSTAMP_TYPE_ALL > (0x6) > > if (priv->tstamp_rx_ctrl & RAVB_RXTSTAMP_TYPE_V2_L2_EVENT) > config.rx_filter =

Re: [PATCH net] ravb: Fix bit fields checking in ravb_hwtstamp_get()

2020-10-24 Thread Sergei Shtylyov
Hello! On 10/19/20 10:32 AM, Andrew Gabbasov wrote: Sorry for the delay again, I keep forgetting about the mails I' couldn't reply quickly. :-| [...] >>The patch was set to the "Changes Requested" state -- most probably >> because of this >> mail. Though unintentionally, it served to

Re: [PATCH v4] mm,thp,shmem: limit shmem THP alloc gfp_mask

2020-10-24 Thread Rik van Riel
On Sat, 2020-10-24 at 03:09 +0100, Matthew Wilcox wrote: > On Fri, Oct 23, 2020 at 08:48:04PM -0400, Rik van Riel wrote: > > The allocation flags of anonymous transparent huge pages can be > > controlled > > through the files in /sys/kernel/mm/transparent_hugepage/defrag, > > which can > > help

Re: [linux-sunxi] [PATCH 02/10] ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Icenowy Zheng
在 2020-10-25星期日的 00:25 +0800,Chen-Yu Tsai写道: > From: Chen-Yu Tsai > > The Ethernet PHY on the A31 Hummingbird has the RX and TX delays > enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. > > Fix the phy-mode description to correct reflect this so that the > implementation doesn't

Re: [RFC PATCH 6/6] ethernet: dfl-eth-group: add support for the 10G configurations

2020-10-24 Thread Tom Rix
On 10/23/20 1:45 AM, Xu Yilun wrote: > This patch adds 10G configurations support for dfl ether group private > feature. > > 10G configurations have different PHY & MAC IP blocks from 25G, so a > different set of HW operations is implemented, but the software arch is > quite similar with 25G.

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-24 Thread Segher Boessenkool
On Fri, Oct 23, 2020 at 09:28:59PM +, David Laight wrote: > From: Segher Boessenkool > > Sent: 23 October 2020 19:27 > > On Fri, Oct 23, 2020 at 06:58:57PM +0100, Al Viro wrote: > > > On Fri, Oct 23, 2020 at 03:09:30PM +0200, David Hildenbrand wrote: > > > On arm64 when callee expects a 32bit

Re: [RFC PATCH 4/6] ethernet: m10-retimer: add support for retimers on Intel MAX 10 BMC

2020-10-24 Thread Tom Rix
On 10/24/20 9:39 AM, Andrew Lunn wrote: > On Sat, Oct 24, 2020 at 08:03:51AM -0700, Tom Rix wrote: >> On 10/23/20 1:45 AM, Xu Yilun wrote: >>> This driver supports the ethernet retimers (Parkvale) for the Intel PAC >>> (Programmable Acceleration Card) N3000, which is a FPGA based Smart NIC. >>

Re: [RFC PATCH 5/6] ethernet: dfl-eth-group: add DFL eth group private feature driver

2020-10-24 Thread Tom Rix
On 10/23/20 1:45 AM, Xu Yilun wrote: > This driver supports the DFL Ether Group private feature for the Intel(R) > PAC N3000 FPGA Smart NIC. > > The DFL Ether Group private feature contains an Ether Wrapper and several > ports (phy-mac pair). There are two types of Ether Groups, line side &

Re: [RFC net-next 0/5] net: phy: add support for shared interrupts

2020-10-24 Thread Andrew Lunn
> - Every PHY driver gains a .handle_interrupt() implementation that, for > the most part, would look like below: > > irq_status = phy_read(phydev, INTR_STATUS); > if (irq_status < 0) { > phy_error(phydev); > return IRQ_NONE; > } > > if

Re: Re: [PATCH] gpu/drm/mgag200:remove break after return

2020-10-24 Thread Sam Ravnborg
Hi Bernard. On Fri, Oct 23, 2020 at 03:48:49PM +0800, Bernard wrote: > > > From: Thomas Zimmermann > Date: 2020-10-23 15:13:30 > To: Bernard Zhao ,Dave Airlie ,David > Airlie ,Daniel Vetter > ,dri-de...@lists.freedesktop.org,linux-kernel@vger.kernel.org > Cc: opensource.ker...@vivo.com >

Re: [PATCH] watchdog: Add Nuvoton NCT668x watchdog driver

2020-10-24 Thread Guenter Roeck
On Fri, Oct 23, 2020 at 11:15:50PM +0800, zhang...@gmail.com wrote: > From: Freeman Zhang > > Add the watchdog driver for Nuvoton NCT668x series. So far this driver only > supports NCT6688DL and customized chip used in Lenovo ThinkCentre M90n Nano. > > Signed-off-by: Freeman Zhang > --- >

Re: [linux-sunxi] [PATCH 03/10] ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Emilio López
El 24/10/20 a las 13:25, Chen-Yu Tsai escribió: From: Chen-Yu Tsai The Ethernet PHY on the Cubietruck has the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure

drivers/usb/host/fhci-hcd.c:59:16: sparse: sparse: cast to restricted __be16

2020-10-24 Thread kernel test robot
-s031-20201024 (attached as .config) compiler: powerpc-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-17

RE: [PATCH] x86/uaccess: fix code generation in put_user()

2020-10-24 Thread David Laight
From: David Laight > Sent: 23 October 2020 22:52 ... > Could do_put_user() do an initial check for 64 bit > then expand a different #define that contains the actual > code passing either "a" or "A" for the constriant. > > Apart from another level of indirection nothing is duplicated. This code

Re: [RFC PATCH v3 7/9] ipu3-cio2: Check if pci_dev->dev's fwnode is a software_node in cio2_parse_firmware() and set FWNODE_GRAPH_DEVICE_DISABLED if so

2020-10-24 Thread Laurent Pinchart
Hi Dan, On Sat, Oct 24, 2020 at 05:33:32PM +0100, Dan Scally wrote: > On 24/10/2020 15:29, Sakari Ailus wrote: > > On Sat, Oct 24, 2020 at 03:39:55AM +0300, Laurent Pinchart wrote: > >> On Wed, Oct 21, 2020 at 01:49:10AM +0300, Sakari Ailus wrote: > >>> On Tue, Oct 20, 2020 at 08:56:07PM +0100,

Re: [RFC PATCH 4/6] ethernet: m10-retimer: add support for retimers on Intel MAX 10 BMC

2020-10-24 Thread Andrew Lunn
On Sat, Oct 24, 2020 at 08:03:51AM -0700, Tom Rix wrote: > > On 10/23/20 1:45 AM, Xu Yilun wrote: > > This driver supports the ethernet retimers (Parkvale) for the Intel PAC > > (Programmable Acceleration Card) N3000, which is a FPGA based Smart NIC. > > Parkvale is a code name, it would be

[PATCH] venus: venc: Fix default capture format

2020-10-24 Thread Stanimir Varbanov
The default codec after driver open is set to be H264 but the instance format for capture is wrongly set to H263. Correct this to H264. For regular applications this is not a big issue because they set the format through S_FMT but for example v4l2-complience does not. Signed-off-by: Stanimir

[PATCH] venus: venc: Fix setting of profile and level

2020-10-24 Thread Stanimir Varbanov
The profile and level in op_set_ctrl was recently changed but during v4l2_ctrl_handler_setup profile and level control values are mangled. Fixes: 435c53c3698f ("media: venus: venc: Use helper to set profile and level") Signed-off-by: Stanimir Varbanov ---

Re: [RFC PATCH v3 7/9] ipu3-cio2: Check if pci_dev->dev's fwnode is a software_node in cio2_parse_firmware() and set FWNODE_GRAPH_DEVICE_DISABLED if so

2020-10-24 Thread Dan Scally
On 24/10/2020 15:29, Sakari Ailus wrote: > On Sat, Oct 24, 2020 at 03:39:55AM +0300, Laurent Pinchart wrote: >> Hi Sakari >> >> On Wed, Oct 21, 2020 at 01:49:10AM +0300, Sakari Ailus wrote: >>> On Tue, Oct 20, 2020 at 08:56:07PM +0100, Dan Scally wrote: On 20/10/2020 13:06, Sakari Ailus

[PATCH] intel_idle: Fix max_cstate for processor models without C-state tables

2020-10-24 Thread Chen Yu
Currently intel_idle driver gets the c-state information from ACPI _CST if the processor model is not recognized by it. However the c-state in _CST starts with index 1 which is different from the index in intel_idle driver's internal c-state table. While intel_idle_max_cstate_reached() was

[PATCH 10/10] arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Ethernet PHY on the Bananapi M64 has the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened with commit

[PATCH 08/10] ARM: dts: sunxi: bananapi-m2-plus: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Ethernet PHY on the Bananapi M2+ has the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened with commit

[PATCH 03/10] ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Ethernet PHY on the Cubietruck has the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened with commit

[PATCH 05/10] ARM: dts: sun8i: h3: orangepi-plus2e: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Ethernet PHY on the Orange Pi Plus 2E has the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened with

[PATCH 07/10] ARM: dts: sun9i: Enable both RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Ethernet PHY on the Cubieboard 4 and A80 Optimus have the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This

[PATCH 09/10] arm64: dts: allwinner: h5: libretech-all-h5-cc: Enable RGMII RX/TX delay on PHY

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Ethernet PHY on the Libre Computer ALL-H5-CC has the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened

[PATCH 01/10] Revert "arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high"

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This reverts commit 75ee680cbd2e4d0156b94f9fec50076361ab12f2. Turns out the activity and link LEDs on the RJ45 port are active low, just like on the Orange Pi PC. Revert the commit that says otherwise. Fixes: 75ee680cbd2e ("arm: sun8i: orangepi-pc-plus: Set EMAC activity

[PATCH 02/10] ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Ethernet PHY on the A31 Hummingbird has the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened with

Re: memory leak in xdp_umem_create

2020-10-24 Thread Magnus Karlsson
On Fri, Oct 23, 2020 at 6:24 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:f804b315 Merge tag 'linux-watchdog-5.10-rc1' of git://www... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1797677f90 > kernel config:

[PATCH 06/10] ARM: dts: sun8i: a83t: Enable both RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Ethernet PHY on the Bananapi M3 and Cubietruck Plus have the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This

[PATCH 04/10] ARM: dts: sun7i: bananapi-m1-plus: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Ethernet PHY on the Bananapi M1+ has the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened with commit

Re: [PATCH v4 19/34] clk: mediatek: Add MT8192 imp i2c wrapper c clock support

2020-10-24 Thread Yingjoe Chen
On Thu, 2020-10-22 at 20:37 +0800, Weiyi Lu wrote: > Add MT8192 imp i2c wrapper c clock provider > > Signed-off-by: Weiyi Lu > --- > drivers/clk/mediatek/Kconfig | 6 +++ > drivers/clk/mediatek/Makefile| 1 + >

[RFC 1/3] dt-bindings: clock: imx8mn: Add media blk_ctl clock IDs

2020-10-24 Thread Adam Ford
These will be used by the imx8mn for blk_ctl driver. Signed-off-by: Adam Ford --- include/dt-bindings/clock/imx8mn-clock.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/dt-bindings/clock/imx8mn-clock.h b/include/dt-bindings/clock/imx8mn-clock.h index

[RFC 0/3] clk: imx: Implement blk-ctl driver for i.MX8MN

2020-10-24 Thread Adam Ford
There are some less-documented registers which control clocks and resets for the multimedia block which controls the LCDIF, ISI, MIPI CSI, and MIPI DSI. The i.Mx8M Nano appears to have a subset of the i.MX8MP registers with a couple shared registers with the i.MX8MM. This series builds on the

[RFC 3/3] clk: imx: Add blk-ctl driver for i.MX8MN

2020-10-24 Thread Adam Ford
This driver is intended to work with the multimedia block which contains display and camera subsystems: LCDIF ISI MIPI CSI MIPI DSI Signed-off-by: Adam Ford --- drivers/clk/imx/clk-blk-ctl-imx8mn.c | 80 1 file changed, 80 insertions(+) diff --git

[RFC 2/3] dt-bindings: reset: imx8mn: Add media blk_ctl reset IDs

2020-10-24 Thread Adam Ford
These will be used by the imx8mn for blk_ctl driver. Signed-off-by: Adam Ford --- include/dt-bindings/reset/imx8mn-reset.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/include/dt-bindings/reset/imx8mn-reset.h b/include/dt-bindings/reset/imx8mn-reset.h new file

Re: [RFC] Have insn decoder functions return success/failure

2020-10-24 Thread Andy Lutomirski
On Sat, Oct 24, 2020 at 1:23 AM Borislav Petkov wrote: > > On Fri, Oct 23, 2020 at 05:12:49PM -0700, Andy Lutomirski wrote: > > I disagree. A real CPU does exactly what I'm describing. If I stick > > A real modern CPU fetches up to 32 bytes insn window which it tries > to decode etc. I don't

ld.lld: warning: fs/built-in.a(cifs/cifsacl.o):(.data..L__unnamed_1) is being placed in '.data..L__unnamed_1'

2020-10-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f11901ed723d1351843771c3a84b03a253bbf8b2 commit: 9934430e2178d5164eb1ac91a9b092f9e7e64745 SMB3.1.1: Fix ids returned in POSIX query dir date: 4 days ago config: powerpc64-randconfig-r004-20201022

Re: [PATCH] dt-bindings: More whitespace clean-ups in schema files

2020-10-24 Thread Jonathan Cameron
On Fri, 23 Oct 2020 14:22:58 -0500 Rob Herring wrote: > Clean-up incorrect indentation, extra spaces, and missing EOF newline in > schema files. Most of the clean-ups are for list indentation which > should always be 2 spaces more than the preceding keyword. > > Found with yamllint (now

Re: [PATCH v39 15/24] x86/sgx: Add SGX_IOC_ENCLAVE_PROVISION

2020-10-24 Thread Andy Lutomirski
On Sat, Oct 24, 2020 at 4:34 AM Jarkko Sakkinen wrote: > > On Fri, Oct 23, 2020 at 07:19:05AM -0700, Dave Hansen wrote: > > On 10/23/20 3:17 AM, Jarkko Sakkinen wrote: > > > On Tue, Oct 20, 2020 at 02:19:26PM -0700, Dave Hansen wrote: > > >> On 10/2/20 9:50 PM, Jarkko Sakkinen wrote: > > >>> + *

Re: [PATCH v2 05/15] perf session: introduce decompressor into trace reader object

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 07:00:30PM +0300, Alexey Budankov wrote: > > Introduce decompressor to trace reader object so that decompression > could be executed on per trace file basis separately for every > trace file located in trace directory. > > Signed-off-by: Alexey Budankov > --- >

Re: [PATCH v2 04/15] perf session: move reader object definition to header file

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 06:59:48PM +0300, Alexey Budankov wrote: > > Move definition of reader to session header file to be shared > among different source files. Introduce reference to active > reader object from session object. > > Signed-off-by: Alexey Budankov > --- >

Re: [PATCH v2 08/15] perf record: write trace data into mmap trace files

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 07:02:56PM +0300, Alexey Budankov wrote: SNIP > > record__synthesize(rec, true); > - /* this will be recalculated during process_buildids() */ > - rec->samples = 0; > > if (!err) { > if (!rec->timestamp_filename) { > @@ -2680,9

Re: [PATCH v2 14/15] perf record: start threads in the beginning of trace streaming

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 07:10:09PM +0300, Alexey Budankov wrote: > > Start threads in detached state because its management is possible > via messaging. Block signals prior the threads start so only main > tool thread would be notified on external async signals during data > collection. Streaming

Re: [PATCH v2 09/15] perf record: introduce thread specific objects for trace streaming

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 07:03:48PM +0300, Alexey Budankov wrote: > > Introduce thread local data object and its array to be used for > threaded trace streaming. > > Signed-off-by: Alexey Budankov > --- > tools/perf/builtin-record.c | 18 ++ > 1 file changed, 18 insertions(+) >

[PATCH] clk: exynos7: Mark aclk_fsys1_200 as critical

2020-10-24 Thread Paweł Chmiel
This clock must be always enabled to allow access to any registers in fsys1 CMU. Until proper solution based on runtime PM is applied (similar to what was done for Exynos5433), mark that clock as critical so it won't be disabled. It was observed on Samsung Galaxy S6 device (based on Exynos7420),

Re: [PATCH v2 12/15] perf record: introduce thread local variable for trace streaming

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 07:07:00PM +0300, Alexey Budankov wrote: > > Introduce thread local variable and use it for threaded trace streaming. > > Signed-off-by: Alexey Budankov > --- > tools/perf/builtin-record.c | 71 - > 1 file changed, 62 insertions(+), 9

Re: [PATCH v2 10/15] perf record: manage thread specific data array

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 07:04:26PM +0300, Alexey Budankov wrote: > > Provide allocation, initialization, finalization and releasing of > thread specific objects at thread specific data array. Allocate > thread specific object for every data buffer making one-to-one > relation between data buffer

Re: [PATCH v2 06/15] perf session: load data directory into tool process memory

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 07:01:19PM +0300, Alexey Budankov wrote: > > Read trace files located in data directory into tool process memory. > Basic analysis support of data directories is provided for report > mode. Raw dump (-D) and aggregated reports are available for data > directories, still

Re: [PATCH v2 03/15] perf data: open data directory in read access mode

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 06:57:53PM +0300, Alexey Budankov wrote: > > Open files located at trace data directory in case read access > mode is requested. File are opened and its fds assigned to > perf_data dir files especially for loading data directories > content in perf report mode. > >

Re: [PATCH v2 00/15] Introduce threaded trace streaming for basic perf record operation

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 06:52:43PM +0300, Alexey Budankov wrote: > > Changes in v2: > - explicitly added credit tags to patches 6/15 and 15/15, > additionally to cites [1], [2] > - updated description of 3/15 to explicitly mention the reason > to open data directories in read access mode

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-10-24 Thread Andy Lutomirski
> On Oct 24, 2020, at 7:38 AM, Dr. Greg wrote: > > > I can't bring myself to believe that LSM's are going to be written > that will be making enclave security decisions on a page by page > basis. Given what I have written above, I think all of this comes > down to giving platform

Re: [PATCH v3] checkpatch: fix false positives in REPEATED_WORD warning

2020-10-24 Thread Joe Perches
On Sat, 2020-10-24 at 18:54 +0530, Aditya wrote: > > Would you like to work on > > further rules that can be improved with your evaluation approach? > > Yes, I would like work on further rules. Some generic ideas: How about working to reduce runtime and complexity by making the rules

Re: [PATCH] KVM: vmx: rename pi_init to avoid conflict with paride

2020-10-24 Thread Jens Axboe
On 10/24/20 2:10 AM, Paolo Bonzini wrote: > allyesconfig results in: > > ld: drivers/block/paride/paride.o: in function `pi_init': > (.text+0x1340): multiple definition of `pi_init'; > arch/x86/kvm/vmx/posted_intr.o:posted_intr.c:(.init.text+0x0): first defined > here > make: ***

Re: [RFC PATCH v3 9/9] ipu3-cio2: Add functionality allowing software_node connections to sensors on platforms designed for Windows

2020-10-24 Thread Sakari Ailus
Hi Daniel, Thanks for the update. On Mon, Oct 19, 2020 at 11:59:03PM +0100, Daniel Scally wrote: > Currently on platforms designed for Windows, connections between CIO2 and > sensors are not properly defined in DSDT. This patch extends the ipu3-cio2 > driver to compensate by building

[GIT PULL] io_uring fixes for 5.10-rc1

2020-10-24 Thread Jens Axboe
Hi Linus, Set of fixes that should go into -rc1: - fsize was missed in previous unification of work flags - Few fixes cleaning up the flags unification creds cases (Pavel) - Fix NUMA affinities for completely unplugged/replugged node for io-wq - Two fallout fixes from the set_fs changes. One

[GIT PULL] libata fixes for 5.10-rc1

2020-10-24 Thread Jens Axboe
Hi Linus, Two minor libata fixes: - Fix a DMA boundary mask regression for sata_rcar (Geert) - kerneldoc markup fix (Mauro) Please pull! The following changes since commit 9ff9b0d392ea08090cd1780fb196f36dbb586529: Merge tag 'net-next-5.10' of

Re: [RFC PATCH v3 9/9] ipu3-cio2: Add functionality allowing software_node connections to sensors on platforms designed for Windows

2020-10-24 Thread Sakari Ailus
Hi Laurent, Daniel, On Sat, Oct 24, 2020 at 04:24:11AM +0300, Laurent Pinchart wrote: > Hi Daniel, > > Thank you for the patch. > > On Mon, Oct 19, 2020 at 11:59:03PM +0100, Daniel Scally wrote: > > Currently on platforms designed for Windows, connections between CIO2 and > > sensors are not

[PATCH v3 4/5] scsi: add more contexts in the ufs tracepoints

2020-10-24 Thread Jaegeuk Kim
From: Jaegeuk Kim This adds user-friendly tracepoints with group id. Reviewed-by: Can Guo Signed-off-by: Jaegeuk Kim --- drivers/scsi/ufs/ufshcd.c | 6 -- include/trace/events/ufs.h | 21 + 2 files changed, 21 insertions(+), 6 deletions(-) diff --git

[PATCH v3 5/5] scsi: ufs: fix clkgating on/off correctly

2020-10-24 Thread Jaegeuk Kim
The below call stack prevents clk_gating at every IO completion. We can remove the condition, ufshcd_any_tag_in_use(), since clkgating_work will check it again. ufshcd_complete_requests(struct ufs_hba *hba) ufshcd_transfer_req_compl() __ufshcd_transfer_req_compl()

[PATCH v3 2/5] scsi: ufs: clear UAC for FFU and RPMB LUNs

2020-10-24 Thread Jaegeuk Kim
From: Jaegeuk Kim In order to conduct FFU or RPMB operations, UFS needs to clear UAC. This patch clears it explicitly, so that we could get no failure given early execution. Signed-off-by: Jaegeuk Kim --- drivers/scsi/ufs/ufshcd.c | 70 +++

[UFS v3] UFS fixes

2020-10-24 Thread Jaegeuk Kim
Change log from v2: - use active_req-- instead of __ufshcd_release to avoid UFS timeout Change log from v1: - remove clkgating_enable check in __ufshcd_release - use __uhfshcd_release instead of active_req.

[PATCH v3 3/5] scsi: ufs: use WQ_HIGHPRI for gating work

2020-10-24 Thread Jaegeuk Kim
From: Jaegeuk Kim Must have WQ_MEM_RECLAIM ``WQ_MEM_RECLAIM`` All wq which might be used in the memory reclaim paths **MUST** have this flag set. The wq is guaranteed to have at least one execution context regardless of memory pressure. Signed-off-by: Jaegeuk Kim ---

[PATCH v3 1/5] scsi: ufs: atomic update for clkgating_enable

2020-10-24 Thread Jaegeuk Kim
From: Jaegeuk Kim When giving a stress test which enables/disables clkgating, we hit device timeout sometimes. This patch avoids subtle racy condition to address it. If we use __ufshcd_release(), I've seen that gate_work can be called in parallel with ungate_work, which results in UFS timeout

Re: [RFC PATCH 4/6] ethernet: m10-retimer: add support for retimers on Intel MAX 10 BMC

2020-10-24 Thread Tom Rix
On 10/23/20 1:45 AM, Xu Yilun wrote: > This driver supports the ethernet retimers (Parkvale) for the Intel PAC > (Programmable Acceleration Card) N3000, which is a FPGA based Smart NIC. Parkvale is a code name, it would be better if the public name was used. As this is a physical chip that

Re: [PATCH 1/2] Block layer filter - second version

2020-10-24 Thread Greg KH
On Wed, Oct 21, 2020 at 12:04:08PM +0300, Sergei Shtepa wrote: > Signed-off-by: Sergei Shtepa I know I don't take patches without any changelog text. Maybe some maintainers are more lax... Also, "second version" doesn't belong in the subject line, the documentation shows how to properly

[PATCH] net/sunrpc: Fix return value from proc_do_xprt()

2020-10-24 Thread Alex Dewar
Commit c09f56b8f68d ("net/sunrpc: Fix return value for sysctl sunrpc.transports") attempted to add error checking for the call to memory_read_from_buffer(), however its return value was assigned to a size_t variable, so any negative values would be lost in the cast. Fix this.

Re: [PATCH] arch/Kconfig: fix a few trivial spelling mistakes in Kconfig

2020-10-24 Thread Randy Dunlap
On 10/24/20 5:55 AM, Colin King wrote: > From: Colin Ian King > > There are a couple of trivial spelling mistakes, fix these. > > Signed-off-by: Colin Ian King Acked-by: Randy Dunlap Thanks. > --- > arch/Kconfig | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff

Re: [RFC PATCH 3/6] fpga: dfl: add an API to get the base device for dfl device

2020-10-24 Thread Tom Rix
On 10/23/20 1:45 AM, Xu Yilun wrote: > This patch adds an API for dfl devices to find which physical device > owns the DFL. > > This patch makes preparation for supporting DFL Ether Group private > feature driver. It uses this information to determine which retimer > device physically connects

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-10-24 Thread Dr. Greg
On Tue, Oct 20, 2020 at 09:40:00AM -0700, Sean Christopherson wrote: Good morning, I hope the week has gone well for everyone. > On Tue, Oct 20, 2020 at 05:01:18AM -0500, Dr. Greg wrote: > > > > With respect to the security issue at hand, the only relevant issue > > would seem to be if a page

Re: [RFC PATCH 5/6] ethernet: dfl-eth-group: add DFL eth group private feature driver

2020-10-24 Thread Andrew Lunn
> +++ b/Documentation/ABI/testing/sysfs-class-net-dfl-eth-group > @@ -0,0 +1,19 @@ > +What:/sys/class/net//tx_pause_frame_quanta > +Date:Oct 2020 > +KernelVersion: 5.11 > +Contact: Xu Yilun > +Description: > + Read-Write. Value representing

Re: [RFC PATCH v3 7/9] ipu3-cio2: Check if pci_dev->dev's fwnode is a software_node in cio2_parse_firmware() and set FWNODE_GRAPH_DEVICE_DISABLED if so

2020-10-24 Thread Sakari Ailus
On Sat, Oct 24, 2020 at 03:39:55AM +0300, Laurent Pinchart wrote: > Hi Sakari > > On Wed, Oct 21, 2020 at 01:49:10AM +0300, Sakari Ailus wrote: > > On Tue, Oct 20, 2020 at 08:56:07PM +0100, Dan Scally wrote: > > > On 20/10/2020 13:06, Sakari Ailus wrote: > > > > On Tue, Oct 20, 2020 at 12:19:58PM

Re: [RFC PATCH 1/6] docs: networking: add the document for DFL Ether Group driver

2020-10-24 Thread Tom Rix
On 10/23/20 1:45 AM, Xu Yilun wrote: > This patch adds the document for DFL Ether Group driver. > > Signed-off-by: Xu Yilun > --- > .../networking/device_drivers/ethernet/index.rst | 1 + > .../ethernet/intel/dfl-eth-group.rst | 102 > + > 2 files

[GIT PULL] dma-mapping fixes for 5.10

2020-10-24 Thread Christoph Hellwig
The following changes since commit 270315b8235e3d10c2e360cff56c2f9e0915a252: Merge tag 'riscv-for-linus-5.10-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux (2020-10-19 18:18:30 -0700) are available in the Git repository at:

Re: BTI interaction between seccomp filters in systemd and glibc mprotect calls, causing service failures

2020-10-24 Thread Salvatore Mesoraca
On Sat, 24 Oct 2020 at 12:34, Topi Miettinen wrote: > > On 23.10.2020 20.52, Salvatore Mesoraca wrote: > > Hi, > > > > On Thu, 22 Oct 2020 at 23:24, Topi Miettinen wrote: > >> SARA looks interesting. What is missing is a prctl() to enable all W^X > >> protections irrevocably for the current

Re

2020-10-24 Thread Geogiakendy
Dear beneficiary, I am happy to let you know that we have successfully concluded the deal two weeks ago. The total funds were successfully transferred to the new bank account in Venezuela. You are a good person and I appreciate your efforts and support during the transactions. I have decided to

Re: [RFC net-next 0/5] net: phy: add support for shared interrupts

2020-10-24 Thread Ioana Ciornei
On Sat, Oct 24, 2020 at 03:14:07PM +0300, Ioana Ciornei wrote: > This RFC just contains the patches for phylib and a single driver - > Atheros. The rest can be found on my Github branch here: TODO > They will be submitted as a multi-part series once the merge window > closes. > It seems that I

[PATCH 1/2] mailbox: stm32-ipcc: add COMPILE_TEST dependency

2020-10-24 Thread Martin Kaiser
This allows compiling the driver on architectures where the hardware is not available. Most other mailbox drivers support this as well. Signed-off-by: Martin Kaiser --- I used this for testing the trivial patch that removes the duplicate error message. Also, compiling the driver on x86_64

[PATCH 2/2] mailbox: stm32-ipcc: remove duplicate error message

2020-10-24 Thread Martin Kaiser
platform_get_irq_byname already prints an error message if the requested irq was not found. Don't print another message in the driver. Signed-off-by: Martin Kaiser --- drivers/mailbox/stm32-ipcc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mailbox/stm32-ipcc.c

[no subject]

2020-10-24 Thread george mike
Hallo Mein Name ist George Mike. Ich bin von Beruf Rechtsanwalt. Ich möchte Ihnen anbieten der nächste Verwandte meines Klienten. Sie erben die Summe von (8,5 Millionen US-Dollar) Dollar, die mein Kunde vor seinem Tod auf der Bank gelassen hat. Mein Kunde ist ein Staatsbürger Ihres Landes, der

[PATCH] ext4: properly check for dirty state in ext4_inode_datasync_dirty()

2020-10-24 Thread Andrea Righi
ext4_inode_datasync_dirty() needs to return 'true' if the inode is dirty, 'false' otherwise, but the logic seems to be incorrectly changed by commit aa75f4d3daae ("ext4: main fast-commit commit path"). This introduces a problem with swap files that are always failing to be activated, showing this

Re: [RFC PATCH 2/6] fpga: dfl: export network configuration info for DFL based FPGA

2020-10-24 Thread Tom Rix
On 10/23/20 1:45 AM, Xu Yilun wrote: > This patch makes preparation for supporting DFL Ether Group private > feature driver, which reads bitstream_id.vendor_net_cfg field to > determin the interconnection of network components on FPGA device. > > Signed-off-by: Xu Yilun > --- >

Re: [PATCH] drm/i915: Fix a crash in shmem_pin_map() error handling

2020-10-24 Thread Dan Carpenter
On Fri, Oct 23, 2020 at 02:19:41PM +0200, Christoph Hellwig wrote: > > diff --git a/drivers/gpu/drm/i915/gt/shmem_utils.c > > b/drivers/gpu/drm/i915/gt/shmem_utils.c > > index f011ea42487e..7eb542018219 100644 > > --- a/drivers/gpu/drm/i915/gt/shmem_utils.c > > +++

Re: swap file broken with ext4 fast-commit

2020-10-24 Thread Andrea Righi
On Sat, Oct 24, 2020 at 03:13:37PM +0200, Andrea Righi wrote: > I'm getting the following error if I try to create and activate a swap > file defined on an ext4 filesystem: > > [ 34.406479] swapon: file is not committed > > The swap file is created in the root filesystem (ext4 mounted with

Re: [PATCH v3] checkpatch: fix false positives in REPEATED_WORD warning

2020-10-24 Thread Aditya
On 24/10/20 12:36 am, Lukas Bulwahn wrote: > > > On Fri, 23 Oct 2020, Aditya Srivastava wrote: > >> Presence of hexadecimal address or symbol results in false warning >> message by checkpatch.pl. >> > > I think this strategy now makes sense and has the right complexity for a > good heuristics

<    1   2   3   >