Re: [PATCH v2 bpf-next 0/3] bpf: support module BTF in BTF display helpers

2020-12-05 Thread Yonghong Song
On 12/5/20 12:35 PM, Yonghong Song wrote: On 12/4/20 10:48 AM, Alan Maguire wrote: This series aims to add support to bpf_snprintf_btf() and bpf_seq_printf_btf() allowing them to store string representations of module-specific types, as well as the kernel-specific ones they currently suppor

Re: [PATCH v5 0/9] "Task_isolation" mode

2020-12-05 Thread Pavel Machek
Hi! > General description > > This is the result of development and maintenance of task isolation > functionality that originally started based on task isolation patch > v15 and was later updated to include v16. It provided predictable > environment for userspace tasks running on arm64 processors

Re: [PATCH 0/3] drivers/hv: make max_num_channels_supported configurable

2020-12-05 Thread Max Stolze
On 05/12/2020 19:27, Michael Kelley wrote: > From: Stefan Eschenbacher >> >> According to the TODO comment in hyperv_vmbus.h the value in macro >> MAX_NUM_CHANNELS_SUPPORTED should be configurable. The first patch >> accomplishes that by introducting uint max_num_channels_supported as >> module

Re: [PATCH] f2fs: introduce a new per-sb directory in sysfs

2020-12-05 Thread Jaegeuk Kim
On 12/05, Chao Yu wrote: > On 2020/12/5 2:23, Jaegeuk Kim wrote: > > On 12/03, Chao Yu wrote: > > > Jaegeuk, > > > > > > Can you comment on this patch? > > > > Waiting for use-case? :) > > How do you think of duplicating below stats into /sys/fs/f2fs//stat/ We can't move them to /stat, since it

Re: [PATCH v4 00/14] An alternative series for asymmetric AArch32 systems

2020-12-05 Thread Pavel Machek
On Tue 2020-11-24 15:50:25, Will Deacon wrote: > Hello folks, > > Here's version four of the wonderful patches I previously posted here: > > v1: https://lore.kernel.org/r/20201027215118.27003-1-w...@kernel.org > v2: https://lore.kernel.org/r/20201109213023.15092-1-w...@kernel.org > v3: http

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-05 Thread Pavel Machek
Hi! > > On Fri, Nov 27, 2020 at 12:51 PM Arnd Bergmann wrote: > > > > > > - Some DT patches for the Rockchip RK3399 platform, > > >in particular fixing the MMC device ordering that > > >recently became nondeterministic with async probe. > > > > Uhhuh. > > > > I didn't realize this MMC br

Re: [PATCH 11/20] ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()

2020-12-05 Thread Jakub Kicinski
On Sat, 5 Dec 2020 20:17:34 +0100 Rasmus Villemoes wrote: > - unregister_netdev(dev); > - free_netdev(dev); > ucc_geth_memclean(ugeth); > if (of_phy_is_fixed_link(np)) > of_phy_deregister_fixed_link(np); > of_node_put(ugeth->ug_info->tbi_node); > of_no

Re: [PATCH 00/20] ethernet: ucc_geth: assorted fixes and simplifications

2020-12-05 Thread Jakub Kicinski
On Sat, 5 Dec 2020 20:17:23 +0100 Rasmus Villemoes wrote: > While trying to figure out how to allow bumping the MTU with the > ucc_geth driver, I fell into a rabbit hole and stumbled on a whole > bunch of issues of varying importance - some are outright bug fixes, > while most are a matter of simp

Re: [BUG] SPI broken for SPI based panel drivers

2020-12-05 Thread Pavel Machek
On Mon 2020-11-30 15:13:02, Sven Van Asbroeck wrote: > Hi Nikolaus, thank you for reaching out ! > > On Mon, Nov 30, 2020 at 2:06 PM H. Nikolaus Schaller > wrote: > > > > But reverting your patch brings back the display. So it appears as if it > > does not > > fix a breakage, rather breaks a pr

Re: [RFC PATCH v1 07/12] efi: Replace strstarts() by str_has_prefix().

2020-12-05 Thread Ard Biesheuvel
On Sat, 5 Dec 2020 at 21:24, James Bottomley wrote: > > On Sat, 2020-12-05 at 20:36 +0100, Ard Biesheuvel wrote: > > On Fri, 4 Dec 2020 at 19:02, James Bottomley > > wrote: > > > On Fri, 2020-12-04 at 18:07 +0100, Ard Biesheuvel wrote: > > > > On Fri, 4 Dec 2020 at 18:06, > > > > wrote: > > > >

Re: [PATCH AUTOSEL 5.9 22/33] vhost scsi: add lun parser helper

2020-12-05 Thread Sasha Levin
On Fri, Dec 04, 2020 at 06:08:13PM +0100, Paolo Bonzini wrote: On 04/12/20 16:49, Sasha Levin wrote: On Fri, Dec 04, 2020 at 09:27:28AM +0100, Paolo Bonzini wrote: On 01/12/20 00:59, Sasha Levin wrote: It's quite easy to NAK a patch too, just reply saying "no" and it'll be dropped (just like

Re: [PATCH] ch_ktls: fix build warning for ipv4-only config

2020-12-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 3 Dec 2020 23:26:16 +0100 you wrote: > From: Arnd Bergmann > > When CONFIG_IPV6 is disabled, clang complains that a variable > is uninitialized for non-IPv4 data: > > drivers/net/ethernet/chelsio/inline_crypto/ch_ktl

Re: [PATCH v10 6/8] powerpc: Move ima_get_kexec_buffer() and ima_free_kexec_buffer() to ima

2020-12-05 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > ima_get_kexec_buffer() retrieves the address and size of the buffer > used for carrying forward the IMA measurement logs on kexec from > the device tree. > > ima_free_kexec_buffer() removes the chosen node > "linux,ima-kexec-buffer" from the device tree, and fr

Re: [PATCH 11/20] ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()

2020-12-05 Thread Rasmus Villemoes
On 05/12/2020 21.48, Jakub Kicinski wrote: > On Sat, 5 Dec 2020 20:17:34 +0100 Rasmus Villemoes wrote: >> -unregister_netdev(dev); >> -free_netdev(dev); >> ucc_geth_memclean(ugeth); >> if (of_phy_is_fixed_link(np)) >> of_phy_deregister_fixed_link(np); >> of_node

[RFC PATCH] 9p: create writeback fid on shared mmap

2020-12-05 Thread Chengguang Xu
If vma is shared and the file was opened for writing, we should also create writeback fid because vma may be mprotected writable even if now readonly. Signed-off-by: Chengguang Xu --- Caveat: Only compile tested. fs/9p/vfs_file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --g

Re: [PATCH 00/20] ethernet: ucc_geth: assorted fixes and simplifications

2020-12-05 Thread Rasmus Villemoes
On 05/12/2020 21.53, Jakub Kicinski wrote: > On Sat, 5 Dec 2020 20:17:23 +0100 Rasmus Villemoes wrote: >> While trying to figure out how to allow bumping the MTU with the >> ucc_geth driver, I fell into a rabbit hole and stumbled on a whole >> bunch of issues of varying importance - some are outri

Re: [RFC PATCH v1 07/12] efi: Replace strstarts() by str_has_prefix().

2020-12-05 Thread James Bottomley
[Rostedt added because this is all his fault] On Sat, 2020-12-05 at 21:57 +0100, Ard Biesheuvel wrote: > On Sat, 5 Dec 2020 at 21:24, James Bottomley > wrote: [...] > > > So I don't object to using str_has_prefix() in new code in this > > > way, but I really don't see the point of touching existin

Re: [PATCH 11/20] ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()

2020-12-05 Thread Jakub Kicinski
On Sat, 5 Dec 2020 22:04:28 +0100 Rasmus Villemoes wrote: > On 05/12/2020 21.48, Jakub Kicinski wrote: > > On Sat, 5 Dec 2020 20:17:34 +0100 Rasmus Villemoes wrote: > >> - unregister_netdev(dev); > >> - free_netdev(dev); > >>ucc_geth_memclean(ugeth); > >>if (of_phy_is_fixed_link(np)) >

Re: [RFC PATCH v1 07/12] efi: Replace strstarts() by str_has_prefix().

2020-12-05 Thread Ard Biesheuvel
On Sat, 5 Dec 2020 at 22:15, James Bottomley wrote: > > [Rostedt added because this is all his fault] > On Sat, 2020-12-05 at 21:57 +0100, Ard Biesheuvel wrote: > > On Sat, 5 Dec 2020 at 21:24, James Bottomley > > wrote: > [...] > > > > So I don't object to using str_has_prefix() in new code in t

Re: [PATCH] MAINTAINERS: Move Jason Cooper to CREDITS

2020-12-05 Thread Bjorn Helgaas
On Sat, Dec 05, 2020 at 01:05:08AM +0100, Thomas Gleixner wrote: > On Fri, Dec 04 2020 at 16:41, Bjorn Helgaas wrote: > > > > Applied to for-linus for v5.10 since there's no risk and the bounces > > are annoying. > > It's queued in tip irq/urgent already and going to Linus for rc7 :) I dropped it

Re: [PATCH 00/20] ethernet: ucc_geth: assorted fixes and simplifications

2020-12-05 Thread Jakub Kicinski
On Sat, 5 Dec 2020 22:11:39 +0100 Rasmus Villemoes wrote: > > Looks like a nice clean up on a quick look. > > > > Please separate patches 1 and 11 (which are the two bug fixes I see) > > I think patch 2 is a bug fix as well, but I'd like someone from NXP to > comment. Sure, makes sense. > > r

Re: genirq, i2c: Provide and use generic_dispatch_irq()

2020-12-05 Thread kernel test robot
Hi Thomas, I love your patch! Perhaps something to improve: [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on tip/irq/core linux/master linus/master v5.10-rc6 next-20201204] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch,

Re: [PATCH v12 12/15] PCI/RCEC: Add RCiEP's linked RCEC to AER/ERR

2020-12-05 Thread Bjorn Helgaas
On Fri, Dec 04, 2020 at 05:17:58PM +, Kelley, Sean V wrote: > > On Dec 3, 2020, at 4:01 PM, Bjorn Helgaas wrote: > > On Thu, Dec 03, 2020 at 12:51:40AM +, Kelley, Sean V wrote: > >>> On Dec 2, 2020, at 3:44 PM, Bjorn Helgaas wrote: > >>> On Fri, Nov 20, 2020 at 04:10:33PM -0800, Sean V Ke

[PATCH] net: stmmac: dwmac-meson8b: fix mask definition of the m250_sel mux

2020-12-05 Thread Martin Blumenstingl
The m250_sel mux clock uses bit 4 in the PRG_ETH0 register. Fix this by shifting the PRG_ETH0_CLK_M250_SEL_MASK accordingly as the "mask" in struct clk_mux expects the mask relative to the "shift" field in the same struct. While here, get rid of the PRG_ETH0_CLK_M250_SEL_SHIFT macro and use __ffs(

RE: [PATCH 0/3] drivers/hv: make max_num_channels_supported configurable

2020-12-05 Thread Michael Kelley
From: Max Stolze Sent: Saturday, December 5, 2020 12:32 PM > > On 05/12/2020 19:27, Michael Kelley wrote: > > From: Stefan Eschenbacher > >> > >> According to the TODO comment in hyperv_vmbus.h the value in macro > >> MAX_NUM_CHANNELS_SUPPORTED should be configurable. The first patch > >> accomp

Re: [PATCH 11/20] ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()

2020-12-05 Thread Rasmus Villemoes
On 05/12/2020 22.19, Jakub Kicinski wrote: > On Sat, 5 Dec 2020 22:04:28 +0100 Rasmus Villemoes wrote: >> On 05/12/2020 21.48, Jakub Kicinski wrote: >>> On Sat, 5 Dec 2020 20:17:34 +0100 Rasmus Villemoes wrote: - unregister_netdev(dev); - free_netdev(dev); ucc_geth_memclean(u

Re: [PATCH 00/20] ethernet: ucc_geth: assorted fixes and simplifications

2020-12-05 Thread Rasmus Villemoes
On 05/12/2020 22.27, Jakub Kicinski wrote: > On Sat, 5 Dec 2020 22:11:39 +0100 Rasmus Villemoes wrote: >>> rebase (retest) and post them against the net tree: >>> >>> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/ >> >> So I thought this would go through Li Yang's tree. That's wh

Re: [PATCH v10 7/8] powerpc: Move arch_ima_add_kexec_buffer to ima

2020-12-05 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > arch_ima_add_kexec_buffer() sets the address and size of the IMA > measurement log in the architecture specific field in struct kimage. > This function does not have architecture specific code, but is > currently limited to powerpc. > > Move arch_ima_add_kexec_

Re: [PATCH v2 3/3] phy: amlogic: meson8b-usb2: fix shared reset control use

2020-12-05 Thread Martin Blumenstingl
On Tue, Dec 1, 2020 at 8:02 PM Amjad Ouled-Ameur wrote: > > Use reset_control_rearm() call if an error occurs in case > phy_meson8b_usb2_power_on() fails after reset() has been called, or in > case phy_meson8b_usb2_power_off() is called i.e the resource is no longer > used and the reset line may b

Re: [PATCH v2 2/3] usb: dwc3: meson-g12a: fix shared reset control use

2020-12-05 Thread Martin Blumenstingl
Hello Amjad, On Tue, Dec 1, 2020 at 8:01 PM Amjad Ouled-Ameur wrote: > > reset_control_(de)assert() calls are called on a shared reset line when > reset_control_reset has been used. This is not allowed by the reset > framework. > > Use reset_control_rearm() call in suspend() and remove() as a way

Re: [PATCH v4 0/5] Add GPIO support for MStar/SigmaStar ARMv7

2020-12-05 Thread Linus Walleij
On Sun, Nov 29, 2020 at 12:08 PM Daniel Palmer wrote: > At the moment the MStar/SigmaStar support is only really > capable of shell from an initramfs and not much else. > > Most of the interesting drivers are blocked on clock and pinctrl > drivers and those are going to take me a little while to

[PATCH 2/2] pwm: pwm-gpio: Add DT bindings

2020-12-05 Thread Nicola Di Lieto
Added Documentation/devicetree/bindings/pwm/pwm-gpio.yaml Signed-off-by: Nicola Di Lieto --- .../devicetree/bindings/pwm/pwm-gpio.yaml | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-gpio.yaml diff --git a/Docume

[PATCH 2/2] pwm: pwm-gpio: Add DT bindings

2020-12-05 Thread Nicola Di Lieto
Added Documentation/devicetree/bindings/pwm/pwm-gpio.yaml Signed-off-by: Nicola Di Lieto --- .../devicetree/bindings/pwm/pwm-gpio.yaml | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-gpio.yaml diff --git a/Docume

Re: [PATCH v10 8/8] arm64: Add IMA log information in kimage used for kexec

2020-12-05 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > Address and size of the buffer containing the IMA measurement log need > to be passed from the current kernel to the next kernel on kexec. > > Any existing "linux,ima-kexec-buffer" property in the device tree > needs to be removed and its corresponding memory r

Re: [PATCH 11/20] ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()

2020-12-05 Thread Rasmus Villemoes
> I only noticed because I needed to add a free of the ug_info in a later > patch. Where, ironically, I add a use-after-free bug by freeing ug_info before the ucc_geth_memclean() call. :facepalm:

Re: [PATCH v2 1/3] phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use

2020-12-05 Thread Martin Blumenstingl
On Tue, Dec 1, 2020 at 8:01 PM Amjad Ouled-Ameur wrote: > > Use reset_control_rearm() call if an error occurs in case > phy_meson_gxl_usb2_init() fails after reset() has been called ; or in case > phy_meson_gxl_usb2_exit() is called i.e the resource is no longer used > and the reset line may be tr

Re: [PATCH v1] gpio: dwapb: mask/unmask IRQ when disable/enable it

2020-12-05 Thread Linus Walleij
Sorry for top posting but I need the help of the irqchip maintainer Marc Z to hash this out. The mask/unmask/disable/enable semantics is something that you need to work with every day to understand right. Yours, Linus Walleij On Mon, Nov 30, 2020 at 10:36 AM Luo Jiaxing wrote: > > The mask and

[PULL REQUEST] i2c for 5.10

2020-12-05 Thread Wolfram Sang
Linus, here are some more I2C driver updates. IMX updates are a tad bigger, but not exceptionally big. Please pull. Thanks, Wolfram The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da: Linux 5.10-rc6 (2020-11-29 15:50:50 -0800) are available in the Git repositor

Re: [PATCH v1] gpio: dwapb: mask/unmask IRQ when disable/enable it

2020-12-05 Thread Serge Semin
On Tue, Dec 01, 2020 at 04:59:21PM +0800, luojiaxing wrote: > > On 2020/11/30 19:22, Andy Shevchenko wrote: > > On Mon, Nov 30, 2020 at 05:36:19PM +0800, Luo Jiaxing wrote: > > > The mask and unmask registers are not configured in dwapb_irq_enable() and > > > dwapb_irq_disable(). In the following

[PATCH v2 0/3] Audit Capability and Extended Capability among IOMMUs

2020-12-05 Thread Kyung Min Park
Modern platforms have more than one IOMMU. Each IOMMU has its own feature set. Some of these features must be consistent among IOMMUs. Otherwise, these differences can lead to improper behavior in the system. On the other hand, for some features, each IOMMU can have different capacity values. So, d

[PATCH v2 2/3] iommu/vt-d: Move capability check code to cap_audit files

2020-12-05 Thread Kyung Min Park
Move IOMMU capability check and sanity check code to cap_audit files. Also implement some helper functions for sanity checks. Signed-off-by: Kyung Min Park --- drivers/iommu/intel/cap_audit.c | 20 + drivers/iommu/intel/cap_audit.h | 20 + drivers/iommu/intel/iommu.c | 76 +--

[PATCH v2 1/3] iommu/vt-d: Audit IOMMU Capabilities and add helper functions

2020-12-05 Thread Kyung Min Park
Audit IOMMU Capability/Extended Capability and check if the IOMMUs have the consistent value for features. Report out or scale to the lowest supported when IOMMU features have incompatibility among IOMMUs. Report out features when below features are mismatched: - First Level 5 Level Paging Suppo

[PATCH v2 3/3] iommu/vt-d: Disable SVM in the platform when IOMMUs have inconsistencies

2020-12-05 Thread Kyung Min Park
Some IOMMU Capabilities must be consistent for Shared Virtual Memory (SVM). Audit IOMMU Capability/Extended Capabilities and check if IOMMUs have the consistent value for features as below. When the features are not matched among IOMMUs, disable SVMs in the platform during DMAR initialization. Audi

Re: [PATCH v5 2/3] usb: serial: xr_serial: Add gpiochip support

2020-12-05 Thread Linus Walleij
On Tue, Dec 1, 2020 at 4:50 PM Johan Hovold wrote: > On Tue, Dec 01, 2020 at 03:37:38PM +0100, Linus Walleij wrote: > > On Sun, Nov 22, 2020 at 6:08 PM Manivannan Sadhasivam > > wrote: > > You know the names of the pins... > > > > > + port_priv->gc.ngpio = 6; > > > + port_priv->gc.l

Re: [PATCH v2 0/3] gpiolib: cdev: allow edge event timestamps to be configured as REALTIME

2020-12-05 Thread Linus Walleij
On Thu, Oct 15, 2020 at 1:12 AM Kent Gibson wrote: > This patch set adds the option to select CLOCK_REALTIME as the source > clock for line events. > > The first patch is the core of the change, while the remaining two update > the GPIO tools to make use of the new option. > > Changes for v2: >

Pandemic Hedge Fund Team @ US Charity Foundation!!

2020-12-05 Thread Lisa Robinson
Greetings!! I’ve tried emailing you this letter several times because you were selected for my charity project to personally receive a $ 1.2 USD Million cash donation whereby you are elected to distribute the 2020 COVID-19 CHARITY donation to the less privileged people within your community aff

Re: [PATCH v2] gpio: just plain warning when nonexisting gpio requested

2020-12-05 Thread Linus Walleij
On Wed, Dec 2, 2020 at 2:37 PM Enrico Weigelt, metux IT consult wrote: > From: Enrico Weigelt > > When trying to export an nonexisting gpio ID, the kernel prints out a > big warning w/ stacktrace, sounding like a huge problem. In fact it's > a pretty normal situation, like file or device not fou

sparse annotation for error types?

2020-12-05 Thread Jakub Kicinski
Hi! Recently we've been getting a steady stream of patches from Changzhong to fix missing assignment to error variables before jumping to error cases. I wonder if for new code it'd make sense to add an annotation for a type which has to be returned non-zero? What I have in mind is the following

Re: [PATCH net] net: marvell: prestera: Fix error return code in prestera_port_create()

2020-12-05 Thread Jakub Kicinski
On Fri, 4 Dec 2020 16:49:42 +0800 Zhang Changzhong wrote: > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: 501ef3066c89 ("net: marvell: prestera: Add driver for Prestera family > ASIC devices") > Reported-by: Hulk Ro

Re: [RESEND PATCH v6 2/2] pinctrl: qcom: Add sm8250 lpass lpi pinctrl driver

2020-12-05 Thread Linus Walleij
On Wed, Dec 2, 2020 at 5:35 PM Srinivas Kandagatla wrote: > Add initial pinctrl driver to support pin configuration for > LPASS (Low Power Audio SubSystem) LPI (Low Power Island) pinctrl > on SM8250. Patch applied! > +config PINCTRL_LPASS_LPI > + tristate "Qualcomm Technologies Inc LPASS

Re: [PATCH 2/8] pinctrl: sunxi: Add support for the Allwinner H616 pin controller

2020-12-05 Thread Linus Walleij
On Wed, Dec 2, 2020 at 4:52 PM Maxime Ripard wrote: > There's a bunch of issues with wrapped lines alignment reported by > checkpatch --patch. > > Once fixed, > Acked-by: Maxime Ripard Andre, if you resend just the two pinctrl patches with the collected ACKs I can apply them. No DT binding cha

Re: [PATCH] octeontx2-pf: Add RSS multi group support

2020-12-05 Thread Jakub Kicinski
On Fri, 4 Dec 2020 14:54:51 +0530 Geetha sowjanya wrote: > Hardware supports 8 RSS groups per interface. Currently we are using > only group '0'. This patch allows user to create new RSS groups/contexts > and use the same as destination for flow steering rules. > > usage: > To steer the traffic t

Re: [PATCH] [v2] enetc: fix build warning

2020-12-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 4 Dec 2020 20:28:59 +0100 you wrote: > From: Arnd Bergmann > > When CONFIG_OF is disabled, there is a harmless warning about > an unused variable: > > enetc_pf.c: In function 'enetc_phylink_create': > enetc_pf.c

Re: [PATCH v6 4/4] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC

2020-12-05 Thread Linus Walleij
On Thu, Dec 3, 2020 at 8:10 AM Zulkifli, Muhammad Husaini wrote: > >Yeah it has to be called from somewhere, if you want an abstraction to make > >the driver neutral to any machine, then use a selector regulator. It can be > >placed anywhere in the kernel as long as you can reference it. > > Sorr

Re: [RFC PATCH v1 07/12] efi: Replace strstarts() by str_has_prefix().

2020-12-05 Thread James Bottomley
On Sat, 2020-12-05 at 22:20 +0100, Ard Biesheuvel wrote: > On Sat, 5 Dec 2020 at 22:15, James Bottomley > wrote: > > [Rostedt added because this is all his fault] > > On Sat, 2020-12-05 at 21:57 +0100, Ard Biesheuvel wrote: > > > On Sat, 5 Dec 2020 at 21:24, James Bottomley > > > wrote: > > [...]

Re: sparse annotation for error types?

2020-12-05 Thread Linus Torvalds
On Sat, Dec 5, 2020 at 2:34 PM Jakub Kicinski wrote: > > Am I the only one who thinks this would be a good idea? I don't think it's likely to be very useful, because a very common pattern is to not have that separate "return 0" in the middle, but more along the lines of err = first_step(

[PATCH] rtc: fix RTC removal

2020-12-05 Thread Alexandre Belloni
Since the rtc_register_device, removing an RTC device will end with a refcount_t: underflow; use-after-free warning since put_device is called twice in the device tear down path. Fixes: fdcfd854333b ("rtc: rework rtc_register_device() resource management") Signed-off-by: Alexandre Belloni --- dr

Re: [PATCH 2/8] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-12-05 Thread Nicholas Piggin
Excerpts from Andy Lutomirski's message of December 6, 2020 2:11 am: > >> On Dec 5, 2020, at 12:00 AM, Nicholas Piggin wrote: >> >> >> I disagree. Until now nobody following it noticed that the mm gets >> un-lazied in other cases, because that was not too clear from the >> code (only indirectly

Re: [PATCH] ch_ktls: fix build warning for ipv4-only config

2020-12-05 Thread Arnd Bergmann
On Sat, Dec 5, 2020 at 2:57 AM Jakub Kicinski wrote: > > On Thu, 3 Dec 2020 23:26:16 +0100 Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > When CONFIG_IPV6 is disabled, clang complains that a variable > > is uninitialized for non-IPv4 data: > > > > drivers/net/ethernet/chelsio/inline_crypto

Re: [PATCH] net: fix spelling mistake "wil" -> "will" in Kconfig

2020-12-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 4 Dec 2020 19:45:49 + you wrote: > From: Colin Ian King > > There is a spelling mistake in the Kconfig help text. Fix it. > > Signed-off-by: Colin Ian King > --- > drivers/net/Kconfig | 2 +- > 1 file chan

Re: [PATCH] ch_ktls: fix build warning for ipv4-only config

2020-12-05 Thread Jakub Kicinski
On Sun, 6 Dec 2020 00:18:44 +0100 Arnd Bergmann wrote: > > This is for evrey clang build or just W=1+? Would be annoying if clang > > produced this on every build with 5.10 (we need to decide fix vs -next). > > The -Wsometimes-uninitialized is enabled unconditionally for clang, > but this only h

Re: [PATCH v5 0/9] "Task_isolation" mode

2020-12-05 Thread Thomas Gleixner
Pavel, On Sat, Dec 05 2020 at 21:40, Pavel Machek wrote: > So... what kind of guarantees does this aim to provide / what tasks it > is useful for? > > For real time response, we have other approaches. Depends on your requirements. Some problems are actually better solved with busy polling. See be

Re: [PULL REQUEST] i2c for 5.10

2020-12-05 Thread pr-tracker-bot
The pull request you sent on Sat, 5 Dec 2020 23:11:43 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/33256ce194110874d4bc90078b577c59f9076c59 Thank you! -- Deet-doot-dot, I am a bot

[PATCH] Input: gtco - remove driver

2020-12-05 Thread Dmitry Torokhov
The driver has its own HID descriptor parsing code, that had and still has several issues discovered by syzbot and other tools. Ideally we should move the driver over to the HID subsystem, so that it uses proven parsing code. However the devices in question are EOL, and GTCO is not willing to exte

Re: BUG: KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick

2020-12-05 Thread Thomas Gleixner
On Sat, Dec 05 2020 at 19:18, Thomas Gleixner wrote: > On Fri, Dec 04 2020 at 20:53, Marco Elver wrote: > It might be useful to find the actual variable, data member or whatever > which is involved in the various reports and if there is a match then > the reports could be aggregated. The 3 patterns

[PATCH net] bonding: reduce rtnl lock contention in mii monitor thread

2020-12-05 Thread Jarod Wilson
I'm seeing a system get stuck unable to bring a downed interface back up when it's got an updelay value set, behavior which ceased when logging spew was removed from bond_miimon_inspect(). I'm monitoring logs on this system over another network connection, and it seems that the act of spewing logs

Re: [PATCH v3 0/7] Improve s0ix flows for systems i219LM

2020-12-05 Thread Jakub Kicinski
On Fri, 4 Dec 2020 14:38:03 -0800 Alexander Duyck wrote: > > > The patches look good to me. Just need to address the minor issue that > > > seems to have been present prior to the introduction of this patch > > > set. > > > > > > Reviewed-by: Alexander Duyck > > > > Thanks for your review. Just

[git pull] Input updates for v5.10-rc6

2020-12-05 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get a fix for "RETRIGEN" handling in Atmel touch controllers that was causing lost interrupts on systems using edge-triggered interrupts

Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-12-05 Thread Jessica Clarke
On 16 Nov 2020, at 00:55, Jessica Clarke wrote: > > On 1 Nov 2020, at 21:01, Rich Felker wrote: >> >> On Sun, Nov 01, 2020 at 06:27:10PM +, Jessica Clarke wrote: >>> On 1 Nov 2020, at 18:15, Jessica Clarke wrote: On 1 Nov 2020, at 18:07, Andy Lutomirski wrote: > > On S

Re: sparse annotation for error types?

2020-12-05 Thread Luc Van Oostenryck
On Sat, Dec 05, 2020 at 03:10:15PM -0800, Linus Torvalds wrote: > On Sat, Dec 5, 2020 at 2:34 PM Jakub Kicinski wrote: > > > > Am I the only one who thinks this would be a good idea? > > err = third_step(obj, 0); > >err_undo_2s: > second_undo(obj); >err_undo_1s: >

Re: [git pull] Input updates for v5.10-rc6

2020-12-05 Thread pr-tracker-bot
The pull request you sent on Sat, 5 Dec 2020 15:59:36 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7059c2c00a2196865c2139083cbef47cd18109b6 Thank you! -- Deet-doot-dot, I am a bot. htt

Re: [resend/standalone PATCH v4] Add auxiliary bus support

2020-12-05 Thread David Ahern
On 12/2/20 5:54 PM, Dan Williams wrote: > diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig > index 8d7001712062..040be48ce046 100644 > --- a/drivers/base/Kconfig > +++ b/drivers/base/Kconfig > @@ -1,6 +1,9 @@ > # SPDX-License-Identifier: GPL-2.0 > menu "Generic Driver Options" > > +conf

[PATCH 2/2] regulator: pf8x00: add support of nxp pf8x00 regulator

2020-12-05 Thread Adrien Grassein
NXP pf8100 and pf8200 are 12-channel PMIC for high performance applications. This driver introduces the support of the 12 regulators available on the PMIC. Imported from Boundary Devices kernel with some modifications. This driver was teste using a Boundary Nitrogen 8M Mini board that features t

[PATCH 1/2] dt-bindings: regulator: Add pf8x00 regulator

2020-12-05 Thread Adrien Grassein
Add dt-bindings for the pf8x00 driver. Signed-off-by: Adrien Grassein --- .../regulator/nxp,pf8x00-regulator.yaml | 223 ++ MAINTAINERS | 6 + 2 files changed, 229 insertions(+) create mode 100644 Documentation/devicetree/bindings/regul

Re: [resend/standalone PATCH v4] Add auxiliary bus support

2020-12-05 Thread Dan Williams
On Sat, Dec 5, 2020 at 4:24 PM David Ahern wrote: > > On 12/2/20 5:54 PM, Dan Williams wrote: > > diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig > > index 8d7001712062..040be48ce046 100644 > > --- a/drivers/base/Kconfig > > +++ b/drivers/base/Kconfig > > @@ -1,6 +1,9 @@ > > # SPDX-Licen

Re: [PATCH 2/8] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-12-05 Thread Andy Lutomirski
On Sat, Dec 5, 2020 at 3:15 PM Nicholas Piggin wrote: > > Excerpts from Andy Lutomirski's message of December 6, 2020 2:11 am: > > > If an mm was lazy tlb for a kernel thread and then it becomes unlazy, > and if switch_mm is serialising but return to user is not, then you > need a serialising ins

Re: [PATCH v2 bpf-next 0/3] bpf: support module BTF in BTF display helpers

2020-12-05 Thread Alan Maguire
On Sat, 5 Dec 2020, Yonghong Song wrote: > > > __builtin_btf_type_id() is really only supported in llvm12 > and 64bit return value support is pushed to llvm12 trunk > a while back. The builtin is introduced in llvm11 but has a > corner bug, so llvm12 is recommended. So if people use the builti

Re: [PATCH] kasan: fix slab double free when cpu-hotplug

2020-12-05 Thread Andrew Morton
On Sun, 6 Dec 2020 00:17:15 +0800 Kuan-Ying Lee wrote: > On Fri, 2020-12-04 at 17:25 -0800, Andrew Morton wrote: > > On Fri, 4 Dec 2020 20:01:35 +0800 Kuan-Ying Lee > > wrote: > > > > > > diff --git a/mm/kasan/quarantine.c b/mm/kasan/quarantine.c > > > > index d98b516f372f..55783125a767 10064

[tip:master] BUILD SUCCESS 414b3bbad29bf609f6c5a37c6b96e8a371e3e10f

2020-12-05 Thread kernel test robot
onfig-a005-20201205 i386 randconfig-a004-20201205 i386 randconfig-a001-20201205 i386 randconfig-a002-20201205 i386 randconfig-a006-20201205 i386 randconfig-a003-20201205 x86_64 randconfig-a016-20201

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

2020-12-05 Thread Qian Cai
On Sat, 2020-12-05 at 18:37 +, Valentin Schneider wrote: > From there I see: > > [20798.166987][ T650] CPU127 nr_running=2 > [20798.171185][ T650] p=migration/127 > [20798.175161][ T650] p=kworker/127:1 > > so this might be another workqueue hurdle. This should be prevented by: > > 06

[PATCH v3 0/7] Add initial support for ATC260x PMICs

2020-12-05 Thread Cristian Ciocaltea
The ATC260x family of PMICs integrates Audio Codec, Power management, Clock generation and GPIO controller blocks. There are currently 3 variants: ATC2603A, ATC2603C and ATC2609A. This is re-spin of the v1 patch series submitted some time ago by Mani, who provided the MFD and regulator drivers for

[PATCH v3 2/7] dt-bindings: mfd: Add Actions Semi ATC260x PMIC binding

2020-12-05 Thread Cristian Ciocaltea
Add devicetree binding for Actions Semi ATC260x PMICs. Signed-off-by: Cristian Ciocaltea --- Changes in v3 (according to Rob's review): - Dropped the 'pwrc' and 'onkey' nodes - Used a common 'reset-time-sec' property .../bindings/mfd/actions,atc260x.yaml | 181 ++ 1 fi

[PATCH v3 4/7] regulator: Add regulator driver for ATC260x PMICs

2020-12-05 Thread Cristian Ciocaltea
Add support for the DC-DC converters and LDO regulators found in the ATC2603C and ATC2609A chip variants of the Actions Semi ATC260x family of PMICs. Co-developed-by: Manivannan Sadhasivam Signed-off-by: Manivannan Sadhasivam Signed-off-by: Cristian Ciocaltea --- Changes in v3: - Dropped 'last

[PATCH v3 1/7] dt-bindings: input: Add reset-time-sec common property

2020-12-05 Thread Cristian Ciocaltea
Add a new common property 'reset-time-sec' to be used in conjunction with the devices supporting the key pressed reset feature. Signed-off-by: Cristian Ciocaltea --- Changes in v3: - This patch was not present in v2 Documentation/devicetree/bindings/input/input.yaml | 7 +++ 1 file changed

[PATCH v3 6/7] input: atc260x: Add onkey driver for ATC260x PMICs

2020-12-05 Thread Cristian Ciocaltea
The Actions Semi ATC260x PMICs are able to manage an onkey button. This driver exposes the ATC260x onkey as an input device. It can also be configured to force a system reset on a long key-press with an adjustable duration. The currently supported chip variants are ATC2603C and ATC2609A. Signed-o

[PATCH v3 5/7] power: reset: Add poweroff driver for ATC260x PMICs

2020-12-05 Thread Cristian Ciocaltea
This driver provides poweroff and reboot support for a system through the ATC2603C and ATC2609A chip variants of the Actions Semi ATC260x family of PMICs. Signed-off-by: Cristian Ciocaltea --- Changes in v3: - Removed the unnecessary driver compatibles drivers/power/reset/Kconfig|

[PATCH v3 3/7] mfd: Add MFD driver for ATC260x PMICs

2020-12-05 Thread Cristian Ciocaltea
Add initial support for the Actions Semi ATC260x PMICs. ATC260x series PMICs integrates Audio Codec, Power management, Clock generation and GPIO controller blocks. For the moment this driver only supports Regulator, Poweroff and Onkey functionalities for the ATC2603C and ATC2609A chip variants. S

[PATCH v3 7/7] MAINTAINERS: Add entry for ATC260x PMIC

2020-12-05 Thread Cristian Ciocaltea
From: Manivannan Sadhasivam Add MAINTAINERS entry for ATC260x PMIC. Signed-off-by: Manivannan Sadhasivam [cristian: change binding doc file path, add file patterns for onkey and poweroff drivers, fix ordering, add myself as co-maintainer] Signed-off-by: Cristian Ciocaltea --- Change

[GIT PULL] ARM: at91: DT for 5.11 #2

2020-12-05 Thread Alexandre Belloni
Arnd, Olof, Here is a second round of DT updates, Some are following patches series that made it in other subsystems and it would be nice to have them in the same release. Other are fixes worth having in v5.11. The following changes since commit e1062fa7292f1e3744db0a487c4ac0109e09b03d: ARM: d

Re: [PATCH net-next 2/3] net: hns3: add priv flags support to switch limit promisc mode

2020-12-05 Thread tanhuazhong
On 2020/12/5 10:24, Jakub Kicinski wrote: On Thu, 3 Dec 2020 20:18:55 +0800 Huazhong Tan wrote: @@ -224,6 +224,7 @@ static int hclge_map_unmap_ring_to_vf_vector(struct hclge_vport *vport, bool en, static int hclge_set_vf_promisc_mode(struct hclge_vport *vport,

Re: [PATCH net-next 3/3] net: hns3: refine the VLAN tag handle for port based VLAN

2020-12-05 Thread tanhuazhong
On 2020/12/5 10:22, Jakub Kicinski wrote: On Thu, 3 Dec 2020 20:18:56 +0800 Huazhong Tan wrote: tranmist Please spell check the commit messages and comments. will fix spelling mistakes, thanks .

[PATCH V2 net-next 1/3] net: hns3: add support for extended promiscuous command

2020-12-05 Thread Huazhong Tan
From: Guojia Liao For DEVICE_VERSION_V2, the hardware supports enable tx and rx promiscuous separately. But tx or rx promiscuous is active for unicast, multicast and broadcast promiscuous simultaneously. To support traffics between functions belong to the same port, we always enable tx promiscuou

Re: [PATCH] kbuild: avoid static_assert for genksyms

2020-12-05 Thread Masahiro Yamada
On Fri, Dec 4, 2020 at 8:10 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > genksyms does not know or care about the _Static_assert() built-in, > and sometimes falls back to ignoring the later symbols, which causes > undefined behavior such as > > WARNING: modpost: EXPORT symbol "ethtool_set_

Re: [tip: x86/urgent] x86/uprobes: Do not use prefixes.nbytes when looping over prefixes.bytes

2020-12-05 Thread Masami Hiramatsu
On Sat, 5 Dec 2020 11:17:04 +0100 Borislav Petkov wrote: > On Sat, Dec 05, 2020 at 09:12:56AM +0900, Masami Hiramatsu wrote: > > This may break tools/objtool build. Please keep "inat.h". > > How? Please elaborate. > > Build tests are fine here. Oops, sorry, it was for perf build. Please refer

[PATCH V2 net-next 0/3] net: hns3: updates for -next

2020-12-05 Thread Huazhong Tan
There are some updates for the HNS3 ethernet driver. #1 supports an extended promiscuous command which makes promiscuous configuration more flexible, #2 adds ethtool private flags to control whether enable tx unicast promisc. #3 refine the vlan tag handling for port based vlan. change log: V2: mo

[PATCH V2 net-next 3/3] net: hns3: refine the VLAN tag handle for port based VLAN

2020-12-05 Thread Huazhong Tan
From: Guojia Liao For DEVICE_VERSION_V2, the hardware only supports max two layer VLAN tags, including port based tag inserted by hardware, tag in tx buffer descriptor(get from skb->tci) and tag in packet. For transmit packet: If port based VLAN disabled, and vf driver gets a VLAN tag from skb,

Re: KASAN: use-after-free Read in squashfs_get_id

2020-12-05 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:b3298500 Merge tag 'for-5.10/dm-fixes' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1003173d50 kernel config: https://syzkaller.appspot.com/x/.config?x=b3a044c

[PATCH V2 net-next 2/3] net: hns3: add priv flags support to switch limit promisc mode

2020-12-05 Thread Huazhong Tan
From: Jian Shen Currently, the tx unicast promisc is always enabled when promisc mode on. If tx unicast promisc on, a function will receive all unicast packet from other functions belong to the same port. Add a ethtool private flag to control whether enable tx unicast promisc. Then the function i

[PATCH 05/10] staging: rtl8723bs: replace OP_MODE_* and HT_INFO_OPERATION_MODE_* macros

2020-12-05 Thread Ross Schmidt
Replace unique OP_MODE_* and HT_INFO_OPERATION_MODE_* macro families with kernel provided IEEE80211_HT_OP_MODE_* macros. Signed-off-by: Ross Schmidt --- drivers/staging/rtl8723bs/core/rtw_ap.c | 30 drivers/staging/rtl8723bs/include/wifi.h | 13 -- 2 files chang

Re: [PATCH 2/8] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-12-05 Thread Nicholas Piggin
Excerpts from Andy Lutomirski's message of December 6, 2020 10:36 am: > On Sat, Dec 5, 2020 at 3:15 PM Nicholas Piggin wrote: >> >> Excerpts from Andy Lutomirski's message of December 6, 2020 2:11 am: >> > > >> If an mm was lazy tlb for a kernel thread and then it becomes unlazy, >> and if switch

<    1   2   3   4   5   >