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

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

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: >

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; > > > +

[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.

[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

[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,

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

[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

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

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

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 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

[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

[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

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

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

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

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

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

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);

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 > >>

[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

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

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

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. > >

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

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

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 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

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

[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

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); >>

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

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: > >

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: [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: [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

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

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

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); >

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:

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

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 >>

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

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

Re: [PATCH 4.4 17/70] crypto: arm64/sha - avoid non-standard inline asm tricks

2020-12-05 Thread dann frazier
On Mon, Nov 23, 2020 at 01:49:07PM -0700, dann frazier wrote: > On Mon, Nov 26, 2018 at 11:50:32AM +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > fyi, I bisected a regression down to this commit. This apparently > causes an

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

2020-12-05 Thread Yonghong Song
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 support. Patch 1 removes the btf_module_mutex, as

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

2020-12-05 Thread Rasmus Villemoes
On 05/12/2020 20.36, 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: From: Francis Laniel The two functions indicates if a string begins with a

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 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: > > > > From: Francis Laniel > > > > > > > > The two functions indicates

Re: [PATCH] powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()

2020-12-05 Thread Christophe Leroy
Le 05/12/2020 à 10:56, Christophe Leroy a écrit : Le 05/12/2020 à 09:48, Christoph Hellwig a écrit : On Sat, Dec 05, 2020 at 08:43:06AM +, Christophe Leroy wrote: Since commit c33165253492 ("powerpc: use non-set_fs based maccess routines"), userspace access is not granted anymore when

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

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

Howto listen to/handle gpio state changes ? Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-05 Thread Enrico Weigelt, metux IT consult
On 03.12.20 20:11, Enrico Weigelt, metux IT consult wrote: Friends, I've still got a problem w/ signal/irq handling: The virtio-gpio device/host can raise a signal on line state change. Kinda IRQ, but not actually running through real IRQs, instead by a message running though queue. (hmm, kida

Re: [PATCH v10 5/8] powerpc: Move remove_ima_buffer() to drivers/of/kexec.c

2020-12-05 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > remove_ima_buffer() removes the chosen node "linux,ima-kexec-buffer" > from the device tree and frees the memory reserved for carrying forward > the IMA measurement logs on kexec. This function does not have > architecture specific code, but is currently

Re: crypto: sun4i-ss: error with kmap

2020-12-05 Thread Julia Lawall
On Sat, 5 Dec 2020, Thomas Gleixner wrote: > Corentin, > > On Sat, Dec 05 2020 at 19:43, Corentin Labbe wrote: > > On Fri, Dec 04, 2020 at 09:58:21PM +0100, Thomas Gleixner wrote: > >> Can you please replace the debug patch with the one below and try again? > >> That stops the trace right on

[PATCH] habanalabs: Revise comment to align with mirror list name

2020-12-05 Thread Oded Gabbay
From: Tomer Tayar hw_queues_mirror was renamed to cs_mirror, so revise accordingly a comment that refers to this list. Signed-off-by: Tomer Tayar Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/command_submission.c | 2 +- 1 file changed, 1

[PATCH] habanalabs/gaudi: do not set EB in collective slave queues

2020-12-05 Thread Oded Gabbay
From: Alon Mizrahi We don't need to set EB on signal packets from collective slave queues as it degrades performance. Because the slaves are the network queues, the engine barrier doesn't actually guarantee that the packet has been sent. Signed-off-by: Alon Mizrahi Reviewed-by: Oded Gabbay

Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-05 Thread Enrico Weigelt, metux IT consult
On 05.12.20 20:32, Michael S. Tsirkin wrote: Hi, > It seems a bit of a mess, at this point I'm not entirely sure when > should drivers select VIRTIO and when depend on it. if VIRTIO just enables something that could be seen as library functions, then select should be right, IMHO. > The text

Re: [PATCH] drm/kmb: fix array bounds warning

2020-12-05 Thread Sam Ravnborg
Hi Anitha, On Mon, Nov 30, 2020 at 10:19:13PM +, Chrisanthus, Anitha wrote: > Hi Arnd, > Thanks for your patch. > > > -Original Message- > > From: Arnd Bergmann > > Sent: Sunday, November 29, 2020 12:09 PM > > To: Chrisanthus, Anitha ; Dea, Edmund J > > ; David Airlie ; Daniel Vetter

Re: [PATCH 2/4] dt-bindings: display: Add ABT Y030XX067A panel bindings

2020-12-05 Thread Sam Ravnborg
Hi Paul > > > >> >> + > > > >> >> +maintainers: > > > >> >> + - Paul Cercueil > > > >> >> + > > > >> >> +allOf: > > > >> >> + - $ref: panel-common.yaml# > > > >> >> + > > > >> >> +properties: > > > >> >> + compatible: > > > >> >> +const: abt,y030xx067a > > >

Re: [PATCH v10 4/8] powerpc: Use ima kexec node functions

2020-12-05 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > do_get_kexec_buffer() and get_addr_size_cells() are called by > ima_get_kexec_buffer(), ima_free_kexec_buffer, and remove_ima_buffer() > to retrieve the address and size of the buffer used for carrying > forward the IMA measurement log across kexec system

Re: [PATCH v11 04/10] memory: tegra124-emc: Make driver modular

2020-12-05 Thread Dmitry Osipenko
04.12.2020 19:41, Thierry Reding пишет: ... >> +bool tegra124_clk_emc_driver_available(struct clk_hw *hw) >> +{ >> +struct tegra_clk_emc *tegra = container_of(hw, struct tegra_clk_emc, >> hw); >> + >> +return tegra->prepare_timing_change && tegra->complete_timing_change; >> +} > > This

Re: [PATCH v10 3/8] powerpc: Move ima buffer functions to drivers/of/kexec.c

2020-12-05 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > The functions do_get_kexec_buffer() and get_addr_size_cells(), > defined in arch/powerpc/kexec/ima.c, retrieve the address and size > of the given property from the device tree blob. These functions do > not have architecture specific code, but are currently

Re: crypto: sun4i-ss: error with kmap

2020-12-05 Thread Thomas Gleixner
Corentin, On Sat, Dec 05 2020 at 19:43, Corentin Labbe wrote: > On Fri, Dec 04, 2020 at 09:58:21PM +0100, Thomas Gleixner wrote: >> Can you please replace the debug patch with the one below and try again? >> That stops the trace right on the condition. > > Hello, the result could be found at

Re: [PATCH net-next] bonding: correct rr balancing during link failure

2020-12-05 Thread Jakub Kicinski
On Wed, 02 Dec 2020 20:55:57 + Lars Everbrand wrote: > This patch updates the sending algorithm for roundrobin to avoid > over-subscribing interface(s) when one or more interfaces in the bond is > not able to send packets. This happened when order was not random and > more than 2 interfaces

arch/powerpc/crypto/sha256-spe-glue.c:186:16: sparse: sparse: incorrect type in assignment (different base types)

2020-12-05 Thread kernel test robot
Hi Michael, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b3298500b23f0b53a8d81e0d5ad98a29db71f4f0 commit: e02152ba2810f7c88cb54e71cda096268dfa9241 powerpc: Drop -me200 addition to build flags date: 3 weeks

Re: [char-misc-next 13/13] mei: virtio: virtualization frontend driver

2020-12-05 Thread Michael S. Tsirkin
On Thu, Dec 03, 2020 at 11:01:45PM +0100, Greg Kroah-Hartman wrote: > On Thu, Dec 03, 2020 at 04:51:10PM -0500, Michael S. Tsirkin wrote: > > On Wed, Nov 25, 2020 at 09:18:04PM +, Winkler, Tomas wrote: > > > > > > > > On Tue, Aug 18, 2020 at 02:51:47PM +0300, Tomas Winkler wrote: > > > > >

[PATCH] Revert "mei: virtio: virtualization frontend driver"

2020-12-05 Thread Michael S. Tsirkin
This reverts commit d162219c655c8cf8003128a13840d6c1e183fb80. The device uses a VIRTIO device ID out of a not-for-production range. Releasing Linux using an ID out of this range will make it conflict with development setups. An official request to reserve an ID for an MEI device is yet to be

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

2020-12-05 Thread Ard Biesheuvel
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: > > > From: Francis Laniel > > > > > > The two functions indicates if a string begins with a given prefix. > > > The only difference is

Re: [PATCH v6 3/8] dt-bindings: display: simple: Add Kyocera tcg070wvlq panel

2020-12-05 Thread Sam Ravnborg
On Wed, Dec 02, 2020 at 09:18:21AM +0100, Oleksij Rempel wrote: > So far, this panel seems to be compatible with "lg,lb070wv8", on other > hand it is better to set this compatible in the devicetree. So, let's > add it for now only to the dt-binding documentation to fix the > checkpatch warnings. >

Re: [PATCH v6 2/8] dt-bindings: display: simple: add EDT compatibles already supported by the driver

2020-12-05 Thread Sam Ravnborg
Hi Oleksij, On Wed, Dec 02, 2020 at 09:18:20AM +0100, Oleksij Rempel wrote: > Some EDT compatibles are already supported by the driver but will fail > on checkpatch script. Fix it by syncing dt-bindings documentation with the > driver. > > Signed-off-by: Oleksij Rempel > --- >

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

2020-12-05 Thread Greg KH
On Fri, Dec 04, 2020 at 08:41:09AM -0800, Dan Williams wrote: > On Fri, Dec 4, 2020 at 3:41 AM Greg KH wrote: > > > > On Wed, Dec 02, 2020 at 04:54:24PM -0800, Dan Williams wrote: > > > From: Dave Ertman > > > > > > Add support for the Auxiliary Bus, auxiliary_device and auxiliary_driver. > > >

Re: [PATCH v3 3/3] iio:Documentation: Add documentation for hinge sensor channels

2020-12-05 Thread Jonathan Cameron
On Fri, 04 Dec 2020 03:40:15 -0800 Srinivas Pandruvada wrote: > On Thu, 2020-12-03 at 11:53 +0800, Ye Xiang wrote: > > Add channel description for hinge sensor, including channel label > > attribute and raw data description. > > > > Signed-off-by: Ye Xiang > > --- > >

Re: [PATCH v6 1/8] dt-bindings: display: simple: fix alphabetical order for EDT compatibles

2020-12-05 Thread Sam Ravnborg
Hi Oleksij On Wed, Dec 02, 2020 at 09:18:19AM +0100, Oleksij Rempel wrote: > Reorder it alphabetically and remove one double entry. > > Signed-off-by: Oleksij Rempel > --- > .../bindings/display/panel/panel-simple.yaml | 16 +++- > 1 file changed, 7 insertions(+), 9

Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-05 Thread Michael S. Tsirkin
On Sat, Dec 05, 2020 at 08:59:55AM +0100, Enrico Weigelt, metux IT consult wrote: > On 04.12.20 04:35, Jason Wang wrote: > > >> --- a/drivers/gpio/Kconfig > >> +++ b/drivers/gpio/Kconfig > >> @@ -1615,6 +1615,15 @@ config GPIO_MOCKUP > >>     tools/testing/selftests/gpio/gpio-mockup.sh.

[PATCH] ACPI: scan: Add PNP0D80 to the _DEP exceptions list

2020-12-05 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The PNP0D80 ("Windows-compatible System Power Management Controller") device ID is used for identifying the special device object providing the LPI (Low-power S0 Idle) _DSM interface [1]. That device object does not supply any operation regions, but it appears in _DEP

Re: [PATCH] drm: panel: Fully transition panel_desc kerneldoc to inline style

2020-12-05 Thread Sam Ravnborg
Hi Douglas, On Tue, Dec 01, 2020 at 12:59:12PM -0800, Douglas Anderson wrote: > In commit 131f909ad55f ("drm: panel: simple: Fixup the struct > panel_desc kernel doc") I transitioned the more deeply nested > kerneldoc comments into the inline style. Apparently it is desirable > to continue the

Re: [PATCH v2] drm: panel: add flags to BOE NV110WTM-N61

2020-12-05 Thread Sam Ravnborg
Hi Douglas, On Tue, Dec 01, 2020 at 12:56:11PM -0800, Douglas Anderson wrote: > I forgot to add these when posting up the support for BOE > NV110WTM-N61. Add them now. > > Fixes: a96ee0f6b58d ("drm: panel: simple: Add BOE NV110WTM-N61") > Signed-off-by: Douglas Anderson > Cc: Douglas Anderson

Re: [PATCH v2] pwm: bcm2835: Support apply function for atomic configuration

2020-12-05 Thread Uwe Kleine-König
Hello Sean, On Sat, Dec 05, 2020 at 05:34:44PM +, Sean Young wrote: > On Sat, Dec 05, 2020 at 12:28:34AM +0100, Uwe Kleine-König wrote: > > On Fri, Dec 04, 2020 at 11:38:46AM +, Sean Young wrote: > > > On Fri, Dec 04, 2020 at 12:13:26PM +0100, Uwe Kleine-König wrote: > > > > On Fri, Dec

Re: [PATCH v2 2/6] genirq: Allow an interrupt to be marked as 'raw'

2020-12-05 Thread Valentin Schneider
On 03/12/20 15:52, Valentin Schneider wrote: > On 03/12/20 13:03, Peter Zijlstra wrote: [...] >> The scheduler IPI really doesn't need RCU either ;-) [...] > But as with any other interrupt, we could then go through: > > preempt_schedule_irq() ~> pick_next_task_fair() -> newidle_balance() > >

[PATCH v3 01/10] arm: dts: keystone: Correct DWC USB3 compatible string

2020-12-05 Thread Serge Semin
Syonpsys IP cores are supposed to be defined with "snps" vendor-prefix. Use it instead of the deprecated "synopsys" one. Signed-off-by: Serge Semin Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/keystone-k2e.dtsi | 2 +- arch/arm/boot/dts/keystone.dtsi | 2 +- 2 files changed, 2

Re: [PATCH] acpi: resource: Use AE_ABORT_METHOD to terminate acpi_dev_get_resources()

2020-12-05 Thread Rafael J. Wysocki
On Friday, December 4, 2020 1:27:40 AM CET Daniel Scally wrote: > Switching this function to AE_CTRL_TERMINATE broke the documented > behaviour of acpi_dev_get_resources() - AE_CTRL_TERMINATE does not, in > fact, terminate the resource walk because acpi_walk_resource_buffer() > ignores it

[PATCH v3 02/10] arm64: dts: amlogic: meson-g12: Set FL-adj property value

2020-12-05 Thread Serge Semin
In accordance with the DWC USB3 bindings the property is supposed to have uint32 type. It's erroneous from the DT schema and driver points of view to declare it as boolean. As Neil suggested set it to 0x20 so not break the platform and to make the dtbs checker happy. Link:

Re: [GIT PULL] SCSI fixes for 5.10-rc6

2020-12-05 Thread pr-tracker-bot
The pull request you sent on Sat, 05 Dec 2020 09:30:29 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/312b0bcd402a003053914e13d962e82be906cf41 Thank you! -- Deet-doot-dot, I am a bot.

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

2020-12-05 Thread pr-tracker-bot
The pull request you sent on Sat, 05 Dec 2020 23:19:45 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.10-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/32f741b02f1a84dd15cdaf74ea3c8d724f812318 Thank you! --

Re: [GIT PULL] SMB3 Fixes

2020-12-05 Thread pr-tracker-bot
The pull request you sent on Fri, 4 Dec 2020 19:23:07 -0600: > git://git.samba.org/sfrench/cifs-2.6.git tags/5.10-rc6-smb3-fixes-part2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d4e904198c5b46c140fdd04492df6ec31f1f03a5 Thank you! -- Deet-doot-dot, I am a bot.

[PATCH 01/20] ethernet: ucc_geth: set dev->max_mtu to 1518

2020-12-05 Thread Rasmus Villemoes
All the buffers and registers are already set up appropriately for an MTU slightly above 1500, so we just need to expose this to the networking stack. AFAICT, there's no need to implement .ndo_change_mtu when the receive buffers are always set up to support the max_mtu. This fixes several

[PATCH 05/20] soc: fsl: qe: store muram_vbase as a void pointer instead of u8

2020-12-05 Thread Rasmus Villemoes
The two functions cpm_muram_offset() and cpm_muram_dma() both need a cast currently, one casts muram_vbase to do the pointer arithmetic on void pointers, the other casts the the passed-in address u8*. It's simpler and more consistent to just always use void* and drop all the casting.

[PATCH 14/20] ethernet: ucc_geth: don't statically allocate eight ucc_geth_info

2020-12-05 Thread Rasmus Villemoes
struct ucc_geth_info is somewhat large, and on systems with only one or two UCC instances, that just wastes a few KB of memory. So allocate and populate a chunk of memory at probe time instead of initializing them all during driver init. Note that the existing "ug_info == NULL" check was dead

[PATCH 13/20] ethernet: ucc_geth: constify ugeth_primary_info

2020-12-05 Thread Rasmus Villemoes
Signed-off-by: Rasmus Villemoes --- drivers/net/ethernet/freescale/ucc_geth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 700eafef4921..a06744d8b4af 100644 ---

[PATCH 20/20] ethernet: ucc_geth: simplify rx/tx allocations

2020-12-05 Thread Rasmus Villemoes
Since kmalloc() is nowadays [1] guaranteed to return naturally aligned (i.e., aligned to the size itself) memory for power-of-2 sizes, we don't need to over-allocate the align amount, compute an aligned address within the allocation, and (for later freeing) also storing the original pointer [2].

[PATCH 17/20] ethernet: ucc_geth: replace kmalloc_array()+for loop by kcalloc()

2020-12-05 Thread Rasmus Villemoes
Signed-off-by: Rasmus Villemoes --- drivers/net/ethernet/freescale/ucc_geth.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index c9f619908561..3aebea191b52 100644 ---

[PATCH 16/20] ethernet: ucc_geth: remove bd_mem_part and all associated code

2020-12-05 Thread Rasmus Villemoes
The bd_mem_part member of ucc_geth_info always has the value MEM_PART_SYSTEM, and AFAICT, there has never been any code setting it to any other value. Moreover, muram is a somewhat precious resource, so there's no point using that when normal memory serves just as well. Apart from removing a lot

[PATCH 19/20] ethernet: ucc_geth: inform the compiler that numQueues is always 1

2020-12-05 Thread Rasmus Villemoes
The numQueuesTx and numQueuesRx members of struct ucc_geth_info are never set to anything but 1, and never have been. It's unclear how well the code supporting multiple queues would work. Until somebody wants to play with enabling that, help the compiler eliminate a lot of dead code and loops that

[PATCH 18/20] ethernet: ucc_geth: add helper to replace repeated switch statements

2020-12-05 Thread Rasmus Villemoes
The translation from the ucc_geth_num_of_threads enum value to the actual count can be written somewhat more compactly with a small lookup table, allowing us to replace the four switch statements. Signed-off-by: Rasmus Villemoes --- drivers/net/ethernet/freescale/ucc_geth.c | 100

[PATCH 08/20] ethernet: ucc_geth: remove unnecessary memset_io() calls

2020-12-05 Thread Rasmus Villemoes
These buffers have all just been handed out from qe_muram_alloc(), aka cpm_muram_alloc(), and the helper cpm_muram_alloc_common() already does memset_io(cpm_muram_addr(start), 0, size); Signed-off-by: Rasmus Villemoes --- drivers/net/ethernet/freescale/ucc_geth.c | 19

[PATCH 15/20] ethernet: ucc_geth: use UCC_GETH_{RX,TX}_BD_RING_ALIGNMENT macros directly

2020-12-05 Thread Rasmus Villemoes
These macros both have the value 32, there's no point first initializing align to a lower value. If anything, one could throw in a BUILD_BUG_ON(UCC_GETH_TX_BD_RING_ALIGNMENT < 4), but it's not worth it - lots of code depends on named constants having sensible values. Signed-off-by: Rasmus

[PATCH 12/20] ethernet: ucc_geth: factor out parsing of {rx,tx}-clock{,-name} properties

2020-12-05 Thread Rasmus Villemoes
Reduce the code duplication a bit by moving the parsing of rx-clock-name and the fallback handling to a helper function. Signed-off-by: Rasmus Villemoes --- drivers/net/ethernet/freescale/ucc_geth.c | 79 ++- 1 file changed, 35 insertions(+), 44 deletions(-) diff --git

<    1   2   3   4   5   >