Re: [EXT] Re: [PATCH] MAINTAINERS: orphan sections with qlogic.com group alias

2020-09-07 Thread Arun Easi
On Fri, 28 Aug 2020, 8:39am, Martin K. Petersen wrote: > > Lukas, > > > So, if these drivers are not orphans, you can answer Thomas Gleixner's > > original email from 2019. If you can quickly ack that patch set, I am > > happy to do the donkey work to get this apply nicely on the current > > mas

Re: [RFT 25/25] ARM: dts: s5pv210: align DMA channels with dtschema

2020-09-07 Thread Krzysztof Kozlowski
On Mon, Sep 07, 2020 at 05:28:54PM -0700, Jonathan Bakker wrote: > Ah, I figured out why the dma stopped working. In s5pv210-aries.dtsi the > dma's for i2s0 > are overriden to use pdma0 instead of pdma1. That also needs changing for > this to > work properly. Indeed I missed this, thanks for r

Re: [PATCHv3] selftests: rtnetlink: load fou module for kci_test_encap_fou() test

2020-09-07 Thread Po-Hsu Lin
On Tue, Sep 8, 2020 at 4:12 AM Jakub Kicinski wrote: > > On Mon, 7 Sep 2020 11:50:10 +0800 Po-Hsu Lin wrote: > > The kci_test_encap_fou() test from kci_test_encap() in rtnetlink.sh > > needs the fou module to work. Otherwise it will fail with: > > > > $ ip netns exec "$testns" ip fou add port 7

Re: [PATCH] mm: check for memory's node later during boot

2020-09-07 Thread Laurent Dufour
Le 03/09/2020 à 23:35, Andrew Morton a écrit : On Wed, 2 Sep 2020 11:09:11 +0200 Laurent Dufour wrote: register_mem_sect_under_nodem() is checking the memory block's node id only if the system state is "SYSTEM_BOOTING". On PowerPC, the memory blocks are registered while the system state is "S

Re: [PATCH v11 0/2] s390: virtio: let arch validate VIRTIO features

2020-09-07 Thread Cornelia Huck
On Tue, 8 Sep 2020 00:39:51 +0200 Halil Pasic wrote: > On Mon, 7 Sep 2020 11:39:05 +0200 > Pierre Morel wrote: > > > Hi all, > > > > The goal of the series is to give a chance to the architecture > > to validate VIRTIO device features. > > Michael, is this going in via your tree? > I bel

Re: [PATCH 11/25] ARM: dts: s5pv210: add RTC 32 KHz clock in Aries family

2020-09-07 Thread Krzysztof Kozlowski
On Mon, Sep 07, 2020 at 04:57:53PM -0700, Jonathan Bakker wrote: > Hi Krzysztof, > > On 2020-09-07 9:11 a.m., Krzysztof Kozlowski wrote: > > The S3C RTC requires 32768 Hz clock as input which is provided by PMIC. > > However there is no such clock provider but rather a regulator driver > > which r

Re: [RFT 09/25] ARM: dts: s5pv210: fix number of I2S DAI cells

2020-09-07 Thread Krzysztof Kozlowski
On Mon, Sep 07, 2020 at 04:55:26PM -0700, Jonathan Bakker wrote: > Sadly, this is causing issues for me. The machine driver is no longer > probing correctly > on the Galaxy S. > > The failing call in sound/soc/samsung/aries_wm8994.c is > > /* Set CPU of_node for BT DAI */ > aries_da

Re: [PATCH v2 10/11] dwc3-of-simple: add support for Hikey 970

2020-09-07 Thread Mauro Carvalho Chehab
Em Mon, 7 Sep 2020 17:59:34 +0200 Mauro Carvalho Chehab escreveu: > diff --git a/drivers/usb/dwc3/dwc3-of-simple.c > b/drivers/usb/dwc3/dwc3-of-simple.c > index 8852fbfdead4..2d497165efe2 100644 > --- a/drivers/usb/dwc3/dwc3-of-simple.c > +++ b/drivers/usb/dwc3/dwc3-of-simple.c > @@ -49,7 +49,8

Re: [PATCH v6 04/13] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2020-09-07 Thread Mauro Carvalho Chehab
Em Tue, 08 Sep 2020 09:09:46 +0300 Felipe Balbi escreveu: > >> Why does it affect only Hikey kirin? > > > > As John Stultz didn't re-submit this one (and looking at the DT > > between Kirin 960 and 970 from the original Kernel 4.9 official > > drivers), I suspect that only Kirin 970 requires t

Re: [PATCH 03/25] dt-bindings: iio: adc: exynos-adc: do not require syscon on S5Pv210

2020-09-07 Thread Krzysztof Kozlowski
On Mon, Sep 07, 2020 at 02:49:49PM -0700, Jonathan Bakker wrote: > Looking at this again, it appears that there is actually control for > it at offset 0x6818 of pmu_syscon (0xe0108000) [1]. However, it defaults to > enabled so it's not required for proper use of the block. Whether it should > be

[PATCH] drm/virtio: drop quirks handling

2020-09-07 Thread Gerd Hoffmann
These days dma ops can be overridden per device, and the virtio core uses that to handle the dma quirks transparently for the rest of the kernel. So we can drop the virtio_has_dma_quirk() checks, just use the dma api unconditionally and depend on the virtio core having setup dma_ops as needed. Si

Re: [PATCH v2 4/4] qla2xxx: Handle incorrect entry_type entries

2020-09-07 Thread Arun Easi
On Mon, 31 Aug 2020, 9:18am, Daniel Wagner wrote: > > It was observed on an ISP8324 16Gb HBA with fw=8.08.203 (d0d5) that > pkt->entry_type was MBX_IOCB_TYPE/0x39 with an sp->type SRB_SCSI_CMD > which is invalid and should not be possible. > > A careful code review of the crash dump didn't reveal

Re: [PATCH v2 3/4] qla2xxx: Drop unused function argument from qla2x00_get_sp_from_handle()

2020-09-07 Thread Arun Easi
On Mon, 31 Aug 2020, 9:18am, Daniel Wagner wrote: > > Commit 7c3df1320e5e ("[SCSI] qla2xxx: Code changes to support new > dynamic logging infrastructure.") removed the use of the func > argument. > > Signed-off-by: Daniel Wagner > --- > drivers/scsi/qla2xxx/qla_gbl.h | 3 +-- > drivers/scsi/ql

[PATCH 3/4] scsi: ufs-mediatek: Fix flag of unipro low-power mode

2020-09-07 Thread Stanley Chu
Forcibly leave UniPro low-power mode if UIC commands is failed. This makes hba_enable_delay_us as correct (default) value for re-enabling the host. At the same time, change type of parameter "lpm" in function ufs_mtk_unipro_set_pm() to "bool". Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs

[PATCH 2/4] scsi: ufs-mediatek: Fix HOST_PA_TACTIVATE quirk

2020-09-07 Thread Stanley Chu
Simply add HOST_PA_TACTIVATE quirk back since it was incorrectly removed before. Fixes: 47d054580a75 ("scsi: ufs-mediatek: fix HOST_PA_TACTIVATE quirk for Samsung UFS Devices") Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 6 -- 1 file changed, 6 deletions(-) diff --git

[PATCH 4/4] scsi: ufs-mediatek: Add host reset mechanism

2020-09-07 Thread Stanley Chu
Add host reset mechanism to try to recover host-side errors during recovery flow. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 48 +++-- drivers/scsi/ufs/ufs-mediatek.h | 3 +++ 2 files changed, 49 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH 0/4] scsi: ufs-mediatek: Fixes for kernel v5.10

2020-09-07 Thread Stanley Chu
Hi Martin, Avri, This series fix some defects and introduce host reset mechanism in MediaTek UFS platforms. Please consider this patch series for kernel v5.10. Thanks, Stanley Chu Stanley Chu (4): scsi: ufs-mediatek: Eliminate error message for unbound mphy scsi: ufs-mediatek: Fix HOST_PA_

[PATCH 1/4] scsi: ufs-mediatek: Eliminate error message for unbound mphy

2020-09-07 Thread Stanley Chu
Some MediaTek platforms does not have to bind MPHY so users shall not see any unnecessary logs. Simply remove logs for this case. Fixes: fc4983018fea ("scsi: ufs-mediatek: Allow unbound mphy") Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 5 - 1 file changed, 4 insertions(

Re: [PATCH v2 2/4] qla2xxx: Simplify return value logic in qla2x00_get_sp_from_handle()

2020-09-07 Thread Arun Easi
On Mon, 31 Aug 2020, 9:18am, Daniel Wagner wrote: > > Refactor qla2x00_get_sp_from_handle() to avoid the unecessary > goto if early returns are used. With this we can also avoid > preinitilzing the sp pointer. > > Signed-off-by: Daniel Wagner > --- > drivers/scsi/qla2xxx/qla_isr.c | 8 +++-

Re: [PATCH v2 1/4] qla2xxx: Warn if done() or free() are called on an already freed srb

2020-09-07 Thread Arun Easi
On Mon, 31 Aug 2020, 9:18am, Daniel Wagner wrote: > > Emit a warning when ->done or ->free are called on an already freed > srb. There is a hidden use-after-free bug in the driver which corrupts > the srb memory pool which originates from the cleanup callbacks. By > explicitly resetting the callb

Re: [PATCH] mm/mmu_notifier.c: micro-optimization substitute kzalloc with kmalloc

2020-09-07 Thread Mike Rapoport
On Sun, Sep 06, 2020 at 06:06:39PM +0200, Mateusz Nosek wrote: > Hi, > > I performed simple benchmarks using custom kernel module with the code > fragment in question 'copy-pasted' in there in both versions. In case of 1k, > 10k and 100k iterations the average time for kzalloc version was 5.1 and

Re: [PATCH v6 04/13] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2020-09-07 Thread Mauro Carvalho Chehab
Em Mon, 07 Sep 2020 17:04:31 +0300 Felipe Balbi escreveu: > >> static const struct dev_pm_ops dwc3_dev_pm_ops = { > >>SET_SYSTEM_SLEEP_PM_OPS(dwc3_suspend, dwc3_resume) > >> + .complete = dwc3_complete, > > why is this done on complete? Why can't it be done at the end of > dwc3_resume()?

Re: [PATCH v2 0/4] qla2xxx: A couple crash fixes

2020-09-07 Thread Arun Easi
Hi Daniel, On Mon, 31 Aug 2020, 9:18am, Daniel Wagner wrote: > changes since v1: > > - added dummy warn function to patch#1 > - added log entry to patch#4 > > as suggested by Martin > > > > Initial cover letter: > > The first crash we observed is due memory corruption in the srb memory >

Re: Apply from 2018? [V2,0/3] phy: qcom-ipq4019-usb: add new driver

2020-09-07 Thread Grant Grundler
Adding linux-...@vger.kernel.org since Andy's email in MAINTAINERs bounced. Using Matthew's personal email since his codeaurora email bounced. On Mon, Sep 7, 2020 at 11:35 PM Grant Grundler wrote: > > Alban, Andy, > Can you please apply this patch series from 2018 or please explain > what I (or J

[PATCH] usb: serial: Repair FTDI FT232R bricked eeprom

2020-09-07 Thread James Hilliard
This patch detects end reverses the effects of the malicious FTDI Windows driver version 2.12.00(FTDIgate). While we currently load the ftdi_sio driver for devices with FTDI_BRICK_PID(0x) userspace applications that expect the appropriate FTDI_8U232AM_PID(0x6001) PID may not work properly. Si

Apply from 2018? [V2,0/3] phy: qcom-ipq4019-usb: add new driver

2020-09-07 Thread Grant Grundler
Alban, Andy, Can you please apply this patch series from 2018 or please explain what I (or John) have to do so this series can be applied? https://patchwork.kernel.org/cover/10552139/ [V2,0/3] phy: qcom-ipq4019-usb: add new driver OpenWRT has been applying this code to all ipq4019 targets

[PATCH] x86, fakenuma: Avoid too large emulated node

2020-09-07 Thread Huang Ying
On a testing system with 2 physical NUMA node, 8GB memory, a small memory hole from 640KB to 1MB, and a large memory hole from 3GB to 4GB. If "numa=fake=1G" is used in kernel command line, the resulting fake NUMA nodes are as follows, NUMA: Node 0 [mem 0x-0x0009] + [mem 0x0010

Re: Re: [PATCH v2 0/2] Remove MT6779 UART3 clock support

2020-09-07 Thread Hanks Chen
Hi all, Gentle ping on this patch set. Thanks! Hanks Chen On Thu, 2020-07-30 at 21:04 +0800, Hanks Chen wrote: > Hi all, > > Gentle ping on this patch. > > Thanks! > > Hanks Chen > > > On Wed, 2020-07-22 at 17:21 +0200, Matthias Brugger wrote: > > > > On 22/07/2020 13:16, Hanks Chen wro

[PATCH v3] debugobjects: install CPU hotplug callback

2020-09-07 Thread qiang.zhang
From: Zqiang Due to CPU hotplug, it may never be online after it's offline, some objects in percpu pool is never free. in order to avoid this happening, install CPU hotplug callback, call this callback func to free objects in percpu pool when CPU going offline. Signed-off-by: Zqiang --- v1->v2

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

2020-09-07 Thread Xu Yilun
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 recording in shared registers. Host driver rea

[PATCH] add hwmon support for Intel MAX 10 BMC

2020-09-07 Thread Xu Yilun
This patch depends on the patch "add Intel MAX 10 BMC chip support for Intel FPGA PAC". https://lore.kernel.org/lkml/1599491813-20819-1-git-send-email-yilun...@intel.com/ This patch adds support for the hwmon sub device in Intel MAX 10 BMC Xu Yilun (1): hwmon: intel-m10-bmc-hwmon: add hwmon su

Re: [PATCH v3] i2c: npcm7xx: Fix timeout calculation

2020-09-07 Thread Wolfram Sang
On Mon, Aug 31, 2020 at 12:31:21AM +0300, Tali Perry wrote: > timeout_usec value calculation was wrong, the calculated value > was in msec instead of usec. > > Signed-off-by: Tali Perry > Reviewed-by: Avi Fishman Applied to for-current, thanks! And thanks for the Fixes-tag, Joel. signature.a

Re: [PATCH 5/6] media: allwinner,sun4i-a10-video-engine: Add V3s compatible

2020-09-07 Thread Maxime Ripard
On Fri, Sep 04, 2020 at 10:01:11PM +0200, Martin Cerveny wrote: > Allwinner V3s SoC contains video engine. Add compatible for it. > > Signed-off-by: Martin Cerveny The prefix isn't the right one, it shouldn't be media: but dt-bindings: media: cedrus: Maxime signature.asc Description: PGP sig

Re: [PATCH v10 3/3] clk: mediatek: add UART0 clock support

2020-09-07 Thread Hanks Chen
Hi all, Gentle ping on this patch. Thanks Hanks Chen On Thu, 2020-07-30 at 21:30 +0800, Hanks Chen wrote: > Add MT6779 UART0 clock support. > > Fixes: 710774e04861 ("clk: mediatek: Add MT6779 clock support") > Signed-off-by: Wendell Lin > Signed-off-by: Hanks Chen > Reviewed-by: Matthias B

Re: [PATCH V2 5/5] DO NOT MERGE: iommu: disable list appending in dma-iommu

2020-09-07 Thread Christoph Hellwig
On Tue, Sep 08, 2020 at 02:04:53PM +0800, Lu Baolu wrote: > Do you mind telling where can I find Marek's series? [PATCH v10 00/30] DRM: fix struct sg_table nents vs. orig_nents misuse on various lists including the iommu one.

Re: [PATCH 0/6] ARM: dts: sun8i: v3s: Enable video decoder

2020-09-07 Thread Maxime Ripard
Hi, On Fri, Sep 04, 2020 at 10:01:06PM +0200, Martin Cerveny wrote: > First patch extends cedrus capability to all decoders > because V3s missing MPEG2 decoder. > > Next two patches add system control node (SRAM C1) and > next three patches add support for Cedrus VPU. How was it tested? Maxime

[git pull] drm fixes for 5.9-rc5 (special edition)

2020-09-07 Thread Dave Airlie
Hi Linus, The i915 reverts are going to be a bit of a conflict mess for next, so I decided to dequeue them now, along with some msm fixes for a ring corruption issue, that Rob sent over the weekend. Dave. drm-fixes-2020-09-08: drm fixes for 5.9-rc5 (special edition) i915: - revert gpu relocatio

Re: [PATCH v1 6/8] x86/tsc: Use seqcount_latch_t

2020-09-07 Thread Ahmed S. Darwish
On Mon, Sep 07, 2020 at 07:30:47PM +0200, pet...@infradead.org wrote: ... > > Don't look at this function in isolation, look at native_sched_clock() > where it's used as a whole. > ... > What happened (afaict) is that the change caused it to use more > registers and ended up spiling crap on the sta

Re: [PATCH v3 0/2] ARM: dts: sun8i: v3s: Enable crypto engine

2020-09-07 Thread Maxime Ripard
On Mon, Sep 07, 2020 at 06:24:56PM +0200, Martin Cerveny wrote: > Add support for crypto engine (sun4i-ss) for Allwinner V3s. > Functionality like A33 so add only compatible and enable > in device tree. > > Regards. Applied, thanks Maxime signature.asc Description: PGP signature

Re: linux-next: manual merge of the mmc tree with the samsung-krzk tree

2020-09-07 Thread Krzysztof Kozlowski
On Tue, 8 Sep 2020 at 06:46, Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the mmc tree got a conflict in: > > drivers/mmc/host/Kconfig > > between commits: > > cb6c03019cdd ("ARM: exynos: stop selecting PLAT_SAMSUNG") > db8230d29c3a ("ARM: s5pv210: don't imply CONFIG_P

Re: [PATCH v3] dt-bindings: crypto: Specify that allwinner,sun8i-a33-crypto needs reset

2020-09-07 Thread Maxime Ripard
On Tue, Sep 08, 2020 at 08:15:56AM +0200, Maxime Ripard wrote: > On Mon, Sep 07, 2020 at 07:54:37PM +0200, Corentin Labbe wrote: > > When adding allwinner,sun8i-a33-crypto, I forgot to add that it needs reset. > > Furthermore, there are no need to use items to list only one compatible > > in compat

Re: [PATCH 5/9] ARM: oabi-compat: rework epoll_wait/epoll_pwait emulation

2020-09-07 Thread Christoph Hellwig
On Mon, Sep 07, 2020 at 05:36:46PM +0200, Arnd Bergmann wrote: > The epoll_wait() system call wrapper is one of the remaining users of > the set_fs() infrasturcture for Arm. Changing it to not require set_fs() > is rather complex unfortunately. > > The approach I'm taking here is to allow architec

Re: [PATCH v3 1/2] iio: adc: mt6360: Add ADC driver for MT6360

2020-09-07 Thread Gene Chen
Jonathan Cameron 於 2020年8月30日 週日 上午1:12寫道: > > On Mon, 24 Aug 2020 17:06:24 +0800 > Gene Chen wrote: > > > From: Gene Chen > > > > Add MT6360 ADC driver include Charger Current, Voltage, and > > Temperature. > > > > Signed-off-by: Gene Chen > Hi Gene, > > A few comments inline. The big one cen

Re: [PATCH 3/9] ARM: oabi-compat: add epoll_pwait handler

2020-09-07 Thread Christoph Hellwig
> +SYSCALL_DEFINE4(oabi_epoll_wait, int, epfd, struct oabi_epoll_event __user > *, events, > + int, maxevents, int, timeout) > +SYSCALL_DEFINE6(oabi_epoll_pwait, int, epfd, struct oabi_epoll_event __user > *, events, > + int, maxevents, int, timeout, const sigset_t __user

Re: [PATCH 2/9] ARM: traps: use get_kernel_nofault instead of set_fs()

2020-09-07 Thread Christoph Hellwig
> +static void dump_mem(const char *, const char *, unsigned long, unsigned > long, bool kernel_mode); This adds a pointlessly long line. And looking at the code I don't see why the argument is even needed. dump_mem() currently does an unconditional set_fs(KERNEL_DS), so it should always use

Re: [PATCH v3] dt-bindings: crypto: Specify that allwinner,sun8i-a33-crypto needs reset

2020-09-07 Thread Maxime Ripard
On Mon, Sep 07, 2020 at 07:54:37PM +0200, Corentin Labbe wrote: > When adding allwinner,sun8i-a33-crypto, I forgot to add that it needs reset. > Furthermore, there are no need to use items to list only one compatible > in compatible list. > > Fixes: f81547ba7a98 ("dt-bindings: crypto: add new comp

Aw: Re: [PATCH v4 0/4] Split PCIe node to comply with hardware design

2020-09-07 Thread Frank Wunderlich
Hi, i don't see this Patchset in 5.9-rc4 is anything missing? regards Frank

Re: [PATCH 1/9] mm/maccess: fix unaligned copy_{from,to}_kernel_nofault

2020-09-07 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig This should probably go into Al's base.set_fs branch.

Re: [PATCH v2 1/3] dt-bindings: usb: Convert cdns-usb3.txt to YAML schema

2020-09-07 Thread Felipe Balbi
Hi, Roger Quadros writes: > Converts cdns-usb3.txt to YAML schema cdns,usb3.yaml > > Signed-off-by: Roger Quadros > --- > .../devicetree/bindings/usb/cdns,usb3.yaml| 89 +++ > .../devicetree/bindings/usb/cdns-usb3.txt | 45 -- Rob, should I wait for your Ack on

Re: [PATCH V2 5/5] DO NOT MERGE: iommu: disable list appending in dma-iommu

2020-09-07 Thread Lu Baolu
Hi Christoph, On 9/8/20 1:55 PM, Christoph Hellwig wrote: On Tue, Sep 08, 2020 at 06:36:19AM +0100, Christoph Hellwig wrote: On Mon, Sep 07, 2020 at 09:18:50PM +0100, Tom Murphy wrote: Yeah we talked about passing an attr to map_sg to disable merging at the following microconfernce: https://li

Re: [PATCH v6 04/13] usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc

2020-09-07 Thread Felipe Balbi
Hi, Mauro Carvalho Chehab writes: >> > I tested here, together with the Hikey 970 phy RFC patches I sent >> > last week. >> > >> > Without this patch, the USB HID driver receives -EPROTO from >> > submitted URBs, causing it to enter into an endless reset cycle >> > on every 500 ms, at the hid_io

[PATCH v1] spi: spi-nxp-fspi: Add ACPI support

2020-09-07 Thread kuldip dwivedi
Currently NXP fspi driver has support of DT only. Adding ACPI support to the driver so that it can be used by UEFI firmware booting in ACPI mode. This driver will be probed if any firmware will expose HID "NXP0009" in DSDT table. Signed-off-by: kuldip dwivedi --- Notes: 1. Add ACPI match ta

Re: [PATCH v2 10/11] dwc3-of-simple: add support for Hikey 970

2020-09-07 Thread Felipe Balbi
Hi, Mauro Carvalho Chehab writes: > This binding driver is needed for Hikey 970 to work, > as otherwise a Serror is produced: > > [1.837458] SError Interrupt on CPU0, code 0xbf02 -- SError > [1.837462] CPU: 0 PID: 74 Comm: kworker/0:1 Not tainted 5.8.0+ #205 > [1.8374

Re: [PATCH V2 5/5] DO NOT MERGE: iommu: disable list appending in dma-iommu

2020-09-07 Thread Christoph Hellwig
On Tue, Sep 08, 2020 at 06:36:19AM +0100, Christoph Hellwig wrote: > On Mon, Sep 07, 2020 at 09:18:50PM +0100, Tom Murphy wrote: > > Yeah we talked about passing an attr to map_sg to disable merging at > > the following microconfernce: > > https://linuxplumbersconf.org/event/7/contributions/846/ >

[PATCH 2/3] dfl: add dfl bus support to MODULE_DEVICE_TABLE()

2020-09-07 Thread Xu Yilun
Device Feature List (DFL) is a linked list of feature headers within the device MMIO space. It is used by FPGA to enumerate multiple sub features within it. Each feature can be uniquely identified by DFL type and feature id, which can be read out from feature headers. A dfl bus helps DFL framework

[PATCH 1/3] fpga: dfl: move dfl_device_id to mod_devicetable.h

2020-09-07 Thread Xu Yilun
In order to support MODULE_DEVICE_TABLE() for dfl device driver, this patch moves struct dfl_device_id to mod_devicetable.h Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Signed-off-by: Matthew Gerlach Signed-off-by: Russ Weight --- drivers/fpga/dfl.h | 13 + include/l

Re: [PATCH v4 1/1] drm: allow limiting the scatter list size.

2020-09-07 Thread Gerd Hoffmann
On Mon, Sep 07, 2020 at 03:53:02PM +0200, Daniel Vetter wrote: > On Mon, Sep 7, 2020 at 1:24 PM Gerd Hoffmann wrote: > > > > Add drm_device argument to drm_prime_pages_to_sg(), so we can > > call dma_max_mapping_size() to figure the segment size limit > > and call into __sg_alloc_table_from_pages(

Re: [BUG RT] dump-capture kernel not executed for panic in interrupt context

2020-09-07 Thread Joerg Vehlow
Hi Peter On 9/7/2020 6:23 PM, pet...@infradead.org wrote: According to the original comment in __crash_kexec, the mutex was used to prevent a sys_kexec_load, while crash_kexec is executed. Your proposed patch does not lock the mutex in crash_kexec. Sure, but any mutex taker will (spin) wait for

Re: [PATCH] ath11k: fix a double free and a memory leak

2020-09-07 Thread Kalle Valo
t...@redhat.com wrote: > clang static analyzer reports this problem > > mac.c:6204:2: warning: Attempt to free released memory > kfree(ar->mac.sbands[NL80211_BAND_2GHZ].channels); > ^ > > The channels pointer is allocated in ath11k_

Re: [PATCH 1/2] dt: bindings: Add new regulator as optional property for WCN3990

2020-09-07 Thread Kalle Valo
Rakesh Pillai wrote: > Add an additional regulator supply as an optional > property for WCN3990. > > Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 > > Signed-off-by: Rakesh Pillai > Reviewed-by: Douglas Anderson > Acked-by: Rob Herring > Signed-off-by: Kalle Valo 2 patches

Re: [PATCH v8 3/3] binder: add transaction latency tracer

2020-09-07 Thread Frankie Chang
On Mon, 2020-09-07 at 16:09 +0200, Greg Kroah-Hartman wrote: > On Mon, Sep 07, 2020 at 09:51:15PM +0800, Frankie Chang wrote: > > On Mon, 2020-09-07 at 14:25 +0200, Greg Kroah-Hartman wrote: > > > On Mon, Sep 07, 2020 at 08:00:55PM +0800, Frankie Chang wrote: > > > > From: "Frankie.Chang" > > > >

linux-next: build failure after merge of the rcu tree

2020-09-07 Thread Stephen Rothwell
Hi all, After merging the rcu tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: modpost: "resched_cpu" [kernel/scftorture.ko] undefined! Caused by commit 20c881d0592c ("scftorture: Add an alternative IPI vector") I have reverted that commit for today. -- Cheers,

Re: [PATCH V2 5/5] DO NOT MERGE: iommu: disable list appending in dma-iommu

2020-09-07 Thread Christoph Hellwig
On Mon, Sep 07, 2020 at 09:18:50PM +0100, Tom Murphy wrote: > Yeah we talked about passing an attr to map_sg to disable merging at > the following microconfernce: > https://linuxplumbersconf.org/event/7/contributions/846/ > As far as I can remember everyone seemed happy with that solution. I > won'

[PATCHv3] soc: qcom: llcc: Support chipsets that can write to llcc registers

2020-09-07 Thread Sai Prakash Ranjan
From: "Isaac J. Manjarres" Older chipsets may not be allowed to configure certain LLCC registers as that is handled by the secure side software. However, this is not the case for newer chipsets and they must configure these registers according to the contents of the SCT table, while keeping in mi

Re: [RFC PATCH v2 0/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-07 Thread Christophe Leroy
Le 07/09/2020 à 22:12, Mike Rapoport a écrit : On Mon, Sep 07, 2020 at 08:00:55PM +0200, Gerald Schaefer wrote: This is v2 of an RFC previously discussed here: https://lore.kernel.org/lkml/20200828140314.8556-1-gerald.schae...@linux.ibm.com/ Patch 1 is a fix for a regression in gup_fast on s

Re: [RFC PATCH v2 3/3] mm: make generic pXd_addr_end() macros inline functions

2020-09-07 Thread Christophe Leroy
Le 07/09/2020 à 20:00, Gerald Schaefer a écrit : From: Alexander Gordeev Since pXd_addr_end() macros take pXd page-table entry as a parameter it makes sense to check the entry type on compile. Even though most archs do not make use of page-table entries in pXd_addr_end() calls, checking the

Re: [RFC PATCH v2 2/3] mm: make pXd_addr_end() functions page-table entry aware

2020-09-07 Thread Christophe Leroy
Le 07/09/2020 à 20:00, Gerald Schaefer a écrit : From: Alexander Gordeev Unlike all other page-table abstractions pXd_addr_end() do not take into account a particular table entry in which context the functions are called. On architectures with dynamic page-tables folding that might lead to l

Re: [PATCH V3] arm64/cpuinfo: Define HWCAP name arrays per their actual bit definitions

2020-09-07 Thread Anshuman Khandual
On 09/07/2020 05:46 PM, Will Deacon wrote: > On Mon, Aug 17, 2020 at 05:34:23PM +0530, Anshuman Khandual wrote: >> HWCAP name arrays (hwcap_str, compat_hwcap_str, compat_hwcap2_str) that are >> scanned for /proc/cpuinfo are detached from their bit definitions making it >> vulnerable and difficul

RE: [PATCH V2 2/3] pinctrl: imx: Support building SCU pinctrl core driver as module

2020-09-07 Thread Anson Huang
> Subject: RE: [PATCH V2 2/3] pinctrl: imx: Support building SCU pinctrl core > driver as module > > > From: Anson Huang > > Sent: Monday, September 7, 2020 8:33 PM > > > > Change PINCTR_IMX_SCU to tristate, remove unnecessary #ifdef and add > > module author, description and license to support

Re: [RFC PATCH v2 1/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-07 Thread Christophe Leroy
Le 07/09/2020 à 20:00, Gerald Schaefer a écrit : From: Alexander Gordeev Commit 1a42010cdc26 ("s390/mm: convert to the generic get_user_pages_fast code") introduced a subtle but severe bug on s390 with gup_fast, due to dynamic page table folding. The question "What would it require for the

Re: [PATCH v2 0/7] PHY: Prepare Cadence Torrent PHY driver to support multilink configurations

2020-09-07 Thread Vinod Koul
On 27-08-20, 15:28, Swapnil Jakhade wrote: > Cadence Torrent PHY is a multiprotocol PHY supporting different multilink > PHY configurations including DisplayPort, PCIe, USB, SGMII, QSGMII etc. > Existing Torrent PHY driver supports only DisplayPort. This patch series > prepares Torrent PHY driver s

RE: [PATCH V2 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-07 Thread Anson Huang
> Subject: RE: [PATCH V2 1/3] pinctrl: imx: Use function callbacks for SCU > related functions > > > From: Anson Huang > > Sent: Monday, September 7, 2020 8:33 PM > > > > Use function callbacks for SCU related functions in pinctrl-imx.c in > > order to support the scenario of PINCTRL_IMX is buil

[v2 PATCH] crypto: sun4i-ss - Fix sparse endianness markers

2020-09-07 Thread Herbert Xu
On Mon, Sep 07, 2020 at 06:00:29PM +0200, Corentin Labbe wrote: > > The put_unaligned should be _le32. > > This fix the modprobe tcrypt fail. Thanks. Yes the original code was correct. ---8<--- This patch also fixes the incorrect endianness markings in the sun4i-ss driver. It should have no ef

Re: [PATCH] cpufreq: armada-37xx: Add missing MODULE_DEVICE_TABLE

2020-09-07 Thread Viresh Kumar
On 07-09-20, 15:27, Pali Rohár wrote: > CONFIG_ARM_ARMADA_37XX_CPUFREQ is tristate option and therefore this > cpufreq driver can be compiled as a module. This patch adds missing > MODULE_DEVICE_TABLE which generates correct modalias for automatic > loading of this cpufreq driver when is compiled a

Re: [PATCH v6 1/9] kernel: Support TIF_SYSCALL_INTERCEPT flag

2020-09-07 Thread Gabriel Krisman Bertazi
Christian Brauner writes: > On Fri, Sep 04, 2020 at 04:31:39PM -0400, Gabriel Krisman Bertazi wrote: >> index afe01e232935..3511c98a7849 100644 >> --- a/include/linux/sched.h >> +++ b/include/linux/sched.h >> @@ -959,7 +959,11 @@ struct task_struct { >> kuid_t loginu

Re: [dyndbg] 70f06a871f: kernel_BUG_at_lib/dynamic_debug.c

2020-09-07 Thread jim . cromie
Got it. will investigate asap On Wed, Sep 2, 2020 at 3:42 AM kernel test robot wrote: > > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: 70f06a871f5d40ca8f977eb412358ab03b6804da ("[PATCH v3 3/3] dyndbg: fix > problem parsing format="foo bar"") > url: > https:

linux-next: manual merge of the mmc tree with the samsung-krzk tree

2020-09-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mmc tree got a conflict in: drivers/mmc/host/Kconfig between commits: cb6c03019cdd ("ARM: exynos: stop selecting PLAT_SAMSUNG") db8230d29c3a ("ARM: s5pv210: don't imply CONFIG_PLAT_SAMSUNG") from the samsung-krzk tree and commit: 54d8454436a2 ("

Re: [PATCH] SELinux: Measure state and hash of policy using IMA

2020-09-07 Thread Lakshmi Ramasubramanian
On 9/7/20 3:32 PM, Stephen Smalley wrote: Signed-off-by: Lakshmi Ramasubramanian Suggested-by: Stephen Smalley Reported-by: kernel test robot # error: implicit declaration of function 'vfree' Reported-by: kernel test robot # error: implicit declaration of function 'crypto_alloc_shash' Repo

Re: [RFC PATCH v2 0/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-07 Thread Christophe Leroy
Le 07/09/2020 à 20:00, Gerald Schaefer a écrit : This is v2 of an RFC previously discussed here: https://lore.kernel.org/lkml/20200828140314.8556-1-gerald.schae...@linux.ibm.com/ Patch 1 is a fix for a regression in gup_fast on s390, after our conversion to common gup_fast code. It will intro

Re: [PATCH v3 0/7] set clang minimum version to 10.0.1

2020-09-07 Thread Nathan Chancellor
On Mon, Sep 07, 2020 at 12:12:30PM -0400, Arvind Sankar wrote: > On Wed, Sep 02, 2020 at 03:59:04PM -0700, Nick Desaulniers wrote: > > Adds a compile time #error to compiler-clang.h setting the effective > > minimum supported version to clang 10.0.1. A separate patch has already > > been picked up

[PATCH 4/4] perf test: Add multiply cgroup event test

2020-09-07 Thread Namhyung Kim
It'll multiply given events for cgroups A, B and C. $ ./perf test -v 68 68: Event multiplication for cgroups : --- start --- test child forked, pid 983140 metric expr 1 / IPC for CPI metric expr instructions / cycles for IPC found event instructions found event

[PATCH 3/4] perf tools: Copy metric events properly when multiply cgroups

2020-09-07 Thread Namhyung Kim
The metricgroup__copy_metric_events() is to handle metrics events when multiplying event for cgroups. As the metric events keep pointers to evsel, it should be refreshed when events are cloned during the operation. The perf_stat__collect_metric_expr() is also called in case an event has a metric

[PATCHSET 0/4] perf stat: Add --multiply-cgroup option

2020-09-07 Thread Namhyung Kim
Hello, When we profile cgroup events with perf stat, it's very annoying to specify events and cgroups on the command line as it requires the mapping between events and cgroups. (Note that perf record can use cgroup sampling but it's not usable for perf stat). I guess most cases we just want to u

[PATCH 1/4] perf evsel: Add evsel__clone() function

2020-09-07 Thread Namhyung Kim
The evsel__clone() is to create an exactly same evsel from same attributes. Note that metric events will be handled by later patch. It will be used by perf stat to generate separate events for each cgroup. Signed-off-by: Namhyung Kim --- tools/perf/util/evsel.c | 57 +++

[PATCH 2/4] perf stat: Add --multiply-cgroup option

2020-09-07 Thread Namhyung Kim
The --multiply-cgroup option is a syntax sugar to monitor large number of cgroups easily. Current command line requires to list all the events and cgroups even if users want to monitor same events for each cgroup. This patch addresses that usage by copying given events for each cgroup on user's b

Re: [PATCH] seccomp: kill process instead of thread for unknown actions

2020-09-07 Thread Kyle Huey
On Mon, Aug 31, 2020 at 12:37 PM Kees Cook wrote: > > On Fri, Aug 28, 2020 at 09:56:13PM -0400, Rich Felker wrote: > > Asynchronous termination of a thread outside of the userspace thread > > library's knowledge is an unsafe operation that leaves the process in > > an inconsistent, corrupt, and po

[PATCH v2] kbuild: preprocess module linker script

2020-09-07 Thread Masahiro Yamada
There was a request to preprocess the module linker script like we do for the vmlinux one. (https://lkml.org/lkml/2020/8/21/512) The difference between vmlinux.lds and module.lds is that the latter is needed for external module builds, thus must be cleaned up by 'make mrproper' instead of 'make cl

Re: [PATCH] EDAC: sb_edac: simplify switch statement

2020-09-07 Thread Nathan Chancellor
On Mon, Sep 07, 2020 at 08:32:25AM -0700, t...@redhat.com wrote: > From: Tom Rix > > clang static analyzer reports this problem > > sb_edac.c:959:2: warning: Undefined or garbage value > returned to caller > return type; > ^~~ > > This is a false positive. > > However

Re: [PATCH] ath11k: fix a double free and a memory leak

2020-09-07 Thread Nathan Chancellor
On Sun, Sep 06, 2020 at 02:26:25PM -0700, t...@redhat.com wrote: > From: Tom Rix > > clang static analyzer reports this problem > > mac.c:6204:2: warning: Attempt to free released memory > kfree(ar->mac.sbands[NL80211_BAND_2GHZ].channels); > ^~

Re: [PATCH 1/6] phy: phy-bcm-ns-usb3: convert to readl_poll_timeout_atomic()

2020-09-07 Thread Vinod Koul
On 25-08-20, 10:03, Chunfeng Yun wrote: > Use readl_poll_timeout_atomic() to simplify code Applied all, thanks -- ~Vinod

Re: [PATCH] mwifiex: remove function pointer check

2020-09-07 Thread Nathan Chancellor
On Sun, Sep 06, 2020 at 01:05:48PM -0700, t...@redhat.com wrote: > From: Tom Rix > > clang static analyzer reports this problem > > init.c:739:8: warning: Called function pointer > is null (null dereference) > ret = adapter->if_ops.check_fw_status( ... > ^

Lieber Freund (Assalamu Alaikum),?

2020-09-07 Thread AISHA GADDAFI
-- Lieber Freund (Assalamu Alaikum), Ich bin vor einer privaten Suche auf Ihren E-Mail-Kontakt gestoßen Ihre Hilfe. Mein Name ist Aisha Al-Qaddafi, eine alleinerziehende Mutter und eine Witwe mit drei Kindern. Ich bin die einzige leibliche Tochter des Spätlibyschen Präsident (verstorbener Oberst

linux-next: build warning after merge of the drm-misc tree

2020-09-07 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: WARNING: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/panel/panel-samsung-s6e63m0.o Introduced by commit b7b23e447687 ("drm/panel: s6e63m0: Break out SPI transport") -- Ch

Re: [PATCH net v2] hv_netvsc: Fix hibernation for mlx5 VF driver

2020-09-07 Thread Jakub Kicinski
On Mon, 7 Sep 2020 00:13:39 -0700 Dexuan Cui wrote: > mlx5_suspend()/resume() keep the network interface, so during hibernation > netvsc_unregister_vf() and netvsc_register_vf() are not called, and hence > netvsc_resume() should call netvsc_vf_changed() to switch the data path > back to the VF aft

linux-next: manual merge of the drm-intel tree with Linus' tree

2020-09-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/display/intel_panel.c between commit: f8bd54d21904 ("drm/i915: panel: Use atomic PWM API for devs with an external PWM controller") from Linus' tree and commit: 6b51e7d23aa8 ("drm/i915: panel

Re: gcc crashes with general protection faults in 5.9.0-rc3-00091-ge28f0104343d

2020-09-07 Thread Meelis Roos
Following up my yesterdays mail: This is 5.9.0-rc3-00091-ge28f0104343d on Lenovo t460s that has ran fine up to 5.8.0. Today I tried reproducing my linking problem with git kernel on my laptop and got segmentation faults in gcc. This is probably the corresponding dmesg part: 0xdead040

[net-next] net: smsc911x: Remove unused variables

2020-09-07 Thread Wei Xu
Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/smsc/smsc911x.c: In function ‘smsc911x_rx_fastforward’: drivers/net/ethernet/smsc/smsc911x.c:1199:16: warning: variable ‘temp’ set but not used [-Wunused-but-set-variable] drivers/net/ethernet/smsc/smsc911x.c: In function

Re: linux-next: build warning after merge of the net-next tree

2020-09-07 Thread Jakub Kicinski
On Tue, 8 Sep 2020 13:00:00 +1000 Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > net/bridge/br_multicast.c: In function 'br_multicast_find_port': > net/bridge/br_multicast.c:1818:21: warning: u

[PATCH 2/2] venus: core: vote for video-mem icc path and change avg, peak bw

2020-09-07 Thread Mansur Alisha Shaik
Currently we are voting for venus0-ebi path during buffer processing with an average bandwidth of all the instances and unvoting during session release. While video streaming when we try to do XO-SD using the command "echo mem > /sys/power/state command" , device is not entering to suspend state a

[PATCH 1/2] venus: core: change clk enable and disable order in resume and suspend

2020-09-07 Thread Mansur Alisha Shaik
Currently video driver is voting after clk enable and un voting before clk disable. Basically we should vote before clk enable and un vote after clk disable. Corrected this by changing the order of clk enable and clk disable. Signed-off-by: Mansur Alisha Shaik --- drivers/media/platform/qcom/ve

  1   2   3   4   5   6   7   8   9   10   >