Re: [PATCH] security: fix the key_permission LSM hook function type

2020-06-20 Thread Kees Cook
On Mon, Jun 15, 2020 at 11:12:32AM -0700, Sami Tolvanen wrote: > Commit 8c0637e950d6 ("keys: Make the KEY_NEED_* perms an enum rather than > a mask") changed the type of the key_permission callback functions, but > didn't change the type of the hook, which trips indirect call checking with >

Re: [PATCH] usb: dwc3: qcom: Make sure core device is fully initialized before it is used

2020-06-20 Thread kernel test robot
Hi Matthias, Thank you for the patch! Yet something to improve: [auto build test ERROR on balbi-usb/testing/next] [cannot apply to agross-msm/qcom/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in

[PATCH] [v4] dmaengine: tegra210-adma: Fix runtime PM imbalance on error

2020-06-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- v2: - Merge two patches that fix runtime PM imbalance in

RE: [PATCH v2 1/3] docs: IOMMU user API

2020-06-20 Thread Liu, Yi L
> From: Alex Williamson > Sent: Saturday, June 20, 2020 12:38 AM > > On Fri, 19 Jun 2020 03:30:24 + > "Liu, Yi L" wrote: > > > Hi Alex, > > > > > From: Alex Williamson > > > Sent: Friday, June 19, 2020 10:55 AM > > > > > > On Fri, 19 Jun 2020 02:15:36 + > > > "Liu, Yi L" wrote: > > >

Re: [kbuild-all] ERROR: modpost: "__mulsi3" undefined!

2020-06-20 Thread Philip Li
On Sun, Jun 21, 2020 at 08:58:31AM +0800, kernel test robot wrote: > Hi Subbaraman, Sorry, kindly ignore this false positve report. We will look into it to resolve our logic issue. > > First bad commit (maybe != root cause): > > tree:

[PATCH] quota: minor optimization for __dquot_initialize()

2020-06-20 Thread Chengguang Xu
Count the number of quotas which are needed to initialize, instead of just setting to 1 so that we may avoid unnecessary process in special case. Signed-off-by: Chengguang Xu --- fs/quota/dquot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/quota/dquot.c

Re: [kbuild-all] ERROR: modpost: "__mulsi3" undefined!

2020-06-20 Thread Philip Li
el/git/torvalds/linux.git > master > head: 8b6ddd10d678bebec32381f71b6b420bafc43ad0 > commit: 0383024f811aa469df258039807810fc3793a105 power: supply: max17040: > Correct voltage reading > date: 6 weeks ago > config: openrisc-randconfig-r003-20200620 (attached as .config) >

Mr. Turritopsis Dohrnii Teo En Ming became an IT consultant in Singapore on 15 June 2020 Monday

2020-06-20 Thread Turritopsis Dohrnii Teo En Ming
Subject: Mr. Turritopsis Dohrnii Teo En Ming became an IT consultant in Singapore on 15 June 2020 Monday Mr. Turritopsis Dohrnii Teo En Ming became an IT (information technology) consultant in Singapore on 15 June 2020 Monday. First time in his life. As of 21 June 2020 Sunday, he is 42 years

[PATCH v4 1/2] linux/bits.h: fix unsigned less than zero warnings

2020-06-20 Thread Rikard Falkeborn
When calling the GENMASK and GENMASK_ULL macros with zero lower bit and an unsigned unknown high bit, some gcc versions warn due to the comparisons of the high and low bit in GENMASK_INPUT_CHECK. To silence the warnings, only perform the check if both inputs are known. This does not trigger any

[PATCH v4 2/2] bits: Add tests of GENMASK

2020-06-20 Thread Rikard Falkeborn
Add tests of GENMASK and GENMASK_ULL. A few test cases that should fail compilation are provided under #ifdef TEST_GENMASK_FAILURES Suggested-by: Andy Shevchenko Reviewed-by: Andy Shevchenko Signed-off-by: Rikard Falkeborn --- Sorry about the missing MODULE_LICENSE. I assume you just will

Re: [kbuild-all] ERROR: modpost: "__mulsi3" undefined!

2020-06-20 Thread Philip Li
On Sun, Jun 21, 2020 at 11:35:10AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 8b6ddd10d678bebec32381f71b6b420bafc43ad0 > commit: 30428ef5d1e8caf78639cc70a802f1cb7b1cec04 lib/test_lockup: test module > to

Re: Re: [PATCH] [v3] dmaengine: tegra210-adma: Fix runtime PM imbalance on error

2020-06-20 Thread dinghao . liu
> >> > >> Why noidle? > >> > > > > _noidle is enough for fixing this bug. _sync may suspend > > the device beyond expectation. > > In that case, then the other instance you are fixing with this patch is > not correct. > Fine. I will fix this soon. Regards, Dinghao

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-06-20 Thread Ian Kent
On Fri, 2020-06-19 at 18:23 -0400, Tejun Heo wrote: > On Fri, Jun 19, 2020 at 01:41:39PM -0700, Rick Lindsley wrote: > > On 6/19/20 8:38 AM, Tejun Heo wrote: > > > > > I don't have strong objections to the series but the rationales > > > don't seem > > > particularly strong. It's solving a

[PATCH v2] hwmon: (dell-smm) Add Latitude 5480 to fan control whitelist

2020-06-20 Thread Jeffrey Lin
This allows manual PWM control without the BIOS fighting back on Dell Latitude 5480. Signed-off-by: Jeffrey Lin Acked-by: Pali Rohár --- The last email should have been labeled v2, apologies for the noise. Changes in v2: - Added Pali's Acked-by drivers/hwmon/dell-smm-hwmon.c | 8 1

Re: [PATCH] hwmon: (dell-smm) Add Latitude 5480 to fan control whitelist

2020-06-20 Thread Guenter Roeck
On 6/20/20 9:27 PM, Jeffrey Lin wrote: > This allows manual PWM control without the BIOS fighting back on Dell > Latitude 5480. > > Signed-off-by: Jeffrey Lin > Acked-by: Pali Rohár Is this a resend of v1, or is it different ? If it is different, what changed ? Guenter > --- >

mmotm 2020-06-20-21-36 uploaded

2020-06-20 Thread akpm
The mm-of-the-moment snapshot 2020-06-20-21-36 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH v3 2/2] bits: Add tests of GENMASK

2020-06-20 Thread Andrew Morton
On Tue, 9 Jun 2020 00:18:23 +0200 Rikard Falkeborn wrote: > Add tests of GENMASK and GENMASK_ULL. > > A few test cases that should fail compilation are provided > under #ifdef TEST_GENMASK_FAILURES WARNING: modpost: missing MODULE_LICENSE() in lib/test_bits.o Could you please send a fix?

Re: [PATCH net] rxrpc: Fix notification call on completion of discarded calls

2020-06-20 Thread David Miller
From: David Howells Date: Fri, 19 Jun 2020 23:38:16 +0100 > When preallocated service calls are being discarded, they're passed to > ->discard_new_call() to have the caller clean up any attached higher-layer > preallocated pieces before being marked completed. However, the act of > marking them

Re: [PATCH] [net/sched] Remove redundant skb null check

2020-06-20 Thread David Miller
From: Gaurav Singh Date: Fri, 19 Jun 2020 15:24:13 -0400 > Remove the redundant null check for skb. > > Signed-off-by: Gaurav Singh Applied to net-next.

[PATCH] hwmon: (dell-smm) Add Latitude 5480 to fan control whitelist

2020-06-20 Thread Jeffrey Lin
This allows manual PWM control without the BIOS fighting back on Dell Latitude 5480. Signed-off-by: Jeffrey Lin Acked-by: Pali Rohár --- drivers/hwmon/dell-smm-hwmon.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c

{standard input}:9878: Error: non-constant expression in ".if" statement

2020-06-20 Thread kernel test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b6ddd10d678bebec32381f71b6b420bafc43ad0 commit: 21e3134b3ec09e722cbcda69788f206adc8db1f4 MIPS: barrier: Clean up rmb() & wmb() definitions date: 9 months

[PATCH] isofs: fix High Sierra dirent flag accesses

2020-06-20 Thread Egor Chelak
The flags byte of the dirent was accessed as de->flags[0] in a couple of places, and not as de->flags[-sbi->s_high_sierra], which is how it's accessed elsewhere. This caused a bug, where some files on an HSF disc could be inaccessible. For context, here is the difference between HSF dirents and

linux-next: build failures after merge of the hid tree

2020-06-20 Thread Stephen Rothwell
Hi all, After merging the hid tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/hid/intel-ish-hid/ipc/ipc.c:12:10: fatal error: client.h: No such file or directory 12 | #include "client.h" | ^~ drivers/hid/intel-ish-hid/ipc/pci-ish.c:22:10:

Re: [PATCH v7 31/36] staging: tegra-vde: fix common struct sg_table related issues

2020-06-20 Thread Dmitry Osipenko
В Fri, 19 Jun 2020 12:36:31 +0200 Marek Szyprowski пишет: > The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() > function returns the number of the created entries in the DMA address > space. However the subsequent calls to the > dma_sync_sg_for_{device,cpu}() and dma_unmap_sg must

ERROR: modpost: "min_low_pfn" undefined!

2020-06-20 Thread kernel test robot
Hi Anshuman, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b6ddd10d678bebec32381f71b6b420bafc43ad0 commit: c62da0c35d58518ddb26ff641d2485596567fd96 mm/vma: define a default value for

arch/powerpc/boot/decompress.c:133: undefined reference to `__decompress'

2020-06-20 Thread kernel test robot
Hi Masahiro, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b6ddd10d678bebec32381f71b6b420bafc43ad0 commit: 67bf47452ea00edd90e796054229b651e64b82c1 kbuild: update compile-test header list for

ERROR: modpost: "__mulsi3" undefined!

2020-06-20 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b6ddd10d678bebec32381f71b6b420bafc43ad0 commit: 30428ef5d1e8caf78639cc70a802f1cb7b1cec04 lib/test_lockup: test module to generate lockups date: 2 months ago config: openrisc-randconfig-c024-20200619

Re: linux-next: build failure after merge of the printk tree

2020-06-20 Thread Herbert Xu
On Sun, Jun 21, 2020 at 01:15:54PM +1000, Stephen Rothwell wrote: > > Caused by commit > > 494c8512c90e ("printk: Make linux/printk.h self-contained") > > changing include files is hadrer than it loooks :-( That's because this patch depends on the lockdep_types patch which is in the x86 tree.

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-06-20 Thread Ian Kent
On Fri, 2020-06-19 at 11:38 -0400, Tejun Heo wrote: > Hello, Ian. > > On Wed, Jun 17, 2020 at 03:37:43PM +0800, Ian Kent wrote: > > The series here tries to reduce the locking needed during path > > walks > > based on the assumption that there are many path walks with a > > fairly > > large

linux-next: build failure after merge of the printk tree

2020-06-20 Thread Stephen Rothwell
Hi all, After merging the printk tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/linux/printk.h:10, from include/linux/kernel.h:15, from include/linux/list.h:9, from

Re: [PATCH 1/2 v4] exfat: write multiple sectors at once

2020-06-20 Thread Namjae Jeon
2020-06-19 17:38 GMT+09:00, Tetsuhiro Kohada : > Write multiple sectors at once when updating dir-entries. > Add exfat_update_bhs() for that. It wait for write completion once > instead of sector by sector. > It's only effective if sync enabled. > > Reviewed-by: Christoph Hellwig He didn't give

drivers/dma/imx-sdma.c:1334:23: warning: comparison of unsigned expression >= 0 is always true

2020-06-20 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b6ddd10d678bebec32381f71b6b420bafc43ad0 commit: 25962e1a7f1d522f1b57ead2f266fab570042a70 dmaengine: imx-sdma: Fix the event id check to include RX event for UART6 date: 4 months ago config:

drivers/pci/controller/pci-aardvark.c:350:2: error: implicit declaration of function 'gpiod_set_value_cansleep'

2020-06-20 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b6ddd10d678bebec32381f71b6b420bafc43ad0 commit: 5169a9851daaa2782a7bd2bb83d5b1bd224b2879 PCI: aardvark: Issue PERST via GPIO date: 5 weeks ago config: s390-randconfig-r001-20200621 (attached as .config)

Re: [PATCH 08/10] fs: move the buffer_heads_over_limit stub to buffer_head.h

2020-06-20 Thread Bart Van Assche
On 2020-06-20 00:16, Christoph Hellwig wrote: > Move the !CONFIG_BLOCK stub to the same place as the non-stub > declaration. Reviewed-by: Bart Van Assche

Re: [PATCH 06/10] block: simplify sb_is_blkdev_sb

2020-06-20 Thread Bart Van Assche
On 2020-06-20 00:16, Christoph Hellwig wrote: > Just use IS_ENABLED instead of providing a stub for !CONFIG_BLOCK. Reviewed-by: Bart Van Assche

Re: [PATCH 04/10] fs: remove the HAVE_UNLOCKED_IOCTL and HAVE_COMPAT_IOCTL defines

2020-06-20 Thread Bart Van Assche
On 2020-06-20 00:16, Christoph Hellwig wrote: > These are not defined anywhere, and contrary to the comments we really > do not care about out of tree code at all. Reviewed-by: Bart Van Assche

Re: [PATCH 03/10] fs: remove an unused block_device_operations forward declaration

2020-06-20 Thread Bart Van Assche
On 2020-06-20 00:16, Christoph Hellwig wrote: > [ ... ] Reviewed-by: Bart Van Assche

Re: [PATCH 01/10] tty/sysrq: emergency_thaw_all does not depend on CONFIG_BLOCK

2020-06-20 Thread Bart Van Assche
On 2020-06-20 00:16, Christoph Hellwig wrote: > We can also thaw non-block file systems. Remove the CONFIG_BLOCK in > sysrq.c after making the prototype available unconditionally. Reviewed-by: Bart Van Assche

[PATCH] mmc: owl-mmc: Get rid of of_match_ptr() macro

2020-06-20 Thread Manivannan Sadhasivam
Remove the 'of_match_ptr()' macro to fix the warning when CONFIG_OF is not selected. drivers/mmc/host/owl-mmc.c:677:34: warning: unused variable 'owl_mmc_of_match' [-Wunused-const-variable] Reported-by: kernel test robot Signed-off-by: Manivannan Sadhasivam --- drivers/mmc/host/owl-mmc.c | 2

Re: [PATCH 02/10] block: mark bd_finish_claiming static

2020-06-20 Thread Bart Van Assche
On 2020-06-20 00:16, Christoph Hellwig wrote: > [ ... ] Reviewed-by: Bart Van Assche

Re: [GIT PULL] SCSI fixes for 5.8-rc1

2020-06-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jun 2020 10:42:16 -0700: > 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/6469e8962c20b580b471790fe42367750599 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PULL REQUEST] i2c for 5.8

2020-06-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jun 2020 19:16:24 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a5c6a1f0fe1d182489864b708fa472d0333b39d4 Thank you! -- Deet-doot-dot, I am a

cc1: error: '-mloongson-mmi' must be used with '-mhard-float'

2020-06-20 Thread kernel test robot
Hi Thomas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b6ddd10d678bebec32381f71b6b420bafc43ad0 commit: 26bff9eb49201aeb4e1b32d698c191831a39f5d4 MIPS: Only include the platform file needed date: 6 weeks ago

Re: [PATCH 2/3] arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page

2020-06-20 Thread Andrew Morton
On Thu, 18 Jun 2020 08:43:06 +0200 Christoph Hellwig wrote: > Use PAGE_KERNEL_ROX directly instead of allocating RWX and setting the > page read-only just after the allocation. > > --- a/arch/arm64/kernel/probes/kprobes.c > +++ b/arch/arm64/kernel/probes/kprobes.c > @@ -120,15 +120,9 @@ int

Re: [PATCH] crypto: scompress - call the completion callback for the completed acomp_req

2020-06-20 Thread Herbert Xu
On Sun, Jun 21, 2020 at 11:07:56AM +1200, Barry Song wrote: > While using acomp_req, users may customize a completion callback, if the > backend of acomp is actually scomp, this callback will never be called. > This looks a bit messy to users. For one user, all scomp details should > be hidden by

linux-next: build failure in Linus' tree

2020-06-20 Thread Stephen Rothwell
Hi all, Building Linus' tree, today's linux-next build (x86_64 allmodcongig) failed like this: In file included from arch/x86/include/asm/atomic.h:5, from include/linux/atomic.h:7, from include/linux/llist.h:51, from include/linux/irq_work.h:5,

Re: WARN_ON_ONCE(1) in iomap_dio_actor()

2020-06-20 Thread Qian Cai
On Fri, Jun 19, 2020 at 05:17:47PM -0700, Matthew Wilcox wrote: > On Fri, Jun 19, 2020 at 05:17:50PM -0400, Qian Cai wrote: > > Running a syscall fuzzer by a normal user could trigger this, > > > > [55649.32][T515839] WARNING: CPU: 6 PID: 515839 at > > fs/iomap/direct-io.c:391

ERROR: modpost: "__mulsi3" undefined!

2020-06-20 Thread kernel test robot
weeks ago config: openrisc-randconfig-r003-20200620 (attached as .config) compiler: or1k-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git

Re: [PATCH v7 33/36] rapidio: fix common struct sg_table related issues

2020-06-20 Thread kernel test robot
Hi Marek, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200618] [also build test WARNING on v5.8-rc1] [cannot apply to linuxtv-media/master staging/staging-testing drm-exynos/exynos-drm-next drm-intel/for-linux-next linus/master v5.8-rc1 v5.7 v5.7-rc7] [If

ERROR: modpost: "__mulsi3" undefined!

2020-06-20 Thread kernel test robot
Hi Subbaraman, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162 commit: 62a1d3f623ac0338912fdfbdda9bdac4cadcbc75 backlight: qcom-wled: Add support for WLED5 peripheral that

Re: [PATCH net 0/3] net: ethtool: netdev_features_strings[] cleanup

2020-06-20 Thread David Miller
Please submit this again, I have two copies in my inbox and I have no idea what is different between them. Also, in some of your patches you cut the Fixes: tag into mutliple lines please do not do that. The Fixes: tag line should be one single line no matter how long it is. Thank you.

Re: [PATCH] arm64: dts: odroid: add spicc0 controller node

2020-06-20 Thread kernel test robot
Hi Hyeonki, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v5.8-rc1 next-20200618] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in

Re: [PATCH net-next] of: mdio: preserve phy dev_flags in of_phy_connect()

2020-06-20 Thread David Miller
From: rentao.b...@gmail.com Date: Thu, 18 Jun 2020 15:04:44 -0700 > From: Tao Ren > > Replace assignment "=" with OR "|=" for "phy->dev_flags" so "dev_flags" > configured in phy probe() function can be preserved. > > The idea is similar to commit e7312efbd5de ("net: phy: modify assignment > to

Re: [PATCH] [net/sched]: Remove redundant condition in qdisc_graft

2020-06-20 Thread David Miller
From: Gaurav Singh Date: Thu, 18 Jun 2020 16:36:31 -0400 > parent cannot be NULL here since its in the else part > of the if (parent == NULL) condition. Remove the extra > check on parent pointer. > > Signed-off-by: Gaurav Singh Applied to net-next, thanks.

kbuild: separate kerneldoc warnings from compiler warnings

2020-06-20 Thread Valdis Klētnieks
This patch introduces a new build flag 'K=1' which controls whether kerneldoc warnings should be issued, separating them from the compiler warnings that W= controls. Signed-off-by: Valdis Kletnieks diff --git a/Makefile b/Makefile index 29abe44ada91..b1c0f9484a66 100644 --- a/Makefile +++

Re: [net-next,v1,0/5] Strict mode for VRF

2020-06-20 Thread David Miller
From: David Ahern Date: Sat, 20 Jun 2020 16:32:53 -0700 > On 6/19/20 3:54 PM, Andrea Mayer wrote: >> This patch set adds the new "strict mode" functionality to the Virtual >> Routing and Forwarding infrastructure (VRF). Hereafter we discuss the >> requirements and the main features of the

opp: core: Add missing export to core.c

2020-06-20 Thread Valdis Klētnieks
After this commit, a 'make allmodconfig' fails due to a missing export. commit 5f2430fb40c74db85764c8a472ecd6849025dd3f Author: Sibi Sankar Date: Sat Jun 6 03:03:31 2020 +0530 cpufreq: qcom: Update the bandwidth levels on frequency change ERROR: modpost: "dev_pm_opp_adjust_voltage"

Re: [RFC PATCH 08/10] rtc: New driver for RTC in Netronix embedded controller

2020-06-20 Thread Alexandre Belloni
On 21/06/2020 00:42:19+0200, Jonathan Neuschäfer wrote: > With this driver, mainline Linux can keep its time and date in sync with > the vendor kernel. > > Advanced functionality like alarm and automatic power-on is not yet > supported. > Please report the results of rtctest (from the kernel

Re: [RFC PATCH 07/10] dt-bindings: rtc: Add bindings for Netronix embedded controller RTC

2020-06-20 Thread Alexandre Belloni
Hi, On 21/06/2020 00:42:18+0200, Jonathan Neuschäfer wrote: > The Netronix EC implements an RTC with the following functionality: > > - Calendar-based time keeping with single-second resolution > - Automatic power-on with single-minute resolution > - Alarm at single-second resolution > > This

[PATCH v2] mm/zswap: move to use crypto_acomp API for hardware acceleration

2020-06-20 Thread Barry Song
right now, all new ZIP drivers are using crypto_acomp APIs rather than legacy crypto_comp APIs. But zswap.c is still using the old APIs. That means zswap won't be able to use any new zip drivers in kernel. This patch moves to use cryto_acomp APIs to fix the problem. On the other hand, tradiontal

drivers/gpu/drm/drm_gem_shmem_helper.c:540:22: error: incompatible types when assigning to type 'pgprot_t' {aka 'struct '} from type 'int'

2020-06-20 Thread kernel test robot
Hi Gerd, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162 commit: 0be895893607fb3447478d6e33dfb60644195a09 drm/shmem: switch shmem helper to _gem_object_funcs.mmap date: 8

Re: [PATCH v8 1/4] bitops: Introduce the for_each_set_clump macro

2020-06-20 Thread Syed Nayyar Waris
On Tue, Jun 16, 2020 at 1:44 PM Andy Shevchenko wrote: > > On Mon, Jun 15, 2020 at 06:21:18PM +0530, Syed Nayyar Waris wrote: > > This macro iterates for each group of bits (clump) with set bits, > > within a bitmap memory region. For each iteration, "start" is set to > > the bit offset of the

Re: [PATCH v2 2/2] soc: mediatek: devapc: add devapc-mt6873 driver

2020-06-20 Thread Chun-Kuang Hu
Hi, Neal: Neal Liu 於 2020年6月20日 週六 上午11:18寫道: > > Hi Chun-Kuang, > > Thanks for your quick feedback. > > On Sat, 2020-06-20 at 00:25 +0800, Chun-Kuang Hu wrote: > > Hi, Neal: > > > > Neal Liu 於 2020年6月19日 週五 下午6:01寫道: > > > > > > MT6873 bus frabric provides TrustZone security support and data >

Re: [net-next,v1,0/5] Strict mode for VRF

2020-06-20 Thread David Ahern
On 6/19/20 3:54 PM, Andrea Mayer wrote: > This patch set adds the new "strict mode" functionality to the Virtual > Routing and Forwarding infrastructure (VRF). Hereafter we discuss the > requirements and the main features of the "strict mode" for VRF. > For the set: Acked-by: David Ahern

drivers/usb/gadget/udc/bcm63xx_udc.c:2251:46: error: use of undeclared identifier 'usb_debug_root'

2020-06-20 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162 commit: a66ada4f241c9a5a0bbabc5af511ea5dd4c2cbb8 usb: gadget: bcm63xx_udc: create debugfs directory under usb root date: 7 months ago config:

[PATCH] crypto: scompress - call the completion callback for the completed acomp_req

2020-06-20 Thread Barry Song
While using acomp_req, users may customize a completion callback, if the backend of acomp is actually scomp, this callback will never be called. This looks a bit messy to users. For one user, all scomp details should be hidden by acomp APIs. But it won't cause any real problem if users simply use

Re: [PATCH v13 00/18] per memcg lru lock

2020-06-20 Thread Andrew Morton
On Fri, 19 Jun 2020 16:33:38 +0800 Alex Shi wrote: > This is a new version which bases on linux-next, merged much suggestion > from Hugh Dickins, from compaction fix to less TestClearPageLRU and > comments reverse etc. Thank a lot, Hugh! > > Johannes Weiner has suggested: > "So here is a crazy

[tip:x86/cleanups] BUILD SUCCESS 286d966b21587b6303081b902f5c5e30b691baf5

2020-06-20 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cleanups branch HEAD: 286d966b21587b6303081b902f5c5e30b691baf5 x86/idt: Make idt_descr static elapsed time: 722m configs tested: 124 configs skipped: 10 The following configs have been built successfully. More

Re: [PATCH v6 06/19] mm: memcg/slab: obj_cgroup API

2020-06-20 Thread Andrew Morton
On Fri, 19 Jun 2020 14:38:10 -0700 Roman Gushchin wrote: > Andrew, can you, please, squash the following fix based on Shakeel's > suggestions? > Thanks! Sure. But a changelog, a signoff and an avoidance of tabs-replaced-by-spaces would still be preferred, please!

Re: [RFC PATCH 02/10] dt-bindings: Add vendor prefix for Netronix, Inc.

2020-06-20 Thread Jonathan Neuschäfer
On Sun, Jun 21, 2020 at 12:42:13AM +0200, Jonathan Neuschäfer wrote: > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ Oops, it seems the mail thread got split here when I resent patches 2-10 after an error. Oh well. signature.asc Description: PGP signature

[RFC PATCH 10/10] ARM: dts: imx50-kobo-aura: Add Netronix embedded controller

2020-06-20 Thread Jonathan Neuschäfer
Enable the Netronix EC on the Kobo Aura ebook reader. Several features are still missing: - Frontlight/backlight. The vendor kernel drives the frontlight LED using the PWM output of the EC and an additional boost pin that increases the brightness. - Battery monitoring - Interrupts for

[RFC PATCH 05/10] dt-bindings: pwm: Add bindings for PWM function in Netronix EC

2020-06-20 Thread Jonathan Neuschäfer
The Netronix embedded controller as found in Kobo Aura and Tolino Shine supports one PWM channel, which is used to control the frontlight brightness on these devices. Known problems: - `make dt_binding_check` shows the following warnings:

[RFC PATCH 09/10] MAINTAINERS: Add entry for Netronix embedded controller

2020-06-20 Thread Jonathan Neuschäfer
Let's make sure I'll notice when there are patches for the NTXEC drivers. Signed-off-by: Jonathan Neuschäfer --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 68f21d46614c4..d4333f7490f5d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[RFC PATCH 07/10] dt-bindings: rtc: Add bindings for Netronix embedded controller RTC

2020-06-20 Thread Jonathan Neuschäfer
The Netronix EC implements an RTC with the following functionality: - Calendar-based time keeping with single-second resolution - Automatic power-on with single-minute resolution - Alarm at single-second resolution This binding only supports timekeeping for now. Signed-off-by: Jonathan

[RFC PATCH 03/10] dt-bindings: mfd: Add binding for Netronix's embedded controller

2020-06-20 Thread Jonathan Neuschäfer
This EC is found in e-book readers of multiple brands (e.g. Kobo, Tolino), and is typically implemented as a TI MSP430 microcontroller. It controls different functions of the system, such as power on/off, RTC, PWM for the backlight. The exact functionality provided can vary between boards.

[RFC PATCH 02/10] dt-bindings: Add vendor prefix for Netronix, Inc.

2020-06-20 Thread Jonathan Neuschäfer
Netronix, Inc. (http://www.netronixinc.com/) makes ebook reader board designs, which are for example used in Kobo and Tolino devices. An alternative prefix for Netronix would be "ntx", which is already used in code released by Netronix. It is shorter, but perhaps less clear. Signed-off-by:

[RFC PATCH 08/10] rtc: New driver for RTC in Netronix embedded controller

2020-06-20 Thread Jonathan Neuschäfer
With this driver, mainline Linux can keep its time and date in sync with the vendor kernel. Advanced functionality like alarm and automatic power-on is not yet supported. Signed-off-by: Jonathan Neuschäfer --- drivers/rtc/Kconfig | 4 ++ drivers/rtc/Makefile| 1 +

[RFC PATCH 04/10] mfd: Add base driver for Netronix embedded controller

2020-06-20 Thread Jonathan Neuschäfer
Third-party hardware documentation is available at https://github.com/neuschaefer/linux/wiki/Netronix-MSP430-embedded-controller The EC supports interrupts, but the driver doesn't make use of them so far. Known problems: - The reboot handler is installed in such a way that it directly calls

[RFC PATCH 06/10] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-06-20 Thread Jonathan Neuschäfer
The Netronix EC provides a PWM output, which is used for the backlight on ebook readers. This patches adds a driver for the PWM output. Signed-off-by: Jonathan Neuschäfer --- drivers/pwm/Kconfig | 4 ++ drivers/pwm/Makefile| 1 + drivers/pwm/pwm-ntxec.c | 148

[PATCH] max732x_probe: remove redundant check

2020-06-20 Thread Gaurav Singh
The pdata is already checked for its validity. Remove the redundant check. Signed-off-by: Gaurav Singh --- drivers/gpio/gpio-max732x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-max732x.c b/drivers/gpio/gpio-max732x.c index 5fb0bcf31142..63472f308857

[RFC PATCH 00/10] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-06-20 Thread Jonathan Neuschäfer
Hi, This patchset adds basic support for the embedded controller found on older ebook reader boards designed by/with the ODM Netronix Inc.[1] and sold by Kobo or Tolino, for example the Kobo Aura and the Tolino Shine. These drivers are based on the vendor kernel sources, but in order to all

[RFC PATCH 01/10] DT bindings in plain text format

2020-06-20 Thread Jonathan Neuschäfer
For reference, here are the devicetree bindings in plaintext format. (Not for merge.) Signed-off-by: Jonathan Neuschäfer --- .../bindings/mfd/netronix,ntxec.txt | 58 +++ .../bindings/pwm/netronix,ntxec-pwm.txt | 27 +

Re: [PATCH][next] rapidio: rio_mport_cdev: Use struct_size() helper

2020-06-20 Thread Andrew Morton
On Fri, 19 Jun 2020 12:08:43 -0500 "Gustavo A. R. Silva" wrote: > Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83 Well. There's only one other Addresses-KSPP-ID: in kernel history and I'm a bit reluctant to add new signoff tags such as this. People like to invent new tags an awful

Re: [PATCH v4 3/5] drm: panel: Add Xingbangda XBD599 panel (ST7703 controller)

2020-06-20 Thread Ondřej Jirman
On Sat, Jun 20, 2020 at 11:25:29PM +0200, Sam Ravnborg wrote: > Hi Ondrej et al. > > On Wed, Jun 17, 2020 at 02:32:07AM +0200, Ondrej Jirman wrote: > > From: Icenowy Zheng > > > > Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI IPS LCD panel made by > > Xingbangda, which is used on PinePhone

Re: [PATCH 1/3] thermal/cpu-cooling, sched/core: Cleanup thermal pressure definition

2020-06-20 Thread Valentin Schneider
On 20/06/20 18:49, Ionela Voinescu wrote: > Hi Vincent, > > On Thursday 18 Jun 2020 at 17:03:24 (+0200), Vincent Guittot wrote: >> On Sun, 14 Jun 2020 at 03:10, Valentin Schneider >> wrote: > [..] >> > diff --git a/drivers/thermal/cpufreq_cooling.c >> > b/drivers/thermal/cpufreq_cooling.c >> >

linux-next: Signed-off-by missing for commits in the fsinfo tree

2020-06-20 Thread Stephen Rothwell
Hi all, Commits dbc87e74d022 ("vfs, fsinfo: Add an RCU safe per-ns mount list") 1293806368bc ("fsinfo: Add an attribute that lists all the visible mounts in a namespace") 93737ccf05ec ("fsinfo: Add an attribute that lists all the visible mounts in a namespace") are missing a

Re: drivers/gpu/drm/panel/panel-samsung-ld9040.c:240:12: warning: stack frame size of 8312 bytes in function 'ld9040_prepare'

2020-06-20 Thread Vladimir Oltean
mp to the transfer structure > date: 9 months ago > config: x86_64-randconfig-a014-20200620 (attached as .config) > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project > f5bbe390d23d7da0ffb110cdb24b583c2dc87eba) > reproduce (this is a W=1 build): > wget

linux-next: Signed-off-by missing for commits in the rcu tree

2020-06-20 Thread Stephen Rothwell
Hi all, Commits aa56127d9ac5 ("rcu/trace: Use gp_seq_req in acceleration's rcu_grace_period tracepoint") 63222f379b92 ("rcu/trace: Print negative GP numbers correctly") are missing a Signed-off-by from their committer. -- Cheers, Stephen Rothwell pgpplDH_2hY40.pgp Description: OpenPGP

linux-next: Signed-off-by missing for commit in the hid tree

2020-06-20 Thread Stephen Rothwell
Hi all, Commit 470376737e88 ("HID: allow building hid.ko as an external module") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgp1cEb73hTBv.pgp Description: OpenPGP digital signature

linux-next: Fixes tag needs some work in the dma-mapping tree

2020-06-20 Thread Stephen Rothwell
Hi all, In commit 8cbe23e1c79f ("dma-direct: add missing set_memory_decrypted() for coherent mapping") Fixes tag Fixes: 3acac065508f ("dma-mapping: merge the generic remapping helpers has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading but

Re: [PATCH 3/3] drm/bridge: ps8640: Rework power state handling

2020-06-20 Thread Sam Ravnborg
Hi Enric. On Mon, Jun 15, 2020 at 10:53:20PM +0200, Enric Balletbo i Serra wrote: > The get_edid() callback can be triggered anytime by an ioctl, i.e > > drm_mode_getconnector (ioctl) > -> drm_helper_probe_single_connector_modes >-> drm_bridge_connector_get_modes > ->

Re: [PATCH v3 1/5] dt-bindings: gpio: Convert mrvl-gpio to json-schema

2020-06-20 Thread Linus Walleij
On Wed, Jun 17, 2020 at 12:33 AM Lubomir Rintel wrote: > This converts the mrvl-gpio binding to DT schema format using json-schema. This looks about right to me: Acked-by: Linus Walleij I expect Rob will apply it when he's happy with it, else poke me once he ACKs it. Yours, Linus Walleij

Re: [PATCH v2] MAINTAINERS: Add entry for ROHM power management ICs

2020-06-20 Thread Linus Walleij
On Thu, Jun 18, 2020 at 9:33 AM Matti Vaittinen wrote: > Add entry for maintaining power management IC drivers for ROHM > BD71837, BD71847, BD71850, BD71828, BD71878, BD70528 and BD99954. > > Signed-off-by: Matti Vaittinen > Acked-by: Sebastian Reichel Reviewed-by: Linus Walleij Yours,

Re: [PATCH v3] dt-bindings: mfd: Convert stmfx bindings to json-schema

2020-06-20 Thread Linus Walleij
On Wed, May 20, 2020 at 10:51 AM Lee Jones wrote: > On Thu, 20 Feb 2020, Benjamin Gaignard wrote: > > > Convert stmfx bindings to json-schema > > > > Signed-off-by: Benjamin Gaignard > > --- > > .../devicetree/bindings/mfd/st,stmfx.yaml | 124 > > + > >

Re: [RESEND PATCH v4 0/7] Convert mtk-dsi to drm_bridge API and get EDID for ps8640 bridge

2020-06-20 Thread Sam Ravnborg
Hi Enric On Mon, Jun 15, 2020 at 10:31:01PM +0200, Enric Balletbo i Serra wrote: > (This resend is to fix some trivial conflicts due the merge window) > > The PS8640 dsi-to-eDP bridge driver is using the panel bridge API, > however, not all the components in the chain have been ported to the >

ll_temac_main.c:undefined reference to `devm_ioremap'

2020-06-20 Thread kernel test robot
Hi Johannes, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162 commit: d0e20fd4c1db7cb28874402f78f39870d84398e9 um: Fix xor.h include date: 7 weeks ago

Re: 回复:[PATCH 2/4] pinctrl: sunxi: add support for the Allwinner A100 pin controller

2020-06-20 Thread Linus Walleij
On Tue, Jun 16, 2020 at 11:27 AM Frank Lee wrote: > HI Chen-Yu, Linus, > On Fri, Jun 5, 2020 at 11:13 PM Maxime Ripard wrote: > > > Considering that the same pin has multiple same functions, > > > so add a suffix, like i2s3_dout3 and i2s3_din3? > > > > > > Or specify muxsel in the device tree

[PATCH bpf v2] restore behaviour of CAP_SYS_ADMIN allowing the loading of networking bpf programs

2020-06-20 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This is a fix for a regression introduced in 5.8-rc1 by: commit 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366 'bpf: Implement CAP_BPF' Before the above commit it was possible to load network bpf programs with just the CAP_SYS_ADMIN privilege. The Android bpfloader

Re: [PATCH][next] blk-iocost: Use struct_size() in kzalloc_node()

2020-06-20 Thread Jens Axboe
On 6/19/20 5:08 PM, Gustavo A. R. Silva wrote: > Make use of the struct_size() helper instead of an open-coded version > in order to avoid any potential type mistakes. > > This code was detected with the help of Coccinelle and, audited and > fixed manually. Applied, thanks. -- Jens Axboe

Re: [PATCH v4 3/5] drm: panel: Add Xingbangda XBD599 panel (ST7703 controller)

2020-06-20 Thread Sam Ravnborg
Hi Ondrej et al. On Wed, Jun 17, 2020 at 02:32:07AM +0200, Ondrej Jirman wrote: > From: Icenowy Zheng > > Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI IPS LCD panel made by > Xingbangda, which is used on PinePhone final assembled phones. > > It is based on Sitronix ST7703 LCD controller. I

  1   2   3   4   >