Re: MHI changes for v5.13

2021-04-10 Thread Greg KH
On Sun, Apr 11, 2021 at 11:25:59AM +0530, Manivannan Sadhasivam wrote: > Hi Greg, > > Here is the MHI Pull request for the v5.13 cycle. I stayed with the PR as the > number patches got increased. > > Details are in the signed tag, please consider merging! A suggestion, please put [GIT PULL] in y

Re: [git pull] habanalabs pull request for kernel 5.13

2021-04-10 Thread Greg KH
On Sat, Apr 10, 2021 at 11:01:42PM +0300, Oded Gabbay wrote: > Hi Greg, > > This is habanalabs pull request for the merge window of kernel 5.13. > It contains changes and new features, support for new firmware. > Details are in the tag. > > Thanks, > Oded > > The following changes since commit b

Re: [PATCH] Staging: rtl8192u: ieee80211: remove odd backslash.

2021-04-10 Thread Greg KH
On Sat, Apr 10, 2021 at 10:29:12PM +0300, dev.dra...@bk.ru wrote: > From: Dmitrii Wolf > > This backslash should be deleted - looks like leftover and not needed. > --- > drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v3] staging: rtl8723bs: remove unnecessary goto jumps

2021-04-10 Thread Greg Kroah-Hartman
On Sat, Apr 10, 2021 at 03:27:02PM +, Bryan Brattlof wrote: > The next instruction for both 'goto exit' jump statements is to > execute the exit jump instructions regardless. We can safely > remove all jump statements from __init rtw_drv_entry() > > This will also remove the extra line-break b

Re: [PATCH 1/1] iommu/vt-d: Fix build error of pasid_enable_wpe() with !X86

2021-04-10 Thread Randy Dunlap
On 4/10/21 11:23 PM, Lu Baolu wrote: > Commit f68c7f539b6e9 ("iommu/vt-d: Enable write protect for supervisor > SVM") added pasid_enable_wpe() which hit below compile error with !X86. > > ../drivers/iommu/intel/pasid.c: In function 'pasid_enable_wpe': > ../drivers/iommu/intel/pasid.c:554:22: error

Re: [Outreachy kernel] [PATCH v2 2/5] staging: rtl8723bs: include: Fix misspelled words in comments

2021-04-10 Thread Greg KH
On Sat, Apr 10, 2021 at 05:00:05PM +0200, Fabio M. De Francesco wrote: > Signed-off-by: Fabio M. De Francesco > --- I can not take patches without any changelog text at all, sorry.

Re: [PATCH v2 0/3] staging: rtl8192e: remove unnecessary parentheses

2021-04-10 Thread Greg KH
On Sun, Apr 11, 2021 at 10:03:40AM +0530, Mitali Borkar wrote: > This patch fixes style issues > Changes from v1:- > [Patch 1/3]:- Removed unnecessary parentheses around boolean expressions > [Patch 2/3]:- No changes > [Patch 3/3]:- No changes > > Mitali Borkar (3): > staging: rtl8192e: remove u

Re: [Outreachy kernel] [PATCH v2 0/5] staging: rtl8723bs: Change

2021-04-10 Thread Greg KH
On Sat, Apr 10, 2021 at 05:00:03PM +0200, Fabio M. De Francesco wrote: > Remove camelcase, correct misspelled words in comments, remove an unused > variable, change the type of a variable and its use, change comparisons > with 'true' in controlling expressions. > > Changes from v1: Fix a typo in s

Re: [Outreachy kernel] [PATCH v4] staging: rtl8192e: fixed pointer error by adding '*'

2021-04-10 Thread Greg KH
On Sat, Apr 10, 2021 at 08:26:40PM +0530, Mitali Borkar wrote: > Fixed pointer error by adding '*' to the function. That really does not describe this at all. I'll go fix this up... greg k-h

Re: [PATCH net-next 4/7] net: ipa: ipa_stop() does not return an error

2021-04-10 Thread Leon Romanovsky
On Fri, Apr 09, 2021 at 01:07:19PM -0500, Alex Elder wrote: > In ipa_modem_stop(), if the modem netdev pointer is non-null we call > ipa_stop(). We check for an error and if one is returned we handle > it. But ipa_stop() never returns an error, so this extra handling > is unnecessary. Simplify t

[PATCH 1/1] iommu/vt-d: Fix build error of pasid_enable_wpe() with !X86

2021-04-10 Thread Lu Baolu
Commit f68c7f539b6e9 ("iommu/vt-d: Enable write protect for supervisor SVM") added pasid_enable_wpe() which hit below compile error with !X86. ../drivers/iommu/intel/pasid.c: In function 'pasid_enable_wpe': ../drivers/iommu/intel/pasid.c:554:22: error: implicit declaration of function 'read_cr0'

[PATCH v8 09/11] scsi: ufshpb: Limit the number of inflight map requests

2021-04-10 Thread Avri Altman
In host control mode the host is the originator of map requests. To not flood the device with map requests, use a simple throttling mechanism that limits the number of inflight map requests. Signed-off-by: Avri Altman Reviewed-by: Daejun Park --- drivers/scsi/ufs/ufshpb.c | 11 +++ driv

[PATCH v8 08/11] scsi: ufshpb: Add "Cold" regions timer

2021-04-10 Thread Avri Altman
In order not to hang on to “cold” regions, we shall inactivate a region that has no READ access for a predefined amount of time - READ_TO_MS. For that purpose we shall monitor the active regions list, polling it on every POLLING_INTERVAL_MS. On timeout expiry we shall add the region to the "to-be-i

[PATCH v8 11/11] scsi: ufshpb: Make host mode parameters configurable

2021-04-10 Thread Avri Altman
We can make use of this commit, to elaborate some more of the host control mode logic, explaining what role play each and every variable. While at it, allow those parameters to be configurable. Signed-off-by: Avri Altman Reviewed-by: Daejun Park --- Documentation/ABI/testing/sysfs-driver-ufs |

[PATCH v8 04/11] scsi: ufshpb: Add reads counter

2021-04-10 Thread Avri Altman
In host control mode, reads are the major source of activation trials. Keep track of those reads counters, for both active as well inactive regions. We reset the read counter upon write - we are only interested in "clean" reads. Keep those counters normalized, as we are using those reads as a com

[PATCH v8 10/11] scsi: ufshpb: Add support for host control mode

2021-04-10 Thread Avri Altman
Support devices that report they are using host control mode. Signed-off-by: Avri Altman Reviewed-by: Daejun Park --- drivers/scsi/ufs/ufshpb.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/scsi/ufs/ufshpb.c b/drivers/scsi/ufs/ufshpb.c index 0f72ea3f5d71..3c4001486cf1 100644

[PATCH v8 07/11] scsi: ufshpb: Add hpb dev reset response

2021-04-10 Thread Avri Altman
The spec does not define what is the host's recommended response when the device send hpb dev reset response (oper 0x2). We will update all active hpb regions: mark them and do that on the next read. Signed-off-by: Avri Altman Reviewed-by: Daejun Park --- drivers/scsi/ufs/ufshpb.c | 32 +++

[PATCH v8 02/11] scsi: ufshpb: Add host control mode support to rsp_upiu

2021-04-10 Thread Avri Altman
In device control mode, the device may recommend the host to either activate or inactivate a region, and the host should follow. Meaning those are not actually recommendations, but more of instructions. On the contrary, in host control mode, the recommendation protocol is slightly changed: a) The

[PATCH v8 06/11] scsi: ufshpb: Region inactivation in host mode

2021-04-10 Thread Avri Altman
In host mode, the host is expected to send HPB-WRITE-BUFFER with buffer-id = 0x1 when it inactivates a region. Use the map-requests pool as there is no point in assigning a designated cache for umap-requests. Signed-off-by: Avri Altman Reviewed-by: Daejun Park --- drivers/scsi/ufs/ufshpb.c | 4

[PATCH v8 03/11] scsi: ufshpb: Transform set_dirty to iterate_rgn

2021-04-10 Thread Avri Altman
Given a transfer length, set_dirty meticulously runs over all the entries, across subregions and regions if needed. Currently its only use is to mark dirty blocks, but soon HCM may profit from it as well, when managing its read counters. Signed-off-by: Avri Altman Reviewed-by: Daejun Park --- d

[PATCH v8 05/11] scsi: ufshpb: Make eviction depends on region's reads

2021-04-10 Thread Avri Altman
In host mode, eviction is considered an extreme measure. verify that the entering region has enough reads, and the exiting region has much less reads. Signed-off-by: Avri Altman Reviewed-by: Daejun Park --- drivers/scsi/ufs/ufshpb.c | 18 +- 1 file changed, 17 insertions(+), 1 d

[PATCH v8 00/11] Add Host control mode to HPB

2021-04-10 Thread Avri Altman
v7 -> v8: - restore Daejun atomic argument to ufshpb_get_req (v31) - Add Daejun's Reviewed-by tag v6 -> v7: - attend CanG's comments - add one more patch to transform set_dirty to iterate_rgn - rebase on Daejun's v32 v5 -> v6: - attend CanG's comments - rebase on Daejun's v29 v4 -> v5: -

[PATCH v8 01/11] scsi: ufshpb: Cache HPB Control mode on init

2021-04-10 Thread Avri Altman
We will use it later, when we'll need to differentiate between device and host control modes. Signed-off-by: Avri Altman Reviewed-by: Daejun Park --- drivers/scsi/ufs/ufshcd.h | 2 ++ drivers/scsi/ufs/ufshpb.c | 8 +--- drivers/scsi/ufs/ufshpb.h | 2 ++ 3 files changed, 9 insertions(+), 3 d

Re: [External] Re: [RFC PATCH v2 06/18] mm: memcontrol: move the objcg infrastructure out of CONFIG_MEMCG_KMEM

2021-04-10 Thread Muchun Song
On Sat, Apr 10, 2021 at 12:56 AM Johannes Weiner wrote: > > On Fri, Apr 09, 2021 at 08:29:47PM +0800, Muchun Song wrote: > > Because memory allocations pinning memcgs for a long time - it exists > > at a larger scale and is causing recurring problems in the real world: > > page cache doesn't get r

Re: [PATCH] iommu/amd: Fix extended features logging

2021-04-10 Thread Paul Menzel
Dear Alexander, Am 10.04.21 um 23:11 schrieb Alexander Monakov: print_iommu_info prints the EFR register and then the decoded list of features on a separate line: pci :00:00.2: AMD-Vi: Extended features (0x206d73ef22254ade): PPR X2APIC NX GT IA GA PC GA_vAPIC The second line is emitted

Re: [PATCH] LoadPin: Allow filesystem switch when not enforcing

2021-04-10 Thread kernel test robot
Hi Kees, I love your patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on kees/for-next/pstore linus/master v5.12-rc6 next-20210409] [cannot apply to kees/for-next/loadpin] [If your patch is applied to the wrong git tree, kindly drop us a note. And w

MHI changes for v5.13

2021-04-10 Thread Manivannan Sadhasivam
Hi Greg, Here is the MHI Pull request for the v5.13 cycle. I stayed with the PR as the number patches got increased. Details are in the signed tag, please consider merging! Thanks, Mani --- The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-

[PATCH RESEND] csky: change a Kconfig symbol name to fix e1000 build error

2021-04-10 Thread Randy Dunlap
e1000's #define of CONFIG_RAM_BASE conflicts with a Kconfig symbol in arch/csky/Kconfig. The symbol in e1000 has been around longer, so change arch/csky/ to use DRAM_BASE instead of RAM_BASE to remove the conflict. (although e1000 is also a 2-line change) Now build-tested. Signed-off-by: Randy Du

Re: arch/csky/mm/tcm.c:9:2: error: #error "You should define ITCM_RAM_BASE"

2021-04-10 Thread Randy Dunlap
On 4/10/21 9:43 PM, kernel test robot wrote: > Hi Julian, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 52e44129fba5cfc4e351fdb5e45849afc74d9a53 > commit: 7d37cb2c912dc5c25ffac784a4f9b98c06c6bd08 lib:

Re: [External] Re: [RFC PATCH v2 04/18] mm: memcontrol: simplify lruvec_holds_page_lru_lock

2021-04-10 Thread Muchun Song
On Sat, Apr 10, 2021 at 12:00 AM Johannes Weiner wrote: > > On Fri, Apr 09, 2021 at 08:29:45PM +0800, Muchun Song wrote: > > We already have a helper lruvec_memcg() to get the memcg from lruvec, we > > do not need to do it ourselves in the lruvec_holds_page_lru_lock(). So use > > lruvec_memcg() in

Re: drivers/parport/parport_cs.c:147 parport_config() warn: inconsistent indenting

2021-04-10 Thread Joe Perches
to pr_( > date: 12 months ago > config: x86_64-randconfig-m001-20210410 (attached as .config) > compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > smatch warnings: > drive

arch/csky/mm/tcm.c:9:2: error: #error "You should define ITCM_RAM_BASE"

2021-04-10 Thread kernel test robot
Hi Julian, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 52e44129fba5cfc4e351fdb5e45849afc74d9a53 commit: 7d37cb2c912dc5c25ffac784a4f9b98c06c6bd08 lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS date:

[PATCH v2 3/3] staging: rtl8192e: remove unncessary parentheses

2021-04-10 Thread Mitali Borkar
Removed unnecessary parentheses because they must be used only when it is necessary or they improve readability. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/rtl8192e/rtl819x_HTProc.c | 12 ++-- 1 file changed, 6 insertions(+),

[PATCH v2 2/3] staging: rtl8192e: remove unnecessary ftrace-like logging

2021-04-10 Thread Mitali Borkar
Removed unncessary ftrace-like logging by simply deleting that statement as we have other modes of logging like ftrace. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes made. drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 1 file changed, 4 deletions(-)

[PATCH v2 1/3] staging: rtl8192e: remove unnecessary parentheses

2021-04-10 Thread Mitali Borkar
Removed unnecessary parentheses around '!xyz' as '!' has higher precedance than '||' Signed-off-by: Mitali Borkar --- Changes from v1:- removed unnecessary parentheses around boolean expression drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH v2 0/3] staging: rtl8192e: remove unnecessary parentheses

2021-04-10 Thread Mitali Borkar
This patch fixes style issues Changes from v1:- [Patch 1/3]:- Removed unnecessary parentheses around boolean expressions [Patch 2/3]:- No changes [Patch 3/3]:- No changes Mitali Borkar (3): staging: rtl8192e: remove unnecessary parentheses staging: rtl8192e: remove unnecessary ftrace-like logg

Re: [PATCH] ext4: add a configurable parameter to prevent endless loop in ext4_mb_discard_group_p

2021-04-10 Thread Theodore Ts'o
On Sun, Apr 11, 2021 at 03:45:01AM +0800, Wen Yang wrote: > At this time, some logs are lost. It is suspected that the hard disk itself > is faulty. If you have a kernel crash dump, that means you can extract out the dmesg buffer, correct? Is there any I/O error messages in the kernel log? What

Re: [PATCH v2 4/6] devres: handle zero size in devm_kmalloc()

2021-04-10 Thread Dmitry Torokhov
Hi Bartosz, On Mon, Jun 29, 2020 at 1:56 PM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > Make devm_kmalloc() behave similarly to non-managed kmalloc(): return > ZERO_SIZE_PTR when requested size is 0. Update devm_kfree() to handle > this case. This is wrong if you consider devm_

BUG: unable to handle kernel NULL pointer dereference in io_uring_cancel_task_requests

2021-04-10 Thread Hao Sun
Hi When using Healer(https://github.com/SunHao-0/healer/tree/dev) to fuzz the Linux kernel, I found a null-ptr-deref bug in io_uring_cancel_task_requests under fault injection condition, but I'm not sure about this. Sorry, I do not have a reproducing program for this bug. I hope that the stack tra

BUG: unable to handle kernel NULL pointer dereference in do_epoll_wait

2021-04-10 Thread Hao Sun
Hi When using Healer(https://github.com/SunHao-0/healer/tree/dev) to fuzz the Linux kernel, I found a null-ptr-deref bug in do_epoll_wait, but I'm not sure about this. Sorry, I do not have a reproducing program for this bug. I hope that the stack trace information in the crash log can help you loc

[PATCH 1/2] HID: hid-input: add mapping for emoji picker key

2021-04-10 Thread Dmitry Torokhov
HUTRR101 added a new usage code for a key that is supposed to invoke and dismiss an emoji picker widget to assist users to locate and enter emojis. This patch adds a new key definition KEY_EMOJI_PICKER and maps 0x0c/0x0d9 usage code to this new keycode. Additionally hid-debug is adjusted to recogn

[PATCH 2/2] HID: hid-debug: recognize KEY_ASSISTANT and KEY_KBD_LAYOUT_NEXT

2021-04-10 Thread Dmitry Torokhov
Add missing descriptions for KEY_ASSISTANT and KEY_KBD_LAYOUT_NEXT. Signed-off-by: Dmitry Torokhov --- drivers/hid/hid-debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index 982737827b87..4d2b699daf8d 100644 --- a/drivers/hid/hid-deb

[PATCH net-next v3 1/1] net: stmmac: Add support for external trigger timestamping

2021-04-10 Thread Wong Vee Khee
From: Tan Tee Min The Synopsis MAC controller supports auxiliary snapshot feature that allows user to store a snapshot of the system time based on an external event. This patch add supports to the above mentioned feature. Users will be able to triggered capturing the time snapshot from user-spac

Re: [PATCH] phy: nxp-c45: add driver for tja1103

2021-04-10 Thread kernel test robot
s documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Radu-Pirea-NXP-OSS/phy-nxp-c45-add-driver-for-tja1103/20210410-024203 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 17e7124aad766b3f158943acb51467f86220a

[PATCH RESENDbis] ia64: remove duplicate entries in generic_defconfig

2021-04-10 Thread Randy Dunlap
Fix ia64 generic_defconfig duplicate entries, as warned by: + arch/ia64/configs/generic_defconfig: warning: override: reassigning to symbol ATA: => 58 + arch/ia64/configs/generic_defconfig: warning: override: reassigning to symbol ATA_PIIX: => 59 These 2 symbols still have the same value

[PATCH net] ice: Re-organizes reqstd/avail {R,T}XQ check/code for efficiency+readability

2021-04-10 Thread Salil Mehta
If user has explicitly requested the number of {R,T}XQs, then it is unnecessary to get the count of already available {R,T}XQs from the PF avail_{r,t}xqs bitmap. This value will get overriden by user specified value in any case. This patch does minor re-organization of the code for improving the f

Re: [PATCH v4] platform/x86: add Gigabyte WMI temperature driver

2021-04-10 Thread Guenter Roeck
On 4/10/21 11:18 AM, Thomas Weißschuh wrote: > Changes since v3: > * Completely hide unusable sensors > * Expose force_load parameter read-only via sysfs > * Naming > * Style cleanups > > -- >8 -- > > Tested with > * X570 I Aorus Pro Wifi (rev 1.0) > * B550M DS3H > * B550 Gaming X V2 (rev.1.x) >

[tip:x86/cleanups] BUILD SUCCESS 0d6c8e1e246586b81cb4e6ab1a93a6d4a08a0cf9

2021-04-10 Thread kernel test robot
randconfig-a006-20210411 i386 randconfig-a005-20210411 i386 randconfig-a004-20210411 i386 randconfig-a002-20210411 x86_64 randconfig-a014-20210410 x86_64 randconfig-a015-20210410 x86_64

Re: about seg fault inside rseq critical section

2021-04-10 Thread Mathieu Desnoyers
- On Apr 10, 2021, at 6:49 PM, Mingyi Liu mingyi...@gatech.edu wrote: > Hi Mathieu , > Thanks for your reply. From my current understanding of rseq, when flags > enabled, any signal generated/happened inside the critical section would > trigger the user-defined abort handler. No, that's no

Re: [PATCH v7 clocksource 5/5] clocksource: Do pairwise clock-desynchronization checking

2021-04-10 Thread Paul E. McKenney
On Sat, Apr 10, 2021 at 11:04:54AM +0200, Thomas Gleixner wrote: > On Fri, Apr 02 2021 at 15:49, paulmck wrote: > > From: "Paul E. McKenney" > > > > Although smp_call_function() has the advantage of simplicity, using > > it to check for cross-CPU clock desynchronization means that any CPU > > bein

Re: [PATCH v7 clocksource 3/5] clocksource: Check per-CPU clock synchronization when marked unstable

2021-04-10 Thread Paul E. McKenney
On Sat, Apr 10, 2021 at 11:00:25AM +0200, Thomas Gleixner wrote: > On Fri, Apr 02 2021 at 15:49, paulmck wrote: > > > > +static void clocksource_verify_percpu_wq(struct work_struct *unused) > > +{ > > + int cpu; > > + struct clocksource *cs; > > + int64_t cs_nsec; > > + u64 csnow_begin; > >

arch/csky/kernel/module.c:43:1: warning: 'inline' is not at beginning of declaration

2021-04-10 Thread kernel test robot
Hi Julian, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 52e44129fba5cfc4e351fdb5e45849afc74d9a53 commit: 7d37cb2c912dc5c25ffac784a4f9b98c06c6bd08 lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS date:

drivers/bus/mhi/core/pm.c:740:6: warning: stack frame size of 1408 bytes in function 'mhi_pm_st_worker'

2021-04-10 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 52e44129fba5cfc4e351fdb5e45849afc74d9a53 commit: 556bbb442bbb44f429dbaa9f8b48e0b4cda6e088 bus: mhi: core: Separate system error and power down handling date: 5 months ago config: powerpc-randconfig-r024-20

[PATCH] ia64: fix discontig.c section mismatches

2021-04-10 Thread Randy Dunlap
Fix IA64 discontig.c Section mismatch warnings. When CONFIG_SPARSEMEM=y and CONFIG_MEMORY_HOTPLUG=y, the functions computer_pernodesize() and scatter_node_data() should not be marked as __meminit because they are needed after init, on any memory hotplug event. Also, early_nr_cpus_node() is called

Re: linux-next: Tree for Apr 9 (drivers/iommu/intel/pasid.c)

2021-04-10 Thread Randy Dunlap
On 4/9/21 4:51 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20210408: > > New trees: iio, iio-fixes > on ia64: (not X86) (from a 01.org kernel config file) ../drivers/iommu/intel/pasid.c: In function 'pasid_enable_wpe': ../drivers/iommu/intel/pasid.c:554:22: error: implicit declar

Re: [PATCH v7 clocksource 2/5] clocksource: Retry clock read if long delays detected

2021-04-10 Thread Paul E. McKenney
On Sat, Apr 10, 2021 at 10:41:21AM +0200, Thomas Gleixner wrote: > On Fri, Apr 02 2021 at 15:49, paulmck wrote: > > This commit therefore re-reads the watchdog clock on either side of > > 'This commit' is not any better than 'This patch' and this sentence > makes no sense. I might be missing somet

[tip:irq/core] BUILD SUCCESS 7c07012eb1be8b4a95d3502fd30795849007a40e

2021-04-10 Thread kernel test robot
-20210409 i386 randconfig-a001-20210409 i386 randconfig-a004-20210409 i386 randconfig-a002-20210409 i386 randconfig-a005-20210409 x86_64 randconfig-a014-20210410 x86_64 randconfig-a015-20210410 x86_64

Re: [PATCH 08/10] powerpc/signal32: Convert restore_[tm]_user_regs() to user access block

2021-04-10 Thread Guenter Roeck
On Fri, Mar 19, 2021 at 11:06:57AM +, Christophe Leroy wrote: > Convert restore_user_regs() and restore_tm_user_regs() > to use user_access_read_begin/end blocks. > > Signed-off-by: Christophe Leroy > --- ... > static long restore_user_regs(struct pt_regs *regs, >

Re: [PATCH] net: core: sk_buff: zero-fill skb->data in __alloc_skb function

2021-04-10 Thread Phillip Potter
On Sat, Apr 10, 2021 at 01:00:34PM +0200, Eric Dumazet wrote: > On Sat, Apr 10, 2021 at 12:12 PM Eric Dumazet wrote: > > > > On Sat, Apr 10, 2021 at 11:51 AM Phillip Potter > > wrote: > > > > > > Zero-fill skb->data in __alloc_skb function of net/core/skbuff.c, > > > up to start of struct skb_sh

Re: [PATCH v7 clocksource] Do not mark clocks unstable due to delays for v5.13

2021-04-10 Thread Paul E. McKenney
On Sat, Apr 10, 2021 at 10:01:58AM +0200, Thomas Gleixner wrote: > On Fri, Apr 02 2021 at 15:48, Paul E. McKenney wrote: > > Hello! > > > > If there is a sufficient delay between reading the watchdog clock and the > > clock under test, the clock under test will be marked unstable through no > > fau

Re: [RFC] mm: activate access-more-than-once page via NUMA balancing

2021-04-10 Thread Yu Zhao
On Fri, Mar 26, 2021 at 12:21 AM Huang, Ying wrote: > > Mel Gorman writes: > > > On Thu, Mar 25, 2021 at 12:33:45PM +0800, Huang, Ying wrote: > >> > I caution against this patch. > >> > > >> > It's non-deterministic for a number of reasons. As it requires NUMA > >> > balancing to be enabled, the

drivers/media/platform/omap/omap_vout.c:979:37: warning: cast to pointer from integer of different size

2021-04-10 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 52e44129fba5cfc4e351fdb5e45849afc74d9a53 commit: a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a media: Kconfig: not all V4L2 platform drivers are for camera date: 12 months ago config: arc-randconfig-r025-202104

Re: [PATCH v4 08/11] pinctrl: Ingenic: Add pinctrl driver for JZ4750.

2021-04-10 Thread kernel test robot
Hi "周琰杰, Thank you for the patch! Yet something to improve: [auto build test ERROR on pinctrl/devel] [also build test ERROR on robh/for-next linus/master v5.12-rc6 next-20210409] [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 v2] USB:ohci:fix ohci interruption problem

2021-04-10 Thread kernel test robot
Hi Longfang, Thank you for the patch! Yet something to improve: [auto build test ERROR on usb/usb-testing] [also build test ERROR on v5.12-rc6 next-20210409] [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

[tip:x86/core] BUILD SUCCESS 99cb64de36d5c9397a664808b92943e35bdce25e

2021-04-10 Thread kernel test robot
randconfig-a011-20210411 i386 randconfig-a015-20210410 i386 randconfig-a014-20210410 i386 randconfig-a012-20210410 i386 randconfig-a016-20210410 x86_64 randconfig-a003-20210411 x86_64 randconfig-a002

[PATCH] iommu/amd: Fix extended features logging

2021-04-10 Thread Alexander Monakov
print_iommu_info prints the EFR register and then the decoded list of features on a separate line: pci :00:00.2: AMD-Vi: Extended features (0x206d73ef22254ade): PPR X2APIC NX GT IA GA PC GA_vAPIC The second line is emitted via 'pr_cont', which causes it to have a different ('warn') loglevel

Re: [PATCH] dt-bindings: pinctrl: rockchip: add RK3568 SoC support

2021-04-10 Thread Heiko Stübner
Am Samstag, 10. April 2021, 22:45:00 CEST schrieb Ezequiel Garcia: > Add RK3568/RK3566 SoC support to pinctrl. > > Signed-off-by: Ezequiel Garcia Reviewed-by: Heiko Stuebner > --- > Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt | 1 + > 1 file changed, 1 insertion(+) > > dif

[PATCH 1/1] mm: Fix struct page layout on 32-bit systems

2021-04-10 Thread Matthew Wilcox (Oracle)
32-bit architectures which expect 8-byte alignment for 8-byte integers and need 64-bit DMA addresses (arc, arm, mips, ppc) had their struct page inadvertently expanded in 2019. When the dma_addr_t was added, it forced the alignment of the union to 8 bytes, which inserted a 4 byte gap between 'flag

[PATCH 0/1] Fix struct page layout on 32-bit systems

2021-04-10 Thread Matthew Wilcox (Oracle)
I'd really appreciate people testing this, particularly on arm32/mips32/ppc32 systems with a 64-bit dma_addr_t. Matthew Wilcox (Oracle) (1): mm: Fix struct page layout on 32-bit systems include/linux/mm_types.h | 38 ++ 1 file changed, 26 insertions(+), 12 d

Re: [Nouveau] [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2021-04-10 Thread Roy Spliet
Op 10-04-2021 om 20:23 schreef Lukas Wunner: On Sat, Apr 10, 2021 at 04:51:27PM +0100, Roy Spliet wrote: Can I ask someone with more technical knowledge of snd_hda_intel and vgaswitcheroo to brainstorm about the possible challenges of nouveau taking matters into its own hand rather than keeping

[PATCH] dt-bindings: pinctrl: rockchip: add RK3568 SoC support

2021-04-10 Thread Ezequiel Garcia
Add RK3568/RK3566 SoC support to pinctrl. Signed-off-by: Ezequiel Garcia --- Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt b/Documentation/devicetree/bindings/pinc

Re: [PATCH RESEND 0/7] gpio-rockchip driver

2021-04-10 Thread Ezequiel Garcia
Hi Jianqun, I tried applying this on top of "pinctrl: rockchip: add support for rk3568", but I got some conflicts. If you could add some information about how patches should be applied to the cover letter, that'd be really helpful :-) Also, I've noticed several of these GPIOs patches, is this the

[PATCH] crypto: crc32-generic - Use SPDX-License-Identifier

2021-04-10 Thread Christophe JAILLET
Use SPDX-License-Identifier: GPL-2.0-only, instead of hand writing it. This also removes a reference to http://www.xyratex.com which seems to be down. Signed-off-by: Christophe JAILLET --- crypto/crc32_generic.c | 24 +--- 1 file changed, 1 insertion(+), 23 deletions(-) dif

[RFC] Tainting tasks after poking at them

2021-04-10 Thread Alexey Dobriyan
I'm not a security guy, but The idea is to irrevocably mark task as tainted after its registers and/or memory have been changed by another task. The list definitely includes * ptrace PTRACE_POKEUSER, PTRACE_POKETEXT, PTRACE_POKEDATA, PTRACE_SETREGS, PTRACE_SETFPREGS. * process_vm_writev(2) If

[PATCH 3/3] nvme: remove single trailing whitespace

2021-04-10 Thread Niklas Cassel
There is a single trailing whitespace in core.c. Since this is just a single whitespace, the chances of this affecting backports to stable should be quite low, so let's just remove it. Signed-off-by: Niklas Cassel --- drivers/nvme/host/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2 4/6] i2c: mpc: make interrupt mandatory and remove polling code

2021-04-10 Thread Wolfram Sang
On Mon, Mar 29, 2021 at 02:52:04PM +1300, Chris Packham wrote: > All the in-tree dts files that use one of the compatible strings from > i2c-mpc.c provide an interrupt property. By making this mandatory we > can simplify the code. > > Signed-off-by: Chris Packham After I applied this patch, cppc

[PATCH 2/3] nvme-multipath: remove single trailing whitespace

2021-04-10 Thread Niklas Cassel
There is a single trailing whitespace in multipath.c. Since this is just a single whitespace, the chances of this affecting backports to stable should be quite low, so let's just remove it. Signed-off-by: Niklas Cassel --- drivers/nvme/host/multipath.c | 2 +- 1 file changed, 1 insertion(+), 1 d

[PATCH 0/3] nvme trailing whitespace cleanup

2021-04-10 Thread Niklas Cassel
Hello nvme peeps, This series removes all the trailing whitespace I could find using: git grep '[[:blank:]]$' drivers/nvme So this should remove all the existing trailing whitespace in drivers/nvme/* Kind regards, Niklas Niklas Cassel (3): nvme-pci: remove single trailing whitespace nvme-

[PATCH 1/3] nvme-pci: remove single trailing whitespace

2021-04-10 Thread Niklas Cassel
There is a single trailing whitespace in pci.c. Since this is just a single whitespace, the chances of this affecting backports to stable should be quite low, so let's just remove it. Signed-off-by: Niklas Cassel --- drivers/nvme/host/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [GIT PULL] percpu changes for v5.12-rc7

2021-04-10 Thread pr-tracker-bot
The pull request you sent on Sat, 10 Apr 2021 18:22:35 +: > git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.12-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/52e44129fba5cfc4e351fdb5e45849afc74d9a53 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] SCSI fixes for 5.12-rc6

2021-04-10 Thread pr-tracker-bot
The pull request you sent on Sat, 10 Apr 2021 10:48:41 -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/efc2da9241e643cb90897ac4ed3542daa3edf3bc Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [PATCH v2 6/6] i2c: mpc: Interrupt driven transfer

2021-04-10 Thread Wolfram Sang
On Mon, Mar 29, 2021 at 02:52:06PM +1300, Chris Packham wrote: > The fsl-i2c controller will generate an interrupt after every byte > transferred. Make use of this interrupt to drive a state machine which > allows the next part of a transfer to happen as soon as the interrupt is > received. This is

Re: [PATCH] mm/frontswap: fix frontswap_register_ops() race with swapon and swapoff

2021-04-10 Thread Yu Zhao
On Sat, Apr 10, 2021 at 5:01 AM Miaohe Lin wrote: > > On 2021/4/10 18:42, Yu Zhao wrote: > > On Sat, Apr 10, 2021 at 1:30 AM Miaohe Lin wrote: > >> > >> Hi: > >> On 2021/4/5 18:20, Miaohe Lin wrote: > >>> frontswap_register_ops can race with swapon. Consider the following scene: > >> > >> Any com

[git pull] habanalabs pull request for kernel 5.13

2021-04-10 Thread Oded Gabbay
Hi Greg, This is habanalabs pull request for the merge window of kernel 5.13. It contains changes and new features, support for new firmware. Details are in the tag. Thanks, Oded The following changes since commit b195b20b7145bcae22ad261abc52d68336f5e913: Merge tag 'extcon-next-for-5.13' of

Re: [PATCH] i2c: ensure timely release of driver-allocated resources

2021-04-10 Thread Wolfram Sang
On Sun, Mar 21, 2021 at 06:38:32PM -0700, Dmitry Torokhov wrote: > More and more drivers rely on devres to manage their resources, however > if bus' probe() and release() methods are not trivial and control some > of resources as well (for example enable or disable clocks, or attach > device to a p

[PATCH v2] staging: media: meson: vdec: declare u32 as const and static const

2021-04-10 Thread Mitali Borkar
Declared 32 bit unsigned int as static constant inside a function and replaced u32[] {x,y} as canvas1, canvas2 in codec_mpeg12.c This indicates the value of canvas indexes will remain constant throughout execution. Replaced u32 reg_base and u32 reg_name with const u32 reg_base and const u32 reg_na

[PATCH] ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin

2021-04-10 Thread Grzegorz Szymaszek
The microSD card detect pin is physically connected to the MPU pin PI3. The Device Tree configuration of the card detect pin was wrong—it was set to pin PB7 instead. If such configuration was used, the kernel would hang on “Waiting for root device” when booting from a microSD card. Signed-off-by:

Re: [PATCH 00/12] i2c: Adding support for software nodes

2021-04-10 Thread Wolfram Sang
On Mon, Mar 29, 2021 at 01:50:35PM +0300, Heikki Krogerus wrote: > Hi, > > The old device property API (device_add_properties()) is going to be > removed. These prepare the i2c subsystem and drivers for the change. > The change is fairly trivial in case of i2c. All we need to do is add > complete

collect2: error: ld returned 1 exit status

2021-04-10 Thread kernel test robot
Hi Alexei, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 95c7b07551879c8ad4d6dca10c02de46ddbf55a8 commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.

[PATCH 4/5] kconfig: nconf: remove unneeded default for menu prompt

2021-04-10 Thread Masahiro Yamada
The rootmenu always has a prompt even if the 'mainmenu' statement is missing in the top Kconfig file. conf_parse() calls menu_add_prompt(P_MENU, "Main menu", NULL) in this case. So, every 'menu' has a prompt. Signed-off-by: Masahiro Yamada --- scripts/kconfig/nconf.c | 6 ++ 1 file change

[PATCH 3/5] kconfig: nconf: get rid of (void) casts from wattrset() calls

2021-04-10 Thread Masahiro Yamada
This reverts commit 10175ba65fde ("nconfig: Silence unused return values from wattrset"). With recent GCC versions used, I no longer see "value computed is not used" warnings even without the (void) casts. The wattrset() used to be a macro like this: #define wattrset(win,at) \ (NCURS

[PATCH 5/5] kconfig: nconf: refactor attributes setup code

2021-04-10 Thread Masahiro Yamada
The current attributes setup code is strange; the array attribute[] is set to values outside the range of the attribute_t enum. At least, attributes_t attributes[ATTR_MAX+1] = {0}; ... should be int attribute[ATTR_MAX+1] = {0}; Also, there is no need to hard-code the color-pair numbers in

[PATCH 2/5] kconfig: nconf: fix NORMAL attributes

2021-04-10 Thread Masahiro Yamada
The lower 8-bit of attributes should be 0, but this code wrongly sets it to NORMAL (=1). The correct one is A_NORMAL. Signed-off-by: Masahiro Yamada --- scripts/kconfig/nconf.gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/nconf.gui.c b/scripts/kcon

[PATCH 1/5] kconfig: mconf,nconf: remove unneeded '\0' termination after snprintf()

2021-04-10 Thread Masahiro Yamada
snprintf() always terminates the destination buffer with '\0' even if the buffer is not long enough. (In this case, the last element of the buffer becomes '\0'.) The explicit termination is unneeded. Signed-off-by: Masahiro Yamada --- scripts/kconfig/mconf.c | 11 +++ scripts/kconfig/n

Re: [PATCH] ext4: add a configurable parameter to prevent endless loop in ext4_mb_discard_group_p

2021-04-10 Thread Wen Yang
在 2021/4/9 下午1:47, riteshh 写道: On 21/04/09 02:50AM, Wen Yang wrote: On Apr 7, 2021, at 5:16 AM, riteshh wrote: On 21/04/07 03:01PM, Wen Yang wrote: From: Wen Yang The kworker has occupied 100% of the CPU for several days: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 68086

Re: [PATCH net-next v3 2/5] mm: add a signature in struct page

2021-04-10 Thread Matthew Wilcox
On Sat, Apr 10, 2021 at 09:27:31PM +0300, Ilias Apalodimas wrote: > > Can this page_pool be used for TCP RX zerocopy? If yes then PageType > > can not be used. > > Yes it can, since it's going to be used as your default allocator for > payloads, which might end up on an SKB. > So we have to keep t

[PATCH] Staging: rtl8192u: ieee80211: remove odd backslash.

2021-04-10 Thread dev . dragon
From: Dmitrii Wolf This backslash should be deleted - looks like leftover and not needed. --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl81

Re: [Nouveau] [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2021-04-10 Thread Lukas Wunner
On Sat, Apr 10, 2021 at 04:51:27PM +0100, Roy Spliet wrote: > Can I ask someone with more > technical knowledge of snd_hda_intel and vgaswitcheroo to brainstorm about > the possible challenges of nouveau taking matters into its own hand rather > than keeping this PCI quirk around? It sounds to me

Re: [PATCH] staging: mt7621-pci: stop using of_pci_range_to_resource

2021-04-10 Thread Sergio Paracuellos
Hi Ilya, On Sat, Apr 10, 2021 at 7:33 PM Ilya Lipnitskiy wrote: > > The logic here was already overriding the erroneous IO addresses > returned from of_pci_range_to_resource, which is the bulk of the logic. > > So stop using it altogether and initialize the fields explicitly, as > done in aeba373

[PATCH] Staging: media: atomisp: pci: fixed a curly bracket coding style issue.

2021-04-10 Thread dev . dragon
From: Dmitrii Wolf Fixed a coding style issue. --- drivers/staging/media/atomisp/pci/atomisp_csi2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_csi2.c b/drivers/staging/media/atomisp/pci/atomisp_csi2.c index 060b8765ae96..200f1

  1   2   3   4   5   >