Re: [PATCH v3 2/6] dt-bindings: usb: Add Qualcomm PMIC type C controller dt-binding

2020-06-22 Thread Wesley Cheng
On 6/18/2020 3:23 PM, Rob Herring wrote: > On Thu, Jun 18, 2020 at 2:09 PM Wesley Cheng wrote: >> >> >> On 6/18/2020 11:33 AM, Rob Herring wrote: >>> On Wed, Jun 17, 2020 at 12:02 PM Wesley Cheng wrote: >>> >>> You are duplicating everything in usb-connector.yaml. You should have >>> a $ref

Re: [PATCH 17/21] x86/fpu: Use proper mask to replace full instruction mask

2020-06-22 Thread Liang, Kan
On 6/22/2020 11:02 AM, Dave Hansen wrote: On 6/22/20 7:52 AM, Liang, Kan wrote: --- a/arch/x86/kernel/fpu/xstate.c +++ b/arch/x86/kernel/fpu/xstate.c @@ -58,6 +58,7 @@ static short xsave_cpuid_features[] __initdata = {    * XSAVE buffer, both supervisor and user xstates.    */   u64

Re: [PATCH v2 3/8] soc: qcom: socinfo: Add socinfo entry for SDM630

2020-06-22 Thread Bjorn Andersson
On Mon 22 Jun 01:37 PDT 2020, Konrad Dybcio wrote: > Hi Bjorn, > > you said "Applied" - so should I omit this patch when sending a v3 of > the series or keep it in there? > Seems I missed pushing out the drivers-for-5.9 branch, but the change is staged for 5.9 here:

Re: [PATCH v2] perf flamegraph: explicitly set utf-8 encoding

2020-06-22 Thread Andreas Gerstmayr
On 22.06.20 18:31, Arnaldo Carvalho de Melo wrote: Em Fri, Jun 19, 2020 at 05:32:31PM +0200, Andreas Gerstmayr escreveu: on some platforms the default encoding is not utf-8, which causes an UnicodeDecodeError when reading the flamegraph template and writing the flamegraph Thanks, applied.

Re: [PATCH v2 1/1] clk: qcom: gcc-msm8994: Add missing clocks, resets and GDSCs

2020-06-22 Thread Bjorn Andersson
On Mon 22 Jun 02:18 PDT 2020, Konrad Dybcio wrote: > changes since v1: > - refrain from reordering defines in the header The changelog goes after '---' below. > > This change adds GDSCs, resets and most of the missing > clocks to the msm8994 GCC driver. The remaining ones > are of

Re: [PATCH v6 13/19] mm: memcg/slab: simplify memcg cache creation

2020-06-22 Thread Roman Gushchin
On Mon, Jun 22, 2020 at 10:29:29AM -0700, Shakeel Butt wrote: > On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > > > Because the number of non-root kmem_caches doesn't depend on the > > number of memory cgroups anymore and is generally not very big, > > there is no more need for a

[PATCH 5/5] Huawei BMA: Adding Huawei BMA driver: host_kbox_drv

2020-06-22 Thread yunaixin03610
From: yunaixin The BMA software is a system management software offered by Huawei. It supports the status monitoring, performance monitoring, and event monitoring of various components, including server CPUs, memory, hard disks, NICs, IB cards, PCIe cards, RAID controller cards, and optical

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

2020-06-22 Thread James Morris
On Mon, 15 Jun 2020, Sami Tolvanen wrote: > Commit 8c0637e950d6 ("keys: Make the KEY_NEED_* perms an enum rather than > a mask") changed the type of the key_permission callback functions, but > didn't change the type of the hook, which trips indirect call checking with > Control-Flow Integrity

Re: [PATCH] Revert "kernel/printk: add kmsg SEEK_CUR handling"

2020-06-22 Thread Bruno Meneguele
On Mon, Jun 22, 2020 at 10:32:51AM -0700, Linus Torvalds wrote: > On Mon, Jun 22, 2020 at 10:10 AM Bruno Meneguele wrote: > > > > Although both options are pretty fine by me too, I "fear" (not really) > > we can end up stacking special behavior interfaces, forcing userspace to > > keep a "table

Re: [PATCH v33 01/21] x86/cpufeatures: x86/msr: Add Intel SGX hardware bits

2020-06-22 Thread Borislav Petkov
On Thu, Jun 18, 2020 at 01:08:23AM +0300, Jarkko Sakkinen wrote: > From: Sean Christopherson > > Add X86_FEATURE_SGX from CPUID.(EAX=7, ECX=1), which informs whether the > CPU has SGX. > > Add X86_FEATURE_SGX1 and X86_FEATURE_SGX2 from CPUID.(EAX=12H, ECX=0), > which describe the level of SGX

Re: UART/TTY console deadlock

2020-06-22 Thread Andy Shevchenko
+Cc: Tony and console people On Mon, Jun 22, 2020 at 8:32 PM Raul Rangel wrote: > > We are trying an S3 suspend stress test and occasionally while > entering S3 we get a console deadlock. Is this a known issue? I'm not > really sure why a probe would be happening while suspending. > > The kernel

Re: [PATCH v6 15/19] mm: memcg/slab: deprecate slab_root_caches

2020-06-22 Thread Shakeel Butt
On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > Currently there are two lists of kmem_caches: > 1) slab_caches, which contains all kmem_caches, > 2) slab_root_caches, which contains only root kmem_caches. > > And there is some preprocessor magic to have a single list > if

Re: [PATCH v3 2/6] remoteproc: k3: Add TI-SCI processor control helper functions

2020-06-22 Thread Mathieu Poirier
Hi Suman, Apologies for the late reply, this one slipped through the cracks... On Fri, Jun 12, 2020 at 05:49:10PM -0500, Suman Anna wrote: > Texas Instruments' K3 generation SoCs have specific modules/register > spaces used for configuring the various aspects of a remote processor. > These

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

2020-06-22 Thread Sam Ravnborg
Hi Vladimir > I really don't get what's the problem here. The listing of > ld9040_prepare at the given commit and with the given .config is: The culprint is likely ld9040_brightness_set() that is inlined. I think we have troubles with static u8 const ld9040_gammas[25][22] I did not look

Re: [PATCH] qla2xxx: Set NVME status code for failed NVME FCP request

2020-06-22 Thread Himanshu Madhani
On 6/4/20 5:07 AM, Daniel Wagner wrote: The qla2xxx driver knows when request was processed successfully or not. But it always sets the NVME status code to 0/NVME_SC_SUCCESS. The upper layer needs to figure out from the rcv_rsplen and transferred_length variables if the request was

[PATCH 1/4] iommu/arm-smmu-v3: Fix trivial typo

2020-06-22 Thread John Garry
Set "cmq" -> "cmdq". Signed-off-by: John Garry --- drivers/iommu/arm-smmu-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c index f578677a5c41..a8e814c652fe 100644 --- a/drivers/iommu/arm-smmu-v3.c +++

[PATCH v3 2/3] ARM: dts: change AM33XX_PADCONF macro separate conf and mux

2020-06-22 Thread Drew Fustini
AM33XX_PADCONF macro is modified to keep pin conf and pin mux separate. This requires #pinctrl-cells = 2 in am33xx-l4.dtsi pinctrl-single.c but also be changed to support "pinctrl-single,pins" with 3 arguments (offset, conf, mux) Signed-off-by: Drew Fustini ---

[PATCH 0/4] iommu/arm-smmu-v3: Improve cmdq lock efficiency

2020-06-22 Thread John Garry
As mentioned in [0], the CPU may consume many cycles processing arm_smmu_cmdq_issue_cmdlist(). One issue we find is the cmpxchg() loop to get space on the queue takes approx 25% of the cycles for this function. This series removes that cmpxchg(). For my NVMe test with 3x NVMe SSDs, I'm getting a

[PATCH 3/4] iommu/arm-smmu-v3: Always issue a CMD_SYNC per batch

2020-06-22 Thread John Garry
To ensure that a CPU does not send more than a permitted amount of commands to the cmdq, ensure that each batch includes a CMD_SYNC. When issuing a CMD_SYNC, we always wait for the consumption of its batch of commands - as such, we guarantee that any CPU will not issue more than its permitted

[PATCH v3 3/3] ARM: dts: am33xx-l4: change #pinctrl-cells from 1 to 2

2020-06-22 Thread Drew Fustini
This requires AM33XX_PADCONF macro in omap.h to be modified to keep pin conf and pin mux values separate. pinctrl-single.c must also be changed to support "pinctrl-single,pins" with 3 arguments (offset, conf, mux). Signed-off-by: Drew Fustini --- arch/arm/boot/dts/am33xx-l4.dtsi | 2 +- 1 file

[PATCH 4/4] iommu/arm-smmu-v3: Remove cmpxchg() in arm_smmu_cmdq_issue_cmdlist()

2020-06-22 Thread John Garry
It has been shown that the cmpxchg() for finding space in the cmdq can be a bottleneck: - for more CPUs contending the cmdq, the cmpxchg() will fail more often - since the software-maintained cons pointer is updated on the same 64b memory region, the chance of cmpxchg() failure increases again

Re: [PATCH v6 16/19] mm: memcg/slab: remove redundant check in memcg_accumulate_slabinfo()

2020-06-22 Thread Shakeel Butt
On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > memcg_accumulate_slabinfo() is never called with a non-root > kmem_cache as a first argument, so the is_root_cache(s) check > is redundant and can be removed without any functional change. > > Signed-off-by: Roman Gushchin > Reviewed-by:

[PATCH 2/4] iommu/arm-smmu-v3: Calculate bits for prod and owner

2020-06-22 Thread John Garry
Since the arm_smmu_ll_queue.prod will be for counting the "owner" value and also HW prod pointer, calculate how many bits are available for and used by each. This is based on the number of possible CPUs in the system. And we require that each CPU can issue a minimum of 2 commands per batch - 1 x

Re: [PATCH] Revert "kernel/printk: add kmsg SEEK_CUR handling"

2020-06-22 Thread Linus Torvalds
On Mon, Jun 22, 2020 at 10:10 AM Bruno Meneguele wrote: > > Although both options are pretty fine by me too, I "fear" (not really) > we can end up stacking special behavior interfaces, forcing userspace to > keep a "table of special case files". Personally, I prefer to return > something _valid_

[PATCH v3 1/3] pinctrl: single: parse #pinctrl-cells = 2

2020-06-22 Thread Drew Fustini
If "pinctrl-single,pins" has 3 arguments (offset, conf, mux) then pcs_parse_one_pinctrl_entry() does an OR operation on to get the value to store in the register. Signed-off-by: Drew Fustini --- drivers/pinctrl/pinctrl-single.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-)

[PATCH v3 0/3] pinctrl: single: support #pinctrl-cells = 2

2020-06-22 Thread Drew Fustini
Currently, pinctrl-single only allows #pinctrl-cells = 1. This series will allow pinctrl-single to also support #pinctrl-cells = 2 If "pinctrl-single,pins" has 3 arguments (offset, conf, mux) then pcs_parse_one_pinctrl_entry() does an OR operation on to get the value to store in the register.

Re: [PATCH v2] dma-pool: Fix too large DMA pools on medium systems

2020-06-22 Thread Christoph Hellwig
On Mon, Jun 22, 2020 at 05:07:55PM +0100, Robin Murphy wrote: > Another angle, though, is to question why this driver is making such a > large allocation with GFP_ATOMIC in the first place. At a glance it looks > like there's no reason at all other than that it's still using the legacy >

UART/TTY console deadlock

2020-06-22 Thread Raul Rangel
We are trying an S3 suspend stress test and occasionally while entering S3 we get a console deadlock. Is this a known issue? I'm not really sure why a probe would be happening while suspending. The kernel command line is `console=ttyS0` and kernel 5.4.39. Here is the log: [ 278.885831] leds

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/process

2020-06-22 Thread Joe Perches
On Mon, 2020-06-22 at 19:03 +0200, Miguel Ojeda wrote: > On Mon, Jun 22, 2020 at 3:06 PM Jonathan Corbet wrote: > > As has been noted elsewhere, checkpatch.pl seems like the appropriate > > place to make this check. As for "the entire tree"...if this job gets > > completed, "git grep" should be

Re: [PATCH v6 13/19] mm: memcg/slab: simplify memcg cache creation

2020-06-22 Thread Shakeel Butt
On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > Because the number of non-root kmem_caches doesn't depend on the > number of memory cgroups anymore and is generally not very big, > there is no more need for a dedicated workqueue. > > Also, as there is no more need to pass any arguments

Re: [PATCH] xfs: Couple of typo fixes in comments

2020-06-22 Thread Darrick J. Wong
On Sun, Jun 07, 2020 at 03:44:59AM -0400, Keyur Patel wrote: > ./xfs/libxfs/xfs_inode_buf.c:56: unnecssary ==> unnecessary > ./xfs/libxfs/xfs_inode_buf.c:59: behavour ==> behaviour > ./xfs/libxfs/xfs_inode_buf.c:206: unitialized ==> uninitialized > > Signed-off-by: Keyur Patel Looks simple

Re: [PATCH v2 13/16] mm/debug_vm_pgtable: Remove uninitialized_var() usage

2020-06-22 Thread Nick Desaulniers
On Fri, Jun 19, 2020 at 8:30 PM Kees Cook wrote: > > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings (e.g. > "unused variable"). If the compiler thinks it is uninitialized, either > simply initialize the

[PATCH v2] ima: move APPRAISE_BOOTPARAM dependency on ARCH_POLICY to runtime

2020-06-22 Thread Bruno Meneguele
IMA_APPRAISE_BOOTPARAM has been marked as dependent on !IMA_ARCH_POLICY in compile time, enforcing the appraisal whenever the kernel had the arch policy option enabled. However it breaks systems where the option is actually set but the system wasn't booted in a "secure boot" platform. In this

Re: [PATCH 09/16] mm/hmm: add output flag for compound page mapping

2020-06-22 Thread Jason Gunthorpe
On Fri, Jun 19, 2020 at 02:56:42PM -0700, Ralph Campbell wrote: > hmm_range_fault() returns an array of page frame numbers and flags for > how the pages are mapped in the requested process' page tables. The PFN > can be used to get the struct page with hmm_pfn_to_page() and the page size > order

Re: [PATCH v2 10/16] KVM: PPC: Book3S PR: Remove uninitialized_var() usage

2020-06-22 Thread Nick Desaulniers
On Fri, Jun 19, 2020 at 8:30 PM Kees Cook wrote: > > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings (e.g. > "unused variable"). If the compiler thinks it is uninitialized, either > simply initialize the

Re: [PATCH 08/16] nouveau/hmm: fault one page at a time

2020-06-22 Thread Jason Gunthorpe
On Fri, Jun 19, 2020 at 02:56:41PM -0700, Ralph Campbell wrote: > The SVM page fault handler groups faults into a range of contiguous > virtual addresses and requests hmm_range_fault() to populate and > return the page frame number of system memory mapped by the CPU. > In preparation for

Re: [PATCH] docs: f2fs: fix a broken table

2020-06-22 Thread Jonathan Corbet
On Mon, 22 Jun 2020 10:11:06 -0700 Eric Biggers wrote: > Someone already sent out a fix for this: > https://lkml.kernel.org/linux-doc/52f851cb5c9fd2ecae97deec7e168e66b8c295c3.1591137229.git.mchehab+hua...@kernel.org/ > > Is it intentional that you're sending out a different fix rather than

Important Notification.

2020-06-22 Thread Cephas Agbeh
I am bringing this notice to your attention in respect of the death of a deceased client of mine that has the same surname with you and his fund valued at $19.9M to be paid to you.contact me at cephasagb...@gmail.com for more details. Yours Sincerely, Cephas Agbeh, Attorney At Law.

Re: [PATCH][v2] PM / s2idle: Clear _TIF_POLLING_NRFLAG before suspend to idle

2020-06-22 Thread Chen Yu
Hi Rafael, On Mon, Jun 22, 2020 at 06:19:35PM +0200, Rafael J. Wysocki wrote: [cut] > > +{ > > + if (!current_clr_polling_and_test()) > > + s2idle_enter(drv, dev, index); > > + > > + return index; > > Is the value returned here used at all? > It is not used for now IMO.

Re: [PATCH] proc: Avoid a thundering herd of threads freeing proc dentries

2020-06-22 Thread Junxiao Bi
On 6/22/20 8:20 AM, ebied...@xmission.com wrote: If I understand correctly, the Java VM is not exiting. Just some of it's threads. That is a very different problem to deal with. That are many optimizations that are possible when_all_ of the threads are exiting that are not possible

Re: [PATCH v6 10/19] mm: memcg/slab: deprecate memory.kmem.slabinfo

2020-06-22 Thread Shakeel Butt
On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > Deprecate memory.kmem.slabinfo. > > An empty file will be presented if corresponding config options are > enabled. > > The interface is implementation dependent, isn't present in cgroup v2, > and is generally useful only for core mm

Re: [PATCH 2/2] selftests/fpu: Add an FPU selftest

2020-06-22 Thread Borislav Petkov
On Fri, Jun 19, 2020 at 11:00:28AM -0700, Andy Lutomirski wrote: > This should be cc-option, not cc-ifversion, I think. Why? > But maybe we should consider dropping the problematic GCC version > instead? The old GCC versions with stack alignment problems are > seriously problematic for x86

Re: [PATCH] docs: f2fs: fix a broken table

2020-06-22 Thread Eric Biggers
On Mon, Jun 22, 2020 at 07:39:07AM -0600, Jonathan Corbet wrote: > Commit ed318a6cc0b6 ("fscrypt: support test_dummy_encryption=v2") added an > entry to the massive option table in Documentation/filesystems/f2fs.txt. > The option was too wide for the formatting of the table, though, leading to > a

Re: [PATCH v2] USB: Serial: cypress_M8: Enable Simply Automated UPB PIM

2020-06-22 Thread James Hilliard
On Mon, Jun 22, 2020 at 2:53 AM Johan Hovold wrote: > > On Tue, Jun 16, 2020 at 04:04:03PM -0600, James Hilliard wrote: > > This is a UPB(Universal Powerline Bus) PIM(Powerline Interface Module) > > which allows for controlling multiple UPB compatible devices from > > Linux using the standard

Re: [PATCH] Revert "kernel/printk: add kmsg SEEK_CUR handling"

2020-06-22 Thread Bruno Meneguele
On Mon, Jun 22, 2020 at 09:42:25AM -0700, Linus Torvalds wrote: > > Would it make sense to return the next buffer index instead? Basically > > the same as SEEK_END does? The first "if (offset)" in the function would > > prevent any real relative move while SEEK_CUR would return a valid > > address

Re: [PATCH 1/2] x86/fpu: Reset MXCSR to default in kernel_fpu_begin()

2020-06-22 Thread Borislav Petkov
On Fri, Jun 19, 2020 at 11:01:44AM -0700, Andy Lutomirski wrote: > On Fri, Jun 19, 2020 at 10:41 AM Borislav Petkov wrote: > > > > From: Petteri Aimonen > > > > Previously, kernel floating point code would run with the MXCSR control > > register value last set by userland code by the thread that

Re: [PATCH 0/2] Allow breaking up Thunderbolt/USB4 updates

2020-06-22 Thread Mika Westerberg
On Mon, Jun 22, 2020 at 04:41:35PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Mika Westerberg > > Sent: Monday, June 22, 2020 11:38 AM > > To: Limonciello, Mario > > Cc: Andreas Noever; Michael Jamet; Yehezkel Bernat; > > linux-...@vger.kernel.org; > >

Re: [PATCH v1 03/11] soc: mediatek: cmdq: add write_s function

2020-06-22 Thread Matthias Brugger
On 22/06/2020 18:12, Dennis-YC Hsieh wrote: > Hi Matthias, > > On Mon, 2020-06-22 at 17:54 +0200, Matthias Brugger wrote: >> >> On 22/06/2020 17:36, Dennis-YC Hsieh wrote: >>> Hi Matthias, >>> >>> thanks for your comment. >>> >>> On Mon, 2020-06-22 at 13:07 +0200, Matthias Brugger wrote:

Re: [PATCH 13/19] mm: memcontrol: drop unused try/commit/cancel charge API

2020-06-22 Thread Ben Widawsky
On 20-05-08 14:31:00, Johannes Weiner wrote: > There are no more users. RIP in peace. > Would it make sense to update Documentation/admin-guide/cgroup-v1/memcg_test.rst too? I don't have the history on this file, or why it exists (it does say implementation details can be changed). >

Re: [PATCH 2/2] selftests/fpu: Add an FPU selftest

2020-06-22 Thread Borislav Petkov
On Sun, Jun 21, 2020 at 03:55:00AM +0800, kernel test robot wrote: > Hi Borislav, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on kselftest/next] > [also build test ERROR on tip/auto-latest linus/master v5.8-rc1 next-20200618] > [cannot apply to tip/x86/core]

Re: [PATCH] KVM: x86/mmu: Avoid mixing gpa_t with gfn_t in walk_addr_generic()

2020-06-22 Thread Paolo Bonzini
On 22/06/20 17:14, Vitaly Kuznetsov wrote: > translate_gpa() returns a GPA, assigning it to 'real_gfn' seems obviously > wrong. There is no real issue because both 'gpa_t' and 'gfn_t' are u64 and > we don't use the value in 'real_gfn' as a GFN, we do > > real_gfn = gpa_to_gfn(real_gfn); > >

Re: [PATCH v2 04/16] b43: Remove uninitialized_var() usage

2020-06-22 Thread Nick Desaulniers
On Fri, Jun 19, 2020 at 8:30 PM Kees Cook wrote: > > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings (e.g. > "unused variable"). If the compiler thinks it is uninitialized, either > simply initialize the

Re: [PATCH v2] USB: Serial: cypress_M8: Enable Simply Automated UPB PIM

2020-06-22 Thread James Hilliard
On Mon, Jun 22, 2020 at 2:53 AM Johan Hovold wrote: > > On Tue, Jun 16, 2020 at 04:04:03PM -0600, James Hilliard wrote: > > This is a UPB(Universal Powerline Bus) PIM(Powerline Interface Module) > > which allows for controlling multiple UPB compatible devices from > > Linux using the standard

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/process

2020-06-22 Thread Miguel Ojeda
On Mon, Jun 22, 2020 at 3:06 PM Jonathan Corbet wrote: > > As has been noted elsewhere, checkpatch.pl seems like the appropriate > place to make this check. As for "the entire tree"...if this job gets > completed, "git grep" should be a fine way to do that. `checkpatch` is not really enforced

Re: [PATCH v2 00/11] KVM: Support guest MAXPHYADDR < host MAXPHYADDR

2020-06-22 Thread Paolo Bonzini
On 22/06/20 18:33, Tom Lendacky wrote: > I'm not a big fan of trapping #PF for this. Can't this have a performance > impact on the guest? If I'm not mistaken, Qemu will default to TCG > physical address size (40-bits), unless told otherwise, causing #PF to now > be trapped. Maybe libvirt defaults

[tip: x86/fsgsbase] selftests/x86: Add a syscall_arg_fault_64 test for negative GSBASE

2020-06-22 Thread tip-bot2 for Andy Lutomirski
The following commit has been merged into the x86/fsgsbase branch of tip: Commit-ID: a5d25e01c8146ad8846da4760422e12242fceafe Gitweb: https://git.kernel.org/tip/a5d25e01c8146ad8846da4760422e12242fceafe Author:Andy Lutomirski AuthorDate:Wed, 27 May 2020 16:02:36 -07:00

Re: [PATCH v2 01/16] docs: deprecated.rst: Add uninitialized_var()

2020-06-22 Thread Nick Desaulniers
On Fri, Jun 19, 2020 at 8:30 PM Kees Cook wrote: > > Nothing should be using this macro, and the entire idea of tricking the > compiler into silencing such warnings is a mistake. > > Signed-off-by: Kees Cook Reviewed-by: Nick Desaulniers > --- > Documentation/process/deprecated.rst | 18

Re: [GIT PULL] regmap fixes for v5.8-rc2

2020-06-22 Thread Mark Brown
On Mon, Jun 22, 2020 at 09:46:24AM -0700, Linus Torvalds wrote: > That said, automating the mailing is *not* incompatible with having a > real name in the "From" line. Can you please make your scripting at > least say "Mark Brown " rather than just > "broo...@kernel.org". Sure, will do - my MTA

Re: [PATCH v16 00/14] Introduce Data Access MONitor (DAMON)

2020-06-22 Thread Shakeel Butt
Hi SeongJae, On Mon, Jun 22, 2020 at 1:42 AM SeongJae Park wrote: > > Last week, this patchset received 5 'Reviewed-by' tags, but no further > comments > for changes. I updated the documentation, but the change is only small. For > the reason, I'm only asking more reviews rather than posting

Re: [PATCH 00/16] mm/hmm/nouveau: THP mapping and migration

2020-06-22 Thread Ralph Campbell
On 6/22/20 5:39 AM, Jason Gunthorpe wrote: On Fri, Jun 19, 2020 at 02:56:33PM -0700, Ralph Campbell wrote: These patches apply to linux-5.8.0-rc1. Patches 1-3 should probably go into 5.8, the others can be queued for 5.9. Patches 4-6 improve the HMM self tests. Patch 7-8 prepare nouveau for

Re: Strange problem with SCTP+IPv6

2020-06-22 Thread Corey Minyard
On Mon, Jun 22, 2020 at 08:01:23PM +0800, Xin Long wrote: > On Sun, Jun 21, 2020 at 11:56 PM Corey Minyard wrote: > > > > I've stumbled upon a strange problem with SCTP and IPv6. If I create an > > sctp listening socket on :: and set the IPV6_V6ONLY socket option on it, > > then I make a

Re: [PATCH] dt-bindings: backlight: Convert common backlight bindings to DT schema

2020-06-22 Thread Daniel Thompson
On Fri, Jun 19, 2020 at 11:53:41PM +0200, Sam Ravnborg wrote: > > diff --git > > a/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml > > b/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml > > new file mode 100644 > > index ..7e1f109a38a4 > > ---

Re: [PATCH 14/21] KVM: Move x86's version of struct kvm_mmu_memory_cache to common code

2020-06-22 Thread Sean Christopherson
On Wed, Jun 10, 2020 at 02:58:21PM -0700, Ben Gardon wrote: > On Wed, Jun 10, 2020 at 12:01 PM Ben Gardon wrote: > > > diff --git a/arch/x86/include/asm/kvm_host.h > > > b/arch/x86/include/asm/kvm_host.h > > > index fb99e6776e27..8e8fea13b6c7 100644 > > > --- a/arch/x86/include/asm/kvm_host.h >

INFO: trying to register non-static key in skb_queue_tail

2020-06-22 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f8f02d5c USB: OTG: rename product list of devices git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=17205bae10 kernel config:

Re: [PATCH v6 12/19] mm: memcg/slab: use a single set of kmem_caches for all accounted allocations

2020-06-22 Thread Shakeel Butt
On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > This is fairly big but mostly red patch, which makes all accounted > slab allocations use a single set of kmem_caches instead of > creating a separate set for each memory cgroup. > > Because the number of non-root kmem_caches is now capped

Re: [GIT PULL] regulator fixes for v5.8-rc2

2020-06-22 Thread pr-tracker-bot
The pull request you sent on Mon, 22 Jun 2020 12:40:20 +0100: > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git > tags/regulator-fix-v5.8-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/751645789f7cffddb0715d51fd9e72986ad9ecaf Thank you! --

[PATCH] drm/msm: Fix up the rest of the messed up address sizes

2020-06-22 Thread Jordan Crouse
msm_gem_address_space_create() changed to take a start/length instead of a start/end for the iova space but all of the callers were just cut and pasted from the old usage. Most of the mistakes have been fixed up so just catch up the rest. Fixes: ccac7ce373c1 ("drm/msm: Refactor address space

Re: [GIT PULL] regmap fixes for v5.8-rc2

2020-06-22 Thread pr-tracker-bot
The pull request you sent on Mon, 22 Jun 2020 12:39:14 +0100: > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git > tags/regmap-fix-v5.8-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2a00087068542b4324b54a14278acabc50f2a61b Thank you! --

Re: [PATCH v2] gpio: rcar: handle pm_runtime_get_sync failure case

2020-06-22 Thread Bartosz Golaszewski
śr., 17 cze 2020 o 09:43 Geert Uytterhoeven napisał(a): > > On Wed, Jun 17, 2020 at 9:40 AM Navid Emamdoost > wrote: > > Calling pm_runtime_get_sync increments the counter even in case of > > failure, causing incorrect ref count. Call pm_runtime_put if > > pm_runtime_get_sync fails. > > > >

Re: [PATCH v2 1/3] mfd: core: Make a best effort attempt to match devices with the correct of_nodes

2020-06-22 Thread Lee Jones
On Mon, 22 Jun 2020, Frank Rowand wrote: > On 2020-06-22 03:09, Lee Jones wrote: > > On Thu, 11 Jun 2020, Lee Jones wrote: > > > >> Currently, when a child platform device (sometimes referred to as a > >> sub-device) is registered via the Multi-Functional Device (MFD) API, > >> the framework

Re: [PATCH v1 1/1] pci: controller: cadence: fix wrong path in comment

2020-06-22 Thread Bjorn Helgaas
Please use "git log --oneline" to help construct the subject line. Maybe: PCI: cadence-ep: Remove obsolete path from comment On Mon, Jun 22, 2020 at 11:15:20AM +0200, Flavio Suligoi wrote: > This comment still refers to the old driver pathname, > when all PCI drivers were located directly

Re: [PATCH 2/2] thunderbolt: Add support for authenticate on disconnect

2020-06-22 Thread Mika Westerberg
On Mon, Jun 22, 2020 at 09:30:35AM -0500, Mario Limonciello wrote: > Some external devices can support completing thunderbolt authentication > when they are unplugged. For this to work though, the link controller must > remain operational. > > The only device known to support this right now is

Re: [PATCH 5.7] x86/crypto: aesni: Fix build with LLVM_IAS=1

2020-06-22 Thread Sedat Dilek
On Mon, Jun 22, 2020 at 5:50 PM Sedat Dilek wrote: > Craig Topper suggested me in ClangBuiltLinux issue #1050: > > > I think the "too many positional arguments" is because the parser isn't able > > to handle the trailing commas. > > > > The "unknown use of instruction mnemonic" is because the

Re: [PATCH 1/2] net: phy: export phy_disable_interrupts()

2020-06-22 Thread kernel test robot
Hi Jisheng, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.8-rc2 next-20200622] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git

Re: [PATCH] max732x_probe: remove redundant check

2020-06-22 Thread Bartosz Golaszewski
czw., 18 cze 2020 o 01:58 Gaurav Singh napisał(a): > > The check : if (pdata) is redundant since its already > dereferenced before: pdata->have_64bit_regs; > pdata is not initialized after that hence remove > this null check. > > Signed-off-by: Gaurav Singh > --- > drivers/gpio/gpio-max732x.c |

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

2020-06-22 Thread Nick Desaulniers
On Sat, Jun 20, 2020 at 3:09 PM Vladimir Oltean wrote: > > On Sat, 20 Jun 2020 at 21:22, kernel test robot wrote: > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162 > > commit:

Re: [PATCH 1/5] Huawei BMA: Adding Huawei BMA driver: host_edma_drv

2020-06-22 Thread Randy Dunlap
On 6/22/20 9:03 AM, yunaixin03...@163.com wrote: > diff --git a/drivers/net/ethernet/huawei/bma/edma_drv/Kconfig > b/drivers/net/ethernet/huawei/bma/edma_drv/Kconfig > new file mode 100644 > index ..97829c5487c2 > --- /dev/null > +++ b/drivers/net/ethernet/huawei/bma/edma_drv/Kconfig

[PATCH 3/6] soc: ti: omap-prm: Configure sgx power domain for am3 and am4

2020-06-22 Thread Tony Lindgren
Let's configure only sgx power domain for am3 and am4 to start with. Signed-off-by: Tony Lindgren --- drivers/soc/ti/omap_prm.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c ---

Re: [PATCH] kvm: lapic: fix broken vcpu hotplug

2020-06-22 Thread Paolo Bonzini
On 22/06/20 18:08, Igor Mammedov wrote: > Guest fails to online hotplugged CPU with error > smpboot: do_boot_cpu failed(-1) to wakeup CPU#4 > > It's caused by the fact that kvm_apic_set_state(), which used to call > recalculate_apic_map() unconditionally and pulled hotplugged CPU into > apic

Re: [PATCH 0/3] pinctrl: single: support #pinctrl-cells = 2

2020-06-22 Thread Tony Lindgren
* Drew Fustini [200622 16:47]: > On Mon, Jun 22, 2020 at 09:11:32AM -0700, Tony Lindgren wrote: > > * Drew Fustini [200618 05:52]: > > > Currently, pinctrl-single only allows #pinctrl-cells = 1. > > > > > > This series will allow pinctrl-single to also support #pinctrl-cells = 2 > > > > > > If

[PATCH 4/6] soc: ti: omap-prm: Configure omap4 and 5 l4_abe power domain

2020-06-22 Thread Tony Lindgren
Let's add omap4 and 5 l4_abe interconnect instance for the power domain. Signed-off-by: Tony Lindgren --- drivers/soc/ti/omap_prm.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c --- a/drivers/soc/ti/omap_prm.c

[PATCH 2/6] soc: ti: omap-prm: Add basic power domain support

2020-06-22 Thread Tony Lindgren
The PRM controller has currently only support for resets while the power domains are still handled in the platform code. Let's add basic power domain support to enable and disable a PRM controlled power domain if configured in the devicetree. This can be used for various hardware accelerators,

[PATCH 1/6] dt-bindings: omap: Update PRM binding for genpd

2020-06-22 Thread Tony Lindgren
The PRM (Power and Reset Module) has a register to enable and disable the related power domain, so let's update the binding for that. Cc: devicet...@vger.kernel.org Cc: Rob Herring Signed-off-by: Tony Lindgren --- Documentation/devicetree/bindings/arm/omap/prm-inst.txt | 2 ++ 1 file changed,

Re: [GIT PULL] regmap fixes for v5.8-rc2

2020-06-22 Thread Linus Torvalds
On Mon, Jun 22, 2020 at 5:09 AM Mark Brown wrote: > > This (and my other pull requests today) are unsigned because I've > automated the final checks and sending of the mails and that's not > really compatible with signing the mails. I don't personally check email signatures anyway. I do check

[PATCH 5/6] ARM: dts: Configure am3 and am4 sgx for genpd and drop platform data

2020-06-22 Thread Tony Lindgren
We can power off the SGX power domain when not in use when we configure it for genpd. And with that change, we can now also drop the old unused legacy platform data. Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 2 + arch/arm/boot/dts/am4372.dtsi

[PATCHv3 0/6] Add initial genpd support for omap PRM driver

2020-06-22 Thread Tony Lindgren
Hi all, Here is v3 set of patches to add genpd support to the PRM (Power and Reset Module) driver. Initially we just add one hardware accelerator power domain for sgx, and one interconnect instance for l4_abe. The rest of the SoC specific domain data is probably best added one SoC at a time

[PATCH 6/6] ARM: dts: Configure omap4 and 5 l4_abe for genpd and drop platform data

2020-06-22 Thread Tony Lindgren
We can power off l4_abe domain when not in use when we configure it for genpd. And with that change, we can now also drop the old unused legacy platform data. Note that we also need to now use "simple-pm-bus" instead of "simple-bus" for PM runtime to get enabled for the bus. Signed-off-by: Tony

Re: [PATCH 0/3] pinctrl: single: support #pinctrl-cells = 2

2020-06-22 Thread Drew Fustini
On Mon, Jun 22, 2020 at 09:11:32AM -0700, Tony Lindgren wrote: > * Drew Fustini [200618 05:52]: > > Currently, pinctrl-single only allows #pinctrl-cells = 1. > > > > This series will allow pinctrl-single to also support #pinctrl-cells = 2 > > > > If "pinctrl-single,pins" has 3 arguments

[PATCH V7 1/4] x86/resctrl: Enable user to view and select thread throttling mode

2020-06-22 Thread Reinette Chatre
Intel Memory Bandwidth Allocation (MBA) control is provided per processor core. At the same time different CLOS, configured with different bandwidth percentages, can be assigned to the hardware threads sharing a core. In the original implementation of MBA the maximum throttling of the per-thread

[PATCH V7 3/4] x86/resctrl: Enable per-thread MBA

2020-06-22 Thread Reinette Chatre
From: Fenghua Yu Current Memory Bandwidth Allocation (MBA) hardware has a limitation: all threads on the same core must have the same delay value. If there are different delay values across threads on one core, the original MBA implementation allocates the max delay value to the core and an

[PATCH V7 4/4] x86/resctrl: Use appropriate API for strings terminated by newline

2020-06-22 Thread Reinette Chatre
The user input to files in the resctrl filesystem are expected to be terminated with a newline. Testing the user input includes a test for the presence of a newline and then replacing the newline with NUL byte followed by comparison using strcmp(). sysfs_streq() exists to test if strings are

[PATCH V7 0/4] x86/resctrl: Enable user to view and select thread throttling mode

2020-06-22 Thread Reinette Chatre
V6 upstream submission available from: https://lore.kernel.org/lkml/cover.1589922949.git.reinette.cha...@intel.com Patches apply against v5.8-rc2 base-commit: 48778464bb7d346b47157d21ffde2af6b2d39110 Changes since V6: - Rebase against v5.8-rc2 - Add Andy's Reviewed-by tag to patch 4 V5 upstream

[PATCH V7 2/4] x86/resctrl: Enumerate per-thread MBA

2020-06-22 Thread Reinette Chatre
From: Fenghua Yu Some systems support per-thread Memory Bandwidth Allocation (MBA) which applies a throttling delay value to each hardware thread instead of to a core. Per-thread MBA is enumerated by CPUID. No feature flag is shown in /proc/cpuinfo. User applications need to check a resctrl

Re: [PATCH 4/5] Huawei BMA: Adding Huawei BMA driver: cdev_veth_drv

2020-06-22 Thread Randy Dunlap
On 6/22/20 9:03 AM, yunaixin03...@163.com wrote: > diff --git a/drivers/net/ethernet/huawei/bma/Makefile > b/drivers/net/ethernet/huawei/bma/Makefile > index e6e46d820082..c626618f47fb 100644 > --- a/drivers/net/ethernet/huawei/bma/Makefile > +++ b/drivers/net/ethernet/huawei/bma/Makefile > @@

Re: [PATCH 1/2] thunderbolt: Add support for separating the flush to SPI and authenticate

2020-06-22 Thread Mika Westerberg
On Mon, Jun 22, 2020 at 09:30:34AM -0500, Mario Limonciello wrote: > This allows userspace to have a shorter period of time that the device > is unusable and to call it at a more convenient time. > > For example flushing the image may happen while the user is using the > machine and

Re: [PATCH] Revert "kernel/printk: add kmsg SEEK_CUR handling"

2020-06-22 Thread Linus Torvalds
On Mon, Jun 22, 2020 at 6:38 AM Bruno Meneguele wrote: > > However, the issue with glibc is their fd checking on dprintf using: > > lseek(offset == 0, whence == SEEK_CUR) > > Which, technically, isn't a relative seek operation in my opinion, thus > I'm also not sure that returning EINVAL is

RE: [PATCH 0/2] Allow breaking up Thunderbolt/USB4 updates

2020-06-22 Thread Mario.Limonciello
> -Original Message- > From: Mika Westerberg > Sent: Monday, June 22, 2020 11:38 AM > To: Limonciello, Mario > Cc: Andreas Noever; Michael Jamet; Yehezkel Bernat; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH 0/2] Allow breaking up Thunderbolt/USB4

Re: [PATCH 3/5] Huawei BMA: Adding Huawei BMA driver: host_veth_drv

2020-06-22 Thread Randy Dunlap
On 6/22/20 9:03 AM, yunaixin03...@163.com wrote: > diff --git a/drivers/net/ethernet/huawei/bma/Makefile > b/drivers/net/ethernet/huawei/bma/Makefile > index c9bbcbf2a388..e6e46d820082 100644 > --- a/drivers/net/ethernet/huawei/bma/Makefile > +++ b/drivers/net/ethernet/huawei/bma/Makefile > @@

Re: [PATCH 2/5] Huawei BMA: Adding Huawei BMA driver: host_cdev_drv

2020-06-22 Thread Randy Dunlap
On 6/22/20 9:03 AM, yunaixin03...@163.com wrote: > diff --git a/drivers/net/ethernet/huawei/bma/Makefile > b/drivers/net/ethernet/huawei/bma/Makefile > index 8582fb3998fb..c9bbcbf2a388 100644 > --- a/drivers/net/ethernet/huawei/bma/Makefile > +++ b/drivers/net/ethernet/huawei/bma/Makefile > @@

Re: [PATCH 0/2] Allow breaking up Thunderbolt/USB4 updates

2020-06-22 Thread Mika Westerberg
Hi Mario, On Mon, Jun 22, 2020 at 09:30:33AM -0500, Mario Limonciello wrote: > Currently updates to Thunderbolt and USB4 controllers are fully atomic > actions. When writing into the non-active NVM nothing gets flushed to > the hardware until authenticate is sent. > > There has been some desire

<    5   6   7   8   9   10   11   12   13   14   >