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

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

Re: [PATCH v4] Bluetooth: Keep MSFT ext info throughout a hci_dev's life cycle

2021-02-11 Thread Miao-chen Chou
Hi Marcel, A friendly ping on this patch. :) Regards, Miao On Wed, Jan 27, 2021 at 9:17 AM Miao-chen Chou wrote: > > This moves msft_do_close() from hci_dev_do_close() to > hci_unregister_dev() to avoid clearing MSFT extension info. This also > re-reads MSFT info upon every msft_do_open() even

Re: [PATCH net-next v2 1/5] lan743x: boost performance on cpu archs w/o dma cache snooping

2021-02-11 Thread Sergej Bauer
On Friday, February 12, 2021 3:27:40 AM MSK you wrote: > Hi Sergej, thank you for testing this ! Don't mention it, it's just a small assistance > On Thu, Feb 11, 2021 at 7:18 PM Sergej Bauer wrote: > > although whole set of tests might be an overly extensive, but after > > applying patch v2 [1/5

Re: general protection fault in tomoyo_socket_sendmsg_permission

2021-02-11 Thread Shuah Khan
On 2/10/21 6:14 PM, Tetsuo Handa wrote: (Dropping LSM ML because this is not a TOMOYO's bug.) On 2021/02/11 4:29, Shuah Khan wrote: This is a good find. I already replied to the thread to send a complete fix. As I said at https://lkml.kernel.org/r/f8cae6b1-8f84-0e6a-7d9c-fc4aec68f...@i-love.

[PATCH net-next v2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-11 Thread min.li.xe
From: Min Li This driver supports 1588 related functions of ClockMatrix(TM) and 82P33xxx families of timing and synchronization devices. The driver is developed to be only used by Renesas PTP Clock Manager for Linux (pcm4l) software. It supports 1588/PTP releated functionalities that specific to

linux-next: manual merge of the net-next tree with the net tree

2021-02-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: include/uapi/linux/pkt_cls.h between commit: 1bcc51ac0731 ("net/sched: cls_flower: Reject invalid ct_state flags rules") from the net tree and commits: 7baf2429a1a9 ("net/sched: cls_flower add CT_FLAGS_INVALID flag

ERROR: modpost: "__umoddi3" undefined!

2021-02-11 Thread kernel test robot
Hi Jakub, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: 2f78788b55baa3410b1ec91a576286abe1ad4d6a ilog2: improve ilog2 for constant arguments date: 8 weeks ago c

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

2021-02-11 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > On 2/11/21 5:09 PM, Thiago Jung Bauermann wrote: >> There's actually a complication that I just noticed and needs to be >> addressed. More below. >> > > <...> > >>> + >>> +/* >>> + * of_kexec_alloc_and_setup_fdt - Alloc and setup a new Flattened Device >>> Tr

Re: [PATCH 2/3] net:ethernet:rmnet:Support for downlink MAPv5 csum offload

2021-02-11 Thread Jakub Kicinski
On Fri, 12 Feb 2021 03:05:23 +0530 Sharath Chandra Vurukala wrote: > +/* MAP CSUM headers */ > +struct rmnet_map_v5_csum_header { > + u8 next_hdr:1; > + u8 header_type:7; > + u8 hw_reserved:5; > + u8 priority:1; > + u8 hw_reserved_bit:1; > + u8 csum_valid_required:1; >

Re: [PATCH v2 0/4] net: ti: am65-cpsw-nuss: Add switchdev driver

2021-02-11 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Thu, 11 Feb 2021 16:26:40 +0530 you wrote: > This series adds switchdev support for AM65 CPSW NUSS driver to support > multi port CPSW present on J721e and AM64 SoCs. > It adds devlink hook to switch b/w switch mode and

[PATCH] mt76: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()

2021-02-11 Thread Shuah Khan
ieee80211_find_sta_by_ifaddr() must be called under the RCU lock and the resulting pointer is only valid under RCU lock as well. Fix mt76_check_sta() to hold RCU read lock before it calls ieee80211_find_sta_by_ifaddr() and release it when the resulting pointer is no longer needed. This problem wa

[PATCH 2/2] ath9k: fix ath_tx_process_buffer() potential null ptr dereference

2021-02-11 Thread Shuah Khan
ath_tx_process_buffer() references ieee80211_find_sta_by_ifaddr() return pointer (sta) outside null check. Fix it by moving the code block under the null check. This problem was found while reviewing code to debug RCU warn from ath10k_wmi_tlv_parse_peer_stats_info() and a subsequent manual audit o

[PATCH] rtw88: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()

2021-02-11 Thread Shuah Khan
ieee80211_find_sta_by_ifaddr() must be called under the RCU lock and the resulting pointer is only valid under RCU lock as well. Fix rtw_rx_addr_match_iter() to hold RCU read lock before it calls ieee80211_find_sta_by_ifaddr() and release it when the resulting pointer is no longer needed. This pr

[PATCH 1/2] ath9k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()

2021-02-11 Thread Shuah Khan
ieee80211_find_sta_by_ifaddr() must be called under the RCU lock and the resulting pointer is only valid under RCU lock as well. Fix ath_tx_process_buffer() to hold RCU read lock before it calls ieee80211_find_sta_by_ifaddr() and release it when the resulting pointer is no longer needed. This pro

[PATCH] h8300: fix PREEMPTION build, TI_PRE_COUNT undefined

2021-02-11 Thread Randy Dunlap
Fix a build error for undefined 'TI_PRE_COUNT' by adding it to asm-offsets.c. h8300-linux-ld: arch/h8300/kernel/entry.o: in function `resume_kernel': (.text+0x29a): undefined reference to `TI_PRE_COUNT' Fixes: df2078b8daa7 ("h8300: Low level entry") Signed-off-by: Randy Dunlap Reported-by: kerne

Re: [PATCH v2] enetc: auto select PHYLIB and MDIO_DEVRES

2021-02-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 11 Feb 2021 12:54:11 -0500 you wrote: > FSL_ENETC_MDIO use symbols from PHYLIB (MDIO_BUS) and MDIO_DEVRES, > however there are no dependency specified in Kconfig > > ERROR: modpost: "__mdiobus_register" > [drivers/net/

Re: [PATCH bpf-next v7 1/5] bpf: Be less specific about socket cookies guarantees

2021-02-11 Thread patchwork-bot+netdevbpf
Hello: This series was applied to bpf/bpf-next.git (refs/heads/master): On Wed, 10 Feb 2021 12:14:02 +0100 you wrote: > Since "92acdc58ab11 bpf, net: Rework cookie generator as per-cpu one" > socket cookies are not guaranteed to be non-decreasing. The > bpf_get_socket_cookie helper descriptions a

Re: general protection fault in tomoyo_socket_sendmsg_permission

2021-02-11 Thread Tetsuo Handa
On 2021/02/12 10:34, Shuah Khan wrote: > On 2/10/21 6:14 PM, Tetsuo Handa wrote: >> (Dropping LSM ML because this is not a TOMOYO's bug.) >> >> On 2021/02/11 4:29, Shuah Khan wrote: >>> This is a good find. I already replied to the thread to send a complete >>> fix. >> >> As I said at >> https://l

ERROR: modpost: "__delay" undefined!

2021-02-11 Thread kernel test robot
Hi Andrew, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: a9770eac511ad82390b9f4a3c1728e078c387ac7 net: mdio: Move MDIO drivers into a new subdirectory date: 6 m

Re: [PATCH 3/3] net:ethernet:rmnet: Add support for Mapv5 Uplink packet

2021-02-11 Thread kernel test robot
Hi Sharath, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on ipvs/master] [also build test WARNING on linus/master sparc-next/master v5.11-rc7 next-20210211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [PATCH bpf-next v7 2/5] bpf: Expose bpf_get_socket_cookie to tracing programs

2021-02-11 Thread Alexei Starovoitov
On Wed, Feb 10, 2021 at 3:14 AM Florent Revest wrote: > > +BPF_CALL_1(bpf_get_socket_ptr_cookie, struct sock *, sk) > +{ > + return sk ? sock_gen_cookie(sk) : 0; > +} > + > +const struct bpf_func_proto bpf_get_socket_ptr_cookie_proto = { > + .func = bpf_get_socket_ptr_cookie,

RE: Re: [PATCH for-next 00/32] spin lock usage optimization for SCSI drivers

2021-02-11 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Finn Thain [mailto:fth...@telegraphics.com.au] > Sent: Friday, February 12, 2021 1:09 PM > To: Song Bao Hua (Barry Song) > Cc: tanxiaofei ; j...@linux.ibm.com; > martin.peter...@oracle.com; linux-s...@vger.kernel.org; > linux-kernel@vger.kernel.org; linux...

Re: arch/alpha/lib/csum_partial_copy.c:328:1: error: no previous prototype for 'csum_and_copy_from_user'

2021-02-11 Thread Randy Dunlap
On 2/11/21 3:26 PM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb > commit: 808b49da54e640cba5c5c92dee658018a529226b alpha: turn > csum_partial_copy_from_user() into csum_and_copy_f

[PATCH v2 4/4] arm: dts: visconti: Add DT support for Toshiba Visconti5 ethernet controller

2021-02-11 Thread Nobuhiro Iwamatsu
Add the ethernet controller node in Toshiba Visconti5 SoC-specific DT file. And enable this node in TMPV7708 RM main board's board-specific DT file. Signed-off-by: Nobuhiro Iwamatsu --- .../boot/dts/toshiba/tmpv7708-rm-mbrc.dts | 18 ++ arch/arm64/boot/dts/toshiba/tmpv7708.dtsi

[PATCH v2 3/4] MAINTAINERS: Add entries for Toshiba Visconti ethernet controller

2021-02-11 Thread Nobuhiro Iwamatsu
Add entries for Toshiba Visconti ethernet controller binding and driver. Signed-off-by: Nobuhiro Iwamatsu --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index cbf4b94f89d4..6be4bdaabf32 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2641,8 +2641,1

[PATCH v2 1/4] dt-bindings: net: Add DT bindings for Toshiba Visconti TMPV7700 SoC

2021-02-11 Thread Nobuhiro Iwamatsu
Add device tree bindings for ethernet controller of Toshiba Visconti TMPV7700 SoC series. Signed-off-by: Nobuhiro Iwamatsu --- .../bindings/net/toshiba,visconti-dwmac.yaml | 87 +++ 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/toshi

[PATCH v2 0/4] net: stmmac: Add Toshiba Visconti SoCs glue driver

2021-02-11 Thread Nobuhiro Iwamatsu
Hi, This series is the ethernet driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation, device driver, MAINTAINER files, and updates to DT files. Best regards, Nobuhiro [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processor

Re: [PATCH v4 0/8] Make fw_devlink=on more forgiving

2021-02-11 Thread Saravana Kannan
On Thu, Feb 11, 2021 at 5:00 AM Geert Uytterhoeven wrote: > > Hi Saravana, > > On Fri, Feb 5, 2021 at 11:26 PM Saravana Kannan wrote: > > There are a lot of devices/drivers where they never have a struct device > > created for them or the driver initializes the hardware without ever > > binding t

[PATCH v2 2/4] net: stmmac: Add Toshiba Visconti SoCs glue driver

2021-02-11 Thread Nobuhiro Iwamatsu
Add dwmac-visconti to the stmmac driver in Toshiba Visconti ARM SoCs. This patch contains only the basic function of the device. There is no clock control, PM, etc. yet. These will be added in the future. Signed-off-by: Nobuhiro Iwamatsu --- drivers/net/ethernet/stmicro/stmmac/Kconfig | 8 +

Re: linux-next: manual merge of the btrfs tree with the fscache tree

2021-02-11 Thread Stephen Rothwell
Hi Ira, On Thu, 11 Feb 2021 17:07:41 -0800 Ira Weiny wrote: > > On Fri, Feb 12, 2021 at 10:38:10AM +1100, Stephen Rothwell wrote: > > from the fscache tree and commit: > > > > 325a835476e3 ("iov_iter: Remove memzero_page() in favor of zero_user()") > > I don't seem to have that commit after

Re: [PATCH v1 0/5] Enable fw_devlink=on by default

2021-02-11 Thread Saravana Kannan
On Thu, Feb 11, 2021 at 9:48 AM Rafael J. Wysocki wrote: > > On Thu, Feb 11, 2021 at 6:15 PM Saravana Kannan wrote: > > > > On Thu, Feb 11, 2021 at 7:03 AM Rafael J. Wysocki wrote: > > > > > > On Thu, Feb 11, 2021 at 1:02 AM Saravana Kannan > > > wrote: > > > > > > > > On Thu, Jan 28, 2021 at

[tip:x86/entry] BUILD SUCCESS 72f40a2823d6e16229ab58b898c6f22044e5222f

2021-02-11 Thread kernel test robot
-20210209 i386 randconfig-a006-20210209 i386 randconfig-a004-20210209 x86_64 randconfig-a016-20210211 x86_64 randconfig-a013-20210211 x86_64 randconfig-a012-20210211 x86_64 randconfig-a015-20210211 x86_64

Re: [PATCH v3 1/5] clk: sunxi-ng: mp: fix parent rate change flag check

2021-02-11 Thread Stephen Boyd
Quoting Jernej Skrabec (2021-02-09 09:58:56) > CLK_SET_RATE_PARENT flag is checked on parent clock instead of current > one. Fix that. > > Fixes: 3f790433c3cb ("clk: sunxi-ng: Adjust MP clock parent rate when > allowed") > Reviewed-by: Chen-Yu Tsai > Tested-by: Andre Heider > Signed-off-by: Jer

Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

2021-02-11 Thread Stephen Boyd
Quoting Lee Jones (2021-02-11 13:10:54) > On Thu, 11 Feb 2021, Stephen Boyd wrote: > > > Quoting Lee Jones (2021-01-26 04:45:19) > > > This set is part of a larger effort attempting to clean-up W=1 > > > kernel builds, which are currently overwhelmingly riddled with > > > niggly little warnings. >

[tip:master] BUILD SUCCESS 77eb5bf00195e53ece8296076811629a959a9e0c

2021-02-11 Thread kernel test robot
ed configs: x86_64 randconfig-a003-20210211 x86_64 randconfig-a002-20210211 x86_64 randconfig-a001-20210211 x86_64 randconfig-a004-20210211 x86_64 randconfig-a005-20210211 x86_64 randconfig-a006-20210

Re: [PATCH V7 1/3] kbuild: Add generic rule to apply fdtoverlay

2021-02-11 Thread Masahiro Yamada
On Fri, Feb 12, 2021 at 5:05 AM Rob Herring wrote: > > On Thu, Feb 11, 2021 at 12:28 PM Masahiro Yamada wrote: > > > > On Wed, Feb 10, 2021 at 8:13 PM Viresh Kumar > > wrote: > > > > > > From: Rob Herring > > > > > > Add a generic rule to apply fdtoverlay in Makefile.lib, so every > > > platfo

[PATCH] spmi: spmi-pmic-arb: Fix hw_irq overflow

2021-02-11 Thread Stephen Boyd
From: Subbaraman Narayanamurthy Currently, when handling the SPMI summary interrupt, the hw_irq number is calculated based on SID, Peripheral ID, IRQ index and APID. This is then passed to irq_find_mapping() to see if a mapping exists for this hw_irq and if available, invoke the interrupt handler

Re: [PATCH 5.10 00/54] 5.10.16-rc1 review

2021-02-11 Thread Naresh Kamboju
On Thu, 11 Feb 2021 at 20:35, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.16 release. > There are 54 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCH v5 net-next 09/11] skbuff: allow to optionally use NAPI cache from __alloc_skb()

2021-02-11 Thread Alexander Duyck
On Thu, Feb 11, 2021 at 11:00 AM Alexander Lobakin wrote: > > Reuse the old and forgotten SKB_ALLOC_NAPI to add an option to get > an skbuff_head from the NAPI cache instead of inplace allocation > inside __alloc_skb(). > This implies that the function is called from softirq or BH-off > context, n

Re: [PATCH v4 net-next 1/9] net: switchdev: propagate extack to port attributes

2021-02-11 Thread Florian Fainelli
On 2/11/2021 5:05 PM, Vladimir Oltean wrote: > From: Vladimir Oltean > > When a struct switchdev_attr is notified through switchdev, there is no > way to report informational messages, unlike for struct switchdev_obj. > > Signed-off-by: Vladimir Oltean > Reviewed-by: Ido Schimmel Reviewed-

Re: [PATCH] clk: BD718x7: Do not depend on parent driver data

2021-02-11 Thread Stephen Boyd
Quoting Matti Vaittinen (2021-01-05 04:47:54) > The bd718x7 only needs a regmap from parent device. This can be > obtained by call to dev_get_regmap. Do not require parent to > populate the driver data for this. > > Signed-off-by: Matti Vaittinen > --- Applied to clk-next

Re: [PATCH v5 net-next 06/11] skbuff: remove __kfree_skb_flush()

2021-02-11 Thread Alexander Duyck
On Thu, Feb 11, 2021 at 10:57 AM Alexander Lobakin wrote: > > This function isn't much needed as NAPI skb queue gets bulk-freed > anyway when there's no more room, and even may reduce the efficiency > of bulk operations. > It will be even less needed after reusing skb cache on allocation path, > s

Re: [PATCH v2] clk-si5341: Support NVM programming through sysfs

2021-02-11 Thread Stephen Boyd
Quoting Mike Looijmans (2021-01-05 23:04:36) > Export an attribute program_nvm_bank that when read reports the current > bank value. To program the chip's current state into NVM, write the > magic value 0xC7 into this attribute. > > This allows the clock chip to be programmed "in system" to reduce

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

2021-02-11 Thread Anshuman Khandual
On 2/12/21 12:30 AM, Mathieu Poirier wrote: > On Wed, Jan 27, 2021 at 02:25:35PM +0530, Anshuman Khandual wrote: >> Trace Buffer Extension (TRBE) implements a trace buffer per CPU which is >> accessible via the system registers. The TRBE supports different addressing >> modes including CPU virtu

Re: [PATCH] scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9

2021-02-11 Thread Guenter Roeck
e1147b159e92 dtc: Fix signedness comparisons warnings: change types > 04cf1fdc0fcf convert-dtsv0: Fix signedness comparisons warning > b30013edb878 libfdt: Fix kernel-doc comments > > Signed-off-by: Rob Herring This patch causes my little-endian microblaze qemu emulations to fail silently (

Re: [PATCH 4/5] keys: define build time generated ephemeral kernel CA key

2021-02-11 Thread kernel test robot
Hi Nayna, I love your patch! Yet something to improve: [auto build test ERROR on kbuild/for-next] [also build test ERROR on integrity/next-integrity linus/master security/next-testing v5.11-rc7] [cannot apply to next-20210211] [If your patch is applied to the wrong git tree, kindly drop us a

[PATCH] staging: wimax: Fix some coding style problem

2021-02-11 Thread Hemansh Agnihotri
This fixes checkpatch error "open brace '{' following struct go on the same line" in file drivers/staging/wimax/i2400m/rx.c . Signed-off-by: Hemansh Agnihotri --- drivers/staging/wimax/i2400m/rx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/wimax/i2400m/

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

2021-02-11 Thread Drew Fustini
On Thu, Feb 11, 2021 at 10:39:38AM +0300, Dan Carpenter wrote: > On Wed, Feb 10, 2021 at 11:24:23PM -0800, Joe Perches wrote: > > On Thu, 2021-02-11 at 10:11 +0300, Dan Carpenter wrote: > > > On Wed, Feb 10, 2021 at 02:28:54PM -0800, Drew Fustini wrote: > > > > + ret = strncpy_from_user(buf,

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

2021-02-11 Thread Drew Fustini
On Thu, Feb 11, 2021 at 09:09:03AM +0100, Geert Uytterhoeven wrote: > Hi Drew, > > On Wed, Feb 10, 2021 at 11:33 PM Drew Fustini wrote: > > Add "pinmux-select" to debugfs which will activate a function and group > > when "" are written to the file. The write > > operation pinmux_select() handles

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

2021-02-11 Thread Drew Fustini
On Thu, Feb 11, 2021 at 11:53:24AM +0200, Andy Shevchenko wrote: > On Thu, Feb 11, 2021 at 10:09 AM Geert Uytterhoeven > wrote: > > On Wed, Feb 10, 2021 at 11:33 PM Drew Fustini wrote: > > > > > +#define PINMUX_MAX_NAME 64 > > > > + if (len > (PINMUX_MAX_NAME * 2)) { > > > +

Re: [PATCH v2 15/17] clk: bd718x7: Add support for clk gate on ROHM BD71815 PMIC

2021-02-11 Thread Stephen Boyd
Quoting Matti Vaittinen (2021-01-18 23:30:26) > ROHM BD71815 also provide clk signal for RTC. Add control > for gating this clock. > > Signed-off-by: Matti Vaittinen > --- Reviewed-by: Stephen Boyd

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

2021-02-11 Thread Drew Fustini
On Thu, Feb 11, 2021 at 03:00:51PM +0300, Dan Carpenter wrote: > On Wed, Feb 10, 2021 at 02:28:54PM -0800, Drew Fustini wrote: > > Add "pinmux-select" to debugfs which will activate a function and group > > when "" are written to the file. The write > > operation pinmux_select() handles this by che

Re: [PATCH] kbuild: simplify access to the kernel's version

2021-02-11 Thread Masahiro Yamada
On Fri, Feb 12, 2021 at 5:18 AM Masahiro Yamada wrote: > > On Tue, Feb 9, 2021 at 3:20 AM Sasha Levin wrote: > > > > On Mon, Feb 08, 2021 at 05:50:07PM +, Christoph Hellwig wrote: > > >On Sun, Feb 07, 2021 at 11:13:52AM -0500, Sasha Levin wrote: > > >> +(u8)(LINUX_VERSION_MAJOR),

Re: [PATCH] kbuild: simplify access to the kernel's version

2021-02-11 Thread Masahiro Yamada
On Fri, Feb 12, 2021 at 12:40 PM Masahiro Yamada wrote: > > On Fri, Feb 12, 2021 at 5:18 AM Masahiro Yamada wrote: > > > > On Tue, Feb 9, 2021 at 3:20 AM Sasha Levin wrote: > > > > > > On Mon, Feb 08, 2021 at 05:50:07PM +, Christoph Hellwig wrote: > > > >On Sun, Feb 07, 2021 at 11:13:52AM -0

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

2021-02-11 Thread Saravana Kannan
On Thu, Feb 11, 2021 at 5:57 AM Andrew Lunn wrote: > > > Yeah, I plan to fix this. So I have a few more questions. In the > > example I gave, what should happen if the gpios listed in the phy's DT > > node aren't ready yet? > > There are four different use cases for GPIO. > > 1) The GPIO is used t

[PATCH] HID: ezkey: Fix trailing statements error style and blank line after declarations warning style.

2021-02-11 Thread Akash Melachuri
This patch fixes the checkpatch.pl errors and warnings: ERROR: trailing statements should be on next line ERROR: trailing statements should be on next line ERROR: trailing statements should be on next line WARNING: Missing a blank line after declarations Signed-off-by: Akash Melachuri --- driver

[no subject]

2021-02-11 Thread Dave Airlie
Hi Linus, Regular fixes for final, there is a ttm regression fix, dp-mst fix, one amdgpu revert, two i915 fixes, and some misc fixes for sun4i, xlnx, and vc4. All pretty quiet and don't think we have any known outstanding regressions. Dave. drm-fixes-2021-02-12: drm fixes for 5.11-rc8 ttm: - p

Re: [RFC PATCH v1 1/1] clk: add initial support for the lmk04832

2021-02-11 Thread Stephen Boyd
Quoting Liam Beguin (2020-12-14 16:44:20) > From: Liam Beguin > > The LMK04832 is an ultra-high performance clock conditioner with JEDEC > JESD204B support and is also pin compatible with the LMK0482x family of > devices. > > Signed-off-by: Liam Beguin > --- > .../devicetree/bindings/clock/ti,

Re: [PATCHi v6 1/7] usb: typec: Manage SVDM version

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:09AM +0800, Kyle Tso wrote: > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > 6.4.4.2.3 Structured VDM Version > "The Structured VDM Version field of the Discover Identity Command > sent and received during VDM discovery Shall be used to determine the > lo

Re: [PATCH v6 2/7] usb: pd: Make SVDM Version configurable in VDM header

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:10AM +0800, Kyle Tso wrote: > PD Rev 3.0 introduces SVDM Version 2.0. This patch makes the field > configuable in the header in order to be able to be compatible with > older SVDM version. > > Signed-off-by: Kyle Tso Reviewed-by: Guenter Roeck > --- > Changes sinc

Re: [PATCH resend] ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it

2021-02-11 Thread Theodore Ts'o
On Fri, Jan 22, 2021 at 12:02:34PM +0100, Geert Uytterhoeven wrote: > EXT4_KUNIT_TESTS selects EXT4_FS, thus enabling an optional feature the > user may not want to enable. Fix this by making the test depend on > EXT4_FS instead. > > Fixes: 1cbeab1b242d16fd ("ext4: add kunit test for decoding ext

Re: [PATCH v6 3/7] usb: typec: tcpm: Determine common SVDM Version

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:11AM +0800, Kyle Tso wrote: > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > 6.4.4.2.3 Structured VDM Version > "The Structured VDM Version field of the Discover Identity Command > sent and received during VDM discovery Shall be used to determine the > lo

Re: [PATCH v6 4/7] usb: typec: ucsi: Determine common SVDM Version

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:12AM +0800, Kyle Tso wrote: > This patch implements the following requirement in the Spec. > > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > 6.4.4.2.3 Structured VDM Version > "The Structured VDM Version field of the Discover Identity Command > sent and r

Re: [PATCH v6 5/7] usb: typec: displayport: Fill the negotiated SVDM Version in the header

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:13AM +0800, Kyle Tso wrote: > VDM header now requires SVDM Version. Get it from typec_partner. > > Signed-off-by: Kyle Tso Reviewed-by: Guenter Roeck > --- > Changes since v5: > - follow the changes of "usb: typec: Manage SVDM version" > > drivers/usb/typec/altm

Re: [PATCH v6 6/7] dt-bindings: connector: Add SVDM VDO properties

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:14AM +0800, Kyle Tso wrote: > Add bindings of VDO properties of USB PD SVDM so that they can be > used in device tree. > > Signed-off-by: Kyle Tso Reviewed-by: Guenter Roeck Would it be possible to unify the dt definitions with the definitions in include/linux/usb

Re: [PATCH v6 7/7] usb: typec: tcpm: Get Sink VDO from fwnode

2021-02-11 Thread Guenter Roeck
On Fri, Feb 05, 2021 at 11:34:15AM +0800, Kyle Tso wrote: > Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config > configuration mechanism") removed the tcpc_config which includes the > Sink VDO and it is not yet added back with fwnode. Add it now. > > Signed-off-by: Kyle Tso Reviewed-by:

Re: [PATCH] ext4: add .kunitconfig fragment to enable ext4-specific tests

2021-02-11 Thread Theodore Ts'o
On Tue, Feb 09, 2021 at 05:32:06PM -0800, Daniel Latypov wrote: > As of [1], we no longer want EXT4_KUNIT_TESTS and others to `select` > their deps. This means it can get harder to get all the right things > selected as we gain more tests w/ more deps over time. > > This patch (and [2]) proposes w

Re: [PATCH 5.4 00/24] 5.4.98-rc1 review

2021-02-11 Thread Naresh Kamboju
On Thu, 11 Feb 2021 at 20:36, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.98 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [PATCH v1 2/9] cpufreq: sfi-cpufreq: Remove driver for deprecated firmware

2021-02-11 Thread Viresh Kumar
On 11-02-21, 15:40, Andy Shevchenko wrote: > SFI-based platforms are gone. So does this driver. > > Signed-off-by: Andy Shevchenko > Acked-by: Linus Walleij > --- > drivers/cpufreq/Kconfig.x86 | 10 --- > drivers/cpufreq/Makefile | 1 - > drivers/cpufreq/sfi-cpufreq.c | 127 --

linux-next: manual merge of the spi tree with the powerpc tree

2021-02-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the spi tree got a conflict in: drivers/spi/spi-mpc52xx.c between commit: e10656114d32 ("spi: mpc52xx: Avoid using get_tbl()") from the powerpc tree and commit: 258ea99fe25a ("spi: spi-mpc52xx: Use new structure for SPI transfer delays") from the spi

Re: [PATCH v5 1/3] dt-bindings: hwmon: Add TI TPS23861 bindings

2021-02-11 Thread Guenter Roeck
On Thu, Jan 21, 2021 at 02:44:32PM +0100, Robert Marko wrote: > Document bindings for the Texas Instruments TPS23861 driver. > > Signed-off-by: Robert Marko > Cc: Luka Perkov > Reviewed-by: Rob Herring Applied. Thanks, Guenter > --- > Changes in v5: > * Drop uint32 reference > > Changes in

Re: [PATCH v5 3/3] MAINTAINERS: Add entry for Texas Instruments TPS23861 PoE PSE

2021-02-11 Thread Guenter Roeck
On Thu, Jan 21, 2021 at 02:44:34PM +0100, Robert Marko wrote: > Add maintainers entry for the Texas Instruments TPS23861 PoE PSE driver. > > Signed-off-by: Robert Marko > Cc: Luka Perkov > Reviewed-by: Guenter Roeck Applied. Thanks, Guenter > --- > Changes in v4: > * Add documentation file >

Re: [PATCH v5 2/3] hwmon: add Texas Instruments TPS23861 driver

2021-02-11 Thread Guenter Roeck
On Thu, Jan 21, 2021 at 02:44:33PM +0100, Robert Marko wrote: > Add basic monitoring support as well as port on/off control for Texas > Instruments TPS23861 PoE PSE IC. > > Signed-off-by: Robert Marko > Cc: Luka Perkov > Reviewed-by: Guenter Roeck Applied. Thanks, Guenter > --- > Changes in

include/linux/unaligned/be_byteshift.h:46:19: error: redefinition of 'get_unaligned_be32'

2021-02-11 Thread kernel test robot
Hi Gene, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: 1f4877218f7e2c2b914aeb69a8a0f47d59c74717 iio: adc: mt6360: Add ADC driver for MT6360 date: 3 months ago con

Re: [PATCH 1/2] dt-bindings: remoteproc: qcom: pas: Add SM8350 remoteprocs

2021-02-11 Thread Vinod Koul
On 11-02-21, 12:52, Bjorn Andersson wrote: > On Wed 10 Feb 04:45 CST 2021, Vinod Koul wrote: > > > Add the SM8350 audio, compute, modem and sensor remoteprocs to the PAS > > DT binding. > > > > Signed-off-by: Vinod Koul > > --- > > .../devicetree/bindings/remoteproc/qcom,adsp.txt | 12 +

[PATCH] perf libperf: Remove unused xyarray.c

2021-02-11 Thread Ian Rogers
Migrated to libperf in: commit 4b247fa7314c ("libperf: Adopt xyarray class from perf") Signed-off-by: Ian Rogers --- tools/perf/util/xyarray.c | 33 - 1 file changed, 33 deletions(-) delete mode 100644 tools/perf/util/xyarray.c diff --git a/tools/perf/util/xyarr

Re: [PATCH V7 1/3] kbuild: Add generic rule to apply fdtoverlay

2021-02-11 Thread Viresh Kumar
On 12-02-21, 12:07, Masahiro Yamada wrote: > BTW, I do not know how to use overlay. > Do we apply overlay in the build time? Ideally it can be applied at both build time and runtime, but we haven't allowed the runtime way until now in kernel. This patchset is all about applying it at build time.

[PATCH 0/6] Add generated flag to filesystem struct to block copy_file_range

2021-02-11 Thread Nicolas Boichat
We hit an issue when upgrading Go compiler from 1.13 to 1.15 [1], as we use Go's `io.Copy` to copy the content of `/sys/kernel/debug/tracing/trace` to a temporary file. Under the hood, Go 1.15 uses `copy_file_range` syscall to optimize the copy operation. However, that fails to copy any content wh

[PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-11 Thread Nicolas Boichat
Filesystems such as procfs and sysfs generate their content at runtime. This implies the file sizes do not usually match the amount of data that can be read from the file, and that seeking may not work as intended. This will be useful to disallow copy_file_range with input files from such filesyst

[PATCH 2/6] proc: Add FS_GENERATED_CONTENT to filesystem flags

2021-02-11 Thread Nicolas Boichat
procfs content is generated at runtime. Signed-off-by: Nicolas Boichat --- fs/proc/root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/root.c b/fs/proc/root.c index c7e3b1350ef8..7ed715a0f807 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c @@ -282,7 +282,7 @@ sta

[PATCH 6/6] vfs: Disallow copy_file_range on generated file systems

2021-02-11 Thread Nicolas Boichat
copy_file_range (which calls generic_copy_file_checks) uses the inode file size to adjust the copy count parameter. This breaks with special filesystems like procfs/sysfs/debugfs/tracefs, where the file size appears to be zero, but content is actually returned when a read operation is performed. Ot

[PATCH 5/6] tracefs: Add FS_GENERATED_CONTENT to filesystem flags

2021-02-11 Thread Nicolas Boichat
tracefs content is generated at runtime. Signed-off-by: Nicolas Boichat --- fs/tracefs/inode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c index 4b83cbded559..89980312c7a3 100644 --- a/fs/tracefs/inode.c +++ b/fs/tracefs/inode.c @@ -308,6 +308,7 @

[PATCH 4/6] debugfs: Add FS_GENERATED_CONTENT to filesystem flags

2021-02-11 Thread Nicolas Boichat
debugfs content is generated at runtime. Signed-off-by: Nicolas Boichat --- fs/debugfs/inode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index c35249497b9b..2bbc5e6d3041 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -279,6 +279,7 @

[PATCH 3/6] sysfs: Add FS_GENERATED_CONTENT to filesystem flags

2021-02-11 Thread Nicolas Boichat
sysfs content is generated at runtime. Signed-off-by: Nicolas Boichat --- fs/sysfs/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index e747c135c1d1..7e367ae5edc1 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c @@ -91,7 +91,7

Re: [PATCH 4.19 00/24] 4.19.176-rc1 review

2021-02-11 Thread Naresh Kamboju
On Thu, 11 Feb 2021 at 20:36, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.176 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [PATCH] fs: generic_copy_file_checks: Do not adjust count based on file size

2021-02-11 Thread Nicolas Boichat
On Thu, Jan 28, 2021 at 1:57 PM Darrick J. Wong wrote: > > On Thu, Jan 28, 2021 at 08:46:04AM +0800, Nicolas Boichat wrote: [snip] > > Okay, so, based on this and Al's reply, I see 2 things we can do: > > 1. Go should probably not use copy_file_range in a common library > > function, as I don't s

Re: [PATCH v2 0/2] hwmon: (pmbus) Add ST STPDDC60 pmbus driver

2021-02-11 Thread Guenter Roeck
On 2/4/21 5:20 AM, Erik Rosen wrote: > This patch series adds hardware monitoring support for the ST STPDDC60 > chip. The driver has been tested with a Flex BMR481 converter. > > The checkpatch script complains about an unneeded paranthesis in an > if-statement but gcc gives a warning if it is rem

Re: [PATCH 6/6] vfs: Disallow copy_file_range on generated file systems

2021-02-11 Thread Darrick J. Wong
On Fri, Feb 12, 2021 at 12:44:05PM +0800, Nicolas Boichat wrote: > copy_file_range (which calls generic_copy_file_checks) uses the > inode file size to adjust the copy count parameter. This breaks > with special filesystems like procfs/sysfs/debugfs/tracefs, where > the file size appears to be zero

Re: [PATCH 2/3] net:ethernet:rmnet:Support for downlink MAPv5 csum offload

2021-02-11 Thread kernel test robot
Hi Sharath, Thank you for the patch! Yet something to improve: [auto build test ERROR on ipvs/master] [also build test ERROR on linus/master sparc-next/master v5.11-rc7 next-20210211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: sdhci.c:undefined reference to `mmc_can_gpio_cd'

2021-02-11 Thread Randy Dunlap
On 2/11/21 1:44 AM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb > commit: e65bb38824711559844ba932132f417bc5a355e2 mmc: sdhci: do not enable > card detect interrupt for gpio cd ty

Re: general protection fault in tomoyo_socket_sendmsg_permission

2021-02-11 Thread Tetsuo Handa
On 2021/02/12 11:22, Tetsuo Handa wrote: > On 2021/02/12 10:34, Shuah Khan wrote: >> On 2/10/21 6:14 PM, Tetsuo Handa wrote: >>> (Dropping LSM ML because this is not a TOMOYO's bug.) >>> >>> On 2021/02/11 4:29, Shuah Khan wrote: This is a good find. I already replied to the thread to send a co

[PATCH] virt: acrn: Fix vCPU removing code build error

2021-02-11 Thread shuo . a . liu
From: Shuo Liu vCPU removing code depends on CONFIG_HOTPLUG_CPU as it uses remove_cpu() and add_cpu(). Make the vCPU removing interface building with CONFIG_HOTPLUG_CPU. ../drivers/virt/acrn/hsm.c: In function ‘remove_cpu_store’: ../drivers/virt/acrn/hsm.c:389:3: error: implicit declaration of f

Re: [PATCH 6/6] vfs: Disallow copy_file_range on generated file systems

2021-02-11 Thread Darrick J. Wong
On Thu, Feb 11, 2021 at 08:53:47PM -0800, Darrick J. Wong wrote: > On Fri, Feb 12, 2021 at 12:44:05PM +0800, Nicolas Boichat wrote: > > copy_file_range (which calls generic_copy_file_checks) uses the > > inode file size to adjust the copy count parameter. This breaks > > with special filesystems li

[PATCH] pinctrl: qcom: sc7280: Add GPIO wakeup interrupt map

2021-02-11 Thread Rajendra Nayak
From: Maulik Shah GPIOs that can be configured as wakeup sources, have their interrupt lines routed to PDC interrupt controller. Provide the interrupt map of the GPIO to its wakeup capable interrupt parent. Signed-off-by: Maulik Shah Signed-off-by: Rajendra Nayak --- drivers/pinctrl/qcom/pin

RE: [Linuxarm] Re: [PATCH for next v1 1/2] gpio: omap: Replace raw_spin_lock_irqsave with raw_spin_lock in omap_gpio_irq_handler()

2021-02-11 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Grygorii Strashko [mailto:grygorii.stras...@ti.com] > Sent: Friday, February 12, 2021 9:17 AM > To: Arnd Bergmann > Cc: luojiaxing ; Linus Walleij > ; Andy Shevchenko ; Andy > Shevchenko ; Santosh Shilimkar > ; Kevin Hilman ; open list:GPIO > SUBSYSTEM , linu

[PATCH net-next 0/2] ptp: ptp_clockmatrix: Fix output 1 PPS alignment.

2021-02-11 Thread vincent.cheng.xh
From: Vincent Cheng This series fixes a race condition that may result in the output clock not aligned to internal 1 PPS clock. Part of device initialization is to align the rising edge of output clocks to the internal rising edge of the 1 PPS clock. If the system APLL and DPLL are not locked w

[PATCH net-next 1/2] ptp: ptp_clockmatrix: Add wait_for_sys_apll_dpll_lock.

2021-02-11 Thread vincent.cheng.xh
From: Vincent Cheng Part of the device initialization aligns the rising edge of the output clock to the internal 1 PPS clock. If the system APLL and DPLL is not locked, then the alignment will fail and there will be a fixed offset between the internal 1 PPS clock and the output clock. After load

[PATCH net-next 2/2] ptp: ptp_clockmatrix: Add alignment of 1 PPS to idtcm_perout_enable.

2021-02-11 Thread vincent.cheng.xh
From: Vincent Cheng When enabling output using PTP_CLK_REQ_PEROUT, need to align the output clock to the internal 1 PPS clock. Signed-off-by: Vincent Cheng --- drivers/ptp/ptp_clockmatrix.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/ptp/ptp_cl

[PATCH] ARM: Implement Clang's SLS mitigation

2021-02-11 Thread Jian Cai
This patch adds a config CONFIG_HARDEN_SLS_ALL that can be used to turn on -mharden-sls=all, which mitigates the straight-line speculation vulnerability, or more commonly known as Spectre, Meldown. Notice -mharden-sls= has other options as below, and this config turns on the strongest option. all

[GIT PULL v2] extcon next for v5.12

2021-02-11 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v5.12. I add detailed description of this pull request on below. Please pull extcon with following updates. Changes from v1: - Add missing committer information Best Regards, Chanwoo Choi The following changes since commit 6ee1d745b7c9fd573fba142

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