Re: [PATCH 03/11] net: devres: relax devm_register_netdev()

2020-06-23 Thread Bartosz Golaszewski
wt., 23 cze 2020 o 00:49 Jakub Kicinski napisał(a): > > On Mon, 22 Jun 2020 12:00:48 +0200 Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This devres helper registers a release callback that only unregisters > > the net_device. It works perfectly fine with netdev structs that ar

[PATCH 0/5] soundwire: handle stream at the dailink level

2020-06-23 Thread Bard Liao
Currently, stream is handled at the dai level. But we have to handle stream at the dailink level in the multi-cpu dailink usage. Pierre-Louis Bossart (5): soundwire: intel: implement get_sdw_stream() operations soundwire: stream: add helper to startup/shutdown streams soundwire: intel: remov

[PATCH 3/5] soundwire: intel: remove stream allocation/free

2020-06-23 Thread Bard Liao
From: Pierre-Louis Bossart To support streaming across multiple links, the stream allocation/free needs to be at the dailink level, not the dai. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel.c | 57 +-- 1 file chan

[PATCH 1/5] soundwire: intel: implement get_sdw_stream() operations

2020-06-23 Thread Bard Liao
From: Pierre-Louis Bossart This is needed to retrieve the information when the stream is allocated at the dai_link level. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/

[PATCH 2/5] soundwire: stream: add helper to startup/shutdown streams

2020-06-23 Thread Bard Liao
From: Pierre-Louis Bossart To handle streams at the dailink level, expose two helpers that will be called from machine drivers. Reviewed-by: Ranjani Sridharan Reviewed-by: Guennadi Liakhovetski Reviewed-by: Kai Vehmanen Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drive

[PATCH] KVM: x86: report sev_pin_memory errors with PTR_ERR

2020-06-23 Thread Paolo Bonzini
Callers of sev_pin_memory() treat NULL differently: sev_launch_secret()/svm_register_enc_region() return -ENOMEM sev_dbg_crypt() returns -EFAULT. Switching to ERR_PTR() preserves the error and enables cleaner reporting of different kinds of failures. Suggested-by: Vitaly Kuznetsov Signed-off-by

[PATCH 4/5] soundwire: cadence: allocate/free dma_data in set_sdw_stream

2020-06-23 Thread Bard Liao
From: Pierre-Louis Bossart The current memory allocation is somewhat strange: the dma_data is allocated in set_sdw_stream, but released in the intel DAI shutdown. This no longer works with the multi-cpu implementation, since the dma_data is released in the dai shutdown which takes place before th

[PATCH 5/5] soundwire: intel: don't free dma_data in DAI shutdown

2020-06-23 Thread Bard Liao
From: Pierre-Louis Bossart Now that the DMA data is allocated/freed in set_sdw_stream(), remove free operations. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/soundwire/intel.c b/dri

Re: [PATCH] Revert "usb: dwc3: exynos: Add support for Exynos5422 suspend clk"

2020-06-23 Thread Krzysztof Kozlowski
On Tue, 23 Jun 2020 at 09:46, Anand Moon wrote: > > This reverts commit 07f6842341abe978e6375078f84506ec3280ece5. > > Since SCLK_SCLK_USBD300 suspend clock need to be configured > for phy module, I wrongly mapped this clock to DWC3 code. > > Cc: Felipe Balbi > Cc: Greg Kroah-Hartman > Signed-off

Re: [PATCH v3 1/1] eventfd: implementation of EFD_MASK flag

2020-06-23 Thread Damian Hobson-Garcia
Hi Paul, On 2020-06-19 7:16 p.m., Paul Elder wrote: > Hello Damian, Martin, and all, > > I came across this (quite old by now) patch to extend eventfd's polling > functionality. I was wondering what happened to it (why it hasn't been > merged yet) and if we could, or what is needed to, move it fo

[PATCH v3 1/2] dt-bindings: dma: Add bindings for intel LGM SOC

2020-06-23 Thread Amireddy Mallikarjuna reddy
Add DT bindings YAML schema for DMA controller driver of Lightning Mountain(LGM) SoC. Signed-off-by: Amireddy Mallikarjuna reddy --- v1: - Initial version. v2: - Fix bot errors. v3: - No change. --- .../devicetree/bindings/dma/intel,ldma.yaml| 428 + 1 file changed,

[PATCH v3 0/2] Add Intel LGM soc DMA support

2020-06-23 Thread Amireddy Mallikarjuna reddy
Add DMA controller driver for Lightning Mountain(LGM) family of SoCs. The main function of the DMA controller is the transfer of data from/to any DPlus compliant peripheral to/from the memory. A memory to memory copy capability can also be configured. This ldma driver is used for configure the dev

Re: [Patch v2 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs

2020-06-23 Thread Peter Zijlstra
On Mon, Jun 22, 2020 at 07:45:08PM -0400, Nitesh Narayan Lal wrote: > From: Alex Belits > > The current implementation of cpumask_local_spread() does not respect the > isolated CPUs, i.e., even if a CPU has been isolated for Real-Time task, > it will return it to the caller for pinning of its IRQ

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

2020-06-23 Thread John Garry
when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/John-Garry/iommu-arm-smmu-v3-Improve-cmdq-lock-efficiency/20200623-013438 base: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git

[PATCH v3 2/2] Add Intel LGM soc DMA support.

2020-06-23 Thread Amireddy Mallikarjuna reddy
Add DMA controller driver for Lightning Mountain(LGM) family of SoCs. The main function of the DMA controller is the transfer of data from/to any DPlus compliant peripheral to/from the memory. A memory to memory copy capability can also be configured. This ldma driver is used for configure the de

Re: [Patch v2 3/3] net: Restrict receive packets queuing to housekeeping CPUs

2020-06-23 Thread Peter Zijlstra
On Mon, Jun 22, 2020 at 07:45:10PM -0400, Nitesh Narayan Lal wrote: > @@ -756,6 +757,13 @@ static ssize_t store_rps_map(struct netdev_rx_queue > *queue, > return err; > } > > + hk_flags = HK_FLAG_DOMAIN | HK_FLAG_WQ; > + cpumask_and(mask, mask, housekeeping_cpumask(hk

Re: [cpufreq] d83f959b5e: kmsg.cpufreq:cpufreq_online:Failed_to_initialize_policy_for_cpu:#(-#)

2020-06-23 Thread Quentin Perret
Hi, Thanks for the report. On Monday 22 Jun 2020 at 08:54:57 (+0800), kernel test robot wrote: > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: d83f959b5e7a6378a4afbff23de2a2d064d95749 ("[PATCH 2/2] cpufreq: > Specify default governor on command line") > url

Re: [PATCH v3 3/3] ASoC: ti: Add custom machine driver for j721e EVM (CPB and IVI)

2020-06-23 Thread Peter Ujfalusi
On 12/06/2020 15.27, Mark Brown wrote: > On Fri, Jun 12, 2020 at 12:27:17PM +0300, Peter Ujfalusi wrote: > >>> + if (IS_ERR(clocks->target)) { >>> + ret = PTR_ERR(clocks->target); >>> + if (ret != -EPROBE_DEFER) >>> + dev_err(dev, "failed to acquire %s':

Re: [PATCH v2 27/29] nvmem: core: Grammar fixes for help text

2020-06-23 Thread Srinivas Kandagatla
On 23/06/2020 03:51, Andreas Färber wrote: It's "an unsigned" but "a U". Similarly, "an entry" but "a binary entry". While at it, also drop superfluous articles for negative and zero. Fixes: 8b977c5498b8 ("nvmem: core: add nvmem_cell_read_u64") Fixes: 0a9b2d1ce422 ("nvmem: core: add nvmem_ce

Re: [PATCH 13/15] net: phy: mdio: add support for PHY supply regulator

2020-06-23 Thread Bartosz Golaszewski
pon., 22 cze 2020 o 15:25 Russell King - ARM Linux admin napisał(a): > > On Mon, Jun 22, 2020 at 11:37:42AM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Currently many MAC drivers control the regulator supplying the PHY but > > this is conceptually wrong. The regulator

Re: [PATCH v2 1/3] mm/shuffle: don't move pages between zones and don't read garbage memmaps

2020-06-23 Thread Wei Yang
On Tue, Jun 23, 2020 at 09:55:43AM +0200, David Hildenbrand wrote: >On 23.06.20 09:39, David Hildenbrand wrote: >>> Hmm.. I thought this is the behavior for early section, while it looks >>> current >>> code doesn't work like this: >>> >>>if (section_is_early && memmap) >>>

Re: [PATCH v2 28/29] nvmem: core: Add nvmem_cell_read_u8()

2020-06-23 Thread Srinivas Kandagatla
On 23/06/2020 03:51, Andreas Färber wrote: Complement the u16, u32 and u64 helpers with a u8 variant to ease accessing byte-sized values. This helper will be useful for Realtek Digital Home Center platforms, which store some byte and sub-byte sized values in non-volatile memory. Signed-off-b

Re: [PATCH v2 18/29] nvmem: Add Realtek DHC eFuse driver

2020-06-23 Thread Srinivas Kandagatla
On 23/06/2020 03:50, Andreas Färber wrote: Implement enough of a read-only nvmem driver to easily read efuse cells. Cc: Cheng-Yu Lee Signed-off-by: Andreas Färber --- This patch itself looks okay to me, I will apply this once DT patches are Reviewed/applied by DT maintainers! --srini

[PATCH] ARM: dts: stm32: configure i2c5 support on stm32mp15xx-dkx

2020-06-23 Thread Alain Volmat
From: Fabrice Gasnier Configure I2C5 on stm32mp15 DK boards. It's available and can be used on: - Arduino connector - GPIO expansion connector Keep it disabled by default, so the pins are kept in their initial state to lower power consumption. This way they can also be used as GPIO. Signed-off-b

Re: linux-next build error (9)

2020-06-23 Thread Peter Zijlstra
On Tue, Jun 23, 2020 at 12:44:13PM +1000, Stephen Rothwell wrote: > Hi Peter, > > On Mon, 22 Jun 2020 11:49:23 +0200 Peter Zijlstra > wrote: > > Hurmph, I though that was cured in GCC >= 8. Marco? > > So what causes this? Because we got a couple of these in our s390 builds last > night as wel

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-06-23 Thread Rick Lindsley
On 6/22/20 11:02 PM, Greg Kroah-Hartman wrote: First off, this is not my platform, and not my problem, so it's funny you ask me :) Wlll, not your platform perhaps but MAINTAINERS does list you first and Tejun second as maintainers for kernfs. So in that sense, any patches would need to

Re: [PATCH] trivial: fix kerneldoc comments

2020-06-23 Thread Dan Carpenter
On Tue, Jun 23, 2020 at 09:59:57AM +0200, Julia Lawall wrote: > > > diff --git a/drivers/crypto/bcm/spu.c b/drivers/crypto/bcm/spu.c > > [] > > > @@ -519,7 +519,7 @@ u32 spum_assoc_resp_len(enum spu_cipher_mode > > > cipher_mode, > > > * spu_aead_ivlen() - Calculate the length of the AEAD IV to

Re: [PATCH 2/3] arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page

2020-06-23 Thread Peter Zijlstra
On Tue, Jun 23, 2020 at 10:07:58AM +0100, Will Deacon wrote: > On Tue, Jun 23, 2020 at 11:05:05AM +0200, Christoph Hellwig wrote: > > On Sat, Jun 20, 2020 at 07:16:16PM -0700, Andrew Morton wrote: > > > On Thu, 18 Jun 2020 08:43:06 +0200 Christoph Hellwig wrote: > > > > > > > Use PAGE_KERNEL_ROX

Re: [PATCH] KVM: nVMX: Wrap VM-Fail valid path in generic VM-Fail helper

2020-06-23 Thread Paolo Bonzini
On 09/06/20 19:54, Jim Mattson wrote: > On Mon, Jun 8, 2020 at 6:56 PM Sean Christopherson > wrote: >> >> Add nested_vmx_fail() to wrap VM-Fail paths that _may_ result in VM-Fail >> Valid to make it clear at the call sites that the Valid flavor isn't >> guaranteed. >> >> Suggested-by: Vitaly Kuzne

Re: [PATCH v2 net 0/3] net: ethtool: netdev_features_strings[] cleanup

2020-06-23 Thread Alexander Lobakin
Hi Dave, Michal, On Tuesday, 23 June 2020, 2:34, David Miller wrote: > From: Alexander Lobakin > Date: Sun, 21 Jun 2020 09:55:50 + > > This little series adds the last forgotten feature string for > > NETIF_F_GSO_TUNNEL_REMCSUM and attempts to prevent such losses > > in future. > > > > Pat

Re: [PATCH v4 5/5] arm64: entry: Enable random_kstack_offset support

2020-06-23 Thread Mark Rutland
On Mon, Jun 22, 2020 at 12:31:46PM -0700, Kees Cook wrote: > Allow for a randomized stack offset on a per-syscall basis, with roughly > 5 bits of entropy. > > In order to avoid unconditional stack canaries on syscall entry, also > downgrade from -fstack-protector-strong to -fstack-protector to avo

Re: [PATCH 14/15] net: phy: add PHY regulator support

2020-06-23 Thread Bartosz Golaszewski
pon., 22 cze 2020 o 15:29 Russell King - ARM Linux admin napisał(a): > [snip!] > > This is likely to cause issues for some PHY drivers. Note that we have > some PHY drivers which register a temperature sensor in the probe > function, which means they can be accessed independently of the lifetim

Re: [PATCH 14/15] net: phy: add PHY regulator support

2020-06-23 Thread Russell King - ARM Linux admin
On Tue, Jun 23, 2020 at 11:41:11AM +0200, Bartosz Golaszewski wrote: > pon., 22 cze 2020 o 15:29 Russell King - ARM Linux admin > napisał(a): > > > > [snip!] > > > > > This is likely to cause issues for some PHY drivers. Note that we have > > some PHY drivers which register a temperature sensor

Re: [PATCH v4 0/7] clean up redundant 'kvm_run' parameters

2020-06-23 Thread Paolo Bonzini
On 27/04/20 06:35, Tianjia Zhang wrote: > In the current kvm version, 'kvm_run' has been included in the 'kvm_vcpu' > structure. For historical reasons, many kvm-related function parameters > retain the 'kvm_run' and 'kvm_vcpu' parameters at the same time. This > patch does a unified cleanup of the

Re: [v4] coccinelle: misc: add array_size_dup script to detect missed overflow checks

2020-06-23 Thread Markus Elfring
> I don't agree with any of these comments. Would we like to clarify each of the disagreements in more detail for a more constructive patch review? Regards, Markus

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

2020-06-23 Thread Wei Yang
For early sections, we assumes its memmap will never be partially removed. But current behavior breaks this. Let's correct it. Fixes: ba72b4c8cf60 ("mm/sparsemem: support sub-section hotplug") Signed-off-by: Wei Yang --- mm/sparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) d

Re: [PATCH] trivial: fix kerneldoc comments

2020-06-23 Thread Julia Lawall
On Tue, 23 Jun 2020, Dan Carpenter wrote: > On Tue, Jun 23, 2020 at 09:59:57AM +0200, Julia Lawall wrote: > > > > diff --git a/drivers/crypto/bcm/spu.c b/drivers/crypto/bcm/spu.c > > > [] > > > > @@ -519,7 +519,7 @@ u32 spum_assoc_resp_len(enum spu_cipher_mode > > > > cipher_mode, > > > > *

Re: [PATCH] media: venus: vdec: Fix runtime PM imbalance in vdec_open

2020-06-23 Thread Stanimir Varbanov
Hi Dinghao, This patch is not applicable anymore after [1]. [1] 63342afea65e ("media: venus: vdec: Use pmruntime autosuspend") On 5/22/20 2:13 PM, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > when it returns an error code. Thus a pairing decrement is

Re: Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace)

2020-06-23 Thread Joerg Roedel
Hi Andy, On Mon, Apr 27, 2020 at 10:37:41AM -0700, Andy Lutomirski wrote: > 1. Use IST for #VC and deal with all the mess that entails. With the removal of IST shifting I wonder what you would suggest on how to best implement an NMI-safe IST handler with nesting support. My current plan is to im

Re: [PATCH] media: venus: venc: Fix runtime PM imbalance in venc_open

2020-06-23 Thread Stanimir Varbanov
Hi Dinghao, Thanks for the patch! On 5/24/20 7:31 AM, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > when it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. > > Signed-off-by: Dinghao

Re: [PATCH 14/15] net: phy: add PHY regulator support

2020-06-23 Thread Bartosz Golaszewski
wt., 23 cze 2020 o 11:43 Russell King - ARM Linux admin napisał(a): > > On Tue, Jun 23, 2020 at 11:41:11AM +0200, Bartosz Golaszewski wrote: > > pon., 22 cze 2020 o 15:29 Russell King - ARM Linux admin > > napisał(a): > > > > > > > [snip!] > > > > > > > > This is likely to cause issues for some P

Re: [PATCH v5 4/7] arm64: perf: Defer irq_work to IPI_IRQ_WORK

2020-06-23 Thread Alexandru Elisei
Hi Mark, On 6/22/20 3:19 PM, Mark Rutland wrote: > On Wed, Jun 17, 2020 at 12:38:48PM +0100, Alexandru Elisei wrote: >> From: Julien Thierry >> >> perf_event_overflow() can queue an irq_work on the current PE, which is >> executed via an IPI. Move the processing of the irq_work from the PMU IRQ >

[RESEND] arm64: dts: imx8m: Add NOC nodes

2020-06-23 Thread Abel Vesa
From: Leonard Crestez Add nodes for the main interconnect of the imx8m series chips. These nodes are bound to by devfreq and interconnect drivers. Signed-off-by: Leonard Crestez Signed-off-by: Abel Vesa Tested-by: Martin Kepplinger --- This is part of the following patchset: https://www.sp

Re: [PATCH] media: venus: core: Fix runtime PM imbalance in venus_probe

2020-06-23 Thread Stanimir Varbanov
Hi Dinghao, Thanks for the patch! On 5/24/20 8:29 AM, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > when it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. For other error > paths afte

[PATCH v1] rtl818x_pci: use generic power management

2020-06-23 Thread Vaibhav Gupta
Earlier, drivers had to manage the device's power states, and related operations, themselves. With the generic approach, these are done by PCI core. The only driver-specific jobs, .suspend() and .resume() doing were invoking PCI helper functions pci_save/restore_state() and pci_set_power_state().

Re: [PATCH] KVM: X86: Fix MSR range of APIC registers in X2APIC mode

2020-06-23 Thread Paolo Bonzini
On 16/06/20 09:33, Xiaoyao Li wrote: > Only MSR address range 0x800 through 0x8ff is architecturally reserved > and dedicated for accessing APIC registers in x2APIC mode. > > Fixes: 0105d1a52640 ("KVM: x2apic interface to lapic") > Signed-off-by: Xiaoyao Li > --- > arch/x86/kvm/x86.c | 4 ++-- >

hppa64-linux-gcc: error: missing argument to '-Wframe-larger-than='

2020-06-23 Thread kernel test robot
: 4 months ago config: parisc-randconfig-c024-20200623 (attached as .config) compiler: hppa64-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> hppa64-linux-gcc: error: missing

[PATCH] riscv: Fixup __vdso_gettimeofday broke dynamic ftrace

2020-06-23 Thread guoren
From: Guo Ren For linux-5.8-rc1, enable ftrace of riscv will cause boot panic: [2.388980] Run /sbin/init as init process [2.529938] init[39]: unhandled signal 4 code 0x1 at 0x003ff449e000 [2.531078] CPU: 0 PID: 39 Comm: init Not tainted 5.8.0-rc1-dirty #13 [2.532719] epc: 000

[PATCH v2 5/9] docs: move nommu-mmap.txt to admin-guide and rename to ReST

2020-06-23 Thread Mauro Carvalho Chehab
The nommu-mmap.txt file provides description of user visible behaviuour. So, move it to the admin-guide. As it is already at the ReST, also rename it. Suggested-by: Mike Rapoport Suggested-by: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/mm/index.rst

[PATCH v2 9/9] docs: staging: use small font for literal includes

2020-06-23 Thread Mauro Carvalho Chehab
The normal font is too big to display 80 columns, causing extra breaks to be added at weird places. change to the footnotesize, as this would fit a little bit better. Signed-off-by: Mauro Carvalho Chehab --- Documentation/staging/index.rst | 33 ++--- 1 file changed,

[PATCH v2 8/9] docs: Add remaining Documentation/*.txt at staging/index.rst

2020-06-23 Thread Mauro Carvalho Chehab
There are a few text files that aren't yet at the docs building system. Add those to the staging/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/staging/index.rst | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Documentation/staging/index.rst b/Doc

[PATCH v2 6/9] docs: move mailbox.txt to driver-api and rename it

2020-06-23 Thread Mauro Carvalho Chehab
This file is already at the ReST format. Move it to driver-api and rename it. Suggested-by: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/index.rst| 1 + Documentation/{mailbox.txt => driver-api/mailbox.rst} | 0 2 files changed, 1 inserti

[PATCH v2 0/9] Convert the remaining text files to ReST and add SPDX for GFDL

2020-06-23 Thread Mauro Carvalho Chehab
The main goal of this series is to finish the ReST conversion. After this series, we have just those files still in plain old format: - Documentation/RCU/RTFP.txt - Documentation/atomic_bitops.txt - Documentation/memory-barriers.txt - Documentation/atomic_t.txt

[PATCH v2 1/9] docs: dt: convert booting-without-of.txt to ReST format

2020-06-23 Thread Mauro Carvalho Chehab
- Add a SPDX header; - Adjust document title; - Adjust document and section titles; - Some whitespace fixes and new line breaks; - Mark literal blocks as such; - Add table markups; - Add it to devicetree/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/arm/booting.rst

[PATCH v2 2/9] LICENSES: add GFDL licenses

2020-06-23 Thread Mauro Carvalho Chehab
Those are used on some documentation texts. Signed-off-by: Mauro Carvalho Chehab --- LICENSES/deprecated/GFDL-1.1+ | 366 ++ LICENSES/deprecated/GFDL-1.2 | 408 ++ 2 files changed, 774 insertions(+) create mode 100644 LICENSES/depreca

[PATCH v2 7/9] docs: move other kAPI documents to core-api

2020-06-23 Thread Mauro Carvalho Chehab
There are a number of random documents that seem to be describing some aspects of the core-api. Move them to such directory, adding them at the core-api/index.rst file. Signed-off-by: Mauro Carvalho Chehab --- .../bus-virt-phys-mapping.rst} | 0 Documentation/core

[PATCH v2 4/9] docs: trace: ring-buffer-design.txt: convert to ReST format

2020-06-23 Thread Mauro Carvalho Chehab
- Just like some media documents, this file is dual licensed with GPL and GFDL. As right now the GFDL SPDX definition is bogus (as it doesn't tell anything about invariant parts), let's not use SPDX here. Let's use, instead, the same test as we have on media. - Convert title to ReST format;

Re: [PATCH 14/15] net: phy: add PHY regulator support

2020-06-23 Thread Russell King - ARM Linux admin
On Tue, Jun 23, 2020 at 11:46:15AM +0200, Bartosz Golaszewski wrote: > wt., 23 cze 2020 o 11:43 Russell King - ARM Linux admin > napisał(a): > > > > On Tue, Jun 23, 2020 at 11:41:11AM +0200, Bartosz Golaszewski wrote: > > > pon., 22 cze 2020 o 15:29 Russell King - ARM Linux admin > > > napisał(a)

Re: [PATCH 2/3] arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page

2020-06-23 Thread Will Deacon
On Tue, Jun 23, 2020 at 11:37:14AM +0200, Peter Zijlstra wrote: > On Tue, Jun 23, 2020 at 10:07:58AM +0100, Will Deacon wrote: > > On Tue, Jun 23, 2020 at 11:05:05AM +0200, Christoph Hellwig wrote: > > > On Sat, Jun 20, 2020 at 07:16:16PM -0700, Andrew Morton wrote: > > > > On Thu, 18 Jun 2020 08:4

[PATCH] sched/numa: documentation for NUMA locality measure

2020-06-23 Thread 丁天琛(鹰羽)
Modern production environment could use hundreds of cgroup to control the resources for different workloads, along with the complicated resource binding. On NUMA platforms where we have multiple nodes, things become even more complicated, we hope there are more local memory access to improve the p

Re: [PATCH 4/7] serial: kgdb_nmi: Add support for interrupt based fallback

2020-06-23 Thread Sumit Garg
On Mon, 22 Jun 2020 at 22:06, Daniel Thompson wrote: > > On Mon, Jun 22, 2020 at 07:56:21PM +0530, Sumit Garg wrote: > > From: Daniel Thompson > > > > Add a generic NMI fallback to support kgdb NMI console feature which can > > be overridden by arch specific implementation. > > arch_kgdb_ops.enab

Re: [PATCH v4 0/7] clean up redundant 'kvm_run' parameters

2020-06-23 Thread Tianjia Zhang
On 2020/6/23 17:42, Paolo Bonzini wrote: On 27/04/20 06:35, Tianjia Zhang wrote: In the current kvm version, 'kvm_run' has been included in the 'kvm_vcpu' structure. For historical reasons, many kvm-related function parameters retain the 'kvm_run' and 'kvm_vcpu' parameters at the same time. T

Re: [PATCH v2] kernel/fork.c: annotate data races for copy_process

2020-06-23 Thread Christian Brauner
On Tue, Jun 23, 2020 at 12:12:40PM +0800, Weilong Chen wrote: > KCSAN report there's a data race risk while using nr_threads. > But according to the comment above it: > ' > /* > * If multiple threads are within copy_process(), then this check > * triggers too late. This do

Re: [PATCH] KVM: VMX: Remove vcpu_vmx's defunct copy of host_pkru

2020-06-23 Thread Paolo Bonzini
On 17/06/20 05:41, Sean Christopherson wrote: > Remove vcpu_vmx.host_pkru, which got left behind when PKRU support was > moved to common x86 code. > > No functional change intended. > > Fixes: 37486135d3a7b ("KVM: x86: Fix pkru save/restore when guest CR4.PKE=0, > move it to x86.c") > Signed-off

Re: Strange problem with SCTP+IPv6

2020-06-23 Thread Xin Long
On Tue, Jun 23, 2020 at 2:34 AM Michael Tuexen wrote: > > > On 22. Jun 2020, at 20:32, Marcelo Ricardo Leitner > > wrote: > > > > On Mon, Jun 22, 2020 at 08:01:24PM +0200, Michael Tuexen wrote: > >>> On 22. Jun 2020, at 18:57, Corey Minyard wrote: > >>> > >>> On Mon, Jun 22, 2020 at 08:01:23PM

Re: [v1,net-next 3/4] net: qos: police action add index for tc flower offloading

2020-06-23 Thread Jamal Hadi Salim
This certainly brings an interesting point which i brought up earlier when Jiri was doing offloading of stats. In this case the action index is being used as the offloaded policer index (note: there'd need to be a check whether the index is infact acceptable to the h/w etc unless there 2^32 meters

Re: linux-next build error (9)

2020-06-23 Thread Marco Elver
On Tue, 23 Jun 2020 at 11:32, Peter Zijlstra wrote: > > On Tue, Jun 23, 2020 at 12:44:13PM +1000, Stephen Rothwell wrote: > > Hi Peter, > > > > On Mon, 22 Jun 2020 11:49:23 +0200 Peter Zijlstra > > wrote: > > > > Hurmph, I though that was cured in GCC >= 8. Marco? > > > > So what causes this? Be

Re: [PATCH] xattr: fix EOPNOTSUPP if fs and security xattrs disabled

2020-06-23 Thread Gao Xiang
Friendly ping... On Wed, May 27, 2020 at 12:40:37PM +0800, Gao Xiang wrote: > commit f549d6c18c0e ("[PATCH] Generic VFS fallback for security xattrs") > introduces a behavior change of listxattr path therefore listxattr(2) > won't report EOPNOTSUPP correctly if fs and security xattrs disabled. > H

Re: [PATCH] [v4] dmaengine: tegra210-adma: Fix runtime PM imbalance on error

2020-06-23 Thread Jon Hunter
On 21/06/2020 06:47, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > when it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. So you have not mentioned here why you are using _noidle and

Re: [PATCH] binder: fix null deref of proc->context

2020-06-23 Thread Dan Carpenter
On Tue, Jun 23, 2020 at 11:04:04AM +0200, Christian Brauner wrote: > On Tue, Jun 23, 2020 at 11:50:21AM +0300, Dan Carpenter wrote: > > On Mon, Jun 22, 2020 at 01:07:15PM -0700, Todd Kjos wrote: > > > The binder driver makes the assumption proc->context pointer is invariant > > > after > > > initi

[mm, slab/slub] 7b39adbb1b: WARNING:at_mm/slab.h:#kmem_cache_free

2020-06-23 Thread kernel test robot
Greeting, FYI, we noticed the following commit (built with gcc-6): commit: 7b39adbb1b1d3e73df9066a8d1e93a83c18d7730 ("mm, slab/slub: improve error reporting and overhead of cache_from_obj()") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: boot on test mach

Re: [PATCH 5/5] gcc-plugins/stackleak: Don't instrument vgettimeofday.c in arm64 VDSO

2020-06-23 Thread Alexander Popov
On 10.06.2020 10:30, Will Deacon wrote: > On Tue, Jun 09, 2020 at 12:09:27PM -0700, Kees Cook wrote: >> arm_ssp_per_task_plugin.c >> 32-bit ARM only (but likely needs disabling for 32-bit ARM vDSO?) I tested: on 32-bit arm vDSO is built with plugin flags. I will filter them out in a separate

Re: linux-next build error (9)

2020-06-23 Thread Stephen Rothwell
Hi Peter, On Tue, 23 Jun 2020 11:32:30 +0200 Peter Zijlstra wrote: > > I suppose the next quest is finding a s390 compiler version that works > and then bumping the version test in the aforementioned commit. Not a lot of help, but my Debian cross compiler seems to work: $ s390x-linux-gnu-gcc --

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

2020-06-23 Thread John Garry
On 23/06/2020 10:35, Rikard Falkeborn wrote: I'd say that GENMASK_INPUT_CHECK() should be able to handle a l=0 and h=unsigned value, so I doubt this warn. Using GENMASK((int)cmdq->q.llq.max_n_shift, 0) resolves it, but it looks like GENMASK_INPUT_CHECK() could be improved.

RE: [RFC PATCH v13 7/9] arm64/kvm: Add hypercall service for kvm ptp.

2020-06-23 Thread Jianyong Wu
Hi steven, > -Original Message- > From: Steven Price > Sent: Monday, June 22, 2020 5:51 PM > To: Jianyong Wu ; net...@vger.kernel.org; > yangbo...@nxp.com; john.stu...@linaro.org; t...@linutronix.de; > pbonz...@redhat.com; sean.j.christopher...@intel.com; m...@kernel.org; > richardcoch...

Re: [PATCH v4 0/7] clean up redundant 'kvm_run' parameters

2020-06-23 Thread Paolo Bonzini
On 23/06/20 12:00, Tianjia Zhang wrote: > > > On 2020/6/23 17:42, Paolo Bonzini wrote: >> On 27/04/20 06:35, Tianjia Zhang wrote: >>> In the current kvm version, 'kvm_run' has been included in the >>> 'kvm_vcpu' >>> structure. For historical reasons, many kvm-related function parameters >>> retai

kcbench, the Linux kernel compile benchmark, version 0.9.0 is out

2020-06-23 Thread Thorsten Leemhuis
TWIMC: I released version 0.9.0 of kcbench, a simple Linux kernel compile benchmark. It basically downloads a Linux version (which one depends on the compiler used), extracts it, creates a configuration ('defconfig' by default), before it compiles a kernel ('vmlinux') in a temporary directory ('O=/

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

2020-06-23 Thread Borislav Petkov
On Mon, Jun 22, 2020 at 12:37:12PM -0700, Andy Lutomirski wrote: > It’s this whole mess: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53383 It really is a mess because our option detection doesn't really work. I did: ifdef CONFIG_CC_IS_GCC ifeq ($(call cc-option-yn,-mpreferred-stack-bounda

Re: [PATCH v6 1/4] iommu/arm-smmu: add NVIDIA implementation for dual ARM MMU-500 usage

2020-06-23 Thread Thierry Reding
On Thu, Jun 04, 2020 at 04:44:11PM -0700, Krishna Reddy wrote: > NVIDIA's Tegra194 soc uses two ARM MMU-500s together to interleave s/soc/SoC/ > IOVA accesses across them. > Add NVIDIA implementation for dual ARM MMU-500s and add new compatible > string for Tegra194 soc. Same here. > > Signed-

Re: [PATCH] PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent

2020-06-23 Thread Marc Zyngier
On 2020-06-23 09:55, Heiko Stübner wrote: Am Montag, 22. Juni 2020, 17:07:52 CEST schrieb Marc Zyngier: [...] maz@fine-girl:~$ sudo dtc -I dtb /sys/firmware/fdt 2>/dev/null | grep -A 5 dmc dmc { u-boot,dm-pre-reloc; compatible = "rockchip,rk3399-dmc";

Re: [PATCH] checkpatch: fix CONST_STRUCT when const_structs.checkpatch is missing

2020-06-23 Thread Quentin Monnet
2020-06-22 14:24 UTC-0700 ~ Joe Perches > On Mon, 2020-06-22 at 21:48 +0100, Quentin Monnet wrote: >> Checkpatch reports warnings when some specific structs are not declared >> as const in the code. The list of structs to consider was initially >> defined in the checkpatch.pl script itself, but it

[PATCH v2] checkpatch: fix CONST_STRUCT when const_structs.checkpatch is missing

2020-06-23 Thread Quentin Monnet
Checkpatch reports warnings when some specific structs are not declared as const in the code. The list of structs to consider was initially defined in the checkpatch.pl script itself, but it was later moved to an external file (scripts/const_structs.checkpatch), in commit bf1fa1dae68e ("checkpatch:

Re: [kbuild] drivers/usb/gadget/udc/fsl_udc_core.c:1055 fsl_ep_fifo_status() error: we previously assumed '_ep->desc' could be null (see line 1055)

2020-06-23 Thread Dan Carpenter
On Tue, Jun 23, 2020 at 02:22:18AM +, Ran Wang wrote: > Hi Dan > > On Tuesday, June 23, 2020 2:20 AM, Dan Carpenter wrote: > > > > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > Reported-by: Dan Carpenter > > > > New smatch war

[PATCH V8 6/8] spi: spi-geni-qcom: Add interconnect support

2020-06-23 Thread Akash Asthana
Get the interconnect paths for SPI based Serial Engine device and vote according to the current bus speed of the driver. Signed-off-by: Akash Asthana --- Changes in V2: - As per Bjorn's comment, removed se == NULL check from geni_spi_icc_get - As per Bjorn's comment, removed code to set se->icc

[PATCH V8 4/8] tty: serial: qcom_geni_serial: Add interconnect support

2020-06-23 Thread Akash Asthana
Get the interconnect paths for Uart based Serial Engine device and vote according to the baud rate requirement of the driver. Signed-off-by: Akash Asthana Reviewed-by: Matthias Kaehlcke Acked-by: Greg Kroah-Hartman --- Changes in V2: - As per Bjorn's comment, removed se == NULL check from geni

[PATCH V8 1/8] soc: qcom: geni: Support for ICC voting

2020-06-23 Thread Akash Asthana
Add necessary macros and structure variables to support ICC BW voting from individual SE drivers. Signed-off-by: Akash Asthana Reviewed-by: Matthias Kaehlcke --- Changes in V2: - As per Bjorn's comment dropped enums for ICC paths, given the three paths individual members Changes in V3: - A

[PATCH V8 0/8] Add interconnect support to QSPI and QUP drivers

2020-06-23 Thread Akash Asthana
This patch series is based on tag "next-20200622" of linux-next tree. High level design: - QUP wrapper/common driver. Vote for QUP core on behalf of earlycon from probe. Remove BW vote during earlycon exit call - SERIAL driver. Vote only for CPU/CORE path because driver is in FIFO mode

[PATCH V8 2/8] soc: qcom-geni-se: Add interconnect support to fix earlycon crash

2020-06-23 Thread Akash Asthana
QUP core clock is shared among all the SE drivers present on particular QUP wrapper, the system will reset(unclocked access) if earlycon used after QUP core clock is put to 0 from other SE drivers before real console comes up. As earlycon can't vote for it's QUP core need, to fix this add ICC supp

[PATCH V8 7/8] spi: spi-qcom-qspi: Add interconnect support

2020-06-23 Thread Akash Asthana
Get the interconnect paths for QSPI device and vote according to the current bus speed of the driver. Signed-off-by: Akash Asthana Reviewed-by: Matthias Kaehlcke --- Changes in V2: - As per Bjorn's comment, introduced and using devm_of_icc_get API for getting path handle - As per Matthias c

[PATCH V8 8/8] arm64: dts: sc7180: Add interconnect for QUP and QSPI

2020-06-23 Thread Akash Asthana
Add interconnect ports for GENI QUPs and QSPI to set bus capabilities. Signed-off-by: Akash Asthana --- Changes in V2: - As per Bjorn's comment, ignoring 80 char limit in defining interconnects paths. Changes in V3: - No change. Change in V4: - No change. Changes in V5: - No change. Ch

[PATCH V8 3/8] i2c: i2c-qcom-geni: Add interconnect support

2020-06-23 Thread Akash Asthana
Get the interconnect paths for I2C based Serial Engine device and vote according to the bus speed of the driver. Signed-off-by: Akash Asthana Reviewed-by: Matthias Kaehlcke Acked-by: Wolfram Sang --- Changes in V2: - As per Bjorn's comment, removed se == NULL check from geni_i2c_icc_get - As

[PATCH V8 5/8] spi: spi-geni-qcom: Combine the clock setting code

2020-06-23 Thread Akash Asthana
From: Douglas Anderson There is code for adjusting the clock both in setup_fifo_params() (called from prepare_message()) and in setup_fifo_xfer() (called from transfer_one()). The code is the same. Abstract it out to a shared function. This is a no-op cleanup patch. The only change is to the

[PATCH v3 net] net: ethtool: add missing string for NETIF_F_GSO_TUNNEL_REMCSUM

2020-06-23 Thread Alexander Lobakin
Commit e585f2363637 ("udp: Changes to udp_offload to support remote checksum offload") added new GSO type and a corresponding netdev feature, but missed Ethtool's 'netdev_features_strings' table. Give it a name so it will be exposed to userspace and become available for manual configuration. v3:

Re: [PATCH v6 0/5] DDR/L3 Scaling support on SDM845 and SC7180 SoCs

2020-06-23 Thread Viresh Kumar
On 22-06-20, 13:46, Sibi Sankar wrote: > This patch series aims to extend cpu based scaling support to L3/DDR on > SDM845 and SC7180 SoCs. > > Patches [1-2] - Blacklist SDM845 and SC7180 in cpufreq-dt-platdev > Patches [3-5] - Update bw levels based on cpu frequency change > > V7: > * Fixup comm

Re: [PATCH 2/2] scsi: register sysfs for scsi/iscsi workqueues

2020-06-23 Thread Benjamin Block
On Mon, Jun 22, 2020 at 10:40:09AM -0500, Mike Christie wrote: > On 6/11/20 5:07 AM, Bob Liu wrote: > > This patch enable setting cpu affinity through "cpumask" for below > > scsi/iscsi workqueues, so as to get better isolation. > > - scsi_wq_* > > - scsi_tmf_* > > - iscsi_q_xx > > - iscsi_eh > >

Re: Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace)

2020-06-23 Thread Peter Zijlstra
On Tue, Jun 23, 2020 at 11:45:19AM +0200, Joerg Roedel wrote: > Hi Andy, > > On Mon, Apr 27, 2020 at 10:37:41AM -0700, Andy Lutomirski wrote: > > 1. Use IST for #VC and deal with all the mess that entails. > > With the removal of IST shifting I wonder what you would suggest on how > to best imple

Re: [PATCH 08/18] drm/amdgpu: add dma-fence annotations to atomic commit path

2020-06-23 Thread Daniel Vetter
Hi Roland & vmwgfx maintainers, Thomas has played around with these annotations on his vmwgfx setup, and found some issues. Apparently in the atomic_commit_tail path when handling the dirty rectangle stuff you acquire a ttm reservation, which is a no-go since it could deadlock with other paths - a

RE: [PATCH v3 1/2] dt-bindings: dma: Add bindings for intel LGM SOC

2020-06-23 Thread Langer, Thomas
Hi, I have some questions about the binding. Sorry I missed to ask during internal review, as I was busy with other tasks at that time. See my questions below. > -Original Message- > From: devicetree-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Amireddy Mallikarjuna reddy

Re: [PATCH 2/7] tty: serial: Add poll_get_irq() to the polling interface

2020-06-23 Thread Daniel Thompson
On Tue, Jun 23, 2020 at 01:18:25PM +0530, Sumit Garg wrote: > On Mon, 22 Jun 2020 at 21:26, Daniel Thompson > wrote: > > > > On Mon, Jun 22, 2020 at 07:56:19PM +0530, Sumit Garg wrote: > > > From: Daniel Thompson > > > > Sumit, to some extent this mail is me yelling at myself two years ago > > al

Greetings

2020-06-23 Thread Justin Udema
Greetings, Please I need your help in repatriating a fund left by my late client which the bank wants to confiscate, My name is Justin Udema from the Benin Republic and The fund value about $11.8 million. Kindly get back to me if you can assist me to get his fund out from his bank.

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