[PATCH] drm: sysfs: convert sysfs snprintf to sysfs_emit

2021-04-03 Thread Carlis
From: Xuezhi Zhang Fix the following coccicheck warning: drivers/gpu/drm/drm_sysfs.c:172:8-16: WARNING: use scnprintf or sprintf drivers/gpu/drm/drm_sysfs.c:185:8-16: WARNING: use scnprintf or sprintf drivers/gpu/drm/drm_sysfs.c:159:8-16: WARNING: use scnprintf or sprintf Signed-off-by: Xuezh

arch/m68k/coldfire/pci.c:115:17: sparse: sparse: incorrect type in assignment (different base types)

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: 005b73d0dd83c9cb9420a196bea8070cde30ecac m68knommu: __force type casts for raw IO access date: 8 months ago config: m68k-randconfig-s032-20210403 (attached

Re: [PATCH 3/5] crypto: ccp: Play nice with vmalloc'd memory for SEV command structs

2021-04-03 Thread Christophe Leroy
Le 03/04/2021 à 01:37, Sean Christopherson a écrit : Copy vmalloc'd data to an internal buffer instead of rejecting outright so that callers can put SEV command buffers on the stack without running afoul of CONFIG_VMAP_STACK=y. Currently, the largest supported command takes a 68 byte buffer,

Re: [PATCH v3 00/30] staging: rtl8723bs: remove RT_TRACE logs in core/*

2021-04-03 Thread Fabio Aiuto
On Sat, Apr 03, 2021 at 01:02:04PM -0700, Joe Perches wrote: > On Sat, 2021-04-03 at 19:28 +0200, Fabio Aiuto wrote: > > On Sat, Apr 03, 2021 at 09:17:37AM -0700, Joe Perches wrote: > > > On Sat, 2021-04-03 at 17:21 +0200, Fabio Aiuto wrote: > > > > On Sat, Apr 03, 2021 at 08:02:25AM -0700, Joe Per

[PATCH] net: ag71xx: Slightly simplify 'ag71xx_rx_packets()'

2021-04-03 Thread Christophe JAILLET
There is no need to use 'list_for_each_entry_safe' here, as nothing is removed from the list in the 'for' loop. Use 'list_for_each_entry' instead, it is slightly less verbose. Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/atheros/ag71xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH 1/5] crypto: ccp: Detect and reject vmalloc addresses destined for PSP

2021-04-03 Thread Christophe Leroy
Le 03/04/2021 à 01:36, Sean Christopherson a écrit : Explicitly reject vmalloc'd data as the source for SEV commands that are sent to the PSP. The PSP works with physical addresses, and __pa() will not return the correct address for a vmalloc'd pionter, which at best will cause the command to

Re: [PATCH net 1/2] net: hns3: Remove the left over redundant check & assignment

2021-04-03 Thread Leon Romanovsky
On Sat, Apr 03, 2021 at 02:35:19AM +0100, Salil Mehta wrote: > This removes the left over check and assignment which is no longer used > anywhere in the function and should have been removed as part of the > below mentioned patch. > > Fixes: 012fcb52f67c ("net: hns3: activate reset timer when call

Re: [PATCH] thermal/drivers/tsens: fix missing put_device error

2021-04-03 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.12-rc5 next-20210401] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://

Re: [PATCH net-next v1 4/9] net: dsa: qca: ar9331: make proper initial port defaults

2021-04-03 Thread Oleksij Rempel
Am 04.04.21 um 02:16 schrieb Vladimir Oltean: > On Sat, Apr 03, 2021 at 01:48:43PM +0200, Oleksij Rempel wrote: >> Make sure that all external port are actually isolated from each other, >> so no packets are leaked. >> >> Signed-off-by: Oleksij Rempel >> --- >> drivers/net/dsa/qca/ar9331.c | 145

vdpa.c:undefined reference to `atomic64_read_386'

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: 7ed9e3d97c32d969caded2dfb6e67c1a2cc5a0b1 vhost-vdpa: fix page pinning leakage in error path date: 6 months ago config: um-randconfig-r016-20210404 (attached

Re: [PATCH] thermal/drivers/tsens: fix missing put_device error

2021-04-03 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.12-rc5 next-20210401] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://

Re: [PATCH net-next v1 1/9] net: dsa: add rcv_post call back

2021-04-03 Thread Oleksij Rempel
Am 04.04.21 um 01:21 schrieb Vladimir Oltean: > On Sat, Apr 03, 2021 at 05:05:34PM +0300, Vladimir Oltean wrote: >> On Sat, Apr 03, 2021 at 01:48:40PM +0200, Oleksij Rempel wrote: >>> Some switches (for example ar9331) do not provide enough information >>> about forwarded packets. If the switch dec

[PATCH] staging: rtl8188eu: replace goto with direct return

2021-04-03 Thread Deborah Brouwer
To conform with Linux kernel coding style, replace goto statement that does no cleanup with a direct return. To preserve meaning, copy comments from the original goto statement to the return statement. Identified by the checkpatch warning: WARNING: void function return statements are not generall

Re: [PATCH net-next v1 2/9] net: dsa: tag_ar9331: detect IGMP and MLD packets

2021-04-03 Thread Oleksij Rempel
Am 04.04.21 um 02:02 schrieb Vladimir Oltean: > On Sat, Apr 03, 2021 at 07:14:56PM +0200, Oleksij Rempel wrote: >> Am 03.04.21 um 16:49 schrieb Andrew Lunn: @@ -31,6 +96,13 @@ static struct sk_buff *ar9331_tag_xmit(struct sk_buff *skb, __le16 *phdr; u16 hdr; +

metric.c:undefined reference to `atomic64_read_386'

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: 18f473b384a64cef69f166a3e2b73d3d2eca82c6 ceph: periodically send perf metrics to MDSes date: 8 months ago config: um-randconfig-r016-20210404 (attached as .

[PATCH] Staging: rtl8192u: ieee80211: fixed a trailing statements coding style issue.

2021-04-03 Thread dev . dragon
From: Dmitrii Wolf Signed-off-by: Dmitrii Wolf --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c

Re: [RFC PATCH v2 1/1] arm64: Implement stack trace termination record

2021-04-03 Thread Madhavan T. Venkataraman
On 4/3/21 10:46 PM, Madhavan T. Venkataraman wrote: >> I'm somewhat arm-ignorant, so take the following comments with a grain >> of salt. >> >> >> I don't think changing these to 'bl' is necessary, unless you wanted >> __primary_switched() and __secondary_switched() to show up in the >> stacktra

caps.c:undefined reference to `atomic64_dec_386'

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: 4f1d756def68588b88068af1d5a4a3b6dc7e6e2a ceph: add global total_caps to count the mdsc's total caps number date: 8 months ago config: um-randconfig-r016-202

[PATCH] thermal/drivers/tsens: fix missing put_device error

2021-04-03 Thread zhuguangqing83
From: Guangqing Zhu Fixes coccicheck error: drivers/thermal/qcom/tsens.c:759:4-10: ERROR: missing put_device; call of_find_device_by_node on line 715, but without a corresponding object release within this function. Fixes: a7ff82976122 ("drivers: thermal: tsens: Merge tsens-common.c into tsens.

[syzbot] WARNING: suspicious RCU usage in getname_flags

2021-04-03 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:2bb25b3a Merge tag 'mips-fixes_5.12_3' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1284cc31d0 kernel config: https://syzkaller.appspot.com/x/.config?x=78ef1d159159890 dash

dir.c:undefined reference to `atomic64_dec_386'

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: f9009efac49c830460f55b9f6c08ee0d76f31b0d ceph: add dentry lease metric support date: 10 months ago config: um-randconfig-r016-20210404 (attached as .config)

Re: [RFC PATCH v2 1/1] arm64: Implement stack trace termination record

2021-04-03 Thread Madhavan T. Venkataraman
On 4/3/21 10:59 AM, Josh Poimboeuf wrote: > On Thu, Apr 01, 2021 at 10:24:04PM -0500, madve...@linux.microsoft.com wrote: >> From: "Madhavan T. Venkataraman" >> @@ -447,9 +464,9 @@ SYM_FUNC_START_LOCAL(__primary_switched) >> #endif >> bl switch_to_vhe // Prefer VHE

Re: [RFC PATCH v1 0/4] arm64: Implement stack trace reliability checks

2021-04-03 Thread Madhavan T. Venkataraman
On 4/3/21 12:01 PM, Josh Poimboeuf wrote: > On Tue, Mar 30, 2021 at 02:09:51PM -0500, madve...@linux.microsoft.com wrote: >> From: "Madhavan T. Venkataraman" >> >> There are a number of places in kernel code where the stack trace is not >> reliable. Enhance the unwinder to check for those cases

/usr/bin/ld: file.c:undefined reference to `atomic64_inc_386'

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: 9a8d03ca2e2c334d08ee91a3e07dcce31a02fdc6 ceph: attempt to do async create when possible date: 1 year ago config: um-randconfig-r016-20210404 (attached as .c

Re: [syzbot] WARNING in mntput_no_expire (2)

2021-04-03 Thread Al Viro
On Sun, Apr 04, 2021 at 02:34:08AM +, Al Viro wrote: > I really wonder what mount is it happening to. BTW, how painful would > it be to teach syzcaller to turn those cascades of > NONFAILING(*(uint8_t*)0x2080 = 0x12); > NONFAILING(*(uint8_t*)0x2081 = 0); > NONFAILING

[syzbot] WARNING: suspicious RCU usage in clear_huge_page

2021-04-03 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d19cc4bf Merge tag 'trace-v5.12-rc5' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1611e681d0 kernel config: https://syzkaller.appspot.com/x/.config?x=78ef1d159159890 dash

Re: [syzbot] WARNING in mntput_no_expire (2)

2021-04-03 Thread Al Viro
On Thu, Apr 01, 2021 at 07:11:12PM +, Al Viro wrote: > > I _think_ I see what the issue is. It seems that an assumption made in > > this commit might be wrong and we're missing a mnt_add_count() bump that > > we would otherwise have gotten if we've moved the failure handling into > > the unlaz

Re: [PATCH net-next v1 1/9] net: dsa: add rcv_post call back

2021-04-03 Thread Florian Fainelli
On 4/3/2021 16:21, Vladimir Oltean wrote: On Sat, Apr 03, 2021 at 05:05:34PM +0300, Vladimir Oltean wrote: On Sat, Apr 03, 2021 at 01:48:40PM +0200, Oleksij Rempel wrote: Some switches (for example ar9331) do not provide enough information about forwarded packets. If the switch decision was

Re: [PATCH v3] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu onlining

2021-04-03 Thread Alexey Klimov
On Sat, Mar 27, 2021 at 9:01 PM Thomas Gleixner wrote: Lovely that you eventually found time to take a look at this since first RFC patch was sent. > Alexey, > > On Wed, Mar 17 2021 at 00:36, Alexey Klimov wrote: > > When a CPU offlined and onlined via device_offline() and device_online() > > th

Re: [PATCH net-next v1 7/9] net: dsa: qca: ar9331: add bridge support

2021-04-03 Thread Florian Fainelli
On 4/3/2021 04:48, Oleksij Rempel wrote: This switch is providing forwarding matrix, with it we can configure individual bridges. Potentially we can configure more then one not VLAN s/then/than/ based bridge on this HW. Signed-off-by: Oleksij Rempel --- drivers/net/dsa/qca/ar9331.c | 7

Re: [PATCH net-next v1 6/9] net: dsa: qca: ar9331: add ageing time support

2021-04-03 Thread Florian Fainelli
On 4/3/2021 04:48, Oleksij Rempel wrote: This switch provides global ageing time configuration, so let DSA use it. Signed-off-by: Oleksij Rempel Reviewed-by: Florian Fainelli -- Florian

vdpa.c:undefined reference to `atomic64_sub_386'

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: 4c8cf31885f69e86be0b5b9e6677a26797365e1d vhost: introduce vDPA-based backend date: 1 year ago config: um-randconfig-r016-20210404 (attached as .config) comp

Re: [PATCH net-next v1 3/9] net: dsa: qca: ar9331: reorder MDIO write sequence

2021-04-03 Thread Florian Fainelli
On 4/3/2021 04:48, Oleksij Rempel wrote: In case of this switch we work with 32bit registers on top of 16bit bus. Some registers (for example access to forwarding database) have trigger bit on the first 16bit half of request and the result + configuration of request in the second half. Without

[PATCH] MIPS: ralink: rt288x: select MIPS_AUTO_PFN_OFFSET

2021-04-03 Thread Ilya Lipnitskiy
RT288X systems may have a non-zero ramstart causing problems with memory reservations and boot hangs, as well as messages like: Wasting 1048576 bytes for tracking 32768 unused pages Both are alleviated by selecting MIPS_AUTO_PFN_OFFSET for such platforms. Tested on a Belkin F5D8235 v1 RT2880 de

Re: [PATCH] MIPS: fix memory reservation for non-usermem setups

2021-04-03 Thread Ilya Lipnitskiy
Hi Mike, On Tue, Mar 16, 2021 at 11:33 PM Mike Rapoport wrote: > > Hi Ilya, > > On Tue, Mar 16, 2021 at 10:10:09PM -0700, Ilya Lipnitskiy wrote: > > Hi Thomas, > > > > On Fri, Mar 12, 2021 at 7:19 AM Thomas Bogendoerfer > > wrote: > > > > > > On Sun, Mar 07, 2021 at 11:40:30AM -0800, Ilya Lipnit

nf_conntrack_core.c:undefined reference to `atomic64_add_386'

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: 9312eabab4a68348af5b4482cc7cc6f151ff1c3f netfilter: conntrack: add nf_ct_acct_add() date: 1 year ago config: um-randconfig-r016-20210404 (attached as .confi

Hi,

2021-04-03 Thread Lillian Windrope
Hello dear how are you today? I hope you did receive the message I sent to you Last time?. I am waiting. Привет дорогая, как ты сегодня? Надеюсь, вы получили сообщение, которое я отправил вам в прошлый раз? Я ожидаю.

Re: [PATCH net-next v1 5/9] net: dsa: qca: ar9331: add forwarding database support

2021-04-03 Thread Andrew Lunn
> > Plus, i'm not actually sure we should be issuing warnings here. What > > does the bridge code do in this case? Is it silent and just does it, > > or does it issue a warning? > > :D > > What Oleksij doesn't know, I bet, is that he's using the bridge bypass > commands: > > bridge fdb add dev l

[PATCH] debugfs: Fix use-after-free in debugfs_create_devm_seqfile()

2021-04-03 Thread Samuel Holland
This function uses devres to clean up its allocation, but it never removes the file referencing that allocation. This causes a use-after-free and an oops if the file is accessed after the owning device is removed. Fixes: 98210b7f73f1d ("debugfs: add helper function to create device related seq_fi

Re: [PATCH net-next v1 9/9] net: dsa: qca: ar9331: add vlan support

2021-04-03 Thread Vladimir Oltean
On Sat, Apr 03, 2021 at 01:48:48PM +0200, Oleksij Rempel wrote: > This switch provides simple VLAN resolution database for 16 entries (VLANs). > With this database we can cover typical functionalities as port based > VLANs, untagged and tagged egress. Port based ingress filtering. > > The VLAN dat

Re: [PATCH net-next v1 4/9] net: dsa: qca: ar9331: make proper initial port defaults

2021-04-03 Thread Vladimir Oltean
On Sat, Apr 03, 2021 at 01:48:43PM +0200, Oleksij Rempel wrote: > Make sure that all external port are actually isolated from each other, > so no packets are leaked. > > Signed-off-by: Oleksij Rempel > --- > drivers/net/dsa/qca/ar9331.c | 145 ++- > 1 file changed

Re: [PATCH net-next v1 2/9] net: dsa: tag_ar9331: detect IGMP and MLD packets

2021-04-03 Thread Vladimir Oltean
On Sat, Apr 03, 2021 at 07:14:56PM +0200, Oleksij Rempel wrote: > Am 03.04.21 um 16:49 schrieb Andrew Lunn: > >> @@ -31,6 +96,13 @@ static struct sk_buff *ar9331_tag_xmit(struct sk_buff > >> *skb, > >>__le16 *phdr; > >>u16 hdr; > >> > >> + if (dp->stp_state == BR_STATE_BLOCKING) { > >> +

Re: [External] [PATCH v3 7/8] hugetlb: make free_huge_page irq safe

2021-04-03 Thread Mike Kravetz
On 4/2/21 10:59 PM, Muchun Song wrote: > On Sat, Apr 3, 2021 at 4:56 AM Mike Kravetz wrote: >> >> On 4/2/21 5:47 AM, Muchun Song wrote: >>> On Wed, Mar 31, 2021 at 11:42 AM Mike Kravetz >>> wrote: Commit c77c0a8ac4c5 ("mm/hugetlb: defer freeing of huge pages if in non-task context

xfs_trace.c:undefined reference to `atomic64_read_386'

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d83e98f9d8c88cbae1b05fa5751bddfcf0e222b2 commit: 166405f6b53b7d7eecb7939aa4a79bc7c1e0ed68 xfs: stop CONFIG_XFS_DEBUG from changing compiler flags date: 11 months ago config: um-randconfig-r034-20210403

Re: [PATCH] kfence: unpoison pool region before use

2021-04-03 Thread Andrey Konovalov
On Sun, Apr 4, 2021 at 12:31 AM Marco Elver wrote: > > However, given the above, I think we need to explain this in the > commit message (which also makes the dependency between these 2 > patches clear) and add a comment above the new kasan_unpoison_range(). > That is, if we still think this is th

Re: [PATCH net-next v1 5/9] net: dsa: qca: ar9331: add forwarding database support

2021-04-03 Thread Vladimir Oltean
On Sat, Apr 03, 2021 at 05:25:16PM +0200, Andrew Lunn wrote: > > +static int ar9331_sw_port_fdb_rmw(struct ar9331_sw_priv *priv, > > + const unsigned char *mac, > > + u8 port_mask_set, > > + u8 port_mask_clr) > > +{

/usr/bin/ld: core.c:undefined reference to `cmpxchg8b_emu'

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2023a53bdf41b7646b1d384b6816af06309f73a5 commit: 5ffa25502b5ab3d639829a2d1e316cff7f59a41e bpf: Add instructions for atomic_[cmp]xchg date: 3 months ago config: um-randconfig-c003-20210404 (attached as .con

Re: [PATCH net-next v1 1/9] net: dsa: add rcv_post call back

2021-04-03 Thread Vladimir Oltean
On Sat, Apr 03, 2021 at 05:05:34PM +0300, Vladimir Oltean wrote: > On Sat, Apr 03, 2021 at 01:48:40PM +0200, Oleksij Rempel wrote: > > Some switches (for example ar9331) do not provide enough information > > about forwarded packets. If the switch decision was made based on IPv4 > > or IPv6 header,

[tip:master] BUILD SUCCESS cba793347389e4beafac9f2ee6ecd3e74d8715c1

2021-04-03 Thread kernel test robot
onfig-a004-20210404 i386 randconfig-a005-20210404 i386 randconfig-a002-20210404 i386 randconfig-a006-20210403 i386 randconfig-a003-20210403 i386 randconfig-a001-20210403 i386 randconfig-a004-202

Re: [GIT PULL] OpenRISC fixes for 5.12-rc5

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Sun, 4 Apr 2021 06:29:44 +0900: > git://github.com/openrisc/linux.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2023a53bdf41b7646b1d384b6816af06309f73a5 Thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kerne

[PATCH] staging: rtl8188eu: core: replace spaces with a tab

2021-04-03 Thread Deborah Brouwer
To conform to Linux kernel coding style, a tab replaces the two spaces that were previously used to indent brackets. Identified by the checkpatch warning: WARNING: please, no spaces at the start of a line. Signed-off-by: Deborah Brouwer --- drivers/staging/rtl8188eu/core/rtw_security.c | 6 +++-

drivers/gpu/drm/bridge/sil-sii8620.c:2355: undefined reference to `extcon_unregister_notifier'

2021-04-03 Thread kernel test robot
Hi Masahiro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8e29be3468d4565dd95fbb098df0d7a79ee60d71 commit: def2fbffe62c00c330c7f41584a356001179c59c kconfig: allow symbols implied by y to become m date: 1 year,

Re: [PATCH] kfence: unpoison pool region before use

2021-04-03 Thread Marco Elver
On Sat, 3 Apr 2021 at 22:40, Peter Collingbourne wrote: > On Sat, Apr 3, 2021 at 3:03 AM Marco Elver wrote: > > On Sat, 3 Apr 2021 at 07:13, Peter Collingbourne wrote: > > > If the memory region allocated by KFENCE had previously been poisoned, > > > any validity checks done using kasan_byte_acc

[PATCH next 1/2] mfd: Add Renesas Synchronization Management Unit (SMU) support

2021-04-03 Thread min.li.xe
From: Min Li Add support for ClockMatrix(TM) and 82P33xxx families of timing and synchronization devices. The access interface can be either SPI or I2C. Currently, it will create 2 types of MFD devices, which are to be used by the corresponding rsmu character device driver and the PTP hardware cl

[PATCH next 1/2] mfd: Add Renesas Synchronization Management Unit (SMU) support

2021-04-03 Thread min.li.xe
From: Min Li Add support for ClockMatrix(TM) and 82P33xxx families of timing and synchronization devices. The access interface can be either SPI or I2C. Currently, it will create 2 types of MFD devices, which are to be used by the corresponding rsmu character device driver and the PTP hardware cl

[PATCH next 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-04-03 Thread min.li.xe
From: Min Li This driver is developed for the IDT ClockMatrix(TM) and 82P33xxx families of timing and synchronization devices.It will be used by Renesas PTP Clock Manager for Linux (pcm4l) software to provide support to GNSS assisted partial timing support (APTS) and other networking timing funct

RE: [PATCH next 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-04-03 Thread Min Li
> > Then the patches are independant and they should be sent as such, > otherwise it causes confusion and our tools get messed up when trying to > grab the whole "series" of patches. > > Can you please fix this up and just send two independant patches? > Hi Greg These 2 patches are not indep

Re: [Outreachy kernel] [PATCH] staging: rtl8188eu: core: add comma within a comment

2021-04-03 Thread Deborah Brouwer
On Sat, Apr 03, 2021 at 11:16:16PM +0200, Julia Lawall wrote: > > > On Sat, 3 Apr 2021, Deborah Brouwer wrote: > > > Add a comma to separate repeated words in a comment. The comma preserves > > the meaning of the comment while also stopping the checkpatch warning: > > WARNING: Possible repeated

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

2021-04-03 Thread Ivan Safonov
On 4/2/21 4:04 PM, Greg Kroah-Hartman wrote: On Sun, Mar 28, 2021 at 07:33:25PM +0300, Ivan Safonov wrote: on_action_spct() do nothing, because rtw_get_stainfo() has no side effects. Other action handlers are trivial. Signed-off-by: Ivan Safonov Same here, wrong driver name :( Driver name

[GIT PULL] OpenRISC fixes for 5.12-rc5

2021-04-03 Thread Stafford Horne
Hi Linus, Please consider for pull, The following changes since commit a5e13c6df0e41702d2b2c77c8ad41677ebb065b3: Linux 5.12-rc5 (2021-03-28 15:48:16 -0700) are available in the Git repository at: git://github.com/openrisc/linux.git tags/for-linus for you to fetch changes up to 1683f7de65d

Re: [Outreachy kernel] [PATCH] staging: rtl8188eu: core: add comma within a comment

2021-04-03 Thread Julia Lawall
On Sat, 3 Apr 2021, Deborah Brouwer wrote: > Add a comma to separate repeated words in a comment. The comma preserves > the meaning of the comment while also stopping the checkpatch warning: > WARNING: Possible repeated word: 'very'. Thanks. That is more understandable. Isn't this a v2? If

[PATCH] staging: rtl8188eu: core: add comma within a comment

2021-04-03 Thread Deborah Brouwer
Add a comma to separate repeated words in a comment. The comma preserves the meaning of the comment while also stopping the checkpatch warning: WARNING: Possible repeated word: 'very'. Signed-off-by: Deborah Brouwer --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 2 +- 1 file changed, 1 insertio

drivers/memstick/host/r592.c:83:9: sparse: sparse: incorrect type in assignment (different base types)

2021-04-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8e29be3468d4565dd95fbb098df0d7a79ee60d71 commit: d4aa8affa1e9e51c237a1ec47a97e96dce76c98c m68knommu: fix use of cpu_to_le() on IO access date: 8 months ago config: m68k-randconfig-s032-20210404 (attached a

Re: [PATCH] soc: litex: Remove duplicated header file inclusion

2021-04-03 Thread Stafford Horne
On Wed, Mar 31, 2021 at 03:06:43PM +0200, Mateusz Holenko wrote: > From: Zhen Lei > > The header file is already included above and can be > removed here. > > Signed-off-by: Zhen Lei > Signed-off-by: Mateusz Holenko Thanks, I have staged this. -Stafford

Re: [PATCH] kfence: unpoison pool region before use

2021-04-03 Thread Peter Collingbourne
On Sat, Apr 3, 2021 at 3:03 AM Marco Elver wrote: > > On Sat, 3 Apr 2021 at 07:13, Peter Collingbourne wrote: > > If the memory region allocated by KFENCE had previously been poisoned, > > any validity checks done using kasan_byte_accessible() will fail. Fix > > it by unpoisoning the memory befor

Re: [PATCH v3 00/30] staging: rtl8723bs: remove RT_TRACE logs in core/*

2021-04-03 Thread Joe Perches
On Sat, 2021-04-03 at 19:28 +0200, Fabio Aiuto wrote: > On Sat, Apr 03, 2021 at 09:17:37AM -0700, Joe Perches wrote: > > On Sat, 2021-04-03 at 17:21 +0200, Fabio Aiuto wrote: > > > On Sat, Apr 03, 2021 at 08:02:25AM -0700, Joe Perches wrote: > > > > On Sat, 2021-04-03 at 11:13 +0200, Fabio Aiuto wr

RE: [PATCH][next] scsi: ufs: Fix out-of-bounds warnings in ufshcd_exec_raw_upiu_cmd

2021-04-03 Thread Avri Altman
> > Fix the following out-of-bounds warnings by enclosing > some structure members into new structure objects upiu_req > and upiu_rsp: > > include/linux/fortify-string.h:20:29: warning: '__builtin_memcpy' offset [29, > 48] from the object at 'treq' is out of the bounds of referenced subobject > '

Re: [PATCH] net: initialize local variables in net/ipv6/mcast.c and net/ipv4/igmp.c

2021-04-03 Thread Phillip Potter
On Fri, Apr 02, 2021 at 11:12:36PM +0200, Eric Dumazet wrote: > > > On 4/2/21 10:53 PM, Eric Dumazet wrote: > > > > > > On 4/2/21 8:10 PM, Phillip Potter wrote: > >> On Fri, Apr 02, 2021 at 07:49:44PM +0200, Eric Dumazet wrote: > >>> > >>> > >>> On 4/2/21 7:36 PM, Phillip Potter wrote: > U

Re: [GIT PULL] RISC-V Fixes for 5.12-rc6

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Sat, 03 Apr 2021 11:39:36 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv-for-linus-5.12-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7fd7d5c20129d2227b95cbe567b24559f144b77c Thank you! --

Re: [GIT PULL] gfs2 fixes for v5.12-rc6

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Sat, 3 Apr 2021 19:19:14 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git > tags/gfs2-v5.12-rc2-fixes2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8e29be3468d4565dd95fbb098df0d7a79ee60d71 Thank you! -- Deet

Re: [syzbot] possible deadlock in ovl_maybe_copy_up

2021-04-03 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:454c576c Add linux-next specific files for 20210401 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1616e07ed0 kernel config: https://syzkaller.appspot.com/x/.config?x=920cc274cae812

[syzbot] WARNING: suspicious RCU usage in copy_pte_range

2021-04-03 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:1e43c377 Merge tag 'xtensa-20210329' of git://github.com/j.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15604986d0 kernel config: https://syzkaller.appspot.com/x/.config?x=71a75beb62b62a34 das

[GIT PULL] RISC-V Fixes for 5.12-rc6

2021-04-03 Thread Palmer Dabbelt
The following changes since commit a5e13c6df0e41702d2b2c77c8ad41677ebb065b3: Linux 5.12-rc5 (2021-03-28 15:48:16 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.12-rc6 for you to fetch changes up to 1adbc29

Re: [PATCH] riscv: keep interrupts disabled for BREAKPOINT exception

2021-04-03 Thread Maciej W. Rozycki
On Thu, 1 Apr 2021, Masami Hiramatsu wrote: > > > > Current riscv's kprobe handlers are run with both preemption and > > > > interrupt enabled, this violates kprobe requirements. Fix this issue > > > > by keeping interrupts disabled for BREAKPOINT exception. > > > > > > Not only while the break

Re: [PATCH] apparmor: avoid -Wempty-body warning

2021-04-03 Thread John Johansen
On 3/22/21 4:00 AM, Arnd Bergmann wrote: > From: Arnd Bergmann > > Building with 'make W=1' shows a warning for an empty macro: > > security/apparmor/label.c: In function '__label_update': > security/apparmor/label.c:2096:59: error: suggest braces around empty body in > an 'else' statement [-We

Re: [GIT PULL] Char/Misc driver fixes for 5.12-rc6

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Sat, 3 Apr 2021 12:52:14 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > tags/char-misc-5.12-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a443930a3e8eaf70c8768cc2c923d1d85b71262f Thank you! -- Deet-do

Re: [GIT PULL] Driver core fix for 5.12-rc6

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Sat, 3 Apr 2021 12:51:54 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > tags/driver-core-5.12-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f5664825fc2055ed9a0e4988cfc3aeb199dce520 Thank you! -- Dee

Re: [GIT PULL] Hyper-V fixes for 5.12-rc6

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Apr 2021 21:55:33 +: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git > tags/hyperv-fixes-signed-20210402 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/fa16199500c8863da145870f01d61617d967b6c3 Thank y

Re: [GIT PULL] Serial driver fix for 5.12-rc6

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Sat, 3 Apr 2021 12:51:02 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.12-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0d2c5a9e15179806fd9ff24409d2c0d689fc422f Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] USB driver fixes for 5.12-rc6

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Sat, 3 Apr 2021 12:50:29 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.12-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/de879a8d37ff86b8111f94a64fc82c81c189 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Staging driver fix for 5.12-rc6

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Sat, 3 Apr 2021 12:51:29 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > tags/staging-5.12-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3e707eb6b8aa715847c17279f9c17c8dca2d639b Thank you! -- Deet-doot-d

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

2021-04-03 Thread pr-tracker-bot
The pull request you sent on Sat, 03 Apr 2021 22:48:02 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.12-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9c2ef23e4dae122d2b18e834d90f8bd4dda48fe6 Thank you! -- Deet-doot-d

[PATCH 6/7] staging: media: zoran: Rename 'We' to 'we'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'We' to 'we' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_device.c b/drivers/s

[PATCH 7/7] staging: media: zoran: Rename 'He' to 'he'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'He' to 'he' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_device.c b/drivers/s

[PATCH 5/7] staging: media: zoran: Rename 'VidWinHt' to 'vid_win_ht'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename 'VidWinHt' to 'vid_win_ht' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_device.c b/d

[PATCH 3/7] staging: media: zoran: Rename 'DispMode' to 'disp_mode'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'DispMode' to 'disp_mode' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_device.c

[PATCH 4/7] staging: media: zoran: Rename 'VidWinWid' to 'vid_win_wid'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'VidWinWid' to 'vid_win_wid' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_de

[PATCH 1/7] staging: media: zoran: Rename 'HEnd' to 'h_end'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'HEnd' to 'h_end' to eliminate camelcase Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_device.c b/drive

[PATCH 2/7] staging: media: zoran: Rename 'VEnd' to 'v_end'

2021-04-03 Thread Zhansaya Bagdauletkyzy
Rename variable 'VEnd' to 'v_end' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_device.c b/driv

[PATCH 0/7] staging: media: zoran: Eliminate camelcase

2021-04-03 Thread Zhansaya Bagdauletkyzy
This patchset fixes 'avoid camelcase' warning by converting local variables to lowercase and separating words using '_'. Renaming of each variable is implemented in separate patches. Zhansaya Bagdauletkyzy (7): Rename 'HEnd' to 'h_end' Rename 'VEnd' to 'v_end' Rename 'DispMode' to 'disp_mod

[PATCH v5 10/10] media: uapi: move MPEG-2 stateless controls out of staging

2021-04-03 Thread Ezequiel Garcia
Until now, the MPEG-2 V4L2 API was not exported as a public API, and only defined in a private media header (media/mpeg2-ctrls.h). After reviewing the MPEG-2 specification in detail, and reworking the controls so they match the MPEG-2 semantics properly, we can consider it ready. Signed-off-by: E

[PATCH v5 09/10] media: uapi: Move the MPEG-2 stateless control type out of staging

2021-04-03 Thread Ezequiel Garcia
Move the MPEG-2 stateless control types out of staging, and re-number it to avoid any confusion. Signed-off-by: Ezequiel Garcia --- include/media/mpeg2-ctrls.h| 4 include/uapi/linux/videodev2.h | 4 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/media/mpeg2

[PATCH v5 08/10] media: controls: Log MPEG-2 stateless control in .std_log

2021-04-03 Thread Ezequiel Garcia
Simply print the type of the control. Signed-off-by: Ezequiel Garcia --- drivers/media/v4l2-core/v4l2-ctrls.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index 575553ee7e4a..722a208c647e 100644 --- a/dr

[PATCH v5 07/10] media: uapi: mpeg2: Remove V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS

2021-04-03 Thread Ezequiel Garcia
The Hantro and Cedrus drivers work in frame-mode, meaning they expect all the slices in a picture (either frame or field structure) to be passed in each OUTPUT buffer. These two are the only V4L2 MPEG-2 stateless decoders currently supported. Given the VA-API drivers also work per-frame, coalescin

[PATCH v5 06/10] media: hantro/cedrus: Remove unneeded slice size and slice offset

2021-04-03 Thread Ezequiel Garcia
The MPEG2_SLICE_PARAMS control is designed to refer to a single slice. However, the Hantro and Cedrus drivers operate in per-frame mode, and so does the current Ffmpeg and GStreamer implementations that are tested with these two drivers. In other words, the drivers are expecting all the slices in

[PATCH v5 05/10] media: uapi: mpeg2: Move reference buffer fields

2021-04-03 Thread Ezequiel Garcia
The forward and backwards references are specified per-picture and not per-slice. Move it to V4L2_CID_MPEG_VIDEO_MPEG2_PICTURE. Signed-off-by: Ezequiel Garcia --- .../media/v4l/ext-ctrls-codec.rst | 28 +-- .../media/hantro/hantro_g1_mpeg2_dec.c| 6 ++-- .../

[PATCH v5 04/10] media: uapi: mpeg2: Split sequence and picture parameters

2021-04-03 Thread Ezequiel Garcia
Typically, bitstreams are composed of a sequence header, followed by a number of picture header and picture coding extension headers. Each picture can be composed by a number of slices. Let's split the MPEG-2 uAPI to follow these semantics more closely, allowing more usage flexibility. Having thes

[PATCH v5 03/10] media: uapi: mpeg2: Cleanup flags

2021-04-03 Thread Ezequiel Garcia
Our current MPEG-2 uAPI uses 1-byte fields for MPEG-2 boolean syntax elements. Clean these by adding a 'flags' field and flag macro for each boolean syntax element. A follow-up change will refactor this uAPI so we don't need to add padding fields just yet. Signed-off-by: Ezequiel Garcia Tested-b

[PATCH v5 02/10] media: uapi: mpeg2: rework quantisation matrices semantics

2021-04-03 Thread Ezequiel Garcia
As stated in the MPEG-2 specification, section 6.3.7 "Quant matrix extension": Each quantisation matrix has a default set of values. When a sequence_header_code is decoded all matrices shall be reset to their default values. User defined matrices may be downloaded and this can occur in a s

[PATCH v5 01/10] media: uapi: mpeg2: Rename "quantization" to "quantisation"

2021-04-03 Thread Ezequiel Garcia
The MPEG-2 specification refers to the quantisation matrices using the word "quantisation". Make the V4L2 interface more ergonomic by matching the MPEG-2 spec. Signed-off-by: Ezequiel Garcia --- .../media/v4l/ext-ctrls-codec.rst | 16 ++-- .../media/v4l/pixfmt-compressed.rst

  1   2   3   >