Re: [PATCH v4 2/5] powercap/drivers/dtpm: Create a registering system

2021-03-28 Thread Daniel Lezcano
On 28/03/2021 19:26, Greg KH wrote: [ ... ] >>> So why are you trying to add a kref here as the structure already has >>> support for proper lifetimes? >> >> Right, I'll revisit that part. Thanks for the review. >> >> I've a branch which is pulled by Rafael [1]. These parts are already >> merged

[PATCH] iio: accel: da280: Drop unnecessarily used braces

2021-03-28 Thread Mugilraj Dhavachelvan
As per linux kernel coding style braces are not needed for single statement. Checkpatch warning: braces {} are not necessary for any arm of this statement 128: FILE: drivers/iio/accel/da280.c:128: Signed-off-by: Mugilraj Dhavachelvan --- drivers/iio/accel/da280.c | 5 ++--- 1 file changed, 2

Re: [PATCH] staging: rtl8188eu: (trivial) remove a duplicate comment

2021-03-28 Thread Greg Kroah-Hartman
On Sun, Mar 28, 2021 at 07:52:00PM +0200, Martin Kaiser wrote: > Keep the one that shows the wakeup capability. > > Signed-off-by: Martin Kaiser > --- > drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git

[PATCH] staging: rtl8188eu: remove unused function parameter

2021-03-28 Thread Martin Kaiser
rtw_usb_if1_init does not use its struct usb_device_id parameter. Signed-off-by: Martin Kaiser --- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c

[PATCH] staging: rtl8188eu: (trivial) remove a duplicate comment

2021-03-28 Thread Martin Kaiser
Keep the one that shows the wakeup capability. Signed-off-by: Martin Kaiser --- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c index

Re: [net-next PATCH 0/8] configuration support for switch headers & phy

2021-03-28 Thread Andrew Lunn
> The usecase is simple, unlike DSA tag, this 4byte FDSA tag doesn't > have a ethertype, > so HW cannot recognize this header. If such packers arise, then HW parsing > will > fail and RSS will not work. > > Hypothetically if we introduce some communication between MAC driver > and DSA driver, >

Re: [PATCH 1/3] fs/dcache: Add d_clear_dir_neg_dentries()

2021-03-28 Thread Al Viro
On Sun, Mar 28, 2021 at 11:43:54AM -0300, André Almeida wrote: > +/** > + * d_clear_dir_neg_dentries - Remove negative dentries in an inode > + * @dir: Directory to clear negative dentries > + * > + * For directories with negative dentries that are becoming case-insensitive > + * dirs, we need to

Re: [PATCH 2/2] ASoC: amd: fix acpi dependency kernel warning

2021-03-28 Thread Mukunda,Vijendar
On 3/26/21 10:14 PM, Arnd Bergmann wrote: On Fri, Mar 26, 2021 at 5:44 PM Vijendar Mukunda wrote: Fix ACPI dependency kernel warning produced by powerpc allyesconfig. sound/soc/amd/acp-da7219-max98357a.c:684:28: warning: 'cz_rt5682_card' defined but not used [-Wunused-variable]

Re: [PATCH] mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND

2021-03-28 Thread Miquel Raynal
On Thu, 2021-03-25 at 10:23:37 UTC, Stefan Riedmueller wrote: > The blocks containing the bad block table can become bad as well. So > make sure to skip any blocks that are marked bad when searching for the > bad block table. > > Otherwise in very rare cases where two BBT blocks wear out it might

Re: [PATCH 2/2] perf/core: Support reading group events with shared cgroups

2021-03-28 Thread Song Liu
> On Mar 23, 2021, at 9:21 AM, Namhyung Kim wrote: > > This enables reading event group's counter values together with a > PERF_EVENT_IOC_READ_CGROUP command like we do in the regular read(). > Users should give a correct size of buffer to be read. > > Signed-off-by: Namhyung Kim > --- >

[PATCH net-next 7/7] net: ipa: kill IPA_TABLE_ENTRY_SIZE

2021-03-28 Thread Alex Elder
Entries in an IPA route or filter table are 64-bit little-endian addresses, each of which refers to a routing or filtering rule. The format of these table slots are fixed, but IPA_TABLE_ENTRY_SIZE is used to define their size. This symbol doesn't really add value, and I think it unnecessarily

[PATCH net-next 5/7] net: ipa: use version based configuration for SC7180

2021-03-28 Thread Alex Elder
Rename the SC7180 configuration data file so that its name is derived from its IPA version. Update a few other references to the code that talk about the SC7180 rather than just IPA v4.2. Signed-off-by: Alex Elder --- drivers/net/ipa/Makefile | 2 +-

[PATCH net-next 3/7] net: ipa: don't define endpoints unnecessarily

2021-03-28 Thread Alex Elder
We don't typically need much information about modem endpoints. Normally we need to specify information about modem endpoints in configuration data in only two cases: - When a modem TX endpoint supports filtering - When another endpoint's configuration refers to it For the first case, the AP

[PATCH net-next 6/7] net: ipa: DMA addresses are nicely aligned

2021-03-28 Thread Alex Elder
A recent patch avoided doing 64-bit modulo operations by checking the alignment of some DMA allocations using only the lower 32 bits of the address. David Laight pointed out (after the fix was committed) that DMA allocations might already satisfy the alignment requirements. And he was right.

[PATCH net-next 4/7] net: ipa: switch to version based configuration

2021-03-28 Thread Alex Elder
Rename the SDM845 configuration data file so that its name is derived from its IPA version. I am not aware of any special IPA behavior or handling that would be based on a specific SoC (as opposed to a specific version of the IPA it contains). Update a few other references to the code that talk

[PATCH net-next 2/7] net: ipa: store BCR register values in config data

2021-03-28 Thread Alex Elder
The backward compatibility register value is a platform-specific property that is not stored in the platform data. Create a data field where this can be represented, and get rid ipa_reg_bcr_val(). This register is not present starting with IPA v4.5. Signed-off-by: Alex Elder ---

[PATCH net-next 1/7] net: ipa: fix all kernel-doc warnings

2021-03-28 Thread Alex Elder
Fix all warnings produced when running: scripts/kernel-doc -none drivers/net/ipa/*.[ch] Signed-off-by: Alex Elder --- drivers/net/ipa/gsi_private.h | 2 +- drivers/net/ipa/gsi_trans.h | 5 +++-- drivers/net/ipa/ipa.h | 7 --- drivers/net/ipa/ipa_cmd.h | 19

[PATCH net-next 0/7] net: ipa: a few last bits

2021-03-28 Thread Alex Elder
This series incorporates a few last things that didn't fit neatly with patches I've posted recently. The first patch eliminates all remaining kernel-doc warnings. There's still room for kernel-doc improvement, but at least what's there will no longer produce warnings. The next moves the

Re: [PATCH] mtd: require write permissions for locking and badblock ioctls

2021-03-28 Thread Miquel Raynal
On Wed, 2021-03-03 at 15:57:35 UTC, Michael Walle wrote: > MEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require > write permission. Depending on the hardware MEMLOCK might even be > write-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK > is always write-once. > >

Re: [PATCH v7 1/3] mtd: core: add nvmem-cells compatible to parse mtd as nvmem cells

2021-03-28 Thread Miquel Raynal
On Fri, 2021-03-12 at 06:28:19 UTC, Ansuel Smith wrote: > Partitions that contains the nvmem-cells compatible will register > their direct subonodes as nvmem cells and the node will be treated as a > nvmem provider. > > Signed-off-by: Ansuel Smith > Tested-by: Rafał Miłecki Applied to

Re: [PATCH v7 2/3] devicetree: nvmem: nvmem: drop $nodename restriction

2021-03-28 Thread Miquel Raynal
On Fri, 2021-03-12 at 06:28:20 UTC, Ansuel Smith wrote: > Drop $nodename restriction as now mtd partition can also be used as > nvmem provider. > > Signed-off-by: Ansuel Smith > Reviewed-by: Rob Herring Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Re: [PATCH v7 3/3] dt-bindings: mtd: Document use of nvmem-cells compatible

2021-03-28 Thread Miquel Raynal
On Fri, 2021-03-12 at 06:28:21 UTC, Ansuel Smith wrote: > Document nvmem-cells compatible used to treat mtd partitions as a > nvmem provider. > > Signed-off-by: Ansuel Smith > Reviewed-by: Rob Herring Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Re: [PATCH] include: linux: mtd: Remove duplicate include of nand.h

2021-03-28 Thread Miquel Raynal
On Tue, 2021-03-23 at 03:17:37 UTC, Wan Jiabing wrote: > linux/mtd/nand.h has been included at line 17. > So we remove the duplicate one at line 21. > > Signed-off-by: Wan Jiabing Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel

[PATCH net-next v3] net: x25: Queue received packets in the drivers instead of per-CPU queues

2021-03-28 Thread Xie He
X.25 Layer 3 (the Packet Layer) expects layer 2 to provide a reliable datalink service such that no packets are reordered or dropped. And X.25 Layer 2 (the LAPB layer) is indeed designed to provide such service. However, this reliability is not preserved when a driver calls "netif_rx" to deliver

Re: [PATCH v4 2/5] powercap/drivers/dtpm: Create a registering system

2021-03-28 Thread Greg KH
On Sun, Mar 28, 2021 at 06:07:10PM +0200, Daniel Lezcano wrote: > On 28/03/2021 13:24, Greg KH wrote: > > On Sun, Mar 28, 2021 at 01:11:30PM +0200, Daniel Lezcano wrote: > >> > >> Hi Greg, > >> > >> On 28/03/2021 08:50, Greg KH wrote: > >> > >> [ ... ] > >> > > And any reason why you are not

Re: [PATCH -next] arm64: smp: Add missing prototype for some smp.c functions

2021-03-28 Thread Catalin Marinas
On Sat, Mar 27, 2021 at 03:06:51PM +0800, Chen Lifu wrote: > In commit eb631bb5bf5b > ("arm64: Support arch_irq_work_raise() via self IPIs") a new > function "arch_irq_work_raise" was added without a prototype > in header irq_work.h > > In commit d914d4d49745 > ("arm64: Implement

Re: [PATCH v1] Input: elants_i2c - fix division by zero if firmware reports zero phys size

2021-03-28 Thread Dmitry Osipenko
28.03.2021 07:44, Dmitry Torokhov пишет: > Hi Dmitry, > > On Tue, Mar 02, 2021 at 01:08:24PM +0300, Dmitry Osipenko wrote: >> Touchscreen firmware of ASUS Transformer TF700T reports zeros for the phys >> size. Hence check whether the size is zero and don't set the resolution in >> this case. >>

Re: [PATCHv5 0/7] Extend Intel service layer, FPGA manager and region

2021-03-28 Thread Moritz Fischer
Tom, On Sun, Mar 28, 2021 at 08:40:24AM -0700, Tom Rix wrote: > > On 3/27/21 11:09 AM, Moritz Fischer wrote: > > Hi Richard, Russ, > > > > On Thu, Feb 25, 2021 at 01:07:14PM +, Gong, Richard wrote: > >> Hi Moritz, > >> > >> Sorry for asking. > >> > >> When you have chance, can you help

Re: [PATCH] pinctrl: microchip: fix array overflow

2021-03-28 Thread Lars Povlsen
Linus Walleij writes: > On Tue, Mar 23, 2021 at 2:10 PM Arnd Bergmann wrote: > >> From: Arnd Bergmann >> >> Building with 'make W=1' shows an array overflow: >> >> drivers/pinctrl/pinctrl-microchip-sgpio.c: In function >> 'microchip_sgpio_irq_settype': >>

Re: [PATCH 1/2] perf/core: Share an event with multiple cgroups

2021-03-28 Thread Song Liu
> On Mar 23, 2021, at 9:21 AM, Namhyung Kim wrote: > > As we can run many jobs (in container) on a big machine, we want to > measure each job's performance during the run. To do that, the > perf_event can be associated to a cgroup to measure it only. > > However such cgroup events need to

[PATCH] MAINTAINERS: icc: add interconnect tree

2021-03-28 Thread Vinod Koul
MAINTAINERS entry for ICC is missing the tree details, so add it Signed-off-by: Vinod Koul --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6de606aeb9b1..e3f37d0b6de9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9290,6 +9290,7 @@ INTERCONNECT

Re: [PATCH] mtd: rawnand: atmel: Update ecc_stats.corrected counter

2021-03-28 Thread Miquel Raynal
On Mon, 2021-03-22 at 15:07:14 UTC, Tudor Ambarus wrote: > From: "Kai Stuhlemmer (ebee Engineering)" > > Update MTD ECC statistics with the number of corrected bits. > > Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver") > Cc: sta...@vger.kernel.org > Signed-off-by: Kai

Re: [PATCH 1/2] mtd: rawnand: brcmnand: read/write oob during EDU transfer

2021-03-28 Thread Miquel Raynal
On Thu, 2021-03-11 at 17:09:08 UTC, Kamal Dasu wrote: > Added support to read/write oob during EDU transfers. > > Signed-off-by: Kamal Dasu Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel

Re: [PATCH 2/2] mtd: rawnand: brcmnand: move to polling in pio mode on oops write

2021-03-28 Thread Miquel Raynal
On Thu, 2021-03-11 at 17:09:09 UTC, Kamal Dasu wrote: > This change makes sure that Broadcom NAND driver moves to interrupt > polling on the first brcmnand_write() call. > > Signed-off-by: Kamal Dasu Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Re: [PATCH] mtd:rawnand: remove duplicate include in rawnand.h

2021-03-28 Thread Miquel Raynal
On Sat, 2021-03-13 at 10:57:02 UTC, menglong8.d...@gmail.com wrote: > From: Zhang Yunkai > > 'linux/mtd/nand.h' included in 'rawnand.h' is duplicated. > It is also included in the 17th line. > > Signed-off-by: Zhang Yunkai Applied to

Re: [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array

2021-03-28 Thread Miquel Raynal
On Tue, 2021-03-23 at 13:11:37 UTC, Zou Wei wrote: > Suppresses the following coccinelle warning: > > drivers/mtd/nand/raw/rockchip-nand-controller.c:162:4-8: WARNING use > flexible-array member instead > > Signed-off-by: Zou Wei Applied to

Re: [PATCH v2 mtd/fixes] mtd: spinand: core: add missing MODULE_DEVICE_TABLE()

2021-03-28 Thread Miquel Raynal
On Tue, 2021-03-23 at 17:37:19 UTC, Alexander Lobakin wrote: > The module misses MODULE_DEVICE_TABLE() for both SPI and OF ID tables > and thus never autoloads on ID matches. > Add the missing declarations. > Present since day-0 of spinand framework introduction. > > Fixes: 7529df465248 ("mtd:

[PATCH] media: tw686x: switch from 'pci_' to 'dma_' API

2021-03-28 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'tw686x_audio_dma_alloc()' (tw686x-audio.c)

Re: [net-next PATCH 0/8] configuration support for switch headers & phy

2021-03-28 Thread Sunil Kovvuri
On Thu, Mar 25, 2021 at 6:51 PM Andrew Lunn wrote: > > On Thu, Mar 25, 2021 at 06:32:12PM +0530, Sunil Kovvuri wrote: > > On Thu, Mar 25, 2021 at 6:20 PM Andrew Lunn wrote: > > > > > > > > So you completely skipped how this works with mv88e6xxx or > > > > > prestera. If you need this private

Re: [PATCH v4 09/16] gpio: support ROHM BD71815 GPOs

2021-03-28 Thread Matti Vaittinen
Hi Again Andy, On Fri, 2021-03-26 at 19:51 +0200, Andy Shevchenko wrote: > On Fri, Mar 26, 2021 at 3:33 PM Matti Vaittinen > wrote: > > On Fri, 2021-03-26 at 13:26 +0200, Andy Shevchenko wrote: > > > On Wed, Mar 24, 2021 at 12:20 PM Matti Vaittinen > > > wrote: > > > > > > + if

Re: [PATCH v3 2/4] scsi: devinfo: add new flag BLIST_MEDIA_CHANGE

2021-03-28 Thread Bart Van Assche
On 3/28/21 3:25 AM, Martin Kepplinger wrote: > +/* Ignore the next media change event */ > +#define BLIST_MEDIA_CHANGE ((__force blist_flags_t)(1ULL << 11)) That comment is not descriptive enough. Consider to change it into something like the following: "ignore one MEDIA CHANGE unit attention

Re: [PATCH v3 1/4] scsi: add expecting_media_change flag to error path

2021-03-28 Thread Bart Van Assche
On 3/28/21 3:25 AM, Martin Kepplinger wrote: > diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c > index 08c06c56331c..c62915d34ba4 100644 > --- a/drivers/scsi/scsi_error.c > +++ b/drivers/scsi/scsi_error.c > @@ -585,6 +585,18 @@ int scsi_check_sense(struct scsi_cmnd *scmd) >

[GIT PULL] auxdisplay for v5.12-rc6

2021-03-28 Thread Miguel Ojeda
Hi Linus, Please pull this fix for auxdisplay. Thanks! Cheers, Miguel The following changes since commit 1e28eed17697bcf343c6743f0028cc3b5dd88bf0: Linux 5.12-rc3 (2021-03-14 14:41:02 -0700) are available in the Git repository at: https://github.com/ojeda/linux.git

Re: [PATCH v3 3/4] scsi: sd: use expecting_media_change for BLIST_MEDIA_CHANGE devices

2021-03-28 Thread Bart Van Assche
On 3/28/21 3:25 AM, Martin Kepplinger wrote: > Since these devices don't distinguish between resume and medium changed > there's no better solution. Is there any information in the SCSI VPD pages that could be used to determine whether or not the medium has been changed, e.g. in VPD page 0x83?

Re: [PATCH] mm, thp: Relax the VM_DENYWRITE constraint on file-backed THPs

2021-03-28 Thread Song Liu
> On Mar 23, 2021, at 10:13 AM, Collin Fijalkovich > wrote: > > Question: when we use this on shared library, the library is still > writable. When the > shared library is opened for write, these pages will refault in as 4kB > pages, right? > > That's correct, while a file is opened for

Hello Dear

2021-03-28 Thread miss Aish Ibrahim
Hello Dear, Please bear with me, I am writing this mail to you with tears and sorrow from my heart. I am Miss Aisha  Ibrahim  Coulibaly, I am 24 years old female  and also a medical student from the Republic of Ivory Coast, West Africa, I  am the Daughter of Late Chief Sgt.Warlor Ibrahim

[PATCH 1/2] staging:r8188eu: refactor OnAction(): use switch instead table lookup

2021-03-28 Thread Ivan Safonov
The switch is easier to read and refactor. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 57 --- .../staging/rtl8188eu/include/rtw_mlme_ext.h | 6 -- 2 files changed, 37 insertions(+), 26 deletions(-) diff --git

[PATCH 2/2] staging:r8188eu: remove dummy handlers from OnAction()

2021-03-28 Thread Ivan Safonov
on_action_spct() do nothing, because rtw_get_stainfo() has no side effects. Other action handlers are trivial. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 95 --- 1 file changed, 95 deletions(-) diff --git

[PATCH net-next v2] net: x25: Queue received packets in the drivers instead of per-CPU queues

2021-03-28 Thread Xie He
X.25 Layer 3 (the Packet Layer) expects layer 2 to provide a reliable datalink service such that no packets are reordered or dropped. And X.25 Layer 2 (the LAPB layer) is indeed designed to provide such service. However, this reliability is not preserved when a driver calls "netif_rx" to deliver

Re: [PATCH] kconfig: nconf: stop endless search-up loops

2021-03-28 Thread Randy Dunlap
On 3/28/21 3:32 AM, Joe Perches wrote: > On Sat, 2021-03-27 at 15:26 -0700, Randy Dunlap wrote: >> On 3/27/21 3:12 PM, Mihai Moldovan wrote: >>> * On 3/27/21 4:58 PM, Randy Dunlap wrote: On 3/27/21 5:01 AM, Mihai Moldovan wrote: > + if ((-1 == index) && (index == match_start))

[PATCH bpf-next] libbpf: Add '_wait()' and '_nowait()' macros for 'bpf_ring_buffer__poll()'

2021-03-28 Thread Pedro Tammela
'bpf_ring_buffer__poll()' abstracts the polling method, so abstract the constants that make the implementation don't wait or wait indefinetly for data. Signed-off-by: Pedro Tammela --- tools/lib/bpf/libbpf.h | 3 +++

[PATCH bpf-next] bpf: check flags in 'bpf_ringbuf_discard()' and 'bpf_ringbuf_submit()'

2021-03-28 Thread Pedro Tammela
The current code only checks flags in 'bpf_ringbuf_output()'. Signed-off-by: Pedro Tammela --- include/uapi/linux/bpf.h | 8 kernel/bpf/ringbuf.c | 13 +++-- tools/include/uapi/linux/bpf.h | 8 3 files changed, 19 insertions(+), 10 deletions(-) diff

[PATCH bpf-next] bpf: add 'BPF_RB_MAY_WAKEUP' flag

2021-03-28 Thread Pedro Tammela
The current way to provide a no-op flag to 'bpf_ringbuf_submit()', 'bpf_ringbuf_discard()' and 'bpf_ringbuf_output()' is to provide a '0' value. A '0' value might notify the consumer if it already caught up in processing, so let's provide a more descriptive notation for this value.

Re: [PATCH v4 2/5] powercap/drivers/dtpm: Create a registering system

2021-03-28 Thread Daniel Lezcano
On 28/03/2021 13:24, Greg KH wrote: > On Sun, Mar 28, 2021 at 01:11:30PM +0200, Daniel Lezcano wrote: >> >> Hi Greg, >> >> On 28/03/2021 08:50, Greg KH wrote: >> >> [ ... ] >> > And any reason why you are not using "real" struct devices in this > subsystem? You seem to be rolling your own

Re: Testers wanted: Atom netbooks with x86_64 disabled by BIOS

2021-03-28 Thread Willy Tarreau
On Sun, Mar 28, 2021 at 03:30:29PM +0200, Willy Tarreau wrote: > On Sun, Mar 28, 2021 at 02:37:55PM +0200, Mateusz Jonczyk wrote: > > W dniu 28.03.2021 o 00:25, Willy Tarreau pisze: > > > FWIW I tested on my ASUS 1025C which runs on an Atom N2600 forced to > > > 32-bit. I had already tried in the

Re: [PATCH v2] coresight: core: Fix typo in coresight-core.c

2021-03-28 Thread Suzuki K Poulose
On 23/03/2021 08:11, Qi Liu wrote: Fix the following checkpatch warning: WARNING: 'compoment' may be misspelled - perhaps 'component'? Fixes: 8e264c52e1da ("coresight: core: Allow the coresight core driver to be built as a module") Signed-off-by: Qi Liu ---

Re: [PATCH 1/3] fs/dcache: Add d_clear_dir_neg_dentries()

2021-03-28 Thread André Almeida
Às 12:07 de 28/03/21, Matthew Wilcox escreveu: On Sun, Mar 28, 2021 at 11:43:54AM -0300, André Almeida wrote: +/** + * d_clear_dir_neg_dentries - Remove negative dentries in an inode + * @dir: Directory to clear negative dentries + * + * For directories with negative dentries that are becoming

[PATCH v8 1/2] dt-bindings: serial: Add rx-tx-swap to stm32-usart

2021-03-28 Thread Martin Devera
Add new rx-tx-swap property to allow for RX & TX pin swapping. Signed-off-by: Martin Devera Acked-by: Fabrice Gasnier Reviewed-by: Rob Herring --- v8: - rebase to the latest tty-next v7: - fix yaml linter warning v6: - add version changelog v5: - yaml fixes based on Rob Herring

[PATCH v8 2/2] tty/serial: Add rx-tx-swap OF option to stm32-usart

2021-03-28 Thread Martin Devera
STM32 F7/H7 usarts supports RX & TX pin swapping. Add option to turn it on. Tested on STM32MP157. Signed-off-by: Martin Devera Acked-by: Fabrice Gasnier --- v8: - rebase to the latest tty-next v6: - add version changelog v4: - delete superfluous has_swap=false v3: - add has_swap to

Re: [PATCHv5 0/7] Extend Intel service layer, FPGA manager and region

2021-03-28 Thread Tom Rix
On 3/27/21 11:09 AM, Moritz Fischer wrote: > Hi Richard, Russ, > > On Thu, Feb 25, 2021 at 01:07:14PM +, Gong, Richard wrote: >> Hi Moritz, >> >> Sorry for asking. >> >> When you have chance, can you help review the version 5 patchset submitted >> on 02/09/21? >> >> Regards, >> Richard >>

Re: [PATCH] PCI: xgene: fix a mistake about cfg address

2021-03-28 Thread dann frazier
On Sun, Mar 28, 2021 at 10:41:18PM +0800, Dejin Zheng wrote: > It has a wrong modification to the xgene driver by the commit > e2dcd20b1645a. it use devm_platform_ioremap_resource_byname() to > simplify codes and remove the res variable, But the following code > needs to use this res variable, So

Re: [PATCH] iommu/tegra-smmu: Fix mc errors on tegra124-nyan

2021-03-28 Thread Dmitry Osipenko
28.03.2021 18:25, Dmitry Osipenko пишет: > 03.03.2021 12:47, Dmitry Osipenko пишет: >> 03.03.2021 02:08, Nicolin Chen пишет: >>> On Sat, Feb 27, 2021 at 12:59:17PM +0300, Dmitry Osipenko wrote: 25.02.2021 09:27, Nicolin Chen пишет: ... >> The partially revert should be okay, but it's

Re: [PATCH v3] sched/fair: bring back select_idle_smt, but differently

2021-03-28 Thread Mel Gorman
On Fri, Mar 26, 2021 at 03:19:32PM -0400, Rik van Riel wrote: > ---8<--- > sched,fair: bring back select_idle_smt, but differently > > Mel Gorman did some nice work in 9fe1f127b913 > ("sched/fair: Merge select_idle_core/cpu()"), resulting in the kernel > being more efficient at finding an idle

Re: [PATCH V4 XRT Alveo 02/20] fpga: xrt: driver metadata helper functions

2021-03-28 Thread Tom Rix
Do not reorder function definitions, this makes comparing changes from the previous patchset difficult. A general issue with returning consistent error codes.  There are several cases where fdt_* code are not translated. On 3/23/21 10:29 PM, Lizhi Hou wrote: > XRT drivers use device tree as

[PATCH] Documentation: Add leading slash to some paths

2021-03-28 Thread Mark O'Donovan
Change multiple sys/xyz to /sys/xyz Signed-off-by: Mark O'Donovan --- Documentation/admin-guide/mm/numaperf.rst | 2 +- Documentation/fb/fbcon.rst| 4 ++-- Documentation/hid/intel-ish-hid.rst | 2 +- Documentation/leds/leds-lm3556.rst| 28 +++

Re: [PATCH] iommu/tegra-smmu: Fix mc errors on tegra124-nyan

2021-03-28 Thread Dmitry Osipenko
03.03.2021 12:47, Dmitry Osipenko пишет: > 03.03.2021 02:08, Nicolin Chen пишет: >> On Sat, Feb 27, 2021 at 12:59:17PM +0300, Dmitry Osipenko wrote: >>> 25.02.2021 09:27, Nicolin Chen пишет: >>> ... > The partially revert should be okay, but it's not clear to me what makes > difference for

[PATCH v6 1/4] mfd: rt4831: Adds support for Richtek RT4831

2021-03-28 Thread cy_huang
From: ChiYuan Huang This adds support Richtek RT4831 core. It includes four channel WLED driver and Display Bias Voltage outputs. Signed-off-by: ChiYuan Huang --- The RT4831 regulator patches are already on main stream, and can be referred to 9351ab8b0cb6 regulator: rt4831: Adds support for

[PATCH v6 4/4] backlight: rt4831: Adds support for Richtek RT4831 backlight

2021-03-28 Thread cy_huang
From: ChiYuan Huang Adds support for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang --- since v6 - Fix Kconfig typo. - Remove internal mutex lock. - Add the prefix for max brightness. - rename init_device_properties to parse_backlight_properties. - Remove some warning message if

[PATCH v6 2/4] backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight

2021-03-28 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang --- .../leds/backlight/richtek,rt4831-backlight.yaml | 65 ++ include/dt-bindings/leds/rt4831-backlight.h| 23 2 files changed, 88 insertions(+)

[PATCH v6 3/4] mfd: rt4831: Adds DT binding document for Richtek RT4831

2021-03-28 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831. Signed-off-by: ChiYuan Huang --- .../devicetree/bindings/mfd/richtek,rt4831.yaml| 90 ++ 1 file changed, 90 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/richtek,rt4831.yaml

Re: [PATCH] powerpc/process: Enhance readability for trap types.

2021-03-28 Thread Christophe Leroy
Le 28/03/2021 à 16:35, Xiongwei Song a écrit : From: Xiongwei Song Define macros to enhance the code readability on ppc trap types. Good idea Signed-off-by: Xiongwei Song --- arch/powerpc/kernel/process.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v4 3/5] RISC-V: Initial DTS for Microchip ICICLE board

2021-03-28 Thread Vitaly Wool
On Sat, Mar 27, 2021 at 6:24 PM Alex Ghiti wrote: > > Hi Atish, > > Le 3/3/21 à 3:02 PM, Atish Patra a écrit : > > Add initial DTS for Microchip ICICLE board having only > > essential devices (clocks, sdhci, ethernet, serial, etc). > > The device tree is based on the U-Boot patch. > > > >

Re: [PATCH v3 0/4] scsi: add runtime PM workaround for SD cardreaders

2021-03-28 Thread Martin Kepplinger
Am Sonntag, dem 28.03.2021 um 10:58 -0400 schrieb Alan Stern: > On Sun, Mar 28, 2021 at 12:25:27PM +0200, Martin Kepplinger wrote: > > hi, > > > > In short: there are SD cardreaders that send MEDIA_CHANGED on > > (runtime) resume. We cannot use runtime PM with these devices as > > I/O always

Re: [PATCH] crypto: hisilicon - check if debugfs opened

2021-03-28 Thread Greg KH
On Sat, Mar 27, 2021 at 04:33:00PM +0800, Hui Tang wrote: > 'xx_debugfs_init' check if debugfs opened. > > Signed-off-by: Hui Tang > --- > drivers/crypto/hisilicon/hpre/hpre_main.c | 5 - > drivers/crypto/hisilicon/qm.c | 3 +++ > drivers/crypto/hisilicon/sec2/sec_main.c | 5

Re: [PATCH 1/3] fs/dcache: Add d_clear_dir_neg_dentries()

2021-03-28 Thread Matthew Wilcox
On Sun, Mar 28, 2021 at 11:43:54AM -0300, André Almeida wrote: > +/** > + * d_clear_dir_neg_dentries - Remove negative dentries in an inode > + * @dir: Directory to clear negative dentries > + * > + * For directories with negative dentries that are becoming case-insensitive > + * dirs, we need to

Re: [PATCH v3 0/4] scsi: add runtime PM workaround for SD cardreaders

2021-03-28 Thread Alan Stern
On Sun, Mar 28, 2021 at 12:25:27PM +0200, Martin Kepplinger wrote: > hi, > > In short: there are SD cardreaders that send MEDIA_CHANGED on > (runtime) resume. We cannot use runtime PM with these devices as > I/O always fails. I'd like to discuss a way to fix this > or at least allow us to work

[PATCH] ASoC: cygnus: fix for_each_child.cocci warnings

2021-03-28 Thread Julia Lawall
From: kernel test robot Function "for_each_available_child_of_node" should have of_node_put() before return around line 1352. Generated by: scripts/coccinelle/iterators/for_each_child.cocci CC: Sumera Priyadarsini Reported-by: kernel test robot Signed-off-by: kernel test robot

Re: [PATCH v2 09/20] staging: rtl8723bs: put parentheses on macros with complex values in include/rtw_debug.h

2021-03-28 Thread Greg KH
On Sun, Mar 28, 2021 at 04:43:24PM +0200, Fabio Aiuto wrote: > On Sun, Mar 28, 2021 at 02:08:41PM +0200, Greg KH wrote: > > On Sat, Mar 27, 2021 at 03:24:08PM +0100, Fabio Aiuto wrote: > > > fix the following checkpatch warning: > > > > > > ERROR: Macros starting with if should be enclosed by a >

[PATCH 2/3] ext4: Prevent dangling dentries on casefold directories

2021-03-28 Thread André Almeida
Before making a folder a case-insensitive one, this folder could have been used before and created some negative dentries (given that the folder needs to be empty before making it case-insensitive, all detries there are negative ones). During a new file creation, if a d_hash() collision happens

[PATCH 3/3] f2fs: Prevent dangling dentries on casefold directories

2021-03-28 Thread André Almeida
Before making a folder a case-insensitive one, this folder could have been used before and created some negative dentries (given that the folder needs to be empty before making it case-insensitive, all detries there are negative ones). During a new file creation, if a d_hash() collision happens

[PATCH 1/3] fs/dcache: Add d_clear_dir_neg_dentries()

2021-03-28 Thread André Almeida
For directories with negative dentries that are becoming case-insensitive dirs, we need to remove all those negative dentries, otherwise they will become dangling dentries. During the creation of a new file, if a d_hash collision happens and the names match in a case-insensitive way, the name of

[PATCH 0/3] fs: Fix dangling dentries on casefold directories

2021-03-28 Thread André Almeida
Hello, This patchset fixes a bug in case-insensitive directories. When I submitted a patchset for adding case-insensitive support for tmpfs[0], Al Viro noted that my implementation didn't take in account previous dentries that the directory could have created before being changed. Further

Re: [PATCH v2 09/20] staging: rtl8723bs: put parentheses on macros with complex values in include/rtw_debug.h

2021-03-28 Thread Fabio Aiuto
On Sun, Mar 28, 2021 at 02:08:41PM +0200, Greg KH wrote: > On Sat, Mar 27, 2021 at 03:24:08PM +0100, Fabio Aiuto wrote: > > fix the following checkpatch warning: > > > > ERROR: Macros starting with if should be enclosed by a > > do - while loop to avoid possible if/else logic defects > > +

Re: [PATCH v7 3/6] stack: Optionally randomize kernel stack offset each syscall

2021-03-28 Thread Thomas Gleixner
Kees, On Fri, Mar 19 2021 at 14:28, Kees Cook wrote: > +/* > + * Do not use this anywhere else in the kernel. This is used here because > + * it provides an arch-agnostic way to grow the stack with correct > + * alignment. Also, since this use is being explicitly masked to a max of > + * 10 bits,

[PATCH] powerpc/process: Enhance readability for trap types.

2021-03-28 Thread Xiongwei Song
From: Xiongwei Song Define macros to enhance the code readability on ppc trap types. Signed-off-by: Xiongwei Song --- arch/powerpc/kernel/process.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index

[PATCH] PCI: xgene: fix a mistake about cfg address

2021-03-28 Thread Dejin Zheng
It has a wrong modification to the xgene driver by the commit e2dcd20b1645a. it use devm_platform_ioremap_resource_byname() to simplify codes and remove the res variable, But the following code needs to use this res variable, So after this commit, the port->cfg_addr will get a wrong address. Now,

Re: [PATCH v5 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-28 Thread Perry Yuan
Hi Hans. Thanks for your suggestion helping to improve the patch. On 3/24/21 7:39 AM, Hans de Goede wrote: Hi, On 3/24/21 12:19 PM, Hans de Goede wrote: Hi, On 3/22/21 10:38 AM, Perry Yuan wrote: From: Perry Yuan add support for Dell privacy driver for the Dell units equipped hardware

[PATCH net-next] net: x25: Queue received packets in the drivers instead of per-CPU queues

2021-03-28 Thread Xie He
X.25 Layer 3 (the Packet Layer) expects layer 2 to provide a reliable datalink service such that no packets are reordered or dropped. And X.25 Layer 2 (the LAPB layer) is indeed designed to provide such service. However, this reliability is not preserved when a driver calls "netif_rx" to deliver

Re: [PATCH v2 19/20] staging: rtl8723bs: include macro in a do - while loop in core/rtw_security.c

2021-03-28 Thread Fabio Aiuto
On Sun, Mar 28, 2021 at 02:10:03PM +0200, Greg KH wrote: > On Sat, Mar 27, 2021 at 03:24:18PM +0100, Fabio Aiuto wrote: > > fix the following checkpatch warning: > > > > ERROR: Macros with multiple statements should be enclosed > > in a do - while loop > > 2014: FILE:

Re: [PATCH v7 4/6] x86/entry: Enable random_kstack_offset support

2021-03-28 Thread Thomas Gleixner
On Fri, Mar 19 2021 at 14:28, Kees Cook wrote: > + > + /* > + * x86_64 stack alignment means 3 bits are ignored, so keep > + * the top 5 bits. x86_32 needs only 2 bits of alignment, so > + * the top 6 bits will be used. > + */ > + choose_random_kstack_offset(rdtsc() &

[PATCH] powerpc/signal32: Fix Oops on sigreturn with unmapped VDSO

2021-03-28 Thread Christophe Leroy
PPC32 encounters a KUAP fault when trying to handle a signal with VDSO unmapped. Kernel attempted to read user page (7fc07ec0) - exploit attempt? (uid: 0) BUG: Unable to handle kernel data access on read at 0x7fc07ec0 Faulting instruction address: 0xc00111d4 Oops:

Re: [PATCH v2] PCI: controller: convert to devm_platform_ioremap_resource_byname()

2021-03-28 Thread Dejin Zheng
On Sat, Mar 27, 2021 at 12:02:42PM -0600, dann frazier wrote: Hi Dann, I'm so sorry for that, And there is a mistake with my patch that caused this problem. Thank you very much for telling me this, I will fix it as soon as possible. > On Wed, Jun 03, 2020 at 01:16:01AM +0800, Dejin Zheng wrote:

hppa64-linux-ld: net/ipv4/icmp.o(.init.text+0x50): cannot reach unknown

2021-03-28 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0f4498cef9f5cd18d7c6639a2a902ec1edc5be4e commit: 8537f78647c072bdb1a5dbe32e1c7e5b13ff1258 netfilter: Introduce egress hook date: 1 year ago config: parisc-randconfig-s031-20210326 (attached as .config)

Re: Testers wanted: Atom netbooks with x86_64 disabled by BIOS

2021-03-28 Thread Willy Tarreau
On Sun, Mar 28, 2021 at 02:37:55PM +0200, Mateusz Jonczyk wrote: > W dniu 28.03.2021 o 00:25, Willy Tarreau pisze: > > FWIW I tested on my ASUS 1025C which runs on an Atom N2600 forced to > > 32-bit. I had already tried in the past but wanted to give it a try > > again in case I'd have missed

Re: [greybus-dev] [PATCH] greybus: remove stray nul byte in apb_log_enable_read output

2021-03-28 Thread Alex Elder
On 3/26/21 12:05 PM, Rasmus Villemoes wrote: > On 26/03/2021 17.31, Alex Elder wrote: >> On 3/26/21 10:22 AM, Rasmus Villemoes wrote: >>> Including a nul byte in the otherwise human-readable ascii output >>> from this debugfs file is probably not intended. >> >> Looking only at the comments above

Re: [PATCH v1 3/8] software node: Show properties and their values in sysfs

2021-03-28 Thread Greg Kroah-Hartman
On Sun, Mar 28, 2021 at 03:56:26PM +0300, Andy Shevchenko wrote: > On Sun, Mar 28, 2021 at 9:47 AM Greg Kroah-Hartman > wrote: > > > > On Sun, Mar 28, 2021 at 12:20:07AM +0200, Andy Shevchenko wrote: > > > It's very convenient to see what properties and their values > > > are currently being

Re: [PATCH v12 0/2] UIO support for dfl devices

2021-03-28 Thread Greg KH
On Tue, Mar 16, 2021 at 01:10:05PM +0800, Xu Yilun wrote: > Hi Greg: > > I listed below some answers from Moritz and Yilun from previous mails for > your question. > > Do you have more comments? Nah, it's fine, now queued up, thanks. greg k-h

Re: [PATCH v8] add support for pci in the pvpanic driver

2021-03-28 Thread Greg KH
On Wed, Mar 24, 2021 at 04:49:13PM +0200, Mihai Carabas wrote: > This patchset adds support for PCI in the pvpanic driver. The device already > got in qemu [1]. > > v2: > - mmio -> MMIO, pci -> PCI suggested by Randy Dunlap. > - group pvpanic-common.c and mmio.c in the same module. The intention

Re: [PATCH v1 3/8] software node: Show properties and their values in sysfs

2021-03-28 Thread Andy Shevchenko
On Sun, Mar 28, 2021 at 9:47 AM Greg Kroah-Hartman wrote: > > On Sun, Mar 28, 2021 at 12:20:07AM +0200, Andy Shevchenko wrote: > > It's very convenient to see what properties and their values > > are currently being assigned in the registered software nodes. > > > > Show properties and their

Re: [PATCH -next] applicom: fix some err codes returned by ac_ioctl

2021-03-28 Thread gregkh
On Wed, Mar 24, 2021 at 01:03:50PM +0100, Arnd Bergmann wrote: > On Wed, Mar 24, 2021 at 8:20 AM Xu Jia wrote: > > > > When cmd > 6 or copy_to_user() fail, The variable 'ret' would not be > > returned back. Fix the 'ret' set but not used. > > > > Signed-off-by: Xu Jia > > Reviewed-by: Arnd

<    1   2   3   4   5   >