[PATCH 0/9] Fix a bunch more W=1 warnings in Regulator

2020-06-25 Thread Lee Jones
Attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. This is the last of them. Once applied, drivers/regulator will be clean of W=1 warnings. Lee Jones (9): regulator: max8998: Staticify internal function max8998_get_current_limi

[PATCH 9/9] regulator: qcom_smd-regulator: Remove unused 'struct regulator_desc pmi8994_boost'

2020-06-25 Thread Lee Jones
This was an upstreaming error. Remove it as it's not to be used. Fixes the following W=1 kernel build warning: drivers/regulator/qcom_smd-regulator.c:477:36: warning: ‘pmi8994_boost’ defined but not used [-Wunused-const-variable=] Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-...@vger.ke

Re: [PATCH v2 0/4] Tegra Video Decoder driver power management corrections

2020-06-25 Thread Hans Verkuil
On 26/06/2020 02:17, Dmitry Osipenko wrote: > 24.06.2020 18:23, Dmitry Osipenko пишет: >> 24.06.2020 18:16, Hans Verkuil пишет: >>> On 24/06/2020 17:08, Dmitry Osipenko wrote: Hello, This small series addresses a Runtime PM issue that was discovered during of Tegra VI driver rev

[PATCH 4/9] regulator: stpmic1_regulator: Properly document 'struct stpmic1_regulator_cfg'

2020-06-25 Thread Lee Jones
In kerneldoc format, data structures have to start with 'struct' else the kerneldoc tooling/parsers/validators get confused. Fixes the following W=1 kernel build warning: drivers/regulator/stpmic1_regulator.c:25: warning: cannot understand function prototype: 'struct stpmic1_regulator_cfg ' Cc

[PATCH 1/9] regulator: max8998: Staticify internal function max8998_get_current_limit()

2020-06-25 Thread Lee Jones
max8998_get_current_limit() is only used via the .get_current_limit, so it doesn't need to be publicly supported, or to have its own external prototype. Instead, we'll make it static. Fixes the following W=1 warning: drivers/regulator/max8998.c:418:5: warning: no previous prototype for ‘max899

[PATCH 6/9] regulator: tps65217-regulator: Use the returned value of tps65217_reg_read()

2020-06-25 Thread Lee Jones
Until now the aforementioned return value has been ignored. Previous and current calls to tps65217_reg_read() return instantly when the value is not 0, so let's do that. Fixes the following W=1 warning: drivers/regulator/tps65217-regulator.c: In function ‘tps65217_regulator_probe’: drivers/regu

[PATCH 3/9] regulator: pwm-regulator: Demote kerneldoc header to standard comment

2020-06-25 Thread Lee Jones
This particular comment doesn't have anything to do with documenting functions or data structures. Instead it is used as a section header. Fixes W=1 warning: drivers/regulator/pwm-regulator.c:55: warning: Function parameter or member 'rdev' not described in 'pwm_regulator_init_state' Signed-o

[PATCH 2/9] regulator: qcom-rpmh-regulator: Repair dodgy kerneldoc header formatting

2020-06-25 Thread Lee Jones
W=1 kernel builds report a lack of descriptions for various enum properties and function arguments. In reality they are documented, but the formatting was not as expected '@.*:'. Instead, some weird arg identifiers were used or none at all. This change fixes the following warnings: drivers/regu

[PATCH 7/9] regulator: tps65218-regulator: Remove pointless 'is unsigned int <0' check

2020-06-25 Thread Lee Jones
'rid' is declared as unsigned int, so there is little point checking for <0. Removing these checks fixes the following W=1 warnings: drivers/regulator/tps65218-regulator.c: In function ‘tps65218_pmic_set_suspend_enable’: drivers/regulator/tps65218-regulator.c:131:10: warning: comparison of uns

[PATCH 5/9] regulator: tps65217-regulator: Remove pointless 'is unsigned int <0' check

2020-06-25 Thread Lee Jones
'rid' is declared as unsigned int, so there is little point checking for <0. Removing these checks fixes the following W=1 warnings: drivers/regulator/tps65217-regulator.c: In function ‘tps65217_pmic_set_suspend_enable’: drivers/regulator/tps65217-regulator.c:127:10: warning: comparison of uns

[PATCH 8/9] regulator: wm8400-regulator: Repair dodgy kerneldoc header formatting

2020-06-25 Thread Lee Jones
W=1 kernel builds report a lack of descriptions for various function arguments. In reality they are documented, but the formatting was not as expected '@.*:'. Instead, some weird arg identifiers were used. This change fixes the following warnings: drivers/regulator/wm8400-regulator.c:243: warn

Re: media/master bisection: v4l2-compliance-uvc.Buffer-ioctls-Input-0.VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF on rk3399-gru-kevin

2020-06-25 Thread Guillaume Tucker
Please see the bisection report below about a regression in v4l2-compliance with uvcvideo: [ 25.495039] uvcvideo: Failed to query (SET_CUR) UVC control 10 on unit 2: -32 (exp. 2). fail: v4l2-test-buffers.cpp(680): check_0(reqbufs.reserved, sizeof(reqbufs.reserved)) test

Re: [PATCH v2 0/2] zone-append support in io-uring and aio

2020-06-25 Thread Damien Le Moal
On 2020/06/26 15:37, javier.g...@samsung.com wrote: > On 26.06.2020 03:11, Damien Le Moal wrote: >> On 2020/06/26 2:18, Kanchan Joshi wrote: >>> [Revised as per feedback from Damien, Pavel, Jens, Christoph, Matias, >>> Wilcox] >>> >>> This patchset enables zone-append using io-uring/linux-aio, on

Re: [PATCH 2/2] xen/privcmd: Convert get_user_pages*() to pin_user_pages*()

2020-06-25 Thread John Hubbard
On 2020-06-25 22:26, Souptick Joarder wrote: On Thu, Jun 25, 2020 at 11:19 AM John Hubbard wrote: On 2020-06-24 20:02, Souptick Joarder wrote: ... @@ -612,13 +612,7 @@ static int lock_pages( static void unlock_pages(struct page *pages[], unsigned int nr_pages) { - unsigned int i; -

Re: drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable 'rng_dt_id'

2020-06-25 Thread Nathan Chancellor
On Fri, Jun 26, 2020 at 04:42:25PM +1000, Herbert Xu wrote: > On Tue, Jun 23, 2020 at 09:58:39PM +0800, kernel test robot wrote: > > > > >> drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable > > >> 'rng_dt_id' [-Wunused-const-variable] > >static const struct of_device_id rng_dt

Re: [PATCH RFC 0/5] Introduced new Cadence USBSSP DRD Driver.

2020-06-25 Thread Felipe Balbi
Hi, Pawel Laszczak writes: > This patch introduce new Cadence USBSS DRD driver to linux kernel. > > The Cadence USBSS DRD Controller is a highly configurable IP Core which > can be instantiated as Dual-Role Device (DRD), Peripheral Only and > Host Only (XHCI)configurations. > > The current drive

Re: [PATCH 1/2] xen/privcmd: Corrected error handling path and mark pages dirty

2020-06-25 Thread Souptick Joarder
On Fri, Jun 26, 2020 at 11:22 AM Jürgen Groß wrote: > > On 25.06.20 05:02, Souptick Joarder wrote: > > Previously, if lock_pages() end up partially mapping pages, it used > > to return -ERRNO due to which unlock_pages() have to go through > > each pages[i] till *nr_pages* to validate them. This ca

Re: drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable 'rng_dt_id'

2020-06-25 Thread Herbert Xu
On Tue, Jun 23, 2020 at 09:58:39PM +0800, kernel test robot wrote: > > >> drivers/char/hw_random/npcm-rng.c:166:34: warning: unused variable > >> 'rng_dt_id' [-Wunused-const-variable] >static const struct of_device_id rng_dt_id[] = { > ^ >1 warning gener

Re: [PATCH v2 0/2] zone-append support in io-uring and aio

2020-06-25 Thread javier.g...@samsung.com
On 26.06.2020 03:11, Damien Le Moal wrote: On 2020/06/26 2:18, Kanchan Joshi wrote: [Revised as per feedback from Damien, Pavel, Jens, Christoph, Matias, Wilcox] This patchset enables zone-append using io-uring/linux-aio, on block IO path. Purpose is to provide zone-append consumption ability t

[PATCH] crypto: af_alg - Fix regression on empty requests

2020-06-25 Thread Herbert Xu
On Tue, Jun 23, 2020 at 10:02:17AM -0700, Eric Biggers wrote: > > The source code for the two failing AF_ALG tests is here: > > https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/crypto/af_alg02.c > https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/crypto/a

Re: [PATCH v14 3/3] Input: new da7280 haptic driver

2020-06-25 Thread Uwe Kleine-König
Hello, from the PWM POV I'm happy now. Just a few minor comments that I noticed while checking the PWM details. On Thu, Jun 25, 2020 at 01:59:29AM +0900, Roy Im wrote: > + val = haptics->ps_seq_id << DA7280_PS_SEQ_ID_SHIFT | > + haptics->ps_seq_loop << DA7280_PS_SE

Re: [PATCH v2] kbuild: buildtar: add arm64 dtbs support

2020-06-25 Thread Masahiro Yamada
On Fri, Jun 26, 2020 at 5:51 AM Domenico Andreoli wrote: > > From: Domenico Andreoli > > Make 'make tar-pkg' install dtbs on arm64. > > Signed-off-by: Domenico Andreoli > > v2: > - Destination path includes the kernel version, as expected > > --- > scripts/package/buildtar |9 + >

URGENT,

2020-06-25 Thread FRANK
Dear Friend, How are you today with your family, Hope fine? Please, it’s my great pleasure to contact you today. I am Mr. Frank Nack a banker by profession from Burkina Faso. Please, I want our bank management to transfer an abandoned sum of (US$7.5M) into your bank account. This business is

[RFC]PATCH] exfat: integrates dir-entry getting and validation

2020-06-25 Thread Tetsuhiro Kohada
Add validation for num, bh and type on getting dir-entry. ('file' and 'stream-ext' dir-entries are pre-validated to ensure success) Renamed exfat_get_dentry_cached() to exfat_get_validated_dentry() due to a change in functionality. Integrate type-validation with simplified. This will also recogniz

Re: [PATCH v2 0/3] fixes and update to essiv support

2020-06-25 Thread Herbert Xu
On Sun, Jun 21, 2020 at 02:19:56PM +0300, Gilad Ben-Yossef wrote: > Small fixes and adapt essiv support to the new template format > > --- > Changes from v1: > - Incorporate coding style fixes suggested by Markus Elfring. > > Gilad Ben-Yossef (3): > crypto: ccree: fix resource leak on error pat

Re: [PATCH] crypto: ccp: remove redundant assignment to variable ret

2020-06-25 Thread Herbert Xu
On Thu, Jun 18, 2020 at 11:12:29AM +0100, Colin King wrote: > From: Colin Ian King > > The variable ret is being assigned with a value that is never read > and it is being updated later with a new value. The assignment is > redundant and can be removed. > > Addresses-Coverity: ("Unused value")

Re: [PATCH] crypto: img-hash: remove redundant initialization of variable err

2020-06-25 Thread Herbert Xu
On Thu, Jun 18, 2020 at 11:16:25AM +0100, Colin King wrote: > From: Colin Ian King > > The variable err is being initialized with a value that is never read > and it is being updated later with a new value. The initialization is > redundant and can be removed. > > Addresses-Coverity: ("Unused v

Re: [PATCH 1/2] cpt-crypto: don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified

2020-06-25 Thread Herbert Xu
On Wed, Jun 17, 2020 at 09:48:56AM -0400, Mikulas Patocka wrote: > There is this call chain: > cvm_encrypt -> cvm_enc_dec -> cptvf_do_request -> process_request -> kzalloc > where we call sleeping allocator function even if CRYPTO_TFM_REQ_MAY_SLEEP > was not specified. > > Signed-off-by: Mikulas

Re: [PATCHv3 0/2] Convert QCOM watchdog timer bindings to YAML

2020-06-25 Thread Sai Prakash Ranjan
On 2020-06-26 02:48, Guenter Roeck wrote: On Fri, Jun 26, 2020 at 12:52:31AM +0530, Sai Prakash Ranjan wrote: > > > I don't think the watchdog mailing list has been copied on this series, > meaning I don't have a copy that I could apply if I wanted to. I kept you in CC for all the revisions but

Re: [PATCH v2] crypto: hisilicon - fix strncpy warning with strscpy

2020-06-25 Thread Herbert Xu
On Mon, Jun 15, 2020 at 11:38:37AM +0800, Zhangfei Gao wrote: > Use strscpy to fix the warning > warning: 'strncpy' specified bound 64 equals destination size > > Reported-by: kernel test robot > Signed-off-by: Zhangfei Gao > --- > v2: Use strscpy instead of strlcpy since better truncation handl

[PATCH v7] hwmon: add Corsair Commander Pro driver

2020-06-25 Thread Marius Zachmann
This is v7 of a driver for the Corsair Commander Pro. It provides sysfs attributes for: - Reading fan speed - Reading temp sensors - Reading voltage values - Writing pwm and reading last written pwm - Reading fan and temp connection status It is an usb driver, so it needs to be ignored by usbhid.

Re: [Bug, sched, 5.8-rc2]: PREEMPT kernels crashing in check_preempt_wakeup() running fsx on XFS

2020-06-25 Thread Dave Chinner
On Fri, Jun 26, 2020 at 10:47:22AM +1000, Dave Chinner wrote: > Hi folks, > > I turned on CONFIG_PREEMPT=y yesterday to try to reproduce problems > Darrick was having with one of my patchsets. We've both been seeing > a dead stop panic on these configs, and I managed to find a > relatively reliabl

Re: [PATCH 1/2] xen/privcmd: Corrected error handling path and mark pages dirty

2020-06-25 Thread Jürgen Groß
On 25.06.20 05:02, Souptick Joarder wrote: Previously, if lock_pages() end up partially mapping pages, it used to return -ERRNO due to which unlock_pages() have to go through each pages[i] till *nr_pages* to validate them. This can be avoided by passing correct number of partially mapped pages &

Re: [PATCH 1/2] xen/privcmd: Corrected error handling path and mark pages dirty

2020-06-25 Thread Souptick Joarder
On Fri, Jun 26, 2020 at 5:01 AM Boris Ostrovsky wrote: > > On 6/24/20 11:02 PM, Souptick Joarder wrote: > > Previously, if lock_pages() end up partially mapping pages, it used > > to return -ERRNO due to which unlock_pages() have to go through > > each pages[i] till *nr_pages* to validate them. Th

Re: [PATCH v2] ring-buffer: Have nested events still record running time stamp

2020-06-25 Thread kernel test robot
Hi Steven, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on linux/master linus/master v5.8-rc2 next-20200625] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [PATCH 2/2] xen/privcmd: Convert get_user_pages*() to pin_user_pages*()

2020-06-25 Thread Souptick Joarder
On Thu, Jun 25, 2020 at 11:19 AM John Hubbard wrote: > > On 2020-06-24 20:02, Souptick Joarder wrote: > > In 2019, we introduced pin_user_pages*() and now we are converting > > get_user_pages*() to the new API as appropriate. [1] & [2] could > > be referred for more information. This is case 5 as

Re: [Tee-dev] [PATCHv8 1/3] optee: use uuid for sysfs driver entry

2020-06-25 Thread Sumit Garg
On Thu, 25 Jun 2020 at 18:22, Maxim Uvarov wrote: > > On Wed, 24 Jun 2020 at 18:44, Jerome Forissier wrote: > > > > > > > > On 6/24/20 5:21 PM, James Bottomley wrote: > > > On Wed, 2020-06-24 at 16:17 +0530, Sumit Garg wrote: > > >> Apologies for delay in my reply as I was busy with some other st

Re: [PATCH net-next v2] xfrm: introduce oseq-may-wrap flag

2020-06-25 Thread Steffen Klassert
On Sat, May 30, 2020 at 02:39:12PM +0200, Petr Vaněk wrote: > RFC 4303 in section 3.3.3 suggests to disable anti-replay for manually > distributed ICVs in which case the sender does not need to monitor or > reset the counter. However, the sender still increments the counter and > when it reaches th

Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-06-25 Thread Christian Borntraeger
On 26.06.20 04:54, Luis Chamberlain wrote: > On Wed, Jun 24, 2020 at 08:37:55PM +0200, Christian Borntraeger wrote: >> >> >> On 24.06.20 20:32, Christian Borntraeger wrote: >> [...]> >>> So the translations look correct. But your change is actually a sematic >>> change >>> if(ret) will only tr

[rcu:rcu/urgent] BUILD SUCCESS b58e733fd774f3f4b49d9e7640d172a57e35200e

2020-06-25 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent branch HEAD: b58e733fd774f3f4b49d9e7640d172a57e35200e rcu: Fixup noinstr warnings elapsed time: 723m configs tested: 120 configs skipped: 5 The following configs have been built successfully. More

[rcu:rcu/test] BUILD SUCCESS 12f2d29942ce0b140b8f03679d9f1d36d552fa70

2020-06-25 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test branch HEAD: 12f2d29942ce0b140b8f03679d9f1d36d552fa70 Merge remote-tracking branch 'linus/master' into HEAD elapsed time: 723m configs tested: 120 configs skipped: 5 The following configs have been bu

Re: [PATCH v6 0/6] workingset protection/detection on the anonymous LRU list

2020-06-25 Thread Joonsoo Kim
2020년 6월 17일 (수) 오후 2:26, 님이 작성: > > From: Joonsoo Kim > > Hello, > > This patchset implements workingset protection and detection on > the anonymous LRU list. > > * Changes on v6 > - rework to reflect a new LRU balance model > - remove memcg charge timing stuff on v5 since alternative is already

Re: [Tee-dev] [PATCHv8 1/3] optee: use uuid for sysfs driver entry

2020-06-25 Thread Sumit Garg
On Thu, 25 Jun 2020 at 18:22, Maxim Uvarov wrote: > > On Wed, 24 Jun 2020 at 18:44, Jerome Forissier wrote: > > > > > > > > On 6/24/20 5:21 PM, James Bottomley wrote: > > > On Wed, 2020-06-24 at 16:17 +0530, Sumit Garg wrote: > > >> Apologies for delay in my reply as I was busy with some other st

Re: [Tee-dev] [PATCHv8 1/3] optee: use uuid for sysfs driver entry

2020-06-25 Thread Sumit Garg
On Fri, 26 Jun 2020 at 05:01, James Bottomley wrote: > > On Thu, 2020-06-25 at 19:54 +0530, Sumit Garg wrote: > > On Wed, 24 Jun 2020 at 20:51, James Bottomley > > wrote: > > > > > > On Wed, 2020-06-24 at 16:17 +0530, Sumit Garg wrote: > > > > Apologies for delay in my reply as I was busy with so

Re: [PATCH 08/12] driver-core: Introduce DEVICE_ATTR_ADMIN_{RO,RW}

2020-06-25 Thread Dan Williams
On Thu, Jun 25, 2020 at 10:06 PM Greg Kroah-Hartman wrote: > > On Thu, Jun 25, 2020 at 04:51:03PM -0700, Dan Williams wrote: > > A common pattern for using plain DEVICE_ATTR() instead of > > DEVICE_ATTR_RO() and DEVICE_ATTR_RW() is for attributes that want to > > limit read to only root. I.e. man

Re: [PATCH v6 4/6] mm/swapcache: support to handle the exceptional entries in swapcache

2020-06-25 Thread Joonsoo Kim
2020년 6월 19일 (금) 오전 10:33, Joonsoo Kim 님이 작성: > > On Wed, Jun 17, 2020 at 05:17:17AM -0700, Matthew Wilcox wrote: > > On Wed, Jun 17, 2020 at 02:26:21PM +0900, js1...@gmail.com wrote: > > > From: Joonsoo Kim > > > > > > Swapcache doesn't handle the exceptional entries since there is no case > > >

Re: [PATCH 08/12] driver-core: Introduce DEVICE_ATTR_ADMIN_{RO,RW}

2020-06-25 Thread Greg Kroah-Hartman
On Thu, Jun 25, 2020 at 04:51:03PM -0700, Dan Williams wrote: > A common pattern for using plain DEVICE_ATTR() instead of > DEVICE_ATTR_RO() and DEVICE_ATTR_RW() is for attributes that want to > limit read to only root. I.e. many users of DEVICE_ATTR() are > specifying 0400 or 0600 for permissions

Re: [PATCH v3 6/8] mm/gup: use a standard migration target allocation callback

2020-06-25 Thread Joonsoo Kim
2020년 6월 25일 (목) 오후 9:08, Michal Hocko 님이 작성: > > On Tue 23-06-20 15:13:46, Joonsoo Kim wrote: > > From: Joonsoo Kim > > > > There is a well-defined migration target allocation callback. > > It's mostly similar with new_non_cma_page() except considering CMA pages. > > > > This patch adds a CMA con

Re: [PATCH v3 5/8] mm/migrate: make a standard migration target allocation function

2020-06-25 Thread Joonsoo Kim
2020년 6월 25일 (목) 오후 9:05, Michal Hocko 님이 작성: > > On Tue 23-06-20 15:13:45, Joonsoo Kim wrote: > > From: Joonsoo Kim > > > > There are some similar functions for migration target allocation. Since > > there is no fundamental difference, it's better to keep just one rather > > than keeping all vari

Re: [PATCH] mm/spase: never partially remove memmap for early section

2020-06-25 Thread David Hildenbrand
> Am 26.06.2020 um 00:40 schrieb Wei Yang : > > On Thu, Jun 25, 2020 at 07:53:37AM +0200, David Hildenbrand wrote: >> >> Am 25.06.2020 um 01:47 schrieb Dan Williams : >>> >>> On Wed, Jun 24, 2020 at 3:44 PM Wei Yang >>> wrote: >>> [..] > So, you are right that there is a mismatch

[PATCH RFC 1/5] dt-bindings: add binding for CDNSP-DRD controller

2020-06-25 Thread Pawel Laszczak
This patch aim at documenting USB related dt-bindings for the Cadence CDNSP-DRD controller. Signed-off-by: Pawel Laszczak --- .../devicetree/bindings/usb/cdns-cdnsp.yaml | 104 ++ 1 file changed, 104 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/cdns-c

[PATCH RFC 3/5] usb: cdnsp: Device side header file for CDNSP driver

2020-06-25 Thread Pawel Laszczak
Patch defines macros, registers and structures used by Device side driver. Because the size of main patch is very big, I’ve decided to create separate patch for gadget.h. It should simplify reviewing the code. Signed-off-by: Pawel Laszczak --- drivers/usb/cdnsp/gadget.h | 1446 +

[PATCH RFC 2/5] usb:cdns3: Add pci to platform driver wrapper

2020-06-25 Thread Pawel Laszczak
Patch adds PCI specific glue driver that creates and registers in-system cdns-usbssp platform device. Thanks to that we will be able to use the cdns-usbssp platform driver for USBSS-DEV controller build on PCI board. Signed-off-by: Pawel Laszczak --- drivers/usb/Kconfig | 1 + driver

[PATCH RFC 5/5] usb: cdnsp: Add tracepoints for CDNSP driver

2020-06-25 Thread Pawel Laszczak
Patch adds the series of tracepoints that can be used for debugging issues detected in driver. Signed-off-by: Pawel Laszczak --- drivers/usb/cdnsp/Makefile | 5 + drivers/usb/cdnsp/debug.h | 583 ++ drivers/usb/cdnsp/ep0.c| 24 +- drivers/usb/cdnsp/gadget.c | 61

[PATCH RFC 0/5] Introduced new Cadence USBSSP DRD Driver.

2020-06-25 Thread Pawel Laszczak
This patch introduce new Cadence USBSS DRD driver to linux kernel. The Cadence USBSS DRD Controller is a highly configurable IP Core which can be instantiated as Dual-Role Device (DRD), Peripheral Only and Host Only (XHCI)configurations. The current driver has been validated with FPGA burned. We

Re: [PATCH 06/10] media: mtk-vcodec: venc: specify supported formats per-chip

2020-06-25 Thread Alexandre Courbot
Hi Tiffany, On Tue, Jun 23, 2020 at 10:29 AM Tiffany Lin wrote: > > On Mon, 2020-06-22 at 21:44 +0900, Alexandre Courbot wrote: > > On Fri, Jun 19, 2020 at 4:26 PM Tiffany Lin > > wrote: > > > > > > On Wed, 2020-05-20 at 17:27 +0900, Alexandre Courbot wrote: > > > > Different chips have differe

Re: [PATCH v3 4/8] mm/hugetlb: make hugetlb migration callback CMA aware

2020-06-25 Thread Joonsoo Kim
2020년 6월 25일 (목) 오후 8:54, Michal Hocko 님이 작성: > > On Tue 23-06-20 15:13:44, Joonsoo Kim wrote: > > From: Joonsoo Kim > > > > new_non_cma_page() in gup.c which try to allocate migration target page > > requires to allocate the new page that is not on the CMA area. > > new_non_cma_page() implements

Re: [PATCH] powerpc/fixmap: Fix FIX_EARLY_DEBUG_BASE when page size is 256k

2020-06-25 Thread Michael Ellerman
On Mon, 15 Jun 2020 07:48:25 + (UTC), Christophe Leroy wrote: > FIX_EARLY_DEBUG_BASE reserves a 128k area for debuging. > > When page size is 256k, the calculation results in a 0 number of > pages, leading to the following failure: > > CC arch/powerpc/kernel/asm-offsets.s > In file inc

Re: [PATCH v3 0/2] powerpc: CMDLINE config cleanup

2020-06-25 Thread Michael Ellerman
On Fri, 12 Jun 2020 10:42:18 +1200, Chris Packham wrote: > This series cleans up the config options related to the boot command line. > > Chris Packham (2): > powerpc: Remove inaccessible CMDLINE default > powerpc: configs: remove CMDLINE_BOOL > > arch/powerpc/Kconfig

Re: [PATCH 2/2] pci: Add parameter to disable attaching untrusted devices

2020-06-25 Thread Greg Kroah-Hartman
On Thu, Jun 25, 2020 at 05:27:10PM -0700, Rajat Jain wrote: > Introduce a PCI parameter that disables the automatic attachment of > untrusted devices to their drivers. You didn't document this new api anywhere :(

Re: [PATCH] powerpc/8xx: Modify ptep_get()

2020-06-25 Thread Michael Ellerman
On Thu, 18 Jun 2020 12:07:46 + (UTC), Christophe Leroy wrote: > Move ptep_get() close to pte_update(), in an ifdef section already > dedicated to powerpc 8xx. This section contains explanation about > the layout of page table entries. > > Also modify it to return 4 times the pte value instead

Re: [PATCH 0/3] powerpc/dt_cpu_ftrs: Make use of ISA_V3_* macros

2020-06-25 Thread Michael Ellerman
On Wed, 10 Jun 2020 18:51:11 -0300, Murilo Opsfelder Araujo wrote: > The first patch removes unused macro ISA_V2_07B. The second and third > patches make use of macros ISA_V3_0B and ISA_V3_1, respectively, > instead their corresponding literals. > > Murilo Opsfelder Araujo (3): > powerpc/dt_cpu

Re: [PATCH 1/3] crypto: pass the flag CRYPTO_ALG_ALLOCATES_MEMORY

2020-06-25 Thread Herbert Xu
On Wed, Jun 17, 2020 at 11:09:28AM -0400, Mikulas Patocka wrote: > > Index: linux-2.6/include/linux/crypto.h > === > --- linux-2.6.orig/include/linux/crypto.h > +++ linux-2.6/include/linux/crypto.h > @@ -97,9 +97,18 @@ > #define CRYPT

Re: [PATCH V2] powerpc/pseries/svm: Drop unused align argument in alloc_shared_lppaca() function

2020-06-25 Thread Michael Ellerman
On Fri, 12 Jun 2020 19:59:53 +0530, Satheesh Rajendran wrote: > Argument "align" in alloc_shared_lppaca() was unused inside the > function. Let's drop it and update code comment for page alignment. Applied to powerpc/next. [1/1] powerpc/pseries/svm: Drop unused align argument in alloc_shared_lppa

Re: [PATCH] powerpc/mm: Fix typo in IS_ENABLED()

2020-06-25 Thread Michael Ellerman
On Fri, 5 Jun 2020 07:18:06 -0700, Kees Cook wrote: > IS_ENABLED() matches names exactly, so the missing "CONFIG_" prefix > means this code would never be built. > > Also fixes a missing newline in pr_warn(). Applied to powerpc/next. [1/1] powerpc/mm: Fix typo in IS_ENABLED() https://git.k

Re: [PATCH] powerpc/ptdump: Fix build failure in hashpagetable.c

2020-06-25 Thread Michael Ellerman
On Mon, 15 Jun 2020 13:18:39 + (UTC), Christophe Leroy wrote: > H_SUCCESS is only defined when CONFIG_PPC_PSERIES is defined. > > != H_SUCCESS means != 0. Modify the test accordingly. Applied to powerpc/next. [1/1] powerpc/ptdump: Fix build failure in hashpagetable.c https://git.kernel

Re: [PATCH] arch: powerpc: ppc4xx compile flag optimizations

2020-06-25 Thread Michael Ellerman
On Thu, 22 Dec 2016 09:06:08 +0100, John Crispin wrote: > This patch splits up the compile flags between ppc40x and ppc44x. Applied to powerpc/next. [1/1] powerpc/4xx: ppc4xx compile flag optimizations https://git.kernel.org/powerpc/c/548ad77d10f7ad6e5f84a0026978da2ed1df0dae cheers

Re: [PATCH] powerpc/fsl_booke/32: fix build with CONFIG_RANDOMIZE_BASE

2020-06-25 Thread Michael Ellerman
On Sat, 13 Jun 2020 23:28:01 +0700, Arseny Solokha wrote: > Building the current 5.8 kernel for a e500 machine with > CONFIG_RANDOMIZE_BASE set yields the following failure: > > arch/powerpc/mm/nohash/kaslr_booke.c: In function 'kaslr_early_init': > arch/powerpc/mm/nohash/kaslr_booke.c:387:2:

Re: [fedora-arm] Banana Pi-R1 - kernel 5.6.0 and later broken - b43 DSA

2020-06-25 Thread Florian Fainelli
On 6/25/2020 4:23 PM, Peter Robinson wrote: >> I'm having troubles with the Banana Pi-R1 router with newer kernels. No >> config changes, config works well since a lot of lernel updates ... >> Banana Pi-R1 is configured via systemd-networkd and uses the DSA >> (Distributed Switch Architecture) w

Re: [klibc] process '/usr/bin/rsync' started with executable stack

2020-06-25 Thread Christophe Leroy
Le 25/06/2020 à 22:20, Kees Cook a écrit : On Thu, Jun 25, 2020 at 01:04:29PM +0300, Dan Carpenter wrote: On Wed, Jun 24, 2020 at 12:39:24PM -0700, Kees Cook wrote: On Wed, Jun 24, 2020 at 07:51:48PM +0300, Dan Carpenter wrote: In Debian testing the initrd triggers the warning. [ 34.5298

Re: [PATCH] platform/chrome: Clarify SPDX license with GPL-2.0-only

2020-06-25 Thread Greg Kroah-Hartman
On Thu, Jun 25, 2020 at 10:06:03PM +0300, Andy Shevchenko wrote: > On Thu, Jun 25, 2020 at 9:25 PM Enric Balletbo i Serra > wrote: > > > > Remove the ambiguity with GPL-2.0 and use an explicit GPL-2.0-only > > tag. > > Is there any? Last time IIRC Greg told me that in the kernel the old > and new

Re: [PATCH] fixing ERROR: Macros with complex values must be enclosed within parentheses.

2020-06-25 Thread Greg Kroah-Hartman
On Thu, Jun 25, 2020 at 10:17:23PM -0400, B K Karthik wrote: > soc_camera.c: > > fixing ERROR: Macros with complex values must be enclused within parentheses. > > Signed-off-by: B K Karthik > --- > drivers/staging/media/soc_camera/soc_camera.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deleti

Re: [PATCH v2] ring-buffer: Have nested events still record running time stamp

2020-06-25 Thread kernel test robot
Hi Steven, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/perf/core] [also build test WARNING on linux/master linus/master v5.8-rc2 next-20200625] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

[git pull] drm fixes for v5.8-rc3

2020-06-25 Thread Dave Airlie
Hi Linus, Usual rc3 pickup, lots of little fixes all over, The core VT registration regression fix is probably the largest, otherwise ttm, amdgpu and tegra are the bulk, with some minor driver fixes. No i915 pull this week which may or may not mean I get 2x of it next week, we'll see how it goes.

Re: [PATCH] Bluetooth: btusb: Comment on unbalanced pm reference

2020-06-25 Thread Marcel Holtmann
Hi Abhishek, > Add a comment clarifying that a PM reference in btusb_qca_cmd_timeout is > not unbalanced because it results in a device reset. > > Signed-off-by: Abhishek Pandit-Subedi > --- > > drivers/bluetooth/btusb.c | 1 + > 1 file changed, 1 insertion(+) patch has been applied to bluetoot

[PATCH v3 2/2] USB: serial: cp210x: Proper RTS control when buffers fill

2020-06-25 Thread Phu Luu
From: Brant Merryman CP210x hardware disables auto-RTS but leaves auto-CTS when in hardware flow control mode and UART on cp210x hardware is disabled. This allows data to flow out, but new data will not come into the port. When re-opening the port, if auto-CTS is enabled on the cp210x, then auto-

[PATCH v3 1/2] USB: serial: cp210x: Enable usb generic throttle/unthrottle

2020-06-25 Thread Phu Luu
From: Brant Merryman Assign the .throttle and .unthrottle functions to be generic function in the driver structure to prevent data loss that can otherwise occur if the host does not enable USB throttling. Signed-off-by: Phu Luu Signed-off-by: Brant Merryman --- 06/09/2020: Patch v3 1/2 Modifie

Re: [PATCH] cpufreq: schedutil: force frequency update when limits change

2020-06-25 Thread Wei Wang
On Thu, Jun 25, 2020 at 7:32 PM Viresh Kumar wrote: > > On 26-06-20, 07:44, Viresh Kumar wrote: > > On 25-06-20, 13:47, Wei Wang wrote: > > > On Thu, Jun 25, 2020 at 3:23 AM Viresh Kumar > > > wrote: > > > > I am sorry but I am not fully sure of what the problem is. Can you > > > > describe that

[GIT RFC PULL rcu/urgent] Fix noinstr warnings for KCSAN

2020-06-25 Thread Paul E. McKenney
Hello! This pull request contains a single commit that uses "arch_" atomic operations to avoid the instrumentation that comes with the non-"arch_" versions. In preparation for that commit, it also has another commit that makes these "arch_" atomic operations available to generic code. Without th

[PATCH net-next] bonding: Remove extraneous parentheses in bond_setup

2020-06-25 Thread Nathan Chancellor
Clang warns: drivers/net/bonding/bond_main.c:4657:23: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((BOND_MODE(bond) == BOND_MODE_ACTIVEBACKUP)) ^ drivers/net/bonding/bond_main.c:4681:23: warning:

[PATCH V2] scsi: eesox: Fix different dev_id between 'request_irq()' and 'free_irq()'

2020-06-25 Thread Christophe JAILLET
The dev_id used in 'request_irq()' and 'free_irq()' should match. So use 'info' in both cases. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Christophe JAILLET --- V2: update free_irq instead of request_irq in order not to obviously break code --- drivers/scsi/arm/eesox.c | 2 +- 1

Re: [PATCH v3 3/8] mm/hugetlb: unify migration callbacks

2020-06-25 Thread Joonsoo Kim
2020년 6월 25일 (목) 오후 8:26, Michal Hocko 님이 작성: > > On Tue 23-06-20 15:13:43, Joonsoo Kim wrote: > > From: Joonsoo Kim > > > > There is no difference between two migration callback functions, > > alloc_huge_page_node() and alloc_huge_page_nodemask(), except > > __GFP_THISNODE handling. This patch ad

[PATCH V2] scsi: powertec: Fix different dev_id between 'request_irq()' and 'free_irq()'

2020-06-25 Thread Christophe JAILLET
The dev_id used in 'request_irq()' and 'free_irq()' should match. So use 'info' in both cases. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Christophe JAILLET --- V2: update free_irq instead of request_irq in order not to obviously break code --- drivers/scsi/arm/powertec.c | 2 +-

Re: [PATCH 1/2] HID: wiimote: Initialize the controller LEDs with a device ID value

2020-06-25 Thread David Korth
On Thursday, June 25, 2020 3:09:46 AM EDT David Rheinsberg wrote: > Hi > > On Thu, 25 Jun 2020 at 00:09, David Korth wrote: > > I've been manually setting the player IDs on Wii controllers when running > > multiplayer games by writing to the /sys/class/leds/ directory. Having the > > hid-wiimote

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-06-25 Thread Bart Van Assche
On 2020-06-25 01:16, Martin Kepplinger wrote: > Also, why isn't "autopm" used in its ioctl() implementation > (as opposed to in "sr")? Some of the scsi_autopm_{get,put}_device() calls in the sr driver have been introduced by me before I fully understood runtime pm. I will have a another look to se

[PATCH] samples cn_test: fix cn leakage

2020-06-25 Thread libolingjl
From: liboling Error return when add the second cn_test_id, we need del the first cn_test_id. Signed-off-by: liboling --- samples/connector/cn_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/connector/cn_test.c b/samples/connector/cn_test.c index 0958a171d0..275e3f9082 10064

[PATCH V3 1/3] cpufreq: Fix locking issues with governors

2020-06-25 Thread Viresh Kumar
The locking around governors handling isn't adequate currently. The list of governors should never be traversed without locking in place. Also we must make sure the governor isn't removed while it is still referenced by code. Reported-by: Quentin Perret Signed-off-by: Viresh Kumar --- drivers/c

[PATCH V3 2/3] cpufreq: Register governors at core_initcall

2020-06-25 Thread Viresh Kumar
From: Quentin Perret Currently, most CPUFreq governors are registered at core_initcall time when used as default, and module_init otherwise. In preparation for letting users specify the default governor on the kernel command line, change all of them to use core_initcall unconditionally, as is alr

[PATCH V3 3/3] cpufreq: Specify default governor on command line

2020-06-25 Thread Viresh Kumar
From: Quentin Perret Currently, the only way to specify the default CPUfreq governor is via Kconfig options, which suits users who can build the kernel themselves perfectly. However, for those who use a distro-like kernel (such as Android, with the Generic Kernel Image project), the only way to

[PATCH v3 0/3] cpufreq: Allow default governor on cmdline and fix locking issues

2020-06-25 Thread Viresh Kumar
Hi, I have picked Quentin's series over my patch, modified both and tested. V2->V3: - default_governor is a string now and we don't set it on governor registration or unregistration anymore. - Fixed locking issues in cpufreq_init_policy(). -- Viresh Original cover letter fro Quentin: This se

RE: [PATCH v2 2/2] arm64: mm: reserve per-numa CMA after numa_init

2020-06-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Thursday, June 25, 2020 11:16 PM > To: Song Bao Hua (Barry Song) ; h...@lst.de; > m.szyprow...@samsung.com; w...@kernel.org; > ganapatrao.kulka...@cavium.com; catalin.mari...@arm.com > Cc: io...@lists.linux-fo

[PATCH 1/1] drm/bridge: analogix_dp: Add enable_psr param

2020-06-25 Thread Shawn Anastasio
Add a toggle to enable/disable PSR from the kernel commandline. This is useful in situations where PSR is supported by the hardware but is not desired by the user. One such use case is working around hardware errata. Signed-off-by: Shawn Anastasio --- drivers/gpu/drm/bridge/analogix/analogix_dp_

[PATCH 0/1] drm/bridge: analogix_dp: Add PSR toggle

2020-06-25 Thread Shawn Anastasio
This patch adds a commandline toggle for the Panel Self-Refresh feature to the analogix_dp bridge driver, much like the one in i915. This is required to work around a hardware fault in some Pinebook Pro units from the May 2020 batch whose display panels seem to behave sporadically when PSR is enab

mmotm 2020-06-25-20-36 uploaded

2020-06-25 Thread akpm
The mm-of-the-moment snapshot 2020-06-25-20-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 wi

Re: [RFC][PATCH] ring-buffer: Have nested events still record running time stamp

2020-06-25 Thread Steven Rostedt
On Thu, 25 Jun 2020 22:36:11 -0400 Steven Rostedt wrote: > +static void rb_time_set(rb_time_t *t, u64 val) > +{ > + struct rb_time_read r; > + > + rb_time_read_set(&r, val); > + > + do { > + r.start_cnt = local_inc_return(&t->start_cnt); > + local_set(&t->top,

[PATCH v4] selftests: tpm: upgrade TPM2 tests from Python 2 to Python 3

2020-06-25 Thread Pengfei Xu
Python 2 is no longer supported by the Python upstream project, so upgrade TPM2 tests to Python 3. Signed-off-by: Pengfei Xu --- tools/testing/selftests/tpm2/test_smoke.sh | 4 +- tools/testing/selftests/tpm2/test_space.sh | 2 +- tools/testing/selftests/tpm2/tpm2.py | 56 +++

linux-next: manual merge of the usb tree with the usb.current tree

2020-06-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the usb tree got a conflict in: drivers/usb/cdns3/ep0.c between commit: c0e2a0341cd8 ("usb: cdns3: ep0: fix the test mode set incorrectly") from the usb.current tree and commit: 62fb45d317c5 ("USB: ch9: add "USB_" prefix in front of TEST defines") fr

Re: [PATCH v3] selftests: tpm: upgrade TPM2 tests from Python 2 to Python 3

2020-06-25 Thread Pengfei Xu
Hi Jarkko, I missed this improvement in previous mail. Will do. Thanks! BR. On 2020-06-26 at 00:51:45 +0300, Jarkko Sakkinen wrote: > On Fri, Jun 26, 2020 at 12:37:54AM +0800, Pengfei Xu wrote: > > Python 2 is no longer supported by the Python upstream project, so > > upgrade TPM2 tests to Py

linux-next: manual merge of the rcu tree with the tip tree

2020-06-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the rcu tree got a conflict in: include/linux/compiler.h between commit: 1d8fcbb76bb1 ("compiler.h: Move instrumentation_begin()/end() into new header") from the tip tree and commit: 3b9946ebaf2b ("rcu: Fixup noinstr warnings") from the rcu tree.

Re: [PATCH v2 0/2] zone-append support in io-uring and aio

2020-06-25 Thread Damien Le Moal
On 2020/06/26 2:18, Kanchan Joshi wrote: > [Revised as per feedback from Damien, Pavel, Jens, Christoph, Matias, Wilcox] > > This patchset enables zone-append using io-uring/linux-aio, on block IO path. > Purpose is to provide zone-append consumption ability to applications which > are > using zo

  1   2   3   4   5   6   7   8   9   10   >