Re: [PATCH 8/8] gpio: sim: new testing module

2021-01-30 Thread Bartosz Golaszewski
On Fri, Jan 29, 2021 at 4:57 PM Andy Shevchenko wrote: > > On Fri, Jan 29, 2021 at 02:46:24PM +0100, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Implement a new, modern GPIO testing module controlled by configfs > > attributes instead of module parameters. The goal of this

Re: [PATCH v2 2/4] leds: Add driver for QCOM SPMI Flash LEDs

2021-01-30 Thread Jacek Anaszewski
Hi Nicolas, On 1/26/21 3:05 PM, Nícolas F. R. A. Prado wrote: Add driver for the Qualcomm SPMI Flash LEDs. These are controlled through an SPMI bus and are part of the PM8941 PMIC. There are two LEDs present in the chip, and can be used independently as camera flash or together in torch mode to

Re: [PATCH v2 1/4] dt-bindings: leds: Add binding for qcom-spmi-flash

2021-01-30 Thread Jacek Anaszewski
Hi Nicolas, On 1/26/21 3:04 PM, Nícolas F. R. A. Prado wrote: Add devicetree binding for QCOM SPMI Flash LEDs, which are part of PM8941, and are used both as lantern and camera flash. Signed-off-by: Nícolas F. R. A. Prado --- Changes in v2: - Add this commit

Re: [PATCH v2 0/4] Add support for QCOM SPMI Flash LEDs

2021-01-30 Thread Jacek Anaszewski
Hi Nicolas. On 1/26/21 3:03 PM, Nícolas F. R. A. Prado wrote: Hi, this patch series adds support for Qualcomm's SPMI Flash LEDs present in the PM8941 PMIC. It is used as part of MSM8974 based devices, like the Nexus 5 (hammerhead), as a camera flash or as a lantern when in torch mode. Patch 1

Re: [PATCH] HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming

2021-01-30 Thread Hans de Goede
Hi, On 1/30/21 8:14 PM, Filipe Laíns wrote: > Hans, > > You added support for non unifying receivers in > 74808f9115cee2bb53e7161432959f3e87b631e4, could you please test and make sure > this cause any breakage with your devices? > > AFAIK, they could only break if they have a 0x01 report which

Re: [PATCH 5/8] lib: bitmap: remove the 'extern' keyword from function declarations

2021-01-30 Thread Bartosz Golaszewski
On Fri, Jan 29, 2021 at 4:59 PM Andy Shevchenko wrote: > > On Fri, Jan 29, 2021 at 02:46:21PM +0100, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > The 'extern' keyword doesn't have any benefits in header files. Remove it. > > > +int __bitmap_equal(const unsigned long *bitmap1,

Re: aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `drivers/media/platform/rockchip/rkisp1/rkisp1-capture.o' being placed in section `.eh_frame'

2021-01-30 Thread Nathan Chancellor
: > destage Rockchip ISP1 driver > date: 3 months ago > config: arm64-randconfig-r013-20210130 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project > 275c6af7d7f1ed63a03d05b4484413e447133269) > reproduce (this is a W=1 b

[PATCH] mtd: rawnand: qcom: Update register macro name for 0x2c offset

2021-01-30 Thread Md Sadre Alam
This change will remove unused register name macro NAND_DEV1_ECC_CFG. Since this register was only available in QPIC version 1.4.20 ipq40xx and it was not used. In QPIC version 1.5 on wards this register got removed.In QPIC version 2.0 0x2c offset is updated with register NAND_AUTO_STATUS_EN So

Re: [GIT PULL] A Single RISC-V Fix for 5.11-rc6

2021-01-30 Thread pr-tracker-bot
The pull request you sent on Fri, 29 Jan 2021 18:52:51 -0800 (PST): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv-for-linus-5.11-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e37c0fbabd8e1d50bdd6cd0a1a07b72e1048a9d0 Thank you! --

Re: [GIT PULL] s390 updates for 5.11-rc6

2021-01-30 Thread pr-tracker-bot
The pull request you sent on Sat, 30 Jan 2021 16:32:38 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.11-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3bf255315bed7ccdde94603ec164d04dc5953ad9 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Devicetree fixes for 5.11, take 2

2021-01-30 Thread pr-tracker-bot
The pull request you sent on Fri, 29 Jan 2021 16:59:15 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > tags/devicetree-fixes-for-5.11-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8c947645151cc2c279c75c7f640dd8f0fc0b9aa2 Thank you! --

Re: [GIT PULL] Btrfs fixes for 5.11-rc6

2021-01-30 Thread pr-tracker-bot
The pull request you sent on Sat, 30 Jan 2021 01:35:38 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.11-rc5-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c05d51c773fb365bdbd683b3e4e80679c8b8b176 Thank you! -- Deet-doot-dot, I am

aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `drivers/media/platform/rockchip/rkisp1/rkisp1-capture.o' being placed in section `.eh_frame'

2021-01-30 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0e9bcda5d286f4a26a5407bb38f55c55b453ecfb commit: e6938cc1cb7763a363f62b78147f1f2fb972f49c media: rockchip: rkisp1: destage Rockchip ISP1 driver date: 3 months ago config: arm64-randconfig-r013-20210130

Re: [PATCH v2 net-next 3/4] net: introduce common dev_page_is_reserved()

2021-01-30 Thread Alexander Lobakin
From: Jakub Kicinski Date: Sat, 30 Jan 2021 11:07:07 -0800 > On Sat, 30 Jan 2021 15:42:29 + Alexander Lobakin wrote: > > > On Wed, 27 Jan 2021 20:11:23 + Alexander Lobakin wrote: > > > > + * dev_page_is_reserved - check whether a page can be reused for > > > > network Rx > > > > + *

Re: [PATCH v4 00/10] Enable root to update the blacklist keyring

2021-01-30 Thread Jarkko Sakkinen
On Thu, 2021-01-28 at 16:52 +, David Howells wrote: > > Hi Mickaël, > > I could pull your patches (unless Jarkko wants to), but can you please drop > the patches that are also in my keys-misc branch lest one or other (or both) > of our branches get dropped in the next merge window due to

Re: [PATCH] HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming

2021-01-30 Thread Filipe Laíns
Oops On Sat, 2021-01-30 at 19:14 +, Filipe Laíns wrote: > this cause any breakage with your devices? this *doesn't* cause -- Filipe Laíns signature.asc Description: This is a digitally signed message part

Re: [PATCH v5] x86/sgx: Fix use-after-free in sgx_mmu_notifier_release()

2021-01-30 Thread Jarkko Sakkinen
On Sat, 2021-01-30 at 21:20 +0200, Jarkko Sakkinen wrote: > On Thu, 2021-01-28 at 08:33 -0800, Dave Hansen wrote: > > On 1/28/21 4:58 AM, Jarkko Sakkinen wrote: > > > The most trivial example of a race condition can be demonstrated by this > > > sequence where mm_list contains just one entry: > >

Re: [PATCH] HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming

2021-01-30 Thread Filipe Laíns
Hans, You added support for non unifying receivers in 74808f9115cee2bb53e7161432959f3e87b631e4, could you please test and make sure this cause any breakage with your devices? AFAIK, they could only break if they have a 0x01 report which is different from kbd_descriptor. Cheers, Filipe Laíns

Re: [PATCH net-next 9/9] net: ipa: don't disable NAPI in suspend

2021-01-30 Thread Jakub Kicinski
On Sat, 30 Jan 2021 10:25:16 -0500 Willem de Bruijn wrote: > > @@ -894,12 +894,16 @@ int gsi_channel_start(struct gsi *gsi, u32 channel_id) > > struct gsi_channel *channel = >channel[channel_id]; > > int ret; > > > > - /* Enable the completion interrupt */ > > + /*

Re: [PATCH v5] x86/sgx: Fix use-after-free in sgx_mmu_notifier_release()

2021-01-30 Thread Jarkko Sakkinen
On Thu, 2021-01-28 at 08:33 -0800, Dave Hansen wrote: > On 1/28/21 4:58 AM, Jarkko Sakkinen wrote: > > The most trivial example of a race condition can be demonstrated by this > > sequence where mm_list contains just one entry: > > > > CPU A   CPU B > > -> sgx_release() >

[PATCH 7/8] lib: add fast path for find_next_*_bit()

2021-01-30 Thread Yury Norov
Similarly to bitmap functions, find_next_*_bit() users will benefit if we'll handle a case of bitmaps that fit into a single word. In the very best case, the compiler may replace a function call with a single ffs or ffz instruction. Signed-off-by: Yury Norov ---

[PATCH 8/8] lib: add fast path for find_first_*_bit() and find_last_bit()

2021-01-30 Thread Yury Norov
Similarly to bitmap functions, users will benefit if we'll handle a case of small-size bitmaps that fit into a single word. While here, move the find_last_bit() declaration to bitops/find.h where other find_*_bit() functions sit. Signed-off-by: Yury Norov --- include/asm-generic/bitops/find.h

[PATCH 5/8] bitsperlong.h: introduce SMALL_CONST() macro

2021-01-30 Thread Yury Norov
Many algorithms become simpler if they are passed with relatively small input values. One example is bitmap operations when the whole bitmap fits into one word. To implement such simplifications, linux/bitmap.h declares small_const_nbits() macro. Other subsystems may also benefit from

[PATCH 6/8] lib: inline _find_next_bit() wrappers

2021-01-30 Thread Yury Norov
lib/find_bit.c declares five single-line wrappers for _find_next_bit(). We may turn those wrappers to inline functions. It eliminates unneeded function calls and opens room for compile-time optimizations. Signed-off-by: Yury Norov --- include/asm-generic/bitops/find.h | 28 ++---

[PATCH 3/8] arch: rearrange headers inclusion order in asm/bitops for m68k and sh

2021-01-30 Thread Yury Norov
m68k and sh include bitmap/find.h prior to ffs/fls headers. New fast-path implementation in find.h requires ffs/fls. Reordering the headers inclusion sequence helps to prevent compile-time implicit-function-declaration error. Signed-off-by: Yury Norov Acked-by: Geert Uytterhoeven ---

[PATCH 4/8] lib: introduce BITS_{FIRST,LAST} macro

2021-01-30 Thread Yury Norov
BITMAP_{LAST,FIRST}_WORD_MASK() in linux/bitmap.h duplicates the functionality of GENMASK(). The scope of there macros is wider than just bitmap. This patch defines 4 new macros: BITS_FIRST(), BITS_LAST(), BITS_FIRST_MASK() and BITS_LAST_MASK() in linux/bits.h on top of GENMASK() and replaces

[PATCH 2/8] tools: bitmap: sync function declarations with linux kernel

2021-01-30 Thread Yury Norov
Some functions in tools/include/linux/bitmap.h declare nbits as int. In the kernel nbits is declared as unsigned int. Signed-off-by: Yury Norov --- tools/include/linux/bitmap.h | 8 tools/lib/bitmap.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git

[RESEND PATCH v2 0/6] lib/find_bit: fast path for small bitmaps

2021-01-30 Thread Yury Norov
Bitmap operations are much simpler and faster in case of small bitmaps which fit into a single word. In linux/bitmap.h we have a machinery that allows compiler to replace actual function call with a few instructions if bitmaps passed into the function are small and their size is known at compile

[PATCH 1/8] tools: disable -Wno-type-limits

2021-01-30 Thread Yury Norov
GENMASK(h, l) may be passed with unsigned types. In such case, this warning is generated for example in case GENMASK(h, 0) Signed-off-by: Yury Norov --- tools/scripts/Makefile.include | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/scripts/Makefile.include

Re: [PATCH net] net: hdlc_x25: Use qdisc to queue outgoing LAPB frames

2021-01-30 Thread Jakub Kicinski
On Sat, 30 Jan 2021 06:29:20 -0800 Xie He wrote: > On Fri, Jan 29, 2021 at 5:36 PM Jakub Kicinski wrote: > > I'm still struggling to wrap my head around this. > > > > Did you test your code with lockdep enabled? Which Qdisc are you using? > > You're queuing the frames back to the interface they

[ANNOUNCE] 4.9.254-rt169

2021-01-30 Thread Luis Claudio R. Goncalves
Hello RT-list! I'm pleased to announce the 4.9.254-rt169 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.9-rt Head SHA1: a2fd9ee2875f443939cf56c91154ca066ec03028 Or to build 4.9.254-rt169

Re: [PATCH v2] iio: hid-sensor-prox: Fix scale not correct issue

2021-01-30 Thread Jonathan Cameron
On Sat, 30 Jan 2021 18:25:30 +0800 Ye Xiang wrote: > Currently, the proxy sensor scale is zero because it just return the > exponent directly. To fix this issue, this patch use > hid_sensor_format_scale to process the scale first then return the > output. > > Fixes: 39a3a0138f61 ("iio:

Re: bnx2x_main.c:undefined reference to `synchronize_net'

2021-01-30 Thread Randy Dunlap
On 1/30/21 10:31 AM, Jakub Kicinski wrote: > I don't understand how this one happens and don't have a PPC build > setup :S So many things seem to depend on NET here that "this should > never happen". Must be some rogue "select" pulling BNX2 without its > dependencies? Yes, the problem is overuse

[PATCH] HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming

2021-01-30 Thread Filipe Laíns
From: Filipe Laíns In e400071a805d6229223a98899e9da8c6233704a1 I added support for the receiver that comes with the G602 device, but unfortunately I screwed up during testing and it seems the keyboard events were actually not being sent to userspace. This resulted in keyboard events being broken

Re: [PATCH v2 net-next 3/4] net: introduce common dev_page_is_reserved()

2021-01-30 Thread Jakub Kicinski
On Sat, 30 Jan 2021 15:42:29 + Alexander Lobakin wrote: > > On Wed, 27 Jan 2021 20:11:23 + Alexander Lobakin wrote: > > > + * dev_page_is_reserved - check whether a page can be reused for network > > > Rx > > > + * @page: the page to test > > > + * > > > + * A page shouldn't be

Re: [PATCH 26/29] lib: zstd: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  lib/zstd/compress.c | 120 ++-- >  lib/zstd/fse_compress.c | 24 +--- >  lib/zstd/huf_compress.c | 6 +- >  3 files changed,

Re: [PATCH 25/29] lib/zlib: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  lib/zlib_deflate/deftree.c | 49 +++--- >  1 file changed, 35 insertions(+), 14 deletions(-) > > diff --git

Re: [PATCH 24/29] reiserfs: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  fs/reiserfs/fix_node.c | 36 >  1 file changed, 24 insertions(+), 12 deletions(-) > > diff --git a/fs/reiserfs/fix_node.c

Re: [PATCH v2 0/2] Remove the IIO counter ABI

2021-01-30 Thread Jonathan Cameron
On Sat, 30 Jan 2021 11:37:02 +0900 William Breathitt Gray wrote: > Changes in v2: > - Add missing argument to devm_kzalloc() call in quad8_probe(). > - Remove superfluous 'err' variable from quad8_probe(). > > The IIO counter driver has been superseded by the Counter subsystem as > discussed

Re: [PATCH 23/29] fuse: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  fs/fuse/dir.c | 24 >  1 file changed, 16 insertions(+), 8 deletions(-) > > diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c > index

Re: [PATCH 19/29] s390/tty3270: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  drivers/s390/char/tty3270.c | 6 -- >  1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c >

Re: [PATCH 13/29] bcache: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  drivers/md/bcache/bset.c | 12 >  drivers/md/bcache/sysfs.c | 6 -- >  2 files changed, 12 insertions(+), 6 deletions(-) > > diff --git

Re: [PATCH 06/29] drbd: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  drivers/block/drbd/drbd_receiver.c | 6 -- >  1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/block/drbd/drbd_receiver.c >

Re: [PATCH 05/29] ata: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  drivers/ata/pata_icside.c | 21 + >  1 file changed, 13 insertions(+), 8 deletions(-) > > diff --git a/drivers/ata/pata_icside.c

Re: [PATCH 04/29] sparc: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  arch/sparc/kernel/smp_64.c | 7 +-- >  1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c >

Re: [PATCH 03/29] ia64: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > Signed-off-by: Joe Perches > --- >  arch/ia64/kernel/smpboot.c | 7 +-- >  1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c >

Re: [PATCH 01/29] coding-style.rst: Avoid comma statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:55 -0700, Joe Perches wrote: > Commas are not how statements are terminated. > Always use semicolons and braces if necessary. ping? > > Signed-off-by: Joe Perches > --- >  Documentation/process/coding-style.rst | 17 + >  1 file changed, 17 insertions(+)

Re: [PATCH 02/29] alpha: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:55 -0700, Joe Perches wrote: > Use semicolons and braces. ping? > > Signed-off-by: Joe Perches > --- >  arch/alpha/kernel/pci_iommu.c | 8 +--- >  arch/alpha/oprofile/op_model_ev4.c | 22 ++ >  arch/alpha/oprofile/op_model_ev5.c | 8

Re: [PATCH v2] counter: stm32-lptimer-cnt: remove iio counter abi

2021-01-30 Thread Jonathan Cameron
On Fri, 29 Jan 2021 14:22:22 +0100 Fabrice Gasnier wrote: > Currently, the STM32 LP Timer counter driver registers into both IIO and > counter subsystems, which is redundant. > > Remove the IIO counter ABI and IIO registration from the STM32 LP Timer > counter driver since it's been superseded

Re: [PATCH v1] mtd: spi-nor: core: fix/remove references to spi-nor.c

2021-01-30 Thread Jonathan Neuschäfer
On Tue, Jan 26, 2021 at 10:25:16AM +0100, Flavio Suligoi wrote: > The old file: > > drivers/mtd/spi-nor/spi-nor.c > > is not more present and now some of its code is > contained in: > > drivers/mtd/spi-nor/core.c > > This patch fix/remove the references to the old > spi-nor.c file. > >

[GIT] cifs fixes

2021-01-30 Thread Steve French
Please pull the following changes since commit 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04: Linux 5.11-rc5 (2021-01-24 16:47:14 -0800) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/5.11-rc5-smb3 for you to fetch changes up to

Re: [PATCH 10/29] drm/i915: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. Ping? > Signed-off-by: Joe Perches > --- >  drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 8 +--- >  drivers/gpu/drm/i915/gt/intel_gt_requests.c| 6 -- >  

Re: [PATCH 09/29] drm/gma500: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. Ping? > Signed-off-by: Joe Perches > --- >  drivers/gpu/drm/gma500/mdfld_intel_display.c | 44 +--- >  1 file changed, 28 insertions(+), 16 deletions(-) > > diff --git

Re: [PATCH 08/29] dma-buf: Avoid comma separated statements

2021-01-30 Thread Joe Perches
On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: > Use semicolons and braces. Ping? > Signed-off-by: Joe Perches > --- >  drivers/dma-buf/st-dma-fence.c | 7 +-- >  1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/drivers/dma-buf/st-dma-fence.c

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

2021-01-30 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 v5 1/2] iommu/vt-d: Audit IOMMU Capabilities and add helper functions

2021-01-30 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 v5 0/2] Audit Capability and Extended Capability among IOMMUs

2021-01-30 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: [GIT PULL] tpmdd updates for v5.12-rc1

2021-01-30 Thread Linus Torvalds
On Sat, Jan 30, 2021 at 9:15 AM Jarkko Sakkinen wrote: > > This was meant for 5.12 but the timing was *way* too early. I'll take this > one back. Just to unambiguity reasons I'll use tpmdd-next-v5.12-rc1-v2 tag > for my final v5.12 PR, once I send it. > > I considered a bit, and I really think

[GIT PULL] SCSI fixes for 5.11-rc5

2021-01-30 Thread James Bottomley
Two minor fixes in drivers. Both changing strings (one in a comment, one in a module help text) with no code impact. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Enzo Matsumiya (1): scsi: qla2xxx: Fix

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

2021-01-30 Thread Kyung Min Park
Hi Allen, On Tue, 2021-01-19 at 09:55 +0800, Lu Baolu wrote: > Hi, > > On 1/6/21 9:30 AM, Kyung Min Park wrote: > > 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

Re: bnx2x_main.c:undefined reference to `synchronize_net'

2021-01-30 Thread Jakub Kicinski
ote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 0e9bcda5d286f4a26a5407bb38f55c55b453ecfb > commit: 5198d545dba8ad893f5e5a029ca8d43ee7bcf011 net: remove napi_hash_del() > from driver-facing API > date: 5 months ago > c

Re: [PATCH v4 13/13] ASoC: Intel: bytcr_wm5102: Add jack detect support

2021-01-30 Thread Hans de Goede
Hi, On 1/30/21 4:40 PM, Charles Keepax wrote: > On Sat, Jan 23, 2021 at 01:17:20PM +0100, Hans de Goede wrote: >> Add jack detect support by creating a jack and calling >> snd_soc_component_set_jack to register the created jack >> with the codec. >> >> Reviewed-by: Andy Shevchenko >>

Hello,

2021-01-30 Thread Din Karim
Hello dear, Please I am still waiting for your Email response, you did receive my first email to you Respectfully Yours, Mr Din Karim(Esq)

Re: [PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-01-30 Thread Marc Zyngier
On Sat, 30 Jan 2021 16:11:04 +, Guenter Roeck wrote: > > On Sat, Jan 30, 2021 at 01:44:15PM +, Marc Zyngier wrote: > > From d80ca05b2ed90fc30d328041692fa80f525c8d12 Mon Sep 17 00:00:00 2001 > > From: Marc Zyngier > > Date: Sat, 30 Jan 2021 13:07:51 + > > Subject: [PATCH] KVM: arm64:

Re: Migration to trusted keys: sealing user-provided key?

2021-01-30 Thread James Bottomley
On Sat, 2021-01-30 at 19:53 +0200, Jarkko Sakkinen wrote: > On Thu, 2021-01-28 at 18:31 +0100, Ahmad Fatoum wrote: > > Hello, > > > > I've been looking into how a migration to using trusted/encrypted > > keys would look like (particularly with dm-crypt). > > > > Currently, it seems the the only

Re: [PATCH v2 -next] ecryptfs: use DEFINE_MUTEX() for mutex lock

2021-01-30 Thread Tyler Hicks
On 2020-12-24 21:22:33, Zheng Yongjun wrote: > mutex lock can be initialized automatically with DEFINE_MUTEX() > rather than explicitly calling mutex_init(). > > Signed-off-by: Zheng Yongjun This looks good to me. I've pushed the patch to the eCryptfs next branch:

Re: [PATCH] eCryptfs: add a semicolon

2021-01-30 Thread Tyler Hicks
On 2020-11-27 10:11:23, Joe Perches wrote: > On Fri, 2020-11-27 at 08:05 -0800, t...@redhat.com wrote: > > Function like macros should have a semicolon. > [] > > diff --git a/fs/ecryptfs/keystore.c b/fs/ecryptfs/keystore.c > [] > > @@ -1172,7 +1172,7 @@ decrypt_pki_encrypted_session_key(struct >

Re: [PATCH v14 11/11] kdump: update Documentation about crashkernel

2021-01-30 Thread Randy Dunlap
Hi-- On 1/29/21 11:10 PM, Chen Zhou wrote: > --- > Documentation/admin-guide/kdump/kdump.rst | 22 --- > .../admin-guide/kernel-parameters.txt | 11 -- > 2 files changed, 28 insertions(+), 5 deletions(-) > > diff --git

Re: Migration to trusted keys: sealing user-provided key?

2021-01-30 Thread Jarkko Sakkinen
On Thu, 2021-01-28 at 18:31 +0100, Ahmad Fatoum wrote: > Hello, > > I've been looking into how a migration to using trusted/encrypted keys > would look like (particularly with dm-crypt). > > Currently, it seems the the only way is to re-encrypt the partitions > because trusted/encrypted keys

Re: [PATCH 1/1] iommu/vt-d: Fix compile error [-Werror=implicit-function-declaration]

2021-01-30 Thread Randy Dunlap
On 1/30/21 7:19 AM, Lu Baolu wrote: > trace_qi_submit() could be used when interrupt remapping is supported, > but DMA remapping is not. In this case, the following compile error > occurs. > > ../drivers/iommu/intel/dmar.c: In function 'qi_submit_sync': > ../drivers/iommu/intel/dmar.c:1311:3:

Re: [PATCH v5] gpiolib: Bind gpio_device to a driver to enable fw_devlink=on by default

2021-01-30 Thread Dmitry Osipenko
22.01.2021 22:35, Saravana Kannan пишет: > There are multiple instances of GPIO device tree nodes of the form: > > foo { > compatible = "acme,foo"; > ... > > gpio0: gpio0@ { > compatible = "acme,bar"; > ... > gpio-controller; >

Re: [GIT PULL] tpmdd updates for v5.12-rc1

2021-01-30 Thread James Bottomley
On Sat, 2021-01-30 at 19:15 +0200, Jarkko Sakkinen wrote: > On Thu, Jan 28, 2021 at 07:38:21PM -0800, Linus Torvalds wrote: > > On Thu, Jan 28, 2021 at 4:54 PM Jarkko Sakkinen > > wrote: > > > This contains bug fixes for tpm_tis driver, which had a racy wait > > > for hardware state change to be

[PATCH 2/3] ARM: dts: exynos: Add charger supply for I9100

2021-01-30 Thread Timon Baetz
The regulator is used for charging control by max8997_charger driver. Signed-off-by: Timon Baetz --- arch/arm/boot/dts/exynos4210-i9100.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exynos4210-i9100.dts index

[PATCH 3/3] power: supply: max8997_charger: Switch to new binding

2021-01-30 Thread Timon Baetz
Get regulator from parent device's node and extcon by name. Signed-off-by: Timon Baetz --- drivers/power/supply/max8997_charger.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/power/supply/max8997_charger.c b/drivers/power/supply/max8997_charger.c

[PATCH 0/3] charger-supply for max8997_charger

2021-01-30 Thread Timon Baetz
Based on the discussion from [0] add an optional DT property to retrieve the regulator used for charging control in the max8997_charger driver. [0] https://lore.kernel.org/lkml/20210118124505.gg4...@sirena.org.uk/ Timon Baetz (3): regulator: dt-bindings: Document charger-supply for max8997

[PATCH 1/3] regulator: dt-bindings: Document charger-supply for max8997

2021-01-30 Thread Timon Baetz
Add charger-supply optional property to enable charging control. Signed-off-by: Timon Baetz --- .../devicetree/bindings/regulator/max8997-regulator.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/regulator/max8997-regulator.txt

RE

2021-01-30 Thread Mrs. Maureen Hinckley
I am Maureen Hinckley and my foundation is donating (Five hundred and fifty thousand USD) to you. Contact us via my email at (maurhin...@gmail.com) for further details. Best Regards, Mrs. Maureen Hinckley, Copyright ©2021 The Maureen Hinckley Foundation All Rights Reserved.

Re: [PATCH v4 32/34] dt-bindings: misc: hddl_dev: Add hddl device management documentation

2021-01-30 Thread Rob Herring
On Fri, 29 Jan 2021 18:21:22 -0800, mgr...@linux.intel.com wrote: > From: "C, Udhayakumar" > > Add hddl device management documentation > > The HDDL client driver acts as an software RTC to sync with network time. > It abstracts xlink protocol to communicate with remote IA host. > This driver

Re: [PATCH v4 26/34] dt-bindings: misc: intel_tsens: Add tsens thermal bindings documentation

2021-01-30 Thread Rob Herring
On Fri, 29 Jan 2021 18:21:16 -0800, mgr...@linux.intel.com wrote: > From: "C, Udhayakumar" > > Add device tree bindings for local host thermal sensors > Intel Edge.AI Computer Vision platforms. > > The tsens module enables reading of on chip sensors present > in the Intel Bay series SoC. In the

Re: [PATCH v3 15/22] dt-bindings: media: camss: Add qcom, sdm660-camss binding

2021-01-30 Thread Rob Herring
On Wed, 27 Jan 2021 15:49:23 +0100, Robert Foss wrote: > Add bindings for qcom,sdm660-camss in order to support the camera > subsystem on SDM630/660 and SDA variants. > > Signed-off-by: Robert Foss > --- > > Changes since v2 > - Rob: Add new line at end of file > - Rob: Remove redundant

Re: [PATCH RESEND v5 4/8] dt-bindings: regulator: Add document for MT6359 regulator

2021-01-30 Thread Rob Herring
On Fri, 29 Jan 2021 17:49:37 +0800, Hsin-Hsiung Wang wrote: > add dt-binding document for MediaTek MT6359 PMIC > > Signed-off-by: Hsin-Hsiung Wang > --- > changes since v4: fix yamllint errors in dt-binding document. > --- > .../bindings/regulator/mt6359-regulator.yaml | 169 ++

Re: [PATCH v2 00/11] Clock fixes for MSM8998 GCC, MMCC, GPUCC

2021-01-30 Thread Konrad Dybcio
On 14.01.2021 23:10, AngeloGioacchino Del Regno wrote: > This patch series fixes some issues with the MSM8998 clocks and, in > particular, brings a very important fix to the GCC PLLs. > > These fixes are enhancing this SoC's stability and also makes it > possible to eventually enable the Adreno

Re: [GIT PULL] tpmdd updates for v5.12-rc1

2021-01-30 Thread Jarkko Sakkinen
On Thu, Jan 28, 2021 at 07:38:21PM -0800, Linus Torvalds wrote: > On Thu, Jan 28, 2021 at 4:54 PM Jarkko Sakkinen wrote: > > > > This contains bug fixes for tpm_tis driver, which had a racy wait for > > hardware state change to be ready to send a command to the TPM chip. The > > bug has existed

[net-next 08/14] octeontx2-af: cn10k: Add RPM MAC support

2021-01-30 Thread Geetha sowjanya
From: Hariprasad Kelam OcteonTx2's next gen platform the CN10K has RPM MAC which has a different serdes when compared to CGX MAC. Though the underlying HW is different, the CSR interface has been designed largely inline with CGX MAC, with few exceptions though. So we are using the same CGX

[net-next 12/14] octeontx2-af: cn10k: Add RPM LMAC pause frame support

2021-01-30 Thread Geetha sowjanya
From: Rakesh Babu Flow control configuration is different for CGX(Octeontx2) and RPM(CN10K) functional blocks. This patch adds the necessary changes for RPM to support 802.3 pause frames configuration on cn10k platforms. Signed-off-by: Rakesh Babu Signed-off-by: Geetha sowjanya Signed-off-by:

[net-next 11/14] octeontx2-pf: cn10k: Get max mtu supported from admin function

2021-01-30 Thread Geetha sowjanya
From: Hariprasad Kelam CN10K supports max mtu of 16K on lmac links and 64k on lbk links and Octeontx2 silicon supports 9K mtu on both links. Get the same from nix_get_hw_info mbox message in netdev probe. remove updating port field value in ethtool(get_link_ksettings) as firmware does not

[net-next 09/14] octeontx2-af: cn10k: Add support for programmable channels

2021-01-30 Thread Geetha sowjanya
From: Subbaraya Sundeep NIX uses unique channel numbers to identify the packet sources/sinks like CGX,LBK and SDP. The channel numbers assigned to each block are hardwired in CN9xxx silicon. The fixed channel numbers in CN9xxx are: 0x0 | a << 8 | b- LBK(0..3)_CH(0..63) 0x0 | a << 8

[net-next 13/14] octeontx2-af: cn10k: Add RPM Rx/Tx stats support

2021-01-30 Thread Geetha sowjanya
From: Hariprasad Kelam RPM supports below list of counters as an extension to existing counters * class based flow control pause frames * vlan/jabber/fragmented packets * fcs/alignment/oversized error packets This patch adds support to display supported RPM counters via debugfs and define

Re: [PATCH] ecryptfs: Fix inodes not being evicted until unmount

2021-01-30 Thread Tyler Hicks
On 2020-12-18 13:07:30, Jeffrey Mitchell wrote: > On asynchronous base filesystems like NFS, eCryptFS leaves inodes for > deleted files in the cache until unmounting. Change call in > ecryptfs_do_unlink() from set_nlink() to drop_nlink() in order to reliably > evict inodes from the cache even on

[net-next 01/14] octeontx2-af: cn10k: Add mbox support for CN10K platform

2021-01-30 Thread Geetha sowjanya
Firmware allocates memory regions for PFs and VFs in DRAM. The PFs memory region is used for AF-PF and PF-VF mailbox. This mbox facilitates communication between AF-PF and PF-VF. On CN10K platform: The DRAM region allocated to PF is enumerated as PF BAR4 memory. PF BAR4 contains AF-PF mbox region

[net-next 10/14] octeontx2-af: cn10K: Add MTU configuration

2021-01-30 Thread Geetha sowjanya
From: Hariprasad Kelam OcteonTx3 CN10K silicon supports bigger MTU when compared to 9216 MTU supported by OcteonTx2 silicon variants. Lookback interface supports upto 64K and RPM LMAC interfaces support upto 16K. This patch does the necessary configuration and adds support for PF/VF drivers to

[net-next 02/14] octeontx2-pf: cn10k: Add mbox support for CN10K

2021-01-30 Thread Geetha sowjanya
From: Subbaraya Sundeep Firmware allocates memory regions for PFs and VFs in DRAM. The PFs memory region is used for AF-PF and PF-VF mailbox. This mbox facilitate communication between AF-PF and PF-VF. On CN10K platform: The DRAM region allocated to PF is enumerated as PF BAR4 memory. PF BAR4

[net-next 14/14] octeontx2-af: cn10k: MAC internal loopback support

2021-01-30 Thread Geetha sowjanya
From: Hariprasad Kelam MAC on CN10K silicon support loopback for selftest or debug purposes. This patch does necessary configuration to loopback packets upon receiving request from LMAC mapped RVU PF's netdev via mailbox. Also MAC (CGX) on OcteonTx2 silicon variants and MAC (RPM) on OcteonTx3

[net-next 03/14] octeontx2-af: cn10k: Update NIX/NPA context structure

2021-01-30 Thread Geetha sowjanya
NIX hardware context structure got changed to accommodate new features like bandwidth steering, L3/L4 outer/inner checksum enable/disable etc., on CN10K platform. This patch defines new mbox message NIX_CN10K_AQ_INST for new NIX context initialization. This patch also updates the NPA context

[net-next 07/14] octeontx2-pf: cn10k: Use LMTST lines for NPA/NIX operations

2021-01-30 Thread Geetha sowjanya
This patch adds support to use new LMTST lines for NPA batch free and burst SQE flush. Adds new dev_hw_ops structure to hold platform specific functions and create new files cn10k.c and cn10k.h. Signed-off-by: Geetha sowjanya Signed-off-by: Sunil Goutham ---

[net-next 04/14] octeontx2-af: cn10k: Update NIX and NPA context in debugfs

2021-01-30 Thread Geetha sowjanya
On CN10K platform NPA and NIX context structure bit fields had changed to support new features like bandwidth steering etc. This patch dumps approprate context for CN10K platform. Signed-off-by: Geetha sowjanya Signed-off-by: Sunil Goutham --- .../ethernet/marvell/octeontx2/af/rvu_debugfs.c

[net-next 06/14] octeontx2-pf: cn10k: Map LMTST region

2021-01-30 Thread Geetha sowjanya
On CN10K platform transmit/receive buffer alloc and free from/to hardware had changed to support burst operation. Whereas pervious silicon's only support single buffer free at a time. To Support the same firmware allocates a DRAM region for each PF/VF for storing LMTLINES. These LMTLINES are used

[net-next 05/14] octeontx2-pf: cn10k: Initialise NIX context

2021-01-30 Thread Geetha sowjanya
On CN10K platform NIX RQ and SQ context structure got changed. This patch uses new mbox message "NIX_CN10K_AQ_ENQ" for NIX context initialization on CN10K platform. This patch also updates the nix_rx_parse_s and nix_sqe_sg_s structures to add packet steering bit feilds. Signed-off-by: Geetha

[net-next 00/14] Add Marvell CN10K support

2021-01-30 Thread Geetha sowjanya
The current admin function (AF) driver and the netdev driver supports OcteonTx2 silicon variants. The same OcteonTx2's Resource Virtualization Unit (RVU) is carried forward to the next-gen silicon ie OcteonTx3, with some changes and feature enhancements. This patch set adds support for OcteonTx3

Fail to boot on bpim3 with next-20210128

2021-01-30 Thread Corentin Labbe
Hello next-20210128 cannot be booted on my bpim3. It start booting then freeze. [0.00] Linux version 5.11.0-rc5-03084-g7426957d237f (compile@Red) (armv7a-unknown-linux-gnueabihf-gcc (Gentoo 9.3.0-r2 p4) 9.3.0, GNU ld (Gentoo 2.34 p6) 2.34.0) #390 SMP Sat Jan 30 14:59:48 CET 2021 [

<    1   2   3   4   5   6   >