Re: [PATCH v2 2/2] iommu/iova: Free global iova rcache on iova alloc failure

2020-09-29 Thread Vijayanand Jitta
On 9/28/2020 6:11 PM, Vijayanand Jitta wrote: > > > On 9/18/2020 8:11 PM, Robin Murphy wrote: >> On 2020-08-20 13:49, vji...@codeaurora.org wrote: >>> From: Vijayanand Jitta >>> >>> When ever an iova alloc request fails we free the iova >>> ranges present in the percpu iova rcaches and then

Re: [PATCH 4/5] iio: adc: vf610_adc: Replace indio_dev->mlock with own device lock

2020-09-29 Thread Alexandru Ardelean
On Tue, Sep 29, 2020 at 7:15 PM Jonathan Cameron wrote: > > On Mon, 28 Sep 2020 16:13:32 +0300 > Mircea Caprioru wrote: > > > From: Sergiu Cuciurean > > > > As part of the general cleanup of indio_dev->mlock, this change replaces > > it with a local lock on the device's state structure. > > > >

Re: [PATCH v2 3/3] iommu/tegra-smmu: Add PCI support

2020-09-29 Thread Dmitry Osipenko
30.09.2020 08:29, Nicolin Chen пишет: > Hi Dmitry, > > On Wed, Sep 30, 2020 at 08:10:07AM +0300, Dmitry Osipenko wrote: >> 30.09.2020 03:30, Nicolin Chen пишет: >>> - group->group = iommu_group_alloc(); >>> + group->group = pci ? pci_device_group(dev) : iommu_group_alloc(); >> >> This will be

[PATCH v2 2/4] iio: adc: at91_adc: const-ify some driver data

2020-09-29 Thread Alexandru Ardelean
The main intent is to get rid of the cast for the void-pointer returned by of_device_get_match_data(). This requires const-ifying the 'caps' and 'registers' references on the at91_adc_state struct. The caps can be obtained also from the old platform_data (in the at91_adc_probe_pdata() function),

[PATCH v2 3/4] iio: adc: at91_adc: add Kconfig dependency on the OF symbol

2020-09-29 Thread Alexandru Ardelean
This tries to solve a warning reported by the lkp bot: >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable >> 'at91_adc_dt_ids' [-Wunused-const-variable] static const struct of_device_id at91_adc_dt_ids[] = { ^ 1 warning generated. This shows

[PATCH v2 0/4] iio: adc: at91: misc driver cleanups

2020-09-29 Thread Alexandru Ardelean
This whole thing started because the lkp bot haunted me for a while with this build warning: >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable >> 'at91_adc_dt_ids' [-Wunused-const-variable] static const struct of_device_id at91_adc_dt_ids[] = {

[PATCH v2 4/4] iio: adc: at91_adc: remove of_match_ptr() usage

2020-09-29 Thread Alexandru Ardelean
Since the driver should be allowed to build without OF support, the of_match_ptr() is redundant. Signed-off-by: Alexandru Ardelean --- drivers/iio/adc/at91_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index

[PATCH v2 1/4] iio: adc: at91_adc: use of_device_get_match_data() helper

2020-09-29 Thread Alexandru Ardelean
This is a small tidy-up. The of_device_get_match_data() helper retrieves the driver data from the OF table, without needed to explicitly know the table variable (since it can retrieve it from the driver object). Signed-off-by: Alexandru Ardelean --- drivers/iio/adc/at91_adc.c | 5 + 1 file

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 08:20:50AM +0300, Dmitry Osipenko wrote: > 30.09.2020 08:10, Dmitry Osipenko пишет: > > 30.09.2020 03:30, Nicolin Chen пишет: > >> static void tegra_smmu_release_device(struct device *dev) > > > > The tegra_get_memory_controller() uses of_find_device_by_node(), hence > >

[tip: ras/core] x86/mce: Add Skylake quirk for patrol scrub reported errors

2020-09-29 Thread tip-bot2 for Borislav Petkov
The following commit has been merged into the ras/core branch of tip: Commit-ID: fd258dc4442c5c1c069c6b5b42bfe7d10cddda95 Gitweb: https://git.kernel.org/tip/fd258dc4442c5c1c069c6b5b42bfe7d10cddda95 Author:Borislav Petkov AuthorDate:Tue, 29 Sep 2020 19:13:12 -07:00

[tip: ras/core] x86/mce: Drop AMD-specific "DEFERRED" case from Intel severity rule list

2020-09-29 Thread tip-bot2 for Tony Luck
The following commit has been merged into the ras/core branch of tip: Commit-ID: ed9705e4ad1c19ae51ed0cb4c112f9eb6dfc69fc Gitweb: https://git.kernel.org/tip/ed9705e4ad1c19ae51ed0cb4c112f9eb6dfc69fc Author:Tony Luck AuthorDate:Tue, 29 Sep 2020 19:13:13 -07:00 Committer:

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 08:11:52AM +0300, Dmitry Osipenko wrote: > 30.09.2020 03:30, Nicolin Chen пишет: > > + /* An invalid mc pointer means mc and smmu drivers are not ready */ > > + if (IS_ERR_OR_NULL(mc)) > > tegra_get_memory_controller() doesn't return NULL. Well, I don't want to assume

Re: [PATCH v2 1/3] memory: tegra: Add helper function tegra_get_memory_controller

2020-09-29 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 08:12:10AM +0300, Dmitry Osipenko wrote: > 30.09.2020 03:30, Nicolin Chen пишет: > ... > > int tegra_mc_write_emem_configuration(struct tegra_mc *mc, unsigned long > > rate); > > unsigned int tegra_mc_get_emem_device_count(struct tegra_mc *mc); > > +struct tegra_mc

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Dmitry Osipenko
30.09.2020 08:39, Nicolin Chen пишет: > On Wed, Sep 30, 2020 at 08:24:02AM +0300, Dmitry Osipenko wrote: >> 30.09.2020 03:30, Nicolin Chen пишет: >>> + /* >>> +* IOMMU core allows -ENODEV return to carry on. So bypass any call >>> +* from bus_set_iommu() during tegra_smmu_probe(), as a

Re: [PATCH v2 1/2] iommu/iova: Retry from last rb tree node if iova search fails

2020-09-29 Thread Vijayanand Jitta
On 9/18/2020 7:48 PM, Robin Murphy wrote: > On 2020-08-20 13:49, vji...@codeaurora.org wrote: >> From: Vijayanand Jitta >> >> When ever a new iova alloc request comes iova is always searched >> from the cached node and the nodes which are previous to cached >> node. So, even if there is free

[PATCH v4 2/2] iommu/iova: Free global iova rcache on iova alloc failure

2020-09-29 Thread vjitta
From: Vijayanand Jitta When ever an iova alloc request fails we free the iova ranges present in the percpu iova rcaches and then retry but the global iova rcache is not freed as a result we could still see iova alloc failure even after retry as global rcache is holding the iova's which can cause

[PATCH v4 1/2] iommu/iova: Retry from last rb tree node if iova search fails

2020-09-29 Thread vjitta
From: Vijayanand Jitta When ever a new iova alloc request comes iova is always searched from the cached node and the nodes which are previous to cached node. So, even if there is free iova space available in the nodes which are next to the cached node iova allocation can still fail because of

Re: [PATCH v3 2/3] dmaengine: add peripheral configuration

2020-09-29 Thread Peter Ujfalusi
Hi Vinod, On 29/09/2020 11.06, Peter Ujfalusi wrote: > > I know that you want this to be as generic as much as it is possible, > but do we really want to? > GPIv2 will also handle I2S peripheral, other vendor's similar solution > would require different sets of parameters unique to their IPs? >

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 08:39:54AM +0300, Dmitry Osipenko wrote: > 30.09.2020 03:30, Nicolin Chen пишет: > > static int tegra_smmu_attach_dev(struct iommu_domain *domain, > > struct device *dev) > > { > > + struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); >

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 08:24:02AM +0300, Dmitry Osipenko wrote: > 30.09.2020 03:30, Nicolin Chen пишет: > > + /* > > +* IOMMU core allows -ENODEV return to carry on. So bypass any call > > +* from bus_set_iommu() during tegra_smmu_probe(), as a device will > > +* call in again via

Re: [PATCH v2 3/3] iommu/tegra-smmu: Add PCI support

2020-09-29 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 08:10:35AM +0300, Dmitry Osipenko wrote: > 30.09.2020 03:30, Nicolin Chen пишет: > > void tegra_smmu_remove(struct tegra_smmu *smmu) > > { > > + bus_set_iommu(_bus_type, NULL); > > Why only platform_bus? Is this really needed at all? I see qcom_iommu.c file set to

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Dmitry Osipenko
30.09.2020 03:30, Nicolin Chen пишет: > static int tegra_smmu_attach_dev(struct iommu_domain *domain, >struct device *dev) > { > + struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); > struct tegra_smmu *smmu = dev_iommu_priv_get(dev); >

Re: [PATCH v5] ipvs: adjust the debug info in function set_tcp_state

2020-09-29 Thread yue longguang
It's done. On Wed, Sep 30, 2020 at 1:08 PM Julian Anastasov wrote: > > > Hello, > > On Mon, 28 Sep 2020, longguang.yue wrote: > > > Outputting client,virtual,dst addresses info when tcp state changes, > > which makes the connection debug more clear > > > > Signed-off-by: longguang.yue

RE: [PATCH] PCI: layerscape: Change back to the default error response behavior

2020-09-29 Thread Z.q. Hou
Hi Bjorn, Thanks a lot for your comments! > -Original Message- > From: Bjorn Helgaas > Sent: 2020年9月29日 23:03 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; lorenzo.pieral...@arm.com; > r...@kernel.org;

Re: [PATCH v3 2/2] hwmon: intel-m10-bmc-hwmon: add hwmon support for Intel MAX 10 BMC

2020-09-29 Thread Guenter Roeck
On 9/20/20 11:17 PM, Xu Yilun wrote: > This patch adds hwmon functionality for Intel MAX 10 BMC chip. This BMC > chip connects to a set of sensor chips to monitor current, voltage, > thermal and power of different components on board. The BMC firmware is > responsible for sensor data sampling and

[PATCH v3 2/4] dt-bindings: PCI: uniphier-ep: Add iATU register description

2020-09-29 Thread Kunihiko Hayashi
In the dt-bindings, "atu" reg-names is required to get the register space for iATU in Synopsis DWC version 4.80 or later. Signed-off-by: Kunihiko Hayashi --- .../bindings/pci/socionext,uniphier-pcie-ep.yaml | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff

[PATCH v3 3/4] PCI: dwc: Add common iATU register support

2020-09-29 Thread Kunihiko Hayashi
This gets iATU register area from reg property that has reg-names "atu". In Synopsys DWC version 4.80 or later, since iATU register area is separated from core register area, this area is necessary to get from DT independently. Cc: Murali Karicheri Cc: Jingoo Han Cc: Gustavo Pimentel

[PATCH v3 4/4] PCI: keystone: Remove iATU register mapping

2020-09-29 Thread Kunihiko Hayashi
After applying "PCI: dwc: Add common iATU register support", there is no need to set own iATU in the Keystone driver itself. Cc: Murali Karicheri Cc: Jingoo Han Cc: Gustavo Pimentel Suggested-by: Rob Herring Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring ---

[PATCH v3 0/4] PCI: dwc: Move iATU register mapping to common framework

2020-09-29 Thread Kunihiko Hayashi
This moves iATU register mapping in the Keystone driver to common framework. And this adds "iatu" property description to the dt-bindings for UniPhier PCIe host and endpoint controller. This series is split from the previous patches: https://www.spinics.net/lists/linux-pci/msg97608.html "[PATCH

[PATCH v3 1/4] dt-bindings: PCI: uniphier: Add iATU register description

2020-09-29 Thread Kunihiko Hayashi
In the dt-bindings, "atu" reg-names is required to get the register space for iATU in Synopsys DWC version 4.80 or later. Signed-off-by: Kunihiko Hayashi Acked-by: Rob Herring --- Documentation/devicetree/bindings/pci/uniphier-pcie.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v2 3/3] iommu/tegra-smmu: Add PCI support

2020-09-29 Thread Nicolin Chen
Hi Dmitry, On Wed, Sep 30, 2020 at 08:10:07AM +0300, Dmitry Osipenko wrote: > 30.09.2020 03:30, Nicolin Chen пишет: > > - group->group = iommu_group_alloc(); > > + group->group = pci ? pci_device_group(dev) : iommu_group_alloc(); > > This will be nicer to write as: > > if (dev_is_pci(dev))

Re: [PATCH 03/22] kvm: mmu: Init / Uninit the TDP MMU

2020-09-29 Thread Sean Christopherson
Nit on all the shortlogs, can you use "KVM: x86/mmu" instead of "kvm: mmu"? On Fri, Sep 25, 2020 at 02:22:43PM -0700, Ben Gardon wrote: > diff --git a/arch/x86/kvm/mmu/tdp_mmu.c b/arch/x86/kvm/mmu/tdp_mmu.c > new file mode 100644 > index 0..8241e18c111e6 > --- /dev/null > +++

Re: [PATCH 00/10] rpmsg: Make RPMSG name service modular

2020-09-29 Thread Guennadi Liakhovetski
Hi Mathieu, On Mon, Sep 28, 2020 at 01:33:08PM -0600, Mathieu Poirier wrote: > Hey Guennadi, > > On Mon, Sep 28, 2020 at 11:49:42AM +0200, Guennadi Liakhovetski wrote: > > (re-sending, mailing list delivery attempts last Friday failed) > > > > I got your email on Friday but had to tend to

Re: [PATCH v2 3/3] iommu/tegra-smmu: Add PCI support

2020-09-29 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 08:10:00AM +0300, Dmitry Osipenko wrote: > 30.09.2020 03:30, Nicolin Chen пишет: > ... > > +#ifdef CONFIG_PCI > > + if (!iommu_present(_bus_type)) { > > Could you please explain why this check is needed? That's referencing what's in the arm-smmu.c file, since it does

Re: [PATCH 1/2] iio: adc: at91_adc: use of_device_get_match_data() helper

2020-09-29 Thread Alexandru Ardelean
On Tue, Sep 29, 2020 at 6:55 PM Jonathan Cameron wrote: > > On Mon, 28 Sep 2020 15:54:23 +0300 > Alexandru Ardelean wrote: > > > This tries to solve a warning reported by the lkp bot: > > > > >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable > > >> 'at91_adc_dt_ids'

Re: [PATCH 1/2] iio: adc: at91_adc: use of_device_get_match_data() helper

2020-09-29 Thread Alexandru Ardelean
On Tue, Sep 29, 2020 at 6:55 PM Jonathan Cameron wrote: > > On Mon, 28 Sep 2020 15:54:23 +0300 > Alexandru Ardelean wrote: > > > This tries to solve a warning reported by the lkp bot: > > > > >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable > > >> 'at91_adc_dt_ids'

Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-29 Thread Srinivasan Raju
> I stopped here. > > Thanks Thanks for your comments Leon, I will resubmit after the changes Thanks Srini

[tip: efi/urgent] efi: Add definition of EFI_MEMORY_CPU_CRYPTO and ability to report it

2020-09-29 Thread tip-bot2 for Ard Biesheuvel
The following commit has been merged into the efi/urgent branch of tip: Commit-ID: 6277e374b0b07c1a93c829f0a27e38739b3b7a1b Gitweb: https://git.kernel.org/tip/6277e374b0b07c1a93c829f0a27e38739b3b7a1b Author:Ard Biesheuvel AuthorDate:Thu, 24 Sep 2020 13:52:24 +02:00

[tip: efi/urgent] efi/arm64: libstub: Deal gracefully with EFI_RNG_PROTOCOL failure

2020-09-29 Thread tip-bot2 for Ard Biesheuvel
The following commit has been merged into the efi/urgent branch of tip: Commit-ID: d32de9130f6c79533508e2c7879f18997bfbe2a0 Gitweb: https://git.kernel.org/tip/d32de9130f6c79533508e2c7879f18997bfbe2a0 Author:Ard Biesheuvel AuthorDate:Sat, 26 Sep 2020 10:52:42 +02:00

[tip: efi/urgent] efi/libstub: Fix missing-prototypes in string.c

2020-09-29 Thread tip-bot2 for Tian Tao
The following commit has been merged into the efi/urgent branch of tip: Commit-ID: aad0f3d693bbb356b9478879ecd245d4f7a2beb0 Gitweb: https://git.kernel.org/tip/aad0f3d693bbb356b9478879ecd245d4f7a2beb0 Author:Tian Tao AuthorDate:Mon, 21 Sep 2020 09:53:23 +08:00 Committer:

[tip: efi/urgent] efi: Delete deprecated parameter comments

2020-09-29 Thread tip-bot2 for Tian Tao
The following commit has been merged into the efi/urgent branch of tip: Commit-ID: f5344e5d6ccb9ddf377202690a135bc64607c621 Gitweb: https://git.kernel.org/tip/f5344e5d6ccb9ddf377202690a135bc64607c621 Author:Tian Tao AuthorDate:Thu, 24 Sep 2020 10:20:18 +08:00 Committer:

[tip: efi/urgent] efivarfs: Replace invalid slashes with exclamation marks in dentries.

2020-09-29 Thread tip-bot2 for Michael Schaller
The following commit has been merged into the efi/urgent branch of tip: Commit-ID: 336af6a4686d885a067ecea8c3c3dd129ba4fc75 Gitweb: https://git.kernel.org/tip/336af6a4686d885a067ecea8c3c3dd129ba4fc75 Author:Michael Schaller AuthorDate:Fri, 25 Sep 2020 09:45:02 +02:00

Re: [PATCH 0/3] Prevent out-of-bounds access for built-in font data buffers

2020-09-29 Thread Jiri Slaby
On 29. 09. 20, 14:34, Peilin Ye wrote: > the work in general? I couldn't think of how do we clean up subsystems > one by one, while keeping a `console_font` in `struct vc_data`. Hi, feel free to change struct vc_data's content as you need, of course. Only the UAPI _definitions_ have to be

Re: [PATCH v3 2/2] hwmon: pmbus: max20730: adjust the vout reading given voltage divider

2020-09-29 Thread Guenter Roeck
On Thu, Sep 24, 2020 at 09:54:44PM +, Chu Lin wrote: > Problem: > We use voltage dividers so that the voltage presented at the voltage > sense pins is confusing. We might need to convert these readings to more > meaningful readings given the voltage divider. > > Solution: > Read the voltage

Re: [PATCH 02/22] kvm: mmu: Introduce tdp_iter

2020-09-29 Thread Sean Christopherson
On Fri, Sep 25, 2020 at 02:22:42PM -0700, Ben Gardon wrote: > diff --git a/arch/x86/kvm/mmu/tdp_iter.c b/arch/x86/kvm/mmu/tdp_iter.c > new file mode 100644 > index 0..ee90d62d2a9b1 > --- /dev/null > +++ b/arch/x86/kvm/mmu/tdp_iter.c > @@ -0,0 +1,163 @@ > +/* SPDX-License-Identifier:

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Dmitry Osipenko
30.09.2020 03:30, Nicolin Chen пишет: > + /* > + * IOMMU core allows -ENODEV return to carry on. So bypass any call > + * from bus_set_iommu() during tegra_smmu_probe(), as a device will > + * call in again via of_iommu_configure when fwspec is prepared. > + */ > + if

RE: [PATCH 2/8] usb: cdns3: Split core.c into cdns3-plat and core.c file

2020-09-29 Thread Pawel Laszczak
> >On Mon, 2020-09-28 at 14:27 +0200, Pawel Laszczak wrote: >> Patch splits file core.c into core.c containing the common reusable code >> and cnd3-plat.c containing device platform specific code. These changes >> are required to make possible reuse DRD part of CDNS3 driver in CDNSP >> driver. >>

[tip: efi/core] efi: pstore: disentangle from deprecated efivars module

2020-09-29 Thread tip-bot2 for Ard Biesheuvel
The following commit has been merged into the efi/core branch of tip: Commit-ID: 232f4eb6393f42f7f9418560ae9228e747fc6faf Gitweb: https://git.kernel.org/tip/232f4eb6393f42f7f9418560ae9228e747fc6faf Author:Ard Biesheuvel AuthorDate:Wed, 23 Sep 2020 09:56:14 +02:00

[tip: efi/core] efi: gsmi: fix false dependency on CONFIG_EFI_VARS

2020-09-29 Thread tip-bot2 for Ard Biesheuvel
The following commit has been merged into the efi/core branch of tip: Commit-ID: 9846d86031eeca2fb2867fe4ac9d92803a97e8e4 Gitweb: https://git.kernel.org/tip/9846d86031eeca2fb2867fe4ac9d92803a97e8e4 Author:Ard Biesheuvel AuthorDate:Wed, 23 Sep 2020 10:18:31 +02:00

[tip: efi/core] cper,edac,efi: Memory Error Record: bank group/address and chip id

2020-09-29 Thread tip-bot2 for Alex Kluver
The following commit has been merged into the efi/core branch of tip: Commit-ID: 612b5d506d066cdf0a739963e7cd28642d500ec1 Gitweb: https://git.kernel.org/tip/612b5d506d066cdf0a739963e7cd28642d500ec1 Author:Alex Kluver AuthorDate:Wed, 19 Aug 2020 09:35:44 -05:00 Committer:

[tip: efi/core] efi: efivars: limit availability to X86 builds

2020-09-29 Thread tip-bot2 for Ard Biesheuvel
The following commit has been merged into the efi/core branch of tip: Commit-ID: 963fabf37f6a94214a823df0a785e653cb8ad6ea Gitweb: https://git.kernel.org/tip/963fabf37f6a94214a823df0a785e653cb8ad6ea Author:Ard Biesheuvel AuthorDate:Wed, 23 Sep 2020 10:20:10 +02:00

[tip: efi/core] efi: pstore: move workqueue handling out of efivars

2020-09-29 Thread tip-bot2 for Ard Biesheuvel
The following commit has been merged into the efi/core branch of tip: Commit-ID: c9b51a2dbfe7f47643e133bf48e1bf28f1b85d2a Gitweb: https://git.kernel.org/tip/c9b51a2dbfe7f47643e133bf48e1bf28f1b85d2a Author:Ard Biesheuvel AuthorDate:Wed, 23 Sep 2020 10:07:49 +02:00

Re: [PATCH v4 5/7] clk: axi-clkgen: Respect ZYNQMP PFD/VCO frequency limits

2020-09-29 Thread Alexandru Ardelean
On Tue, Sep 29, 2020 at 6:30 PM Moritz Fischer wrote: > > Hi Alexandru, > > On Tue, Sep 29, 2020 at 05:44:15PM +0300, Alexandru Ardelean wrote: > > From: Mathias Tausen > > > > Since axi-clkgen is now supported on ZYNQMP, make sure the max/min > > frequencies of the PFD and VCO are respected. >

[tip: efi/core] edac,ghes,cper: Add Row Extension to Memory Error Record

2020-09-29 Thread tip-bot2 for Alex Kluver
The following commit has been merged into the efi/core branch of tip: Commit-ID: 9baf68cc4544056f33797b78ec09388f54ecc8f0 Gitweb: https://git.kernel.org/tip/9baf68cc4544056f33797b78ec09388f54ecc8f0 Author:Alex Kluver AuthorDate:Wed, 19 Aug 2020 09:35:43 -05:00 Committer:

[tip: efi/core] efi: mokvar-table: fix some issues in new code

2020-09-29 Thread tip-bot2 for Ard Biesheuvel
The following commit has been merged into the efi/core branch of tip: Commit-ID: b89114cd018cffa5deb7def1844ce1891efd4f96 Gitweb: https://git.kernel.org/tip/b89114cd018cffa5deb7def1844ce1891efd4f96 Author:Ard Biesheuvel AuthorDate:Thu, 24 Sep 2020 17:58:22 +02:00

[tip: efi/core] efi/x86: Add a quirk to support command line arguments on Dell EFI firmware

2020-09-29 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the efi/core branch of tip: Commit-ID: 4a568ce29d3f48df95919f82a80e4b9be7ea0dc1 Gitweb: https://git.kernel.org/tip/4a568ce29d3f48df95919f82a80e4b9be7ea0dc1 Author:Arvind Sankar AuthorDate:Mon, 14 Sep 2020 17:35:35 -04:00

[tip: efi/core] efi: efivars: un-export efivars_sysfs_init()

2020-09-29 Thread tip-bot2 for Ard Biesheuvel
The following commit has been merged into the efi/core branch of tip: Commit-ID: 5d3c8617ccee6387ba73a5dba77fb9dc21cb85f4 Gitweb: https://git.kernel.org/tip/5d3c8617ccee6387ba73a5dba77fb9dc21cb85f4 Author:Ard Biesheuvel AuthorDate:Wed, 23 Sep 2020 10:13:07 +02:00

[tip: efi/core] efi: remove some false dependencies on CONFIG_EFI_VARS

2020-09-29 Thread tip-bot2 for Ard Biesheuvel
The following commit has been merged into the efi/core branch of tip: Commit-ID: 5ee70cd60652e85e4e8ced99f58f2fcbab405110 Gitweb: https://git.kernel.org/tip/5ee70cd60652e85e4e8ced99f58f2fcbab405110 Author:Ard Biesheuvel AuthorDate:Wed, 23 Sep 2020 10:27:36 +02:00

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Dmitry Osipenko
30.09.2020 08:10, Dmitry Osipenko пишет: > 30.09.2020 03:30, Nicolin Chen пишет: >> static void tegra_smmu_release_device(struct device *dev) > > The tegra_get_memory_controller() uses of_find_device_by_node(), hence > tegra_smmu_release_device() should put_device(mc) in order to balance > back

[PATCH] ARM: dts: aspeed-g6: Add sgpiom/sgpios node

2020-09-29 Thread Billy Tsai
This commit add two sgpiom and two sgpios node into aspeed-g6.dtsi and change the register range of gpio0 to fix the hardware design. Signed-off-by: Billy Tsai --- arch/arm/boot/dts/aspeed-g6.dtsi | 51 +++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git

[Linux-kernel-mentees][PATCH 2/2] net: reorder members of receive_queue in virtio_net for optimization

2020-09-29 Thread Anant Thazhemadam
Analysis of the structure receive_queue using pahole gives the following stats. /* size: 1280, cachelines: 20, members: 11 */ /* sum members: 1220, holes: 1, sum holes: 60 */ /* paddings: 2, sum paddings: 44 */ /* forced alignments: 2, forced holes: 1, sum forced

[Linux-kernel-mentees][PATCH 0/2] reorder members of structures in virtio_net for optimization

2020-09-29 Thread Anant Thazhemadam
The structures virtnet_info and receive_queue have byte holes in middle, and their members could do with some rearranging (order-of-declaration wise) in order to overcome this. Rearranging the members helps in: * elimination the byte holes in the middle of the structures * reduce the size

[Linux-kernel-mentees][PATCH 1/2] net: reorder members of virtnet_info for optimization

2020-09-29 Thread Anant Thazhemadam
Analysis of the structure virtnet_info using pahole gives the following stats. /* size: 256, cachelines: 4, members: 25 */ /* sum members: 245, holes: 3, sum holes: 11 */ /* paddings: 1, sum paddings: 4 */ Reordering the order in which the members of virtnet_info are

Re: [PATCH] pinctrl: single: check if #pinctrl-cells exceeds 3

2020-09-29 Thread Tony Lindgren
* Linus Walleij [200929 12:51]: > On Sun, Sep 13, 2020 at 11:17 PM Drew Fustini wrote: > > > The property #pinctrl-cells can either be 2 or 3. There is currently > > only a check to make sure that #pinctrl-cells is 2 or greater. This > > patch adds a check to make sure it is not greater than

Re: [PATCH v2 2/4] dt-bindings: PCI: uniphier-ep: Add iATU register description

2020-09-29 Thread Kunihiko Hayashi
On 2020/09/29 3:09, Rob Herring wrote: On Mon, 28 Sep 2020 10:05:31 +0900, Kunihiko Hayashi wrote: In the dt-bindings, "atu" reg-names is required to get the register space for iATU in Synopsis DWC version 4.80 or later. Signed-off-by: Kunihiko Hayashi ---

Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-29 Thread Leon Romanovsky
On Mon, Sep 28, 2020 at 03:49:49PM +0530, Srinivasan Raju wrote: > This introduces the pureLiFi LiFi driver for LiFi-X, LiFi-XC > and LiFi-XL USB devices, which provide lightweight, highspeed secure and > fully networked wireless communications via light. > > This driver implementation has been

Re: [PATCH] ARM: dts: document pinctrl-single,pins when #pinctrl-cells = 2

2020-09-29 Thread Tony Lindgren
* Trent Piepho [200929 20:16]: > On Thu, Sep 24, 2020 at 12:04 AM Tony Lindgren wrote: > > Certainly different compatible strings can be used as needed. > > But pinctrl-single is not going to be am335x specific though :) > > We have quite a few SoCs using it: > > So what doesn't make sense to

Re: [PATCH v2 1/3] memory: tegra: Add helper function tegra_get_memory_controller

2020-09-29 Thread Dmitry Osipenko
30.09.2020 03:30, Nicolin Chen пишет: ... > int tegra_mc_write_emem_configuration(struct tegra_mc *mc, unsigned long > rate); > unsigned int tegra_mc_get_emem_device_count(struct tegra_mc *mc); > +struct tegra_mc *tegra_get_memory_controller(void); > > #endif /* __SOC_TEGRA_MC_H__ */ >

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Dmitry Osipenko
30.09.2020 03:30, Nicolin Chen пишет: > + /* An invalid mc pointer means mc and smmu drivers are not ready */ > + if (IS_ERR_OR_NULL(mc)) tegra_get_memory_controller() doesn't return NULL. > + return ERR_PTR(-EPROBE_DEFER);

Re: [PATCH v2 3/3] iommu/tegra-smmu: Add PCI support

2020-09-29 Thread Dmitry Osipenko
30.09.2020 03:30, Nicolin Chen пишет: > void tegra_smmu_remove(struct tegra_smmu *smmu) > { > + bus_set_iommu(_bus_type, NULL); Why only platform_bus? Is this really needed at all? > iommu_device_unregister(>iommu); > iommu_device_sysfs_remove(>iommu);

Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-29 Thread Dmitry Osipenko
30.09.2020 03:30, Nicolin Chen пишет: > static void tegra_smmu_release_device(struct device *dev) The tegra_get_memory_controller() uses of_find_device_by_node(), hence tegra_smmu_release_device() should put_device(mc) in order to balance back the refcounting.

Re: [PATCH v2 3/3] iommu/tegra-smmu: Add PCI support

2020-09-29 Thread Dmitry Osipenko
30.09.2020 03:30, Nicolin Chen пишет: ... > +#ifdef CONFIG_PCI > + if (!iommu_present(_bus_type)) { Could you please explain why this check is needed?

Re: [PATCH v2 3/3] iommu/tegra-smmu: Add PCI support

2020-09-29 Thread Dmitry Osipenko
30.09.2020 03:30, Nicolin Chen пишет: > - group->group = iommu_group_alloc(); > + group->group = pci ? pci_device_group(dev) : iommu_group_alloc(); This will be nicer to write as: if (dev_is_pci(dev)) group->group = pci_device_group(dev); else group->group =

Re: [PATCH 02/22] kvm: mmu: Introduce tdp_iter

2020-09-29 Thread Sean Christopherson
On Fri, Sep 25, 2020 at 02:22:42PM -0700, Ben Gardon wrote: > diff --git a/arch/x86/kvm/mmu/tdp_iter.h b/arch/x86/kvm/mmu/tdp_iter.h > new file mode 100644 > index 0..b102109778eac > --- /dev/null > +++ b/arch/x86/kvm/mmu/tdp_iter.h > @@ -0,0 +1,53 @@ > +/* SPDX-License-Identifier:

Re: [PATCH v5] ipvs: adjust the debug info in function set_tcp_state

2020-09-29 Thread Julian Anastasov
Hello, On Mon, 28 Sep 2020, longguang.yue wrote: > Outputting client,virtual,dst addresses info when tcp state changes, > which makes the connection debug more clear > > Signed-off-by: longguang.yue OK, v5 can be used instead of fixing v4. Acked-by: Julian Anastasov > ---

Re: [PATCH 02/22] kvm: mmu: Introduce tdp_iter

2020-09-29 Thread Sean Christopherson
On Sat, Sep 26, 2020 at 02:04:49AM +0200, Paolo Bonzini wrote: > On 25/09/20 23:22, Ben Gardon wrote: > > EXPORT_SYMBOL_GPL(kvm_mmu_set_mmio_spte_mask); > > > > -static bool is_mmio_spte(u64 spte) > > +bool is_mmio_spte(u64 spte) > > { > > return (spte & SPTE_SPECIAL_MASK) ==

Re: [PATCH] hwmon: fix spelling typo in comments

2020-09-29 Thread Guenter Roeck
On Sat, Sep 26, 2020 at 10:08:33AM +0800, Wang Qing wrote: > Modify the comment typo: "compliment" -> "complement". > > Signed-off-by: Wang Qing > --- Applied, but in the future please list the affected driver in the subject line. Guenter > drivers/hwmon/tmp513.c | 2 +- > 1 file changed, 1

Re: [PATCH v9 0/2] Renovate memcpy_mcsafe with copy_mc_to_{user, kernel}

2020-09-29 Thread Borislav Petkov
On Tue, Sep 29, 2020 at 03:32:07PM -0700, Dan Williams wrote: > Given that Linus was the primary source of review feedback on these > patches and a version of them have been soaking in -next with only a > minor conflict report with vfs.git for the entirety of the v5.9-rc > cycle (left there

Re: [PATCH 5.8 35/99] tools/libbpf: Avoid counting local symbols in ABI check

2020-09-29 Thread Tony Ambardar
[adding Michael Ellerman, linux-ppc maintainer] Hello Justin, On Tue, 29 Sep 2020 at 14:54, Justin Forbes wrote: > > On Tue, Sep 29, 2020 at 6:53 AM Greg Kroah-Hartman > wrote: > > > > From: Tony Ambardar > > > > [ Upstream commit 746f534a4809e07f427f7d13d10f3a6a9641e5c3 ] > > > > Encountered

Re: build failure (BTFIDS) with CONFIG_NET && !CONFIG_INET

2020-09-29 Thread Yonghong Song
On 9/29/20 3:17 AM, Michal Kubecek wrote: Hello, our builds of s390x for zfcpdump fail since 5.9-rc1 with BTFIDS vmlinux FAILED unresolved symbol tcp_timewait_sock make[1]: *** [/home/abuild/rpmbuild/BUILD/kernel-zfcpdump-5.9.rc7/linux-5.9-rc7/Makefile:1176: vmlinux] Error 255

[rcu:rcu/next] BUILD SUCCESS 250c33dc20de38f275c1150f78f68ec3249e0668

2020-09-29 Thread kernel test robot
allyesconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a006-20200929 i386 randconfig-a002-20200929 i386 randconfig-a003-20200929 i386

Re: [PATCH 01/22] kvm: mmu: Separate making SPTEs from set_spte

2020-09-29 Thread Sean Christopherson
On Fri, Sep 25, 2020 at 02:22:41PM -0700, Ben Gardon wrote: > +static int set_spte(struct kvm_vcpu *vcpu, u64 *sptep, > + unsigned int pte_access, int level, > + gfn_t gfn, kvm_pfn_t pfn, bool speculative, > + bool can_unsync, bool host_writable) >

Re: [RFC][PATCH 5/6] dma-buf: system_heap: Add pagepool support to system heap

2020-09-29 Thread Chris Goldsworthy
On 2020-09-25 21:24, John Stultz wrote: Reuse/abuse the pagepool code from the network code to speed up allocation performance. This is similar to the ION pagepool usage, but tries to utilize generic code instead of a custom implementation. Cc: Sumit Semwal Cc: Liam Mark Cc: Laura Abbott

Re: linux-next: Signed-off-by missing for commit in the rcu tree

2020-09-29 Thread Paul E. McKenney
On Wed, Sep 30, 2020 at 08:37:17AM +1000, Stephen Rothwell wrote: > Hi all, > > Commit > > 5f5f44ca646f ("EXP Revert "KVM: Check the allocation of pv cpu mask"") > > is missing a Signed-off-by from its committer. Good catch, fixed in current rcu/next, and apologies for the bother!

Re: [PATCH bpf-next v4 0/6] bpf: BTF support for ksyms

2020-09-29 Thread Alexei Starovoitov
On Tue, Sep 29, 2020 at 4:50 PM Hao Luo wrote: > > v3 -> v4: > - Rebasing > - Cast bpf_[per|this]_cpu_ptr's parameter to void __percpu * before >passing into per_cpu_ptr. Looks good, but doesn't work: ./test_progs -t ksyms_btf test_ksyms_btf:PASS:kallsyms_fopen 0 nsec

Re: [RFC 6/7] KVM: X86: Expose PKS to guest and userspace

2020-09-29 Thread Sean Christopherson
On Thu, Aug 13, 2020 at 12:04:54PM -0700, Jim Mattson wrote: > On Fri, Aug 7, 2020 at 1:47 AM Chenyi Qiang wrote: > > > > Existence of PKS is enumerated via CPUID.(EAX=7H,ECX=0):ECX[31]. It is > > enabled by setting CR4.PKS when long mode is active. PKS is only > > implemented when EPT is enabled

[PATCH 2/5] KVM: x86: Invoke vendor's vcpu_after_set_cpuid() after all common updates

2020-09-29 Thread Sean Christopherson
Move the call to kvm_x86_ops.vcpu_after_set_cpuid() to the very end of kvm_vcpu_after_set_cpuid() to allow the vendor implementation to react to changes made by the common code. In the near future, this will be used by VMX to update its CR4 guest/host masks to account for reserved bits. In the

[PATCH 1/5] KVM: x86: Intercept LA57 to inject #GP fault when it's reserved

2020-09-29 Thread Sean Christopherson
From: Lai Jiangshan Unconditionally intercept changes to CR4.LA57 so that KVM correctly injects a #GP fault if the guest attempts to set CR4.LA57 when it's supported in hardware but not exposed to the guest. Long term, KVM needs to properly handle CR4 bits that can be under guest control but

[PATCH 0/5] KVM: x86: Handle reserved CR4 bit interception in VMX

2020-09-29 Thread Sean Christopherson
This series stems from Lai's RFC patches to intercept LA57 and let the guest own FSGSBASE[*]. Discussion and inspection revealed that KVM does not handle the case where LA57 is supported in hardware but not exposed to the guest. This is actually true for all CR4 bits, but LA57 is currently the

[PATCH 4/5] KVM: VMX: Intercept guest reserved CR4 bits to inject #GP fault

2020-09-29 Thread Sean Christopherson
Intercept CR4 bits that are guest reserved so that KVM correctly injects a #GP fault if the guest attempts to set a reserved bit. If a feature is supported by the CPU but is not exposed to the guest, and its associated CR4 bit is not intercepted by KVM by default, then KVM will fail to inject a

[PATCH 3/5] KVM: x86: Move call to update_exception_bitmap() into VMX code

2020-09-29 Thread Sean Christopherson
Now that vcpu_after_set_cpuid() and update_exception_bitmap() are called back-to-back, subsume the exception bitmap update into the common CPUID update. Drop the SVM invocation entirely as SVM's exception bitmap doesn't vary with respect to guest CPUID. Signed-off-by: Sean Christopherson ---

[PATCH 5/5] KVM: x86: Let the guest own CR4.FSGSBASE

2020-09-29 Thread Sean Christopherson
From: Lai Jiangshan Add FSGSBASE to the set of possible guest-owned CR4 bits, i.e. let the guest own it on VMX. KVM never queries the guest's CR4.FSGSBASE value, thus there is no reason to force VM-Exit on FSGSBASE being toggled. Note, because FSGSBASE is conditionally available, this is

Re: [RFC 12/14] dt-bindings: vendor-prefixes: add Aristainetos

2020-09-29 Thread Heiko Schocher
Hello Krzysztof, Am 28.09.2020 um 06:04 schrieb Heiko Schocher: Hello Krzysztof, Am 26.09.2020 um 18:28 schrieb Krzysztof Kozlowski: Document binding for an unknown entity Aristainetos with few boards mainlined. Cc: Heiko Schocher Signed-off-by: Krzysztof Kozlowski --- I tried to Google

[PATCH 2/3] usb: host: add uhci compatible support for ast2600-uhci

2020-09-29 Thread Ryan Chen
Add support for AST2600 SOC UHCI driver. Signed-off-by: Ryan Chen --- drivers/usb/host/uhci-platform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c index 70dbd95c3f06..fa40fe125c2a 100644 ---

[PATCH 0/3] Enable USB host for AST2600

2020-09-29 Thread Ryan Chen
The patches enable UHCI driver in AST2600 and also enable USB host in aspeed-ast2600-evb.dts. Ryan Chen (3): configs: aspeed: enable UHCI driver in defconfig usb: host: add uhci compatible support for ast2600-uhci ARM: dts: add ehci uhci enable in evb dts

[PATCH 1/3] configs: aspeed: enable UHCI driver in defconfig

2020-09-29 Thread Ryan Chen
Enable UHCI driver in aspeed_g5_defconfig. Signed-off-by: Ryan Chen --- arch/arm/configs/aspeed_g5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig index 2bacd8c90f4b..a57009d1a3b8 100644 ---

[PATCH 3/3] ARM: dts: add ehci uhci enable in evb dts

2020-09-29 Thread Ryan Chen
Add EHCI UHCI enable build in aspeed-ast2600-evb.dts Signed-off-by: Ryan Chen --- arch/arm/boot/dts/aspeed-ast2600-evb.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts index

linux-next: manual merge of the bpf-next tree with the bpf tree

2020-09-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the bpf-next tree got a conflict in: tools/lib/bpf/btf.c between commit: 1245008122d7 ("libbpf: Fix native endian assumption when parsing BTF") from the bpf tree and commit: 3289959b97ca ("libbpf: Support BTF loading and raw data output in both

Re: [Linux-kernel-mentees][PATCH] net: usb: rtl8150: prevent set_ethernet_addr from setting uninit address

2020-09-29 Thread Anant Thazhemadam
On 29/09/20 2:17 pm, Petko Manolov wrote: > On 20-09-29 13:50:28, Anant Thazhemadam wrote: >> When get_registers() fails (which happens when usb_control_msg() fails) >> in set_ethernet_addr(), the uninitialized value of node_id gets copied >> as the address. >> >> Checking for the return values

Re: [PATCH 2/3] exfat: remove useless check in exfat_move_file()

2020-09-29 Thread Tetsuhiro Kohada
It might check if the cluster numbers are same between source entry and target directory. This checks if newdir is the move target itself. Example: mv /mnt/dir0 /mnt/dir0/foo However, this check is not enough. We need to check newdir and all ancestors. Example: mv /mnt/dir0

  1   2   3   4   5   6   7   8   9   10   >