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

2020-06-03 Thread 李扬韬
>> + SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 0), >> + SUNXI_FUNCTION(0x0, "gpio_in"), >> + SUNXI_FUNCTION(0x1, "gpio_out"), >> + SUNXI_FUNCTION(0x2, "mmc0"), /* D1 */ >> + SUNXI_FUNCTION(0x3, "jtag"), /* MS1 */ >> + SUNXI_FUNCTION(0x4, "jtag"), /* MS_GPU */ > >We should use another name here, since

Re: [PATCH v3 055/105] drm/vc4: hvs: Introduce a function to get the assigned FIFO

2020-06-03 Thread Maxime Ripard
Hi Eric, On Wed, May 27, 2020 at 12:40:02PM -0700, Eric Anholt wrote: > On Wed, May 27, 2020 at 8:50 AM Maxime Ripard wrote: > > > > At boot time, if we detect that a pixelvalve has been enabled, we need to > > be able to retrieve the HVS channel it has been assigned to so that we can > > disable

Re: [PATCH v4 3/4] mm/util.c: remove the VM_WARN_ONCE for vm_committed_as underflow check

2020-06-03 Thread Feng Tang
On Tue, Jun 02, 2020 at 12:02:22AM -0400, Qian Cai wrote: > > > > On Jun 1, 2020, at 11:37 PM, Feng Tang wrote: > > > > I re-run the same benchmark with v5.7 and 5.7+remove_warning kernels, > > the overall performance change is trivial (which is expected) > > > > 1330147+0.1%

Re: [PATCH RFC 01/13] vhost: option to fetch descriptors through an independent struct

2020-06-03 Thread Michael S. Tsirkin
On Wed, Jun 03, 2020 at 03:13:56PM +0800, Jason Wang wrote: > > On 2020/6/2 下午9:05, Michael S. Tsirkin wrote: > > The idea is to support multiple ring formats by converting > > to a format-independent array of descriptors. > > > > This costs extra cycles, but we gain in ability > > to fetch a bat

Re: Security Random Number Generator support

2020-06-03 Thread Sudeep Holla
+ Jose On Wed, Jun 03, 2020 at 03:54:17PM +0800, Neal Liu wrote: > On Wed, 2020-06-03 at 08:40 +0100, Marc Zyngier wrote: [...] > > The idea is simply to have *one* single ID that caters for all > > implementations, just like we did for PSCI at the time. This > > requires ARM to edict a standard

Re: [PATCH 1/4] clk: sunxi-ng: add support for the Allwinner A100 CCU

2020-06-03 Thread Chen-Yu Tsai
On Wed, Jun 3, 2020 at 5:42 PM 李扬韬 wrote: > > >> + /* Enable the lock bits on all PLLs */ > >> + for (i = 0; i < ARRAY_SIZE(pll_regs); i++) { > >> + val = readl(reg + pll_regs[i]); > >> + val |= BIT(29); > > > >Having a define for that would be nice here > > > >> + writel(val, reg + pll_regs[i]

RE: (EXT) [PATCH v8 00/13] add ecspi ERR009165 for i.mx6/7 soc family

2020-06-03 Thread Robin Gong
On 2020/06/03 Matthias Schiffer wrote: > On Thu, 2020-05-21 at 04:34 +0800, Robin Gong wrote: > > There is ecspi ERR009165 on i.mx6/7 soc family, which cause FIFO > > transfer to be send twice in DMA mode. Please get more information > > from: > > https://eur01.safelinks.protection.outlook.com/?u

Re: [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict

2020-06-03 Thread Mark Brown
On Wed, Jun 03, 2020 at 12:38:14AM +0200, Mauro Carvalho Chehab wrote: > Changeset 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") > added a new parameter to a table. This causes Sphinx warnings, > because there's now an extra "-" at the wrong place: Acked-by: Mark Brown signatu

Re: [PATCH v3 73/75] x86/sev-es: Support CPU offline/online

2020-06-03 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:17:23PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > Add a play_dead handler when running under SEV-ES. This is needed > because the hypervisor can't deliver an SIPI request to restart the AP. > Instead the kernel has to issue a VMGEXIT to halt the VCPU. When the

Re: [PATCH v2] kexec: Do not verify the signature without the lockdown or mandatory signature

2020-06-03 Thread Dave Young
On 06/02/20 at 12:59pm, Lianbo Jiang wrote: > Signature verification is an important security feature, to protect > system from being attacked with a kernel of unknown origin. Kexec > rebooting is a way to replace the running kernel, hence need be > secured carefully. > > In the current code of ha

Re: [PATCH v3 74/75] x86/sev-es: Handle NMI State

2020-06-03 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:17:24PM +0200, Joerg Roedel wrote: > diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c > index 27d1016ec840..8898002e5600 100644 > --- a/arch/x86/kernel/nmi.c > +++ b/arch/x86/kernel/nmi.c > @@ -511,6 +511,13 @@ NOKPROBE_SYMBOL(is_debug_stack); > dotraplinkage n

Re: [PATCH] rcu: Fixup noinstr warnings

2020-06-03 Thread Paul E. McKenney
On Wed, Jun 03, 2020 at 10:48:18AM +0200, Peter Zijlstra wrote: > On Tue, Jun 02, 2020 at 09:38:53PM +0200, Peter Zijlstra wrote: > > > That said; noinstr's __no_sanitize combined with atomic_t might be > > 'interesting', because the regular atomic things have explicit > > annotations in them. Tha

Re: [net-next 2/6] net: marvell: prestera: Add PCI interface support

2020-06-03 Thread Ido Schimmel
On Thu, May 28, 2020 at 06:12:41PM +0300, Vadym Kochan wrote: > drivers/net/ethernet/marvell/prestera/Kconfig | 11 + > .../net/ethernet/marvell/prestera/Makefile| 2 + > .../ethernet/marvell/prestera/prestera_pci.c | 825 ++ > 3 files changed, 838 insertions(+) > create m

Re: linux-next: manual merge of the akpm-current tree with the kselftest tree

2020-06-03 Thread Masami Hiramatsu
Hi Stephen, On Wed, 3 Jun 2020 18:29:01 +1000 Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > tools/testing/selftests/sysctl/sysctl.sh > > between commit: > > eee470e0739a ("selftests/sysctl: Fix to load test_sysctl module")

Re: [PATCH v2 net-next 03/10] net: mscc: ocelot: allocated rules to different hardware VCAP TCAMs by chain index

2020-06-03 Thread Vladimir Oltean
Hi Allan, On Tue, 2 Jun 2020 at 11:38, Allan W. Nielsen wrote: > > Hi Xiaoliang, > > Happy to see that you are moving in the directions of multi chain - this > seems ilke a much better fit to me. > > > On 02.06.2020 13:18, Xiaoliang Yang wrote: > >There are three hardware TCAMs for ocelot chips:

Re: [PATCH v8 0/8] powerpc: switch VDSO to C implementation

2020-06-03 Thread Michael Ellerman
Christophe Leroy writes: > Hi Michael, > > Le 28/04/2020 à 15:16, Christophe Leroy a écrit : >> This is the seventh version of a series to switch powerpc VDSO to >> generic C implementation. >> >> Main changes since v7 are: >> - Added gettime64 on PPC32 >> >> This series applies on today's power

Re: [RFC PATCH v5 6/6] drm: exynos: mixer: Add interconnect support

2020-06-03 Thread Sylwester Nawrocki
Hi Chanwoo, On 01.06.2020 09:58, Chanwoo Choi wrote: > On 5/30/20 1:32 AM, Sylwester Nawrocki wrote: >> From: Marek Szyprowski >> >> This patch adds interconnect support to exynos-mixer. The mixer works >> the same as before when CONFIG_INTERCONNECT is 'n'. >> >> For proper operation of the video

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Sudeep Holla
On Wed, Jun 03, 2020 at 01:22:00PM +0530, Viresh Kumar wrote: > On 02-06-20, 11:34, Xiongfeng Wang wrote: > > Hi Viresh, > > > > Sorry to disturb you about another problem as follows. > > > > CPPC use the increment of Desired Performance counter and Reference > > Performance > > counter to get t

Re: [PATCH] wireless: ath10k: Return early in ath10k_qmi_event_server_exit() to avoid hard crash on reboot

2020-06-03 Thread govinds
Hi Mani, On 2020-06-03 05:57, Manivannan Sadhasivam wrote: On Tue, Jun 02, 2020 at 01:04:26PM -0700, Brian Norris wrote: On Tue, Jun 2, 2020 at 12:40 PM John Stultz wrote: > On Tue, Jun 2, 2020 at 12:16 PM Brian Norris wrote: > > On Mon, Jun 1, 2020 at 10:25 PM John Stultz wrote: > > > > >

Re: linux-next test error: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-fuzzer/6792

2020-06-03 Thread Ritesh Harjani
On 6/2/20 8:22 PM, Hillf Danton wrote: Tue, 02 Jun 2020 04:20:16 -0700 syzbot found the following crash on: HEAD commit:0e21d462 Add linux-next specific files for 20200602 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=127233ee10 kernel config:

Re: [net-next 3/6] net: marvell: prestera: Add basic devlink support

2020-06-03 Thread Ido Schimmel
On Thu, May 28, 2020 at 06:12:42PM +0300, Vadym Kochan wrote: > Add very basic support for devlink interface: > > - driver name > - fw version > - devlink ports I suggest adding support for reload while the driver is still simple. I use it all the time because I run with modules built

Re: [PATCH v3 23/75] x86/boot/compressed/64: Setup GHCB Based VC Exception handler

2020-06-03 Thread Joerg Roedel
On Mon, May 11, 2020 at 10:07:09PM +0200, Borislav Petkov wrote: > On Tue, Apr 28, 2020 at 05:16:33PM +0200, Joerg Roedel wrote: > > @@ -63,3 +175,45 @@ void __init do_vc_no_ghcb(struct pt_regs *regs, > > unsigned long exit_code) > > while (true) > > asm volatile("hlt\n"); > > } >

Re: [PATCH V11 11/11] fs/xfs: Update xfs_ioctl_setattr_dax_invalidate()

2020-06-03 Thread Jan Kara
On Tue 02-06-20 10:23:53, Darrick J. Wong wrote: > On Tue, Apr 28, 2020 at 01:11:38PM -0700, Darrick J. Wong wrote: > > > -out_unlock: > > > - xfs_iunlock(ip, XFS_MMAPLOCK_EXCL | XFS_IOLOCK_EXCL); > > > - return error; > > > + if ((mp->m_flags & XFS_MOUNT_DAX_ALWAYS) || > > > + (mp->m_flags & X

Re: [PATCHv5 3/5] ext4: mballoc: Introduce pcpu seqcnt for freeing PA to improve ENOSPC handling

2020-06-03 Thread Ritesh Harjani
Hi Marek, On 6/3/20 12:18 PM, Marek Szyprowski wrote: Hi Ritesh, On 20.05.2020 08:40, Ritesh Harjani wrote: There could be a race in function ext4_mb_discard_group_preallocations() where the 1st thread may iterate through group's bb_prealloc_list and remove all the PAs and add to function's lo

[PATCH] KVM: Use vmemdup_user()

2020-06-03 Thread Denis Efremov
Replace opencoded alloc and copy with vmemdup_user(). Signed-off-by: Denis Efremov --- Looks like these are the only places in KVM that are suitable for vmemdup_user(). arch/x86/kvm/cpuid.c | 17 +++-- virt/kvm/kvm_main.c | 19 --- 2 files changed, 15 insertions(+),

Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-06-03 Thread Mel Gorman
On Wed, Jun 03, 2020 at 10:29:22AM +0200, Patrick Bellasi wrote: > > Hi Dietmar, > thanks for sharing these numbers. > > On Tue, Jun 02, 2020 at 18:46:00 +0200, Dietmar Eggemann > wrote... > > [...] > > > I ran these tests on 'Ubuntu 18.04 Desktop' on Intel E5-2690 v2 > > (2 sockets * 10 core

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Viresh Kumar
On 03-06-20, 11:07, Sudeep Holla wrote: > But I have another question. If we can detect that CPPC on some platforms > rely on CPU registers(I assume FFH registers here and not system/io/... > type of GAS registers), can we set dvfs_on_any_cpu(can't recall exact > flag name) to false if not already

Re: [RFC PATCH v1] irqchip: Add IRQCHIP_MODULE_BEGIN/END helper macros

2020-06-03 Thread Marc Zyngier
Hi Saravana, On 2020-05-01 21:23, Saravana Kannan wrote: On Fri, May 1, 2020 at 1:48 AM Marc Zyngier wrote: On 2020-04-29 20:04, Saravana Kannan wrote: > On Wed, Apr 29, 2020 at 2:28 AM Marc Zyngier wrote: [...] >> One thing though: this seems to be exclusively DT driven. Have you >> looke

Re: [PATCH v2 1/3] crash: add VMCOREINFO macro for anonymous structs

2020-06-03 Thread Petr Mladek
On Fri 2020-05-01 11:46:08, John Ogness wrote: > Some structs are not named and are only available via their typedef. > Add a VMCOREINFO macro to export field offsets for such structs. Honestly, I did not get the meaning until I looked at the sample usage added by the 2nd patch. The term "anonymo

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Sudeep Holla
On Wed, Jun 03, 2020 at 03:40:10PM +0530, Viresh Kumar wrote: > On 03-06-20, 11:07, Sudeep Holla wrote: > > But I have another question. If we can detect that CPPC on some platforms > > rely on CPU registers(I assume FFH registers here and not system/io/... > > type of GAS registers), can we set dv

[PATCH 1/1] ext4: mballoc: Use raw_cpu_ptr instead of this_cpu_ptr

2020-06-03 Thread Ritesh Harjani
It doesn't really matter in ext4_mb_new_blocks() about whether the code is rescheduled on any other cpu due to preemption. Because we care about discard_pa_seq only when the block allocation fails and then too we add the seq counter of all the cpus against the initial sampled one to check if anyone

Re: [PATCH v3] iio: amplifiers: ad8366: Change devm_gpiod_get() to optional and add the missed check

2020-06-03 Thread Ardelean, Alexandru
On Wed, 2020-06-03 at 17:26 +0800, Chuhong Yuan wrote: > Since if there is no GPIO, nothing happens, replace devm_gpiod_get() > with devm_gpiod_get_optional(). > Also add IS_ERR() to fix the missing-check bug. > Acked-by: Alexandru Ardelean > Fixes: cee211f4e5a0 ("iio: amplifiers: ad8366: Add s

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Viresh Kumar
On 03-06-20, 11:17, Sudeep Holla wrote: > On Wed, Jun 03, 2020 at 03:40:10PM +0530, Viresh Kumar wrote: > > On 03-06-20, 11:07, Sudeep Holla wrote: > > > But I have another question. If we can detect that CPPC on some platforms > > > rely on CPU registers(I assume FFH registers here and not system/

Re: [RFC PATCH] mm: swap: remove lru drain waiters

2020-06-03 Thread Ahmed S. Darwish
Hi Hillf, For some reason, **all of your posts** from do not appear on lore.kernel.org. Check, for example, https://lore.kernel.org/lkml/?q=hdanton%40sina.com, where thread replies are there but not the actual posts. Just wanted to let you know... Please continue below. On Wed, Jun 03, 2020 at

Re: b614345f52 ("x86/entry: Clarify irq_{enter,exit}_rcu()"): WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:3680 lockdep_hardirqs_on_prepare

2020-06-03 Thread Thomas Gleixner
kernel test robot writes: > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/l...@lists.01.org > #!/bin/bash > > kernel=$1 > initrd=yocto-x86_64-trinity.cgz > > wget --no-clobber > https://download.01.org/0day-ci/lkp-qemu/osimage/yocto/$initrd That results i

Re: [PATCHv5 1/1] ext4: mballoc: Use raw_cpu_ptr instead of this_cpu_ptr

2020-06-03 Thread Marek Szyprowski
Hi Ritesh, On 02.06.2020 15:47, Ritesh Harjani wrote: > It doesn't really matter in ext4_mb_new_blocks() about whether the code > is rescheduled on any other cpu due to preemption. Because we care > about discard_pa_seq only when the block allocation fails and then too > we add the seq counter of

Re: [PATCH v5 1/3] open: add close_range()

2020-06-03 Thread Michael Kerrisk (man-pages)
Hi Christian, Could we have a manual page for this API (best before it's merged)? Thanks, Michael On Tue, 2 Jun 2020 at 22:44, Christian Brauner wrote: > > This adds the close_range() syscall. It allows to efficiently close a range > of file descriptors up to all file descriptors of a calling

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Sai Prakash Ranjan
Hi Mike, Thanks again for looking at this. On 2020-06-03 03:42, Mike Leach wrote: [...] SMMU/IOMMU won't be able to do much here as it is the client's responsiblity to properly shutdown and SMMU device link just makes sure that SMMU(supplier) shutdown is called only after its consumers shutdo

[PATCH] tty/vt: check allocation size in con_set_unimap()

2020-06-03 Thread Denis Efremov
The vmemdup_user() function has no 2-factor argument form. Use array_size() to check for the overflow. Cc: Kees Cook Signed-off-by: Denis Efremov --- drivers/tty/vt/consolemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/vt/consolemap.c b/drivers/tty/vt/cons

linux-next: fix ups for clashes between akpm and powerpc trees

2020-06-03 Thread Stephen Rothwell
Hi all, Some things turned up in the powerpc tree today that required some changes to patches in the akpm tree and also the following fixup patch provided (mostly) by Michael. I have applied this as a single patch today, but parts of it should probably go in some other patches. From: Stephen Roth

Re: [Linux-stm32] [PATCH v8 08/10] drm: stm: dw-mipi-dsi: let the bridge handle the HW version check

2020-06-03 Thread Adrian Ratiu
On Tue, 02 Jun 2020, Emil Velikov wrote: Hi Adrian, Hi Email, On Mon, 1 Jun 2020 at 10:14, Adrian Ratiu wrote: On Fri, 29 May 2020, Philippe CORNU wrote: > Hi Adrian, and thank you very much for the patchset. Thank > you also for having tested it on STM32F769 and STM32MP1. > Sorr

[PATCH] mailbox: mailbox-test: Fix a potential Oops on allocation failure

2020-06-03 Thread Dan Carpenter
The callers are expecting NULL on error so if we return an error pointer it eventually results in an Oops. Fixes: 8ea4484d0c2b ("mailbox: Add generic mechanism for testing Mailbox Controllers") Signed-off-by: Dan Carpenter --- drivers/mailbox/mailbox-test.c | 2 +- 1 file changed, 1 insertion(+

RE: [RESENT PATCH v5 0/5] scsi: ufs: cleanup ufs initialization

2020-06-03 Thread Avri Altman
Looks fine to me. Thanks, Avri > > From: Bean Huo > > Resent this patchset since linux-s...@vger.kernel.org and > linux-kernel@vger.kernel.org rejected my email > > > Cleanup UFS descriptor length initialization, and delete some unnecessary > code. > > Changelog: > v4 - v5: > 1. Rebase

[RESEND PATCH] bloat-o-meter: Support comparing library archives

2020-06-03 Thread Nikolay Borisov
Library archives (.a) usually contain multiple object files so their output of nm --size-sort contains lines like: 03a8 t run_test extent-map-tests.o: bloat-o-meter currently doesn't handle them which results in errors when calling .split() on them. Fix this by simply ignoring them

Re: [PATCHv5 1/1] ext4: mballoc: Use raw_cpu_ptr instead of this_cpu_ptr

2020-06-03 Thread Ritesh Harjani
This fixes the warning observed on various Samsung Exynos SoC based boards with linux-next 20200602. Tested-by: Marek Szyprowski Thanks Marek, Hello Ted, Please pick up below change which I just sent with an added "Fixes" by tag. Changes wise it is the same which Marek tested. https://patc

[PATCH 1/2] ASoC: bindings: wm8960: Add property for headphone detection

2020-06-03 Thread Shengjiu Wang
Add two properties for headphone detection. wlf,hp-cfg: A list of headphone jack detect configuration register values wlf,gpio-cfg: A list of GPIO configuration register values Signed-off-by: Shengjiu Wang --- Documentation/devicetree/bindings/sound/wm8960.txt | 11 +++ 1 file changed,

Re: [PATCH 14/15] net: hns3: use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Andy Shevchenko
On Wed, Jun 3, 2020 at 11:50 AM Stankiewicz, Piotr wrote: > > -Original Message- > > From: Andy Shevchenko > > Sent: Tuesday, June 2, 2020 5:39 PM > > On Tue, Jun 2, 2020 at 12:26 PM Piotr Stankiewicz > > wrote: ... > > > hdev->num_msi, >

[PATCH 2/2] ASoC: wm8960: Support headphone jack detection function

2020-06-03 Thread Shengjiu Wang
Add two platform variables for headphone jack detection. "hp_cfg" is for configuration of heaphone jack detection. "gpio_cfg" is for configuration of gpio, the gpio is used for plug & unplug interrupt on SoC. Signed-off-by: Shengjiu Wang --- include/sound/wm8960.h| 17 + soun

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Sudeep Holla
On Wed, Jun 03, 2020 at 03:51:59PM +0530, Viresh Kumar wrote: > On 03-06-20, 11:17, Sudeep Holla wrote: > > On Wed, Jun 03, 2020 at 03:40:10PM +0530, Viresh Kumar wrote: > > > On 03-06-20, 11:07, Sudeep Holla wrote: > > > > But I have another question. If we can detect that CPPC on some > > > > pl

Re: [PATCH v3 24/75] x86/boot/compressed/64: Unmap GHCB page before booting the kernel

2020-06-03 Thread Joerg Roedel
On Wed, May 13, 2020 at 01:46:33PM +0200, Borislav Petkov wrote: > On Wed, May 13, 2020 at 01:30:11PM +0200, Joerg Roedel wrote: > > Yeah, I had this this way in v2, but changed it upon you request[1] :) > > Yeah, I was wondering why this isn't a separate function - you like them > so much. :-P >

Re: [PATCH 4.9 00/55] 4.9.226-rc3 review

2020-06-03 Thread Jon Hunter
On 02/06/2020 19:13, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.226 release. > There are 55 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH] rcu: Fixup noinstr warnings

2020-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 02:59:32AM -0700, Paul E. McKenney wrote: > On Wed, Jun 03, 2020 at 10:48:18AM +0200, Peter Zijlstra wrote: > > On Tue, Jun 02, 2020 at 09:38:53PM +0200, Peter Zijlstra wrote: > > > > > That said; noinstr's __no_sanitize combined with atomic_t might be > > > 'interesting',

Re: tegra124-jetson-tk1: sata doesnt work since 5.2

2020-06-03 Thread Thierry Reding
On Tue, Jun 02, 2020 at 10:19:58AM +0200, LABBE Corentin wrote: > On Mon, Jun 01, 2020 at 05:30:37PM +0300, Dmitry Osipenko wrote: > > 31.05.2020 22:31, LABBE Corentin пишет: > > > On Thu, Mar 19, 2020 at 08:44:01AM +0100, LABBE Corentin wrote: > > >> Hello > > >> > > >> sata doesnt work on tegra12

Re: linux-next: manual merge of the block tree with the rdma tree

2020-06-03 Thread Max Gurtovoy
On 6/3/2020 2:32 AM, Jason Gunthorpe wrote: On Wed, Jun 03, 2020 at 01:40:51AM +0300, Max Gurtovoy wrote: On 6/3/2020 12:37 AM, Jens Axboe wrote: On 6/2/20 1:09 PM, Jason Gunthorpe wrote: On Tue, Jun 02, 2020 at 01:02:55PM -0600, Jens Axboe wrote: On 6/2/20 1:01 PM, Jason Gunthorpe wrote:

Re: [PATCH] [RFC] clk: sprd: fix compile-testing

2020-06-03 Thread Arnd Bergmann
On Wed, Jun 3, 2020 at 11:17 AM Chunyan Zhang wrote: > On Thu, Apr 9, 2020 at 2:57 AM Arnd Bergmann wrote: > > This patch seems not been applied to next branch? I haven't seen it on > linux-next. > Arnd, can you please pick it to your tree. > In case you need my ack: > Acked-by: Chunyan Zhang >

twist: allow disabling reboot request

2020-06-03 Thread Tetsuo Handa
On 2020/05/29 22:26, Tetsuo Handa wrote: > By the way, I do worry that people forget to perform these steps when > they do > their tests without asking syzbot... Here is a draft of boot-time switching. Since kconfig can handle string variable up to 2048 characters, we could hold the cont

arch/ia64/include/asm/page.h:42:20: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '4294967296' to '0'

2020-06-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d6f9469a03d832dcd17041ed67774ffb5f3e73b3 commit: 416d82204df44ef727de6eafafeaa4d12fdc78dc crypto: hisilicon - add HiSilicon SEC V2 driver date: 6 months ago config: ia64-randconfig-r026-20200603 (attached

linux-next: Tree for Jun 3

2020-06-03 Thread Stephen Rothwell
Hi all, News: The merge window has opened, so please do *not* add v5.9 material to your linux-next included branches until after v5.8-rc1 has been released. Changes since 20200602: New tree: sh-rf My fixes tree contains: 4cb4bfffe2c1 ("device_cgroup: Fix RCU list debugging warning") The drm

Re: [PATCH] crypto: DRBG - always try to free Jitter RNG instance

2020-06-03 Thread Dan Carpenter
On Wed, Jun 03, 2020 at 10:08:56AM +0200, Stephan Müller wrote: > The Jitter RNG is unconditionally allocated as a seed source follwoing > the patch 97f2650e5040. Thus, the instance must always be deallocated. > > Reported-by: syzbot+2e635807decef724a...@syzkaller.appspotmail.com > Fixes: 97f2650e

Re: [PATCH] mm/vmstat: Add events for PMD based THP migration without split

2020-06-03 Thread Matthew Wilcox
On Wed, Jun 03, 2020 at 10:28:41AM +0530, Anshuman Khandual wrote: > On 06/03/2020 08:27 AM, Matthew Wilcox wrote: > > On Wed, Jun 03, 2020 at 06:56:57AM +0530, Anshuman Khandual wrote: > >> On 06/02/2020 08:31 PM, Matthew Wilcox wrote: > >>> On Fri, May 22, 2020 at 09:04:04AM +0530, Anshuman Khand

Re: Security Random Number Generator support

2020-06-03 Thread Marc Zyngier
On 2020-06-03 08:54, Neal Liu wrote: On Wed, 2020-06-03 at 08:40 +0100, Marc Zyngier wrote: On 2020-06-03 08:29, Neal Liu wrote: [...] > Could you give us a hint how to make this SMC interface more generic in > addition to my approach? > There is no (easy) way to get platform-independent SMC

[rcu:rcu/test] BUILD SUCCESS f5978744fd874b7775e73958d64f3e0b2082957b

2020-06-03 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test branch HEAD: f5978744fd874b7775e73958d64f3e0b2082957b torture: Remove qemu dependency on EFI firmware elapsed time: 481m configs tested: 105 configs skipped: 3 The following configs have been built s

Re: [RFC 02/16] x86/kvm: Introduce KVM memory protection feature

2020-06-03 Thread Vitaly Kuznetsov
"Huang, Kai" writes: > On Wed, 2020-05-27 at 10:39 +0200, Vitaly Kuznetsov wrote: >> Sean Christopherson writes: >> >> > On Mon, May 25, 2020 at 06:15:25PM +0300, Kirill A. Shutemov wrote: >> > > On Mon, May 25, 2020 at 04:58:51PM +0200, Vitaly Kuznetsov wrote: >> > > > > @@ -727,6 +734,15 @@ s

Re: [PATCH] soc: imx: scu: use devm_kasprintf

2020-06-03 Thread Daniel Baluta
On 03.06.2020 12:29, peng@nxp.com wrote: From: Peng Fan Use devm_kasprintf to simplify code Signed-off-by: Peng Fan Reviewed-by: Daniel Baluta

Re: [PATCH v3 1/6] PCI: dwc: Add msi_host_isr() callback

2020-06-03 Thread Marc Zyngier
On 2020-06-03 09:54, Kunihiko Hayashi wrote: This adds msi_host_isr() callback function support to describe SoC-dependent service triggered by MSI. For example, when AER interrupt is triggered by MSI, the callback function reads SoC-dependent registers and detects that the interrupt is from AE

Re: [PATCH] mm: thp: Add new kernel parameters transparent_hugepage_defrag/khugepaged_defrag

2020-06-03 Thread Vlastimil Babka
On 6/3/20 8:50 AM, Gavin Guo wrote: > There is no way to set up the defrag options in boot time. And it's > useful to set it up by default instead of making it work by a > systemd/upstart service or put the command to set up defrag inside > /etc/rc.local. > > Signed-off-by: Gavin Guo Well, may

[PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Steve Lee
malformed firmware file can cause out-of-bound access and crash during dsm_param bin loading. - add MIN/MAX param size to avoid out-of-bound access. - read start addr and size of param and check bound. Signed-off-by: Steve Lee --- sound/soc/codecs/max98390.c | 23 ++- s

RE: [PATCH v6 2/2] arm64/crash_core: Export TCR_EL1.T1SZ in vmcoreinfo

2020-06-03 Thread Kamlakant Patel
Hi Bhupesh, > -Original Message- > From: kexec On Behalf Of Bhupesh > Sharma > Sent: Thursday, May 14, 2020 12:23 AM > To: linux-arm-ker...@lists.infradead.org; x...@kernel.org > Cc: Mark Rutland ; Kazuhito Hagio ha...@ab.jp.nec.com>; Steve Capper ; Catalin > Marinas ; bhsha...@redhat.co

Re: [PATCH] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-03 Thread Masahiro Yamada
On Wed, Jun 3, 2020 at 6:16 PM Ard Biesheuvel wrote: > > On Wed, 3 Jun 2020 at 11:15, Masahiro Yamada wrote: > > > > On Wed, Jun 3, 2020 at 6:02 PM Ard Biesheuvel wrote: > > > > > > On Wed, 3 Jun 2020 at 10:59, Masahiro Yamada wrote: > > > > > > > > On Wed, Jun 3, 2020 at 5:45 PM Ard Biesheuvel

Re: ARCH=arm64 build breakage for Kbuild for-next branch

2020-06-03 Thread Stephen Rothwell
Hi all, On Wed, 3 Jun 2020 14:24:04 +1000 Stephen Rothwell wrote: > > On Wed, 3 Jun 2020 13:11:59 +0900 Masahiro Yamada > wrote: > > > > If you pull the latest kbuild for-next branch, > > ARCH=arm64 will fail to build. > > > > I will fix it soon. > > > > For today's linux-next, you can patc

Re: [PATCH v3 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-03 Thread Marc Zyngier
On 2020-06-03 09:54, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also handled by MSI handler. This adds the function uniphier_pcie_misc_isr() that handles misc intterupts, which is called from

Mr. Turritopsis Dohrnii Teo En Ming is a Singaporean Targeted Individual

2020-06-03 Thread Turritopsis Dohrnii Teo En Ming
Mr. Turritopsis Dohrnii Teo En Ming is a Singaporean Targeted Individual -BEGIN EMAIL SIGNATURE- The Gospel for all Targeted Individuals (TIs): [The New York Times] Microwave Weapons Are Prime Suspect in Ills of U.S. Embassy Workers Link: https://www.nytimes.com/2018/09/01/scie

Re: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Takashi Iwai
On Wed, 03 Jun 2020 13:18:19 +0200, Steve Lee wrote: > > @@ -847,7 +861,6 @@ static int max98390_probe(struct snd_soc_component > *component) > > /* Dsm Setting */ > regmap_write(max98390->regmap, DSM_VOL_CTRL, 0x94); > - regmap_write(max98390->regmap, DSMIG_EN, 0x19); Is this

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Mike Leach
Hi, On Wed, 3 Jun 2020 at 11:24, Sai Prakash Ranjan wrote: > > Hi Mike, > > Thanks again for looking at this. > > On 2020-06-03 03:42, Mike Leach wrote: > [...] > > >> > >> SMMU/IOMMU won't be able to do much here as it is the client's > >> responsiblity to > >> properly shutdown and SMMU device

Re: [PATCH v4 2/4] iio: chemical: scd30: add I2C interface driver

2020-06-03 Thread Andy Shevchenko
On Wed, Jun 3, 2020 at 11:47 AM Tomasz Duszynski wrote: > > Add I2C interface driver for the SCD30 sensor. > FWIW, Reviewed-by: Andy Shevchenko > Signed-off-by: Tomasz Duszynski > --- > MAINTAINERS | 1 + > drivers/iio/chemical/Kconfig | 11 +++ > drivers/iio/chemi

RE: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Steve Lee
> -Original Message- > From: Takashi Iwai > Sent: Wednesday, June 3, 2020 8:24 PM > To: Steve Lee > Cc: lgirdw...@gmail.com; broo...@kernel.org; pe...@perex.cz; > ti...@suse.com; ckee...@opensource.cirrus.com; ge...@linux-m68k.org; > r...@opensource.wolfsonmicro.com; shumi...@realtek.com;

Re: [PATCH v4 3/4] iio: chemical: scd30: add serial interface driver

2020-06-03 Thread Andy Shevchenko
On Wed, Jun 3, 2020 at 11:47 AM Tomasz Duszynski wrote: > > Add serial interface driver for the SCD30 sensor. FWIW, Reviewed-by: Andy Shevchenko > Signed-off-by: Tomasz Duszynski > --- > MAINTAINERS | 1 + > drivers/iio/chemical/Kconfig| 11 ++ > drivers/iio

[PATCH] Documentation: tee: Document TEE kernel interface

2020-06-03 Thread Sumit Garg
Update documentation with TEE bus infrastructure which provides an interface for kernel client drivers to communicate with corresponding Trusted Application. Signed-off-by: Sumit Garg --- Documentation/tee.txt | 30 ++ 1 file changed, 30 insertions(+) diff --git a/Do

Re: [PATCH v2] tools build: Check libasan and libubsan in Makefile.feature

2020-06-03 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 03, 2020 at 02:10:04PM +0800, Tiezhu Yang escreveu: > When build perf with ASan or UBSan, if libasan or libubsan can not find, > the feature-glibc is 0 and there exists the following error log which is > wrong, because we can find gnu/libc-version.h in /usr/include, glibc-devel > is als

Re: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Mark Brown
On Wed, Jun 03, 2020 at 08:18:19PM +0900, Steve Lee wrote: > + param_start_addr = (dsm_param[0] & 0xff) | (dsm_param[1] & 0xff) << 8; > + param_size = (dsm_param[2] & 0xff) | (dsm_param[3] & 0xff) << 8; > + if (param_size > MAX98390_DSM_PARAM_MAX_SIZE || > + param_start_add

Re: [PATCH] cxl: Fix kobject memleak

2020-06-03 Thread Andrew Donnellan
On 2/6/20 10:07 pm, Wang Hai wrote: Currently the error return path from kobject_init_and_add() is not followed by a call to kobject_put() - which means we are leaking the kobject. Fix it by adding a call to kobject_put() in the error path of kobject_init_and_add(). Fixes: b087e6190ddc ("cxl: E

Re: [PATCH] usb: dwc3: Add support for VBUS power control

2020-06-03 Thread Mike Looijmans
Oh darn, the "devm_get_regulator..." call in probe got lost in the rebase+merge. I'll add that in v2. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topi

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Robin Murphy
On 2020-06-01 22:28, Mathieu Poirier wrote: That being said I'm sure that dependencies on an IOMMU isn't a problem confined to coresight. I am adding Robin Murphy, who added this commit [1], to the thread in the hope that he can provide guidance on the right way to do this. Right, it's not spec

Re: [PATCH] powerpc/nvram: Replace kmalloc with kzalloc in the error message

2020-06-03 Thread Michael Ellerman
Dan Carpenter writes: > On Tue, Jun 02, 2020 at 09:23:57PM +1000, Michael Ellerman wrote: >> Markus Elfring writes: >> Please just remove the message instead, it's a tiny allocation that's >> unlikely to ever fail, and the caller will print an error anyway. >> >>> >> >>> How do you thin

kernel/trace/blktrace.c:347:12: sparse: sparse: incorrect type in assignment (different address spaces)

2020-06-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d6f9469a03d832dcd17041ed67774ffb5f3e73b3 commit: c780e86dd48ef6467a1146cf7d0fe1e05a635039 blktrace: Protect q->blk_trace with RCU date: 3 months ago config: arc-randconfig-s031-20200603 (attached

RE: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Steve Lee
> -Original Message- > From: Mark Brown > Sent: Wednesday, June 3, 2020 8:32 PM > To: Steve Lee > Cc: lgirdw...@gmail.com; pe...@perex.cz; ti...@suse.com; > ckee...@opensource.cirrus.com; ge...@linux-m68k.org; > r...@opensource.wolfsonmicro.com; shumi...@realtek.com; > srinivas.kandaga

Re: [PATCH v6 01/13] tools/libperf: introduce notion of static polled file descriptors

2020-06-03 Thread Adrian Hunter
On 1/06/20 11:05 pm, Alexey Budankov wrote: > > Implement adding of file descriptors by fdarray__add_stat() to > fix-sized (currently 1) stat_entries array located at struct fdarray. > Append added file descriptors to the array used by poll() syscall > during fdarray__poll() call. Copy poll() resu

[PATCH v2 1/6] iio: core: pass parent device as parameter during allocation

2020-06-03 Thread Alexandru Ardelean
The change passes the parent device to the iio_device_alloc() call. This also updates the devm_iio_device_alloc() call to consider the device object as the parent device by default. Having it passed like this, should ensure that any IIO device object already has a device object as parent, allowing

[PATCH v2 0/6] iio: core: pass parent device as parameter during allocation

2020-06-03 Thread Alexandru Ardelean
This patch updates the {devm_}iio_device_alloc() functions to automatically assign the parent device on allocation. For iio_device_alloc() this means a new parameter. For devm_iio_device_alloc() this means a new behavior; the device object is the parent. For this one, this is the common case for mo

[PATCH v2 5/6] iio: light: lm3533-als: use iio_device_set_parent() to assign parent

2020-06-03 Thread Alexandru Ardelean
This assignment is the more peculiar as it assigns the parent of the platform-device's device (i.e. pdev->dev.parent) as the IIO device's parent. Since the devm_iio_device_alloc() [now] assigns the device argument as the default parent (and since this is the more common case), for cases where the

[PATCH v2 4/6] iio: remove left-over comments about parent assignment

2020-06-03 Thread Alexandru Ardelean
These were obtained by doing a 'git diff | grep \/\*', in the previous diff to find comments. These needed a bit more manual review, as the semantic patch isn't great for catching these. The result is: /* Initialize Counter device and driver data */ /* Initialize IIO device */

[PATCH v2 2/6] iio: core: add iio_device_set_parent() helper

2020-06-03 Thread Alexandru Ardelean
By default, the device allocation will also assign a parent device to the IIO device object. In cases where devm_iio_device_alloc() is used, sometimes the parent device must be different than the device used to manage the allocation. In that case, this helper should be used to change the parent, h

Re: [PATCH] crypto: DRBG - always try to free Jitter RNG instance

2020-06-03 Thread Stephan Mueller
Am Mittwoch, 3. Juni 2020, 13:09:19 CEST schrieb Dan Carpenter: Hi Dan, > On Wed, Jun 03, 2020 at 10:08:56AM +0200, Stephan Müller wrote: > > The Jitter RNG is unconditionally allocated as a seed source follwoing > > the patch 97f2650e5040. Thus, the instance must always be deallocated. > > > >

[PATCH v2 6/6] iio: remove left-over parent assignments

2020-06-03 Thread Alexandru Ardelean
These were found by doing some shell magic: for file in $(git grep -w devm_iio_device_alloc | cut -d: -f1 | sort | uniq) ; do if grep 'parent =' $file | grep -v trig | grep -vq devm_; then echo "$file -> $(grep "parent =" $file)" fi done --- Th

Re: [PATCH v2 0/6] iio: core: pass parent device as parameter during allocation

2020-06-03 Thread Ardelean, Alexandru
On Wed, 2020-06-03 at 14:40 +0300, Alexandru Ardelean wrote: > This patch updates the {devm_}iio_device_alloc() functions to automatically > assign the parent device on allocation. > For iio_device_alloc() this means a new parameter. > For devm_iio_device_alloc() this means a new behavior; the devi

[PATCH 2/9] rcu: Fixup noinstr warnings

2020-06-03 Thread Peter Zijlstra
A KCSAN build revealed we have explicit annoations through atomic_*() usage, switch to arch_atomic_*() for the respective functions. vmlinux.o: warning: objtool: rcu_nmi_exit()+0x4d: call to __kcsan_check_access() leaves .noinstr.text section vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter()+

[PATCH 3/9] x86/entry: __always_inline debugreg for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: exc_debug()+0x21: call to native_get_debugreg() leaves .noinstr.text section Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/debugreg.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/arch/x86/include/asm/debugreg.h +++ b/arch/x8

[PATCH 0/9] x86/entry fixes

2020-06-03 Thread Peter Zijlstra
The first patch is a fix for x86/entry, I'm quicky runing out of brown paper bags again :/ The rest goes on top of these: https://lkml.kernel.org/r/20200602173103.931412...@infradead.org https://lkml.kernel.org/r/20200602184409.22142-1-el...@google.com patches from myself and Marco that ena

[PATCH net] net: dsa: qca8k: Fix "Unexpected gfp" kernel exception

2020-06-03 Thread Michal Vokáč
Commit 7e99e3470172 ("net: dsa: remove dsa_switch_alloc helper") replaced the dsa_switch_alloc helper by devm_kzalloc in all DSA drivers. Unfortunately it introduced a typo in qca8k.c driver and wrong argument is passed to the devm_kzalloc function. This fix mitigates the following kernel exceptio

[PATCH 6/9] x86/entry: Re-order #DB handler to avoid *SAN instrumentation

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: exc_debug()+0xbb: call to clear_ti_thread_flag.constprop.0() leaves .noinstr.text section vmlinux.o: warning: objtool: noist_exc_debug()+0x55: call to clear_ti_thread_flag.constprop.0() leaves .noinstr.text section Rework things so that handle_debug() looses the noin

<    1   2   3   4   5   6   7   8   9   10   >