Re: [PATCH v2 1/1] dt-bindings: misc: add support for both property names cmd-gpios and cmd-gpio

2020-10-15 Thread Geert Uytterhoeven
Hi Zhen, Thanks for your patch! On Thu, Oct 15, 2020 at 6:52 AM Zhen Lei wrote: > The definition "gpio_suffixes[] = { "gpios", "gpio" }" shows that both > property names "cmd-gpios" and "cmd-gpio" are supported. But currently > only "cmd-gpios" is allowed in this yaml, and the name used in > mmp

[PATCH v5] usb-serial:cp210x: add support to software flow control

2020-10-15 Thread Sheng Long Wang
From: Wang Sheng Long When data is transmitted between two serial ports, the phenomenon of data loss often occurs. The two kinds of flow control commonly used in serial communication are hardware flow control and software flow control. In serial communication, If you only use RX/TX/GND Pins, you

Re: [PATCH v1 03/29] virtio-mem: simplify MAX_ORDER - 1 / pageblock_order handling

2020-10-15 Thread Wei Yang
On Mon, Oct 12, 2020 at 02:52:57PM +0200, David Hildenbrand wrote: >Let's use pageblock_nr_pages and MAX_ORDER_NR_PAGES instead where >possible, so we don't have do deal with allocation orders. > >Add a comment why we have that restriction for now. > >Cc: "Michael S. Tsirkin" >Cc: Jason Wang >Cc:

Re: [PATCH v3] i2c: virtio: add a virtio i2c frontend driver

2020-10-15 Thread Jason Wang
On 2020/10/14 下午4:37, Jie Deng wrote: On 2020/10/13 16:00, Jason Wang wrote: + +    virtqueue_kick(vq); + +    time_left = wait_for_completion_timeout(&vi->completion, adap->timeout); +    if (!time_left) { +    dev_err(&adap->dev, "msg[%d]: addr=0x%x timeout.\n", i,

[GIT PULL] dmaengine updates for v5.10-rc1

2020-10-15 Thread Vinod Koul
Hi Linus, Please pull to receive dmaengine updates for v5.10-rc1. No new drivers this time, few subsystem conversions and updates to drivers. The following changes since commit ce65d55f92a67e247f4d799e581cf9fed677871c: dmaengine: dmatest: Prevent to run on misconfigured channel (2020-09-22 2

Re: [PATCH 6/6] dt-bindings: misc: correct the property name cmd-gpios to cmd-gpio

2020-10-15 Thread Lubomir Rintel
Hi, On Wed, Oct 14, 2020 at 12:08:45AM +0800, Zhen Lei wrote: > The property name used in arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts is > cmd-gpio. > > arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:235: > cmd-gpio = <&gpio 155 GPIO_ACTIVE_HIGH>; > > Signed-off-by: Zhen Lei Thanks for the patch. I've s

Re: [PATCH v1 04/29] virtio-mem: drop rc2 in virtio_mem_mb_plug_and_add()

2020-10-15 Thread Wei Yang
On Mon, Oct 12, 2020 at 02:52:58PM +0200, David Hildenbrand wrote: >We can drop rc2, we don't actually need the value. > >Cc: "Michael S. Tsirkin" >Cc: Jason Wang >Cc: Pankaj Gupta >Signed-off-by: David Hildenbrand Reviewed-by: Wei Yang -- Wei Yang Help you, Help me

[GIT PULL] parisc architecture updates for kernel v5.10-rc1

2020-10-15 Thread Helge Deller
Hi Linus, please pull the fixes and updates for the parisc architecture for kernel 5.10-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.10-1 This patchset includes: * Added fw_cfg support for parisc on qemu * Added font support in sti text console dri

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

2020-10-15 Thread Stephen Rothwell
Hi all, On Thu, 8 Oct 2020 20:35:59 +1100 Stephen Rothwell wrote: > > On Thu, 1 Oct 2020 19:43:37 +1000 Stephen Rothwell > wrote: > > > > On Tue, 22 Sep 2020 18:11:26 +1000 Stephen Rothwell > > wrote: > > > > > > After merging the pm tree, today's linux-next build (i386 defconfig) > > > p

[PATCH v10 2/6] fpga: dfl: move dfl_device_id to mod_devicetable.h

2020-10-15 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 Some brief description for DFL (Device Feature List) is added to make the DFL known to the whole kernel. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Signed-off-by: Matth

[PATCH v10 3/6] fpga: dfl: add dfl bus support to MODULE_DEVICE_TABLE()

2020-10-15 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 v10 1/6] fpga: dfl: fix the definitions of type & feature_id for dfl devices

2020-10-15 Thread Xu Yilun
The value of the field dfl_device.type comes from the 12 bits register field DFH_ID according to DFL spec. So this patch changes the definition of the type field to u16. Also it is not necessary to illustrate the valid bits of the type field in comments. Instead we should explicitly define the pos

[PATCH v10 4/6] fpga: dfl: move dfl bus related APIs to include/linux/dfl.h

2020-10-15 Thread Xu Yilun
Now the dfl drivers could be made as independent modules and put in different folders according to their functionalities. In order for scattered dfl device drivers to include dfl bus APIs, move the dfl bus APIs to a new header file in the public folder. [m...@kernel.org: Fixed up MAINTAINERS entry

[PATCH v10 0/6] add DFL bus support to MODULE_DEVICE_TABLE()

2020-10-15 Thread Xu Yilun
Patch #1 is a fix of the fields in struct dfl_device & dfl_device_id. Patch #2, 3, 4 add dfl bus support to MODULE_DEVICE_TABLE(), they also move the necessary definitions in head file to public folders so that scatter dfl drivers could use them. Patch #5 is the dfl driver for N3000 Nios private

[PATCH v10 5/6] fpga: dfl: add support for N3000 Nios private feature

2020-10-15 Thread Xu Yilun
This patch adds support for the Nios handshake private feature on Intel PAC (Programmable Acceleration Card) N3000. The Nios is the embedded processor on the FPGA card. This private feature provides a handshake interface to FPGA Nios firmware, which receives retimer configuration command from host

[PATCH v10 6/6] memory: dfl-emif: add the DFL EMIF private feature driver

2020-10-15 Thread Xu Yilun
This driver is for the EMIF private feature implemented under FPGA Device Feature List (DFL) framework. It is used to expose memory interface status information as well as memory clearing control. The purpose of memory clearing block is to zero out all private memory when FPGA is to be reprogramme

[PATCH 2/2] selftests/timens: Add a test for futex()

2020-10-15 Thread Andrei Vagin
Output on success: $ ./futex 1..1 ok 1 futex # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0 Signed-off-by: Andrei Vagin --- tools/testing/selftests/timens/Makefile | 2 +- tools/testing/selftests/timens/futex.c | 107 2 files changed, 108 insertions(+), 1

linux-next: Tree for Oct 15

2020-10-15 Thread Stephen Rothwell
Hi all, Since the merge window is open, please do not add any v5.11 material to your linux-next included branches until after v5.10-rc1 has been released. News: there will be no linux-next releases next Monday or Tuesday. Changes since 20201013: Dropped tree: btrfs (conflicts) The risc-v and v

[PATCH 1/2] futex: adjust a futex timeout with a per-timens offset

2020-10-15 Thread Andrei Vagin
For all commands except FUTEX_WAIT, timeout is interpreted as an absolute value. This absolute value is inside the task's time namespace and has to be converted to the host's time. Cc: Fixes: 5a590f35add9 ("posix-clocks: Wire up clock_gettime() with timens offsets") Reported-by: Hans van der Laa

Re: [PATCH 4/6] clk: renesas: r8a779a0: Add VIN[00-31] clocks

2020-10-15 Thread Jacopo Mondi
Hi Sergei, On Wed, Oct 14, 2020 at 09:55:32PM +0300, Sergei Shtylyov wrote: > On 10/14/20 12:44 PM, Jacopo Mondi wrote: > > > Add clock definitions of the VIN instances for R-Car V3U. > > > > Signed-off-by: Jacopo Mondi > > > > --- > > Clocks at indexes 730 and 731 are named 'vin0' and 'vin1'. >

Re: [PATCH 6/6] dt-bindings: misc: correct the property name cmd-gpios to cmd-gpio

2020-10-15 Thread Leizhen (ThunderTown)
On 2020/10/15 15:12, Lubomir Rintel wrote: > Hi, > > On Wed, Oct 14, 2020 at 12:08:45AM +0800, Zhen Lei wrote: >> The property name used in arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts is >> cmd-gpio. >> >> arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:235: >> cmd-gpio = <&gpio 155 GPIO_ACTIVE_HIGH>; >> >

Re: [PATCH v2] mm/hmm: make device private reference counts zero based

2020-10-15 Thread Christoph Hellwig
On Mon, Oct 12, 2020 at 02:14:07PM -0700, Dan Williams wrote: > > ZONE_DEVICE struct pages have an extra reference count that complicates the > > code for put_page() and several places in the kernel that need to check the > > reference count to see that a page is not being used (gup, compaction, >

Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables

2020-10-15 Thread Christoph Hellwig
On Sun, Oct 11, 2020 at 05:53:37AM +1100, Stephen Rothwell wrote: > Hi Naresh, > > Just adding Christoph and Jim to cc] Well, a Cc doesn't help on its own. Can you send an actual bug report including the setup, warnings and error messages, a bisection result and the usual suspects?

[PATCH v4.4/bluetooth 1/2] Bluetooth: Consolidate encryption handling in hci_encrypt_cfm

2020-10-15 Thread Hans-Christian Noren Egtvedt
From: Luiz Augusto von Dentz This makes hci_encrypt_cfm calls hci_connect_cfm in case the connection state is BT_CONFIG so callers don't have to check the state. Signed-off-by: Luiz Augusto von Dentz Signed-off-by: Marcel Holtmann (cherry picked from commit 3ca44c16b0dcc764b641ee4ac226909f5c42

Re: [PATCH RFC v4 06/13] perf vendor events arm64: Add hip09 SMMUv3 PMCG events

2020-10-15 Thread John Garry
On 14/10/2020 19:06, Robin Murphy wrote: +    "EventCode": "0x8a", +    "EventName": "smmuv3_pmcg.L1_TLB", +    "BriefDescription": "SMMUv3 PMCG L1 TABLE transation", +    "PublicDescription": "SMMUv3 PMCG L1 TABLE transation", Those typos are either missing "c"s or "l"s, but w

Re: [GIT PULL] printk for 5.10 (includes lockless ringbuffer)

2020-10-15 Thread Petr Mladek
On Wed 2020-10-14 23:01:30, John Ogness wrote: > On 2020-10-14, Geert Uytterhoeven wrote: > >> - Fully lockless ringbuffer implementation, including the support for > >> continuous lines. It will allow to store and read messages in any > >> situation wihtout the risk of deadlocks and without t

[PATCH v4.4/bluetooth 2/2] Bluetooth: Disconnect if E0 is used for Level 4

2020-10-15 Thread Hans-Christian Noren Egtvedt
From: Luiz Augusto von Dentz E0 is not allowed with Level 4: BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part C page 1319: '128-bit equivalent strength for link and encryption keys required using FIPS approved algorithms (E0 not allowed, SAFER+ not allowed, and P-192 not allowed;

Re: [PATCH v2 14/17] resource: Move devmem revoke code to resource framework

2020-10-15 Thread Daniel Vetter
On Thu, Oct 15, 2020 at 2:09 AM Jason Gunthorpe wrote: > > On Fri, Oct 09, 2020 at 11:28:54AM -0700, Dan Williams wrote: > > On Fri, Oct 9, 2020 at 7:32 AM Jason Gunthorpe wrote: > > > > > > On Fri, Oct 09, 2020 at 04:24:45PM +0200, Daniel Vetter wrote: > > > > On Fri, Oct 9, 2020 at 2:31 PM Jaso

Re: [PATCH 3/3] timekeeping: remove arch_gettimeoffset

2020-10-15 Thread Linus Walleij
On Thu, Oct 8, 2020 at 5:46 PM Arnd Bergmann wrote: > With Arm EBSA110 gone, nothing uses it any more, so the corresponding > code and the Kconfig option can be removed. > > Signed-off-by: Arnd Bergmann Very nice cleanup. Reviewed-by: Linus Walleij At some point we should do a retrospect abou

Re: [PATCH v3 2/3] fs/proc: apply the time namespace offset to /proc/stat btime

2020-10-15 Thread Andrei Vagin
On Sun, Oct 11, 2020 at 04:59:23PM +0200, Michael Weiß wrote: > @@ -79,6 +80,20 @@ static u64 get_iowait_time(struct kernel_cpustat *kcs, int > cpu) > > #endif > > +static void get_boottime(struct timespec64 *ts) > +{ > + ktime_t boottime; > + > + /* get kernel internal system boot t

Re: [PATCH v2 14/17] resource: Move devmem revoke code to resource framework

2020-10-15 Thread Daniel Vetter
On Thu, Oct 15, 2020 at 9:52 AM Daniel Vetter wrote: > > On Thu, Oct 15, 2020 at 2:09 AM Jason Gunthorpe wrote: > > > > On Fri, Oct 09, 2020 at 11:28:54AM -0700, Dan Williams wrote: > > > On Fri, Oct 9, 2020 at 7:32 AM Jason Gunthorpe wrote: > > > > > > > > On Fri, Oct 09, 2020 at 04:24:45PM +02

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-15 Thread David Hildenbrand
On 14.10.20 20:31, Mike Kravetz wrote: > On 10/14/20 11:18 AM, David Hildenbrand wrote: >> On 14.10.20 19:56, Mina Almasry wrote: >>> On Wed, Oct 14, 2020 at 9:15 AM David Hildenbrand wrote: On 14.10.20 17:22, David Hildenbrand wrote: > Hi everybody, > > Michal Privoznik play

Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-10-15 Thread Cheng-yi Chiang
On Tue, Oct 13, 2020 at 6:36 PM Srinivas Kandagatla wrote: > > Hi Cheng, > > Sorry for such late review w.r.t compatibles, > Hi Srini, Thank you for taking another look! > On 14/09/2020 09:06, Cheng-Yi Chiang wrote: > > +--- > > +$id:http://devicetree.org/schemas/sound/qcom,sc7180.yaml# > > +$sch

Re: [PATCH v2 1/1] dt-bindings: misc: add support for both property names cmd-gpios and cmd-gpio

2020-10-15 Thread Leizhen (ThunderTown)
On 2020/10/15 15:01, Geert Uytterhoeven wrote: > Hi Zhen, > > Thanks for your patch! > > On Thu, Oct 15, 2020 at 6:52 AM Zhen Lei wrote: >> The definition "gpio_suffixes[] = { "gpios", "gpio" }" shows that both >> property names "cmd-gpios" and "cmd-gpio" are supported. But currently >> only

Re: [PATCH 4/6] clk: renesas: r8a779a0: Add VIN[00-31] clocks

2020-10-15 Thread Sergei Shtylyov
Hello! On 15.10.2020 12:32, Jacopo Mondi wrote: [...] Add clock definitions of the VIN instances for R-Car V3U. Signed-off-by: Jacopo Mondi --- Clocks at indexes 730 and 731 are named 'vin0' and 'vin1'. I assumed it's a typographic error and renamed them 'vin00' and 'vin01' --- drivers/clk

Re: [PATCH v1 02/29] virtio-mem: simplify calculation in virtio_mem_mb_state_prepare_next_mb()

2020-10-15 Thread David Hildenbrand
On 15.10.20 06:02, Wei Yang wrote: > On Mon, Oct 12, 2020 at 02:52:56PM +0200, David Hildenbrand wrote: >> We actually need one byte less (next_mb_id is exclusive, first_mb_id is >> inclusive). Simplify. >> >> Cc: "Michael S. Tsirkin" >> Cc: Jason Wang >> Cc: Pankaj Gupta >> Signed-off-by: David

Re: [PATCH 1/2] x86/insn: Fix some potential undefined behavior.

2020-10-15 Thread Ingo Molnar
* Ian Rogers wrote: > From: Numfor Mbiziwo-Tiapo > > If insn_init is given a NULL kaddr and 0 buflen then validate_next will > perform arithmetic on NULL, add a guard to avoid this. > > Don't perform unaligned loads in __get_next and __peek_nbyte_next as > these are forms of undefined behavi

Re: [PATCH v11 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-10-15 Thread Cheng-yi Chiang
On Tue, Oct 13, 2020 at 11:50 AM Cheng-yi Chiang wrote: > > On Mon, Sep 14, 2020 at 4:06 PM Cheng-Yi Chiang wrote: > > > > From: Ajit Pandey > > > > Add new driver to register sound card on sc7180 trogdor board and > > do the required configuration for lpass cpu dai and external codecs > > conne

Re: [GIT PULL] printk for 5.10 (includes lockless ringbuffer)

2020-10-15 Thread Petr Mladek
On Wed 2020-10-14 16:58:27, Rasmus Villemoes wrote: > On 14/10/2020 16.16, Geert Uytterhoeven wrote: > > Hi Petr, > > > > On Mon, Oct 12, 2020 at 4:50 PM Petr Mladek wrote: > >> - Fully lockless ringbuffer implementation, including the support for > >> continuous lines. It will allow to store a

Re: [PATCH v2 00/22] add Object Storage Media Pool (mpool)

2020-10-15 Thread Christoph Hellwig
I don't think this belongs into the kernel. It is a classic case for infrastructure that should be built in userspace. If anything is missing to implement it in userspace with equivalent performance we need to improve out interfaces, although io_uring should cover pretty much everything you need.

Re: [PATCH] au1100fb: Remove NULL pointer check before clk_enable/disable

2020-10-15 Thread Thomas Zimmermann
Hi On Wed, 14 Oct 2020 08:21:37 + Xu Wang wrote: > Because clk_enable, clk_disable, clk_prepare, and clk_unprepare already > checked NULL clock parameter, so the additional checks are unnecessary, > just remove them. All clk_*() functions seem to handle NULL pointers gracefully, so you can

Re: [PATCH] omapfb/dss: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare

2020-10-15 Thread Thomas Zimmermann
On Wed, 14 Oct 2020 08:49:20 + Xu Wang wrote: > Because clk_prepare_enable() and clk_disable_unprepare() already checked > NULL clock parameter, so the additional checks are unnecessary, just > remove them. > > Signed-off-by: Xu Wang Reviewed-by: Thomas Zimmermann > --- > drivers/video/

Re: [PATCH v3 12/15] phy: tegra: xusb: Add wake/sleepwalk for Tegra186

2020-10-15 Thread JC Kuo
I will amend accordingly and submit new patch. Thanks for review. JC On 9/28/20 9:50 PM, Thierry Reding wrote: > On Wed, Sep 09, 2020 at 04:10:38PM +0800, JC Kuo wrote: >> This commit implements Tegra186/Tegra194 XUSB PADCTL/AO wake and >> sleepwalk operations. >> >> Signed-off-by: JC Kuo >> ---

Re: [PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name

2020-10-15 Thread Amelie DELAUNAY
Hi Serge, On 10/14/20 12:14 PM, Serge Semin wrote: In accordance with the Generic EHCI/OHCI bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Let's fix the DTS file

Re: [PATCH v3 14/15] usb: host: xhci-tegra: Unlink power domain devices

2020-10-15 Thread JC Kuo
I will modify the commit message accordingly. Thanks for review. JC On 9/28/20 9:53 PM, Thierry Reding wrote: > On Wed, Sep 09, 2020 at 04:10:40PM +0800, JC Kuo wrote: >> This commit unlinks xhci-tegra platform device with ss/host power >> domain devices. Reasons for this change is - at elpg entr

Re: [PATCH] video: fbdev: sh_mobile_lcdcfb: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare

2020-10-15 Thread Thomas Zimmermann
On Wed, 14 Oct 2020 08:57:22 + Xu Wang wrote: > Because clk_prepare_enable() and clk_disable_unprepare() already checked > NULL clock parameter, so the additional checks are unnecessary, just > remove them. > > Signed-off-by: Xu Wang Reviewed-by: Thomas Zimmermann > --- > drivers/video/

Re: [PATCH v3] nvmet: fix uninitialized work for zero kato

2020-10-15 Thread Christoph Hellwig
Applied to nvme-5.10, thanks.

Re: [PATCH 1/2] xen: Remove Xen PVH/PVHVM dependency on PCI

2020-10-15 Thread Jan Beulich
On 14.10.2020 19:53, Jason Andryuk wrote: > @@ -76,7 +80,9 @@ config XEN_DEBUG_FS > Enabling this option may incur a significant performance overhead. > > config XEN_PVH > - bool "Support for running as a Xen PVH guest" > + bool "Xen PVH guest support" Tangential question: Is "g

[PATCH 0/2] Fix build issues with Sphinx development tree

2020-10-15 Thread Mauro Carvalho Chehab
This Sphinx pull: https://github.com/sphinx-doc/sphinx/pull/8313 Fixes the C domain name conflicts when both a function and an enum, struct or union have the same name. Those fixes will generate new C domain warnings if an enum is defined using :c:struct. So, we need to use different tags

[PATCH 1/2] scripts: kernel-doc: use :c:union when needed

2020-10-15 Thread Mauro Carvalho Chehab
Sphinx C domain code after 3.2.1 will start complaning if :c:struct would be used for an union type: .../Documentation/gpu/drm-kms-helpers:352: ../drivers/video/hdmi.c:851: WARNING: C 'identifier' cross-reference uses wrong tag: reference name is 'union hdmi_infoframe' but found name is

Re: [PATCH v3 15/15] xhci: tegra: Enable ELPG for runtime/system PM

2020-10-15 Thread JC Kuo
I will amend accordingly and submit new patch. Thanks for review. JC On 9/28/20 10:06 PM, Thierry Reding wrote: > On Wed, Sep 09, 2020 at 04:10:41PM +0800, JC Kuo wrote: >> This commit implements the complete programming sequence for ELPG >> entry and exit. >> >> 1. At ELPG entry, invokes tegra_

[PATCH 2/2] sphinx: conf.py: properly handle Sphinx 4.0

2020-10-15 Thread Mauro Carvalho Chehab
One of the checks for Sphinx 3+ is broken, causing some C warnings to return back with Sphinx 4.0.x. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/conf.py b/Documentation/conf.py index 4f5d15abd047

Re: fw_devlink on will break all snps,dw-apb-gpio users

2020-10-15 Thread Jisheng Zhang
On Wed, 14 Oct 2020 22:04:24 -0700 Saravana Kannan wrote: > > > On Wed, Oct 14, 2020 at 9:02 PM Jisheng Zhang > wrote: > > > > On Wed, 14 Oct 2020 10:29:36 -0700 > > Saravana Kannan wrote: > > > > > > > > > > > On Wed, Oct 14, 2020 at 4:12 AM Jisheng Zhang > > > wrote: > > > > > > > > Hi,

[PATCH v2] IPv6: sr: Fix End.X nexthop to use oif.

2020-10-15 Thread Reji Thomas
Currently End.X action doesn't consider the outgoing interface while looking up the nexthop.This breaks packet path functionality specifically while using link local address as the End.X nexthop. The patch fixes this by enforcing End.X action to have both nh6 and oif and using oif in lookup.It seem

Re: [Freedreno] [PATCH v2 22/22] drm/msm: Don't implicit-sync if only a single ring

2020-10-15 Thread Daniel Vetter
On Tue, Oct 13, 2020 at 6:15 PM Rob Clark wrote: > > On Tue, Oct 13, 2020 at 4:08 AM Daniel Vetter wrote: > > > > On Mon, Oct 12, 2020 at 08:07:38AM -0700, Rob Clark wrote: > > > On Mon, Oct 12, 2020 at 7:40 AM Daniel Vetter wrote: > > > > > > > > On Sun, Oct 11, 2020 at 07:09:49PM -0700, Rob Cl

Re: [PATCH v3 0/3] Actually fix freelist pointer vs redzoning

2020-10-15 Thread Christopher Lameter
On Wed, 14 Oct 2020, Kees Cook wrote: > Note on patch 2: Christopher NAKed it, but I actually think this is a > reasonable thing to add -- the "too small" check is only made when built > with CONFIG_DEBUG_VM, so it *is* actually possible for someone to trip > over this directly, even if it would n

Lieber Freund (Assalamu Alaikum),?

2020-10-15 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

Re: [PATCH v1 05/29] virtio-mem: generalize check for added memory

2020-10-15 Thread Wei Yang
On Mon, Oct 12, 2020 at 02:52:59PM +0200, David Hildenbrand wrote: >Let's check by traversing busy system RAM resources instead, to avoid >relying on memory block states. > >Don't use walk_system_ram_range(), as that works on pages and we want to >use the bare addresses we have easily at hand. > >C

Re: [PATCH 1/2] x86/insn: Fix some potential undefined behavior.

2020-10-15 Thread Masami Hiramatsu
On Wed, 14 Oct 2020 23:21:47 -0700 Ian Rogers wrote: > From: Numfor Mbiziwo-Tiapo > > If insn_init is given a NULL kaddr and 0 buflen then validate_next will > perform arithmetic on NULL, add a guard to avoid this. Maybe we should check the kaddr and end_kaddr existence in insn_init(). At leas

[PATCH] scsi: hisi_sas: Stop using queue #0 always for v2 hw

2020-10-15 Thread John Garry
In commit 8d98416a55eb ("scsi: hisi_sas: Switch v3 hw to MQ"), the dispatch function was changed to choose the delivery queue based on the request tag HW queue index. This heavily degrades performance for v2 hw, since the HW queues are not exposed there, and, as such, HW queue #0 is used for every

Re: [PATCH 2/2] tools/x86: Fix some potential undefined behavior

2020-10-15 Thread Masami Hiramatsu
Hi, Please merge the change on arch/x86/lib/insn.c and tools/arch/x86/lib/insn.c to a single patch for bisecting. Thank you, On Wed, 14 Oct 2020 23:21:48 -0700 Ian Rogers wrote: > From: Numfor Mbiziwo-Tiapo > > If insn_init is given a NULL kaddr and 0 buflen then validate_next will > perform

Re: [PATCH v1 06/29] virtio-mem: generalize virtio_mem_owned_mb()

2020-10-15 Thread Wei Yang
On Mon, Oct 12, 2020 at 02:53:00PM +0200, David Hildenbrand wrote: >Avoid using memory block ids. Rename it to virtio_mem_contains_range(). > >Cc: "Michael S. Tsirkin" >Cc: Jason Wang >Cc: Pankaj Gupta >Signed-off-by: David Hildenbrand >--- > drivers/virtio/virtio_mem.c | 9 + > 1 file c

[PATCH] dt-bindings: writing-schema: install from PyPI repository

2020-10-15 Thread Krzysztof Kozlowski
Installing dtschema from github.com/devicetree-org is not needed anymore because dtschema is now part of regular PyPI repository. In certain cases it might cause some troubles as it brings latest master version, not the stable release: $ pip3 show dtschema Version: 2020.8.2.dev4+g341f3e3

Re: [PATCH v2 4/9] rpmsg: Move rpmsg_hr and rpmsg_ns_msg to header file

2020-10-15 Thread Arnaud POULIQUEN
Hi Mathieu, On 10/14/20 1:25 AM, Mathieu Poirier wrote: > Move structures rpmsg_hdr and rpmsg_ns_msg to their own header file > so that they can be used by other entities. > > Signed-off-by: Mathieu Poirier > --- > drivers/rpmsg/virtio_rpmsg_bus.c | 58 ++ > include/

[PATCH v3] thunderbolt: Add the missed ida_simple_remove() in ring_request_msix()

2020-10-15 Thread Jing Xiangfeng
ring_request_msix() misses to call ida_simple_remove() in an error path. Add a label 'err_ida_remove' and jump to it. Fixes: 046bee1f9ab8 ("thunderbolt: Add MSI-X support") Signed-off-by: Jing Xiangfeng --- drivers/thunderbolt/nhi.c | 19 +++ 1 file changed, 15 insertions(+), 4 d

Re: [PATCH v1 08/29] virtio-mem: drop last_mb_id

2020-10-15 Thread Wei Yang
On Mon, Oct 12, 2020 at 02:53:02PM +0200, David Hildenbrand wrote: >No longer used, let's drop it. > >Cc: "Michael S. Tsirkin" >Cc: Jason Wang >Cc: Pankaj Gupta >Signed-off-by: David Hildenbrand If above two patches are merged. Reviewed-by: Wei Yang >--- > drivers/virtio/virtio_mem.c | 4 --

[tip:x86/urgent] BUILD SUCCESS c3b484c439b0bab7a698495f33ef16286a1000c4

2020-10-15 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent branch HEAD: c3b484c439b0bab7a698495f33ef16286a1000c4 x86/syscalls: Document the fact that syscalls 512-547 are a legacy mistake elapsed time: 724m configs tested: 126 configs skipped: 2 The following configs

[tip:master] BUILD SUCCESS de0a4a21ef1ce7f3c1ab0c8a7e2d3830f2c291ae

2020-10-15 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: de0a4a21ef1ce7f3c1ab0c8a7e2d3830f2c291ae Merge branch 'sched/urgent' elapsed time: 724m configs tested: 119 configs skipped: 2 The following configs have been built successfully. More configs may be t

[tip:sched/urgent] BUILD SUCCESS a73f863af4ce9730795eab7097fb2102e6854365

2020-10-15 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/urgent branch HEAD: a73f863af4ce9730795eab7097fb2102e6854365 sched/features: Fix !CONFIG_JUMP_LABEL case elapsed time: 724m configs tested: 128 configs skipped: 2 The following configs have been built successfully

[tip:locking/urgent] BUILD SUCCESS ed3e453798d4f81c99056aa09fcd79d0874a60fd

2020-10-15 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/urgent branch HEAD: ed3e453798d4f81c99056aa09fcd79d0874a60fd locking/seqlocks: Fix kernel-doc warnings elapsed time: 724m configs tested: 132 configs skipped: 2 The following configs have been built successfully

Re: [PATCH v3] arm64/mm: add fallback option to allocate virtually contiguous memory

2020-10-15 Thread Will Deacon
On Wed, Oct 14, 2020 at 05:51:23PM -0700, Sudarshan Rajagopalan wrote: > When section mappings are enabled, we allocate vmemmap pages from > physically continuous memory of size PMD_SIZE using > vmemmap_alloc_block_buf(). Section mappings are good to reduce TLB > pressure. But when system is highly

Re: [PATCH v1 06/29] virtio-mem: generalize virtio_mem_owned_mb()

2020-10-15 Thread David Hildenbrand
On 15.10.20 10:32, Wei Yang wrote: > On Mon, Oct 12, 2020 at 02:53:00PM +0200, David Hildenbrand wrote: >> Avoid using memory block ids. Rename it to virtio_mem_contains_range(). >> >> Cc: "Michael S. Tsirkin" >> Cc: Jason Wang >> Cc: Pankaj Gupta >> Signed-off-by: David Hildenbrand >> --- >> d

Re: [PATCH v3 1/8] arm64: mm: Move reserve_crashkernel() into mem_init()

2020-10-15 Thread Will Deacon
On Wed, Oct 14, 2020 at 09:12:03PM +0200, Nicolas Saenz Julienne wrote: > crashkernel might reserve memory located in ZONE_DMA. We plan to delay > ZONE_DMA's initialization after unflattening the devicetree and ACPI's > boot table initialization, so move it later in the boot process. > Specifically

Re: [PATCH 01/11] firmware: arm_scmi: review protocol registration interface

2020-10-15 Thread Cristian Marussi
Hi Florian, thanks for the review first of all ! On Wed, Oct 14, 2020 at 12:03:45PM -0700, Florian Fainelli wrote: > On 10/14/20 8:05 AM, Cristian Marussi wrote: > > Extend common protocol registration routines and provide some new generic > > protocols' init/deinit helpers that tracks protocols'

[PATCH v2] net: phy: Prevent reporting advertised modes when autoneg is off

2020-10-15 Thread Łukasz Stelmach
Do not report advertised link modes (local and remote) when autonegotiation is turned off. mii_ethtool_get_link_ksettings() exhibits the same behaviour and this patch aims at unifying the behavior of both functions. Signed-off-by: Łukasz Stelmach --- Changes in v2: - clear lp_advertising - se

Re: [PATCH] irqchip: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7

2020-10-15 Thread Daniel Palmer
Hi Geert, This looks good to me. Acked-by: Daniel Palmer Thanks, Daniel

Re: [PATCH v2 8/9] rpmsg: Make rpmsg_{register|unregister}_device() public

2020-10-15 Thread Arnaud POULIQUEN
On 10/14/20 1:25 AM, Mathieu Poirier wrote: > Make function rpmsg_register_device() and rpmsg_unregister_device() > functions public so that they can be used by other clients. While > doing so get rid of two obsolete function, i.e register_rpmsg_device() > and unregister_rpmsg_device(), to prev

Re: [PATCH v2 1/9] rpmsg: Move rpmsg_endpoint_ops to rpmsg.h

2020-10-15 Thread Arnaud POULIQUEN
On 10/14/20 1:25 AM, Mathieu Poirier wrote: > Move structure rpmsg_endpoint_ops to header rpmsg.h so that it can > be used by other entities. > > Signed-off-by: Mathieu Poirier > --- > drivers/rpmsg/rpmsg_internal.h | 19 --- > include/linux/rpmsg.h | 24

Re: fw_devlink on will break all snps,dw-apb-gpio users

2020-10-15 Thread Saravana Kannan
On Thu, Oct 15, 2020 at 1:15 AM Jisheng Zhang wrote: > > On Wed, 14 Oct 2020 22:04:24 -0700 Saravana Kannan wrote: > > > > > > > On Wed, Oct 14, 2020 at 9:02 PM Jisheng Zhang > > wrote: > > > > > > On Wed, 14 Oct 2020 10:29:36 -0700 > > > Saravana Kannan wrote: > > > > > > > > > > > > > > > On W

RE: [PATCH] compiler.h: Fix barrier_data() on clang

2020-10-15 Thread David Laight
From: Arvind Sankar > Sent: 14 October 2020 22:27 ... > +/* > + * This version is i.e. to prevent dead stores elimination on @ptr > + * where gcc and llvm may behave differently when otherwise using > + * normal barrier(): while gcc behavior gets along with a normal > + * barrier(), llvm needs an e

Re: [PATCH v1 05/29] virtio-mem: generalize check for added memory

2020-10-15 Thread David Hildenbrand
On 15.10.20 10:28, Wei Yang wrote: > On Mon, Oct 12, 2020 at 02:52:59PM +0200, David Hildenbrand wrote: >> Let's check by traversing busy system RAM resources instead, to avoid >> relying on memory block states. >> >> Don't use walk_system_ram_range(), as that works on pages and we want to >> use t

Re: [PATCH 02/11] firmware: arm_scmi: hide protocols' private data

2020-10-15 Thread Cristian Marussi
On Wed, Oct 14, 2020 at 12:19:43PM -0700, Florian Fainelli wrote: > On 10/14/20 8:05 AM, Cristian Marussi wrote: > > Protocols private data were meant to be used exclusively by protocol code > > but they are currently exposed through the handle, so available also to > > SCMI drivers: move them away

Re: [PATCH v3 3/8] of/address: Introduce of_dma_get_max_cpu_address()

2020-10-15 Thread Nicolas Saenz Julienne
On Wed, 2020-10-14 at 17:02 -0500, Rob Herring wrote: > On Wed, Oct 14, 2020 at 2:12 PM Nicolas Saenz Julienne > wrote: > > Introduce of_dma_get_max_cpu_address(), which provides the highest CPU > > physical address addressable by all DMA masters in the system. It's > > specially useful for settin

Re: [PATCH v3 1/8] arm64: mm: Move reserve_crashkernel() into mem_init()

2020-10-15 Thread Nicolas Saenz Julienne
On Thu, 2020-10-15 at 09:40 +0100, Will Deacon wrote: > On Wed, Oct 14, 2020 at 09:12:03PM +0200, Nicolas Saenz Julienne wrote: > > crashkernel might reserve memory located in ZONE_DMA. We plan to delay > > ZONE_DMA's initialization after unflattening the devicetree and ACPI's > > boot table initia

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-15 Thread David Hildenbrand
On 15.10.20 09:56, David Hildenbrand wrote: > On 14.10.20 20:31, Mike Kravetz wrote: >> On 10/14/20 11:18 AM, David Hildenbrand wrote: >>> On 14.10.20 19:56, Mina Almasry wrote: On Wed, Oct 14, 2020 at 9:15 AM David Hildenbrand wrote: > > On 14.10.20 17:22, David Hildenbrand wrote: >>

[PATCH drm/hisilicon v2 0/2] Use the same style of variable type

2020-10-15 Thread Tian Tao
patch #1 and #2 Use the same style of variable type in hisilicon drm driver and both are clean up, no actual functional changes. Changes since v1: -Change part of unsigned int to size_t. Tian Tao (2): drm/hisilicon: Use the same style of variable type in hibmc_drm_de drm/hisilicon: Use the sa

[RFC PATCH v2 0/3] tracing: Show real address instead of hashed pointer

2020-10-15 Thread Masami Hiramatsu
Hi, Here is the 2nd series of the real address printing in trace log. Here is the 1st version, I've changed the implementation according to Steve's comment. https://lore.kernel.org/lkml/160266594977.74973.9883936722540767319.stgit@devnote2/ This version has 3 patches, replacing %p to %px online,

[PATCH drm/hisilicon v2 1/2] drm/hisilicon: Use the same style of variable type in hibmc_drm_de

2020-10-15 Thread Tian Tao
Consistently Use the same style of variable type in hibmc_drm_de.c. Signed-off-by: Tian Tao Acked-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 59 +- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/h

[PATCH drm/hisilicon v2 2/2] drm/hisilicon: Use the same style of variable type in hibmc_drm_drv

2020-10-15 Thread Tian Tao
Consistently Use the same style of variable type in hibmc_drm_drv.c and hibmc_drm_drv.h. Signed-off-by: Tian Tao Acked-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 13 ++--- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 8 2 files changed, 10

[RFC PATCH v2 1/3] tracing: Show real address for trace event arguments

2020-10-15 Thread Masami Hiramatsu
To help debugging kernel, show real address for trace event arguments in tracefs/trace{,pipe} instead of hashed pointer value. Since ftrace human-readable format uses vsprintf(), all %p are translated to hash values instead of pointer address. However, when debugging the kernel, raw address value

[RFC PATCH v2 2/3] tracing: Update the stage 3 of trace event macro comment

2020-10-15 Thread Masami Hiramatsu
Update the comment of the 3rd stage of trace event macro expansion code. Now there are 2 macros makes different trace_raw_output_() functions. Signed-off-by: Masami Hiramatsu --- include/trace/trace_events.h | 29 - 1 file changed, 20 insertions(+), 9 deletions(-)

Re: cgroup and FALLOC_FL_PUNCH_HOLE: WARNING: CPU: 13 PID: 2438 at mm/page_counter.c:57 page_counter_uncharge+0x4b/0x5

2020-10-15 Thread David Hildenbrand
On 15.10.20 10:57, David Hildenbrand wrote: > On 15.10.20 09:56, David Hildenbrand wrote: >> On 14.10.20 20:31, Mike Kravetz wrote: >>> On 10/14/20 11:18 AM, David Hildenbrand wrote: On 14.10.20 19:56, Mina Almasry wrote: > On Wed, Oct 14, 2020 at 9:15 AM David Hildenbrand > wrote: >

[RFC PATCH v2 3/3] tracing: Add ptr-hash option to show the hashed pointer value

2020-10-15 Thread Masami Hiramatsu
Add tracefs/options/hash-ptr option to show hashed pointer value by %p in event printk format string. For the security reason, normal printk will show the hashed pointer value (encrypted by random number) with %p to printk buffer to hide the real address. But the tracefs/trace always shows real ad

Re: [PATCH v2 0/3] Clarify abstract scale usage for power values in Energy Model, EAS and IPA

2020-10-15 Thread Lukasz Luba
On 10/14/20 6:10 PM, Daniel Lezcano wrote: On 14/10/2020 17:24, Lukasz Luba wrote: [ ... ] We have to update the EM doc about allowed abstract scale, which implies EAS, IPA doc update with some information to the community that these components can handle it. The script will just make deve

Re: [PATCH v1 3/3] ARM: dts: add Van der Laan LANMCU board

2020-10-15 Thread Oleksij Rempel
Hi Marco, thank you for review! On Wed, Oct 14, 2020 at 12:05:01PM +0200, Marco Felsch wrote: > Hi Oleksij, > > pls can you send a patch adding this board to: > Documentation/devicetree/bindings/arm/fsl.yaml > > infront of this patch? This is patch 3/3 and fsl.yaml 2/3. Do I'm missing some thi

[RFC PATCH 0/2] iommu: Avoid unnecessary PRI queue flushes

2020-10-15 Thread Jean-Philippe Brucker
Add a parameter to iommu_sva_unbind_device() that tells the IOMMU driver whether the PRI queue needs flushing. When looking at the PCIe spec again I noticed that most of the time the SMMUv3 driver doesn't actually need to flush the PRI queue. Does this make sense for Intel VT-d as well or did I ove

Re: [PATCH v2 00/16] Allow readpage to return a locked page

2020-10-15 Thread Christoph Hellwig
On Fri, Oct 09, 2020 at 03:30:48PM +0100, Matthew Wilcox (Oracle) wrote: > Ideally all filesystems would return from ->readpage with the page > Uptodate and Locked, but it's a bit painful to convert all the > asynchronous readpage implementations to synchronous. The first 14 > filesystems converte

[RFC PATCH 1/2] iommu: Add flags to sva_unbind()

2020-10-15 Thread Jean-Philippe Brucker
Provide a way for device drivers to tell IOMMU drivers about the device state and the cleanup work to be done, when unbinding. No functional change. Signed-off-by: Jean-Philippe Brucker --- include/linux/intel-iommu.h | 2 +- include/linux/iommu.h | 7 --- drivers/iommu/intel/svm.c |

[RFC PATCH 2/2] iommu: Add IOMMU_UNBIND_FAULT_PENDING flag

2020-10-15 Thread Jean-Philippe Brucker
IOMMU drivers only need to flush their PRI queue when faults might be pending. According to the PCIe spec (quoted below) this only happens when using the "Stop Marker" method. Otherwise the function waits for pending faults before signaling to the device driver that it can unbind(). Add the IOMMU_

Re: [PATCH 1/2] mm/mprotect: Call arch_validate_prot under mmap_lock and with length

2020-10-15 Thread Catalin Marinas
On Wed, Oct 14, 2020 at 03:21:16PM -0600, Khalid Aziz wrote: > On 10/13/20 3:16 AM, Catalin Marinas wrote: > > On Mon, Oct 12, 2020 at 01:14:50PM -0600, Khalid Aziz wrote: > >> On 10/12/20 11:22 AM, Catalin Marinas wrote: > >>> On Mon, Oct 12, 2020 at 11:03:33AM -0600, Khalid Aziz wrote: > On

  1   2   3   4   5   6   7   8   9   10   >