Re: [PATCH 3/3] dt-bindings: aspeed: Remove mention of deprecated compatibles

2019-08-14 Thread Lee Jones
On Wed, 14 Aug 2019, Linus Walleij wrote: > On Mon, Aug 12, 2019 at 12:15 PM Lee Jones wrote: > > On Mon, 05 Aug 2019, Linus Walleij wrote: > > > > > On Wed, Jul 24, 2019 at 10:13 AM Andrew Jeffery wrote: > > > > > > > Guide readers away from using the aspeed,g[45].* compatible patterns. > > > >

[PATCH 0/2] docs: two fixes for Kbuild document after the ReST conversion

2019-08-14 Thread Masahiro Yamada
The ReST conversion was merged in the previous merge window. Iron out some issues. Masahiro Yamada (2): docs: kbuild: fix invalid ReST syntax docs: kbuild: remove cc-ldoption from document again Documentation/kbuild/makefiles.rst | 23 --- 1 file changed, 4 insertions(+

Re: [PATCH v2 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-14 Thread Uwe Kleine-König
Hello Baolin, On Wed, Aug 14, 2019 at 06:01:50PM +0800, Baolin Wang wrote: > On Wed, 14 Aug 2019 at 17:23, Uwe Kleine-König > wrote: > > On Wed, Aug 14, 2019 at 04:42:28PM +0800, Baolin Wang wrote: > > > On Tue, 13 Aug 2019 at 23:16, Uwe Kleine-König > > > wrote: > > > > On Tue, Aug 13, 2019 at

Re: [PATCH] PCI: dwc: Add map irq callback

2019-08-14 Thread Christoph Hellwig
On Wed, Aug 14, 2019 at 04:31:14PM +0800, Dilip Kota wrote: > > callback. > pp->map_irq() must assign the callback along with the platform specific > configuration. > In Intel PCIe driver pp->map_irq() does the same. (Driver is not yet present > in mainline, i will submit for review once this chang

[PATCH v3] gpiolib: Take MUX usage into account

2019-08-14 Thread Ramon Fried
From: Stefan Wahren The user space like gpioinfo only see the GPIO usage but not the MUX usage (e.g. I2C or SPI usage) of a pin. As a user we want to know which pin is free/safe to use. So take the MUX usage of strict pinmux controllers into account to get a more realistic view for ioctl GPIO_GET

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-08-14 Thread Miroslav Benes
On Sun, 28 Jul 2019, Josh Poimboeuf wrote: > On Fri, Jul 19, 2019 at 02:28:40PM +0200, Miroslav Benes wrote: > > Josh reported a bug: > > > > When the object to be patched is a module, and that module is > > rmmod'ed and reloaded, it fails to load with: > > > > module: x86/modules: Skippin

Re: [PATCH v5 01/15] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2019-08-14 Thread Maxime Ripard
Hi, On Wed, Aug 14, 2019 at 08:08:40AM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > On the newer SoCs such as the H3 and A64 this is set by default > to transfer a 0 after each sample in each slot. However the A10 > and A20 SoCs that this driver was developed on had a default > se

Re: [PATCH v5 15/15] ASoC: sun4i-i2s: Adjust regmap settings

2019-08-14 Thread Maxime Ripard
On Wed, Aug 14, 2019 at 08:08:54AM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > Bypass the regmap cache when flushing the i2s FIFOs and modify the tables > to reflect this. > > Signed-off-by: Marcus Cooper This patch looks like it's fixing something while the commit log doesn't m

Re: [PATCH v5 02/15] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2019-08-14 Thread Maxime Ripard
Hi, On Wed, Aug 14, 2019 at 08:08:41AM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > Codecs without a control connection such as i2s based HDMI audio and > the Pine64 DAC require a different amount of bit clocks per frame than > what is calculated by the sample width. Use the tdm s

Re: [PATCH v5 04/15] ASoC: sun4i-i2s: Support more formats on newer SoCs

2019-08-14 Thread Maxime Ripard
On Wed, Aug 14, 2019 at 08:08:43AM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > There is a need to support more formats on the newer SoCs(H3 and later). > Extend the formats supported to include DSP_A and DSP_B modes. > > Signed-off-by: Marcus Cooper > --- > sound/soc/sunxi/sun4i

Re: [PATCH v5 11/15] ASoC: sun4i-i2s: Add support for H6 I2S

2019-08-14 Thread Code Kipper
On Wed, 14 Aug 2019 at 09:57, Jernej Škrabec wrote: > > Hi! > > Dne sreda, 14. avgust 2019 ob 08:08:50 CEST je codekip...@gmail.com > napisal(a): > > From: Jernej Skrabec > > > > H6 I2S is very similar to that in H3, except it supports up to 16 > > channels. > > > > Signed-off-by: Jernej Skrabec

Re: [RESEND PATCH 1/2 -mm] mm: account lazy free pages separately

2019-08-14 Thread Michal Hocko
On Mon 12-08-19 10:00:17, Yang Shi wrote: > > > On 8/12/19 2:34 AM, Michal Hocko wrote: > > On Fri 09-08-19 16:54:43, Yang Shi wrote: > > > > > > On 8/9/19 11:26 AM, Yang Shi wrote: > > > > > > > > On 8/9/19 11:02 AM, Michal Hocko wrote: > > [...] > > > > > I have to study the code some more bu

Re: [PATCH v5 12/15] ASoC: sun4i-i2s: Add multi-lane functionality

2019-08-14 Thread Maxime Ripard
On Wed, Aug 14, 2019 at 08:08:51AM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > The i2s block supports multi-lane i2s output however this functionality > is only possible in earlier SoCs where the pins are exposed and for > the i2s block used for HDMI audio on the later SoCs. > > T

Re: [PATCH v5 03/15] ASoC: sun4i-i2s: Correct divider calculations

2019-08-14 Thread Maxime Ripard
Hi, (I just noticed this, but can you update my mail address, it's not @free-electrons for quite a while, you probably want to change your scripts to use mrip...@kernel.org) On Wed, Aug 14, 2019 at 08:08:42AM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > The clock division circuit

Re: [PATCH v3 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-08-14 Thread Mike Lothian
On Thu, 25 Jul 2019 at 07:59, Greg KH wrote: > > On Wed, Jul 24, 2019 at 10:20:34PM +0200, Thomas Gleixner wrote: > > On Wed, 24 Jul 2019, Thomas Gleixner wrote: > > > > > On Wed, 24 Jul 2019, Greg KH wrote: > > > > On Wed, Jul 24, 2019 at 06:03:41PM +0200, Thomas Gleixner wrote: > > > > > > Gotta

[PATCH] selftests: tpm2: install python files

2019-08-14 Thread Anders Roxell
Both test_smoke.sh and test_space.sh require tpm2.py and tpm2_test.py. Rework so that tpm2.py and tpm2_test.py gets installed, added them to the variable TEST_PROGS_EXTENDED. Signed-off-by: Anders Roxell --- tools/testing/selftests/tpm2/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] selftests: livepatch: add missing fragments to config

2019-08-14 Thread Anders Roxell
When generating config with 'make defconfig kselftest-merge' fragment CONFIG_TEST_LIVEPATCH=m isn't set. Rework to enable CONFIG_LIVEPATCH and CONFIG_DYNAMIC_DEBUG as well. Signed-off-by: Anders Roxell --- tools/testing/selftests/livepatch/config | 2 ++ 1 file changed, 2 insertions(+) diff --

Re: [PATCH v5 12/15] ASoC: sun4i-i2s: Add multi-lane functionality

2019-08-14 Thread Code Kipper
On Wed, 14 Aug 2019 at 13:08, Maxime Ripard wrote: > > On Wed, Aug 14, 2019 at 08:08:51AM +0200, codekip...@gmail.com wrote: > > From: Marcus Cooper > > > > The i2s block supports multi-lane i2s output however this functionality > > is only possible in earlier SoCs where the pins are exposed and

Re: [RFC PATCH v2 01/19] fs/locks: Export F_LAYOUT lease to user space

2019-08-14 Thread Jeff Layton
On Wed, 2019-08-14 at 18:05 +1000, Dave Chinner wrote: > On Mon, Aug 12, 2019 at 10:36:26AM -0700, Ira Weiny wrote: > > On Sat, Aug 10, 2019 at 09:52:31AM +1000, Dave Chinner wrote: > > > On Fri, Aug 09, 2019 at 03:58:15PM -0700, ira.we...@intel.com wrote: > > > > + /* > > > > +* NOTE

Re: [PATCH v5 04/15] ASoC: sun4i-i2s: Support more formats on newer SoCs

2019-08-14 Thread Code Kipper
On Wed, 14 Aug 2019 at 13:08, Maxime Ripard wrote: > > On Wed, Aug 14, 2019 at 08:08:43AM +0200, codekip...@gmail.com wrote: > > From: Marcus Cooper > > > > There is a need to support more formats on the newer SoCs(H3 and later). > > Extend the formats supported to include DSP_A and DSP_B modes.

Re: [PATCH v5 01/15] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2019-08-14 Thread Code Kipper
On Wed, 14 Aug 2019 at 13:08, Maxime Ripard wrote: > > Hi, > > On Wed, Aug 14, 2019 at 08:08:40AM +0200, codekip...@gmail.com wrote: > > From: Marcus Cooper > > > > On the newer SoCs such as the H3 and A64 this is set by default > > to transfer a 0 after each sample in each slot. However the A10

Re: [PATCH 5/5] memremap: provide a not device managed memremap_pages

2019-08-14 Thread Christoph Hellwig
On Wed, Aug 14, 2019 at 02:28:26PM +0530, Bharata B Rao wrote: > > > > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/pgmap-remove-dev > > > > works for you fully before I resend? > > Yes, this works for us. This and migrate-vma-cleanup series helps to > really simplify the

Re: [PATCH AUTOSEL 4.19 04/42] netfilter: conntrack: always store window size un-scaled

2019-08-14 Thread Jakub Jankowski
On 2019-08-14, Reindl Harald wrote: that's still not in 5.2.8 It will make its way into next 5.2.x release, as it is now in the pending queue: https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-5.2 Regards, Jakub. without the exception and "nf_conntrack

Re: [PATCH 1/2] mm: memcontrol: flush percpu vmstats before releasing memcg

2019-08-14 Thread Michal Hocko
On Mon 12-08-19 15:29:10, Roman Gushchin wrote: > Percpu caching of local vmstats with the conditional propagation > by the cgroup tree leads to an accumulation of errors on non-leaf > levels. > > Let's imagine two nested memory cgroups A and A/B. Say, a process > belonging to A/B allocates 100 pa

Re: [PATCH 1/9] sched/core: add is_kthread() helper

2019-08-14 Thread Geert Uytterhoeven
Hi Mark, On Wed, Aug 14, 2019 at 12:43 PM Mark Rutland wrote: > Code checking whether a task is a kthread isn't very consistent. Some > code correctly tests task->flags & PF_THREAD, while other code checks > task->mm (which can be true for a kthread which calls use_mm()). > > So that we can clean

Re: [PATCH 2/9] sched: treewide: use is_kthread()

2019-08-14 Thread Geert Uytterhoeven
Hi Mark, On Wed, Aug 14, 2019 at 12:43 PM Mark Rutland wrote: > Now that we have is_kthread(), let's convert existing open-coded checks > of the form: > > task->flags & PF_KTHREAD > > ... over to the new helper, which makes things a little easier to read, > and sets a consistent example for new

Re: [PATCH 2/2] interconnect: qcom: Add OSM L3 interconnect provider support

2019-08-14 Thread Sibi Sankar
Hey Evan, Thanks for the review! On 2019-08-14 02:02, Evan Green wrote: Hi Sibi, On Wed, Aug 7, 2019 at 4:24 AM Sibi Sankar wrote: On some Qualcomm SoCs, Operating State Manager (OSM) controls the resources of scaling L3 caches. Add a driver to handle bandwidth requests to OSM L3 from CPU/

Re: [PATCH] Documentation patch (gcc-plugins kernel)

2019-08-14 Thread Alexander Popov
Hello Kees and Robin, On 01.08.2019 23:14, Kees Cook wrote: > On Thu, Aug 01, 2019 at 09:30:58AM +0200, Robin Lindner wrote: >> Cleaned documentation comment up. I removed the "TODO" because it was very >> old. >> --- >> scripts/gcc-plugins/stackleak_plugin.c | 2 -- >> 1 file changed, 2 deletio

Re: [linux-sunxi] Re: [PATCH v5 15/15] ASoC: sun4i-i2s: Adjust regmap settings

2019-08-14 Thread Jernej Škrabec
Dne sreda, 14. avgust 2019 ob 09:20:07 CEST je Maxime Ripard napisal(a): > On Wed, Aug 14, 2019 at 08:08:54AM +0200, codekip...@gmail.com wrote: > > From: Marcus Cooper > > > > Bypass the regmap cache when flushing the i2s FIFOs and modify the tables > > to reflect this. > > > > Signed-off-by: M

Re: [PATCH 2/2] interconnect: qcom: Add OSM L3 interconnect provider support

2019-08-14 Thread Sibi Sankar
On 2019-08-14 06:13, Saravana Kannan wrote: On Thu, Aug 8, 2019 at 10:37 AM Sibi Sankar wrote: Hey Saravana, Thanks for the review! On 8/8/19 2:51 AM, Saravana Kannan wrote: > On Wed, Aug 7, 2019 at 4:24 AM Sibi Sankar wrote: >> >> On some Qualcomm SoCs, Operating State Manager (OSM) contro

Re: [PATCH v5 15/15] ASoC: sun4i-i2s: Adjust regmap settings

2019-08-14 Thread Chen-Yu Tsai
On Wed, Aug 14, 2019 at 2:09 PM wrote: > > From: Marcus Cooper > > Bypass the regmap cache when flushing the i2s FIFOs and modify the tables > to reflect this. > > Signed-off-by: Marcus Cooper > --- > sound/soc/sunxi/sun4i-i2s.c | 31 ++- > 1 file changed, 10 inserti

Re: [PATCH 2/2] mm: memcontrol: flush percpu slab vmstats on kmem offlining

2019-08-14 Thread Michal Hocko
On Mon 12-08-19 15:29:11, Roman Gushchin wrote: > I've noticed that the "slab" value in memory.stat is sometimes 0, > even if some children memory cgroups have a non-zero "slab" value. > The following investigation showed that this is the result > of the kmem_cache reparenting in combination with t

Re: [PATCH 1/9] sched/core: add is_kthread() helper

2019-08-14 Thread Mark Rutland
On Wed, Aug 14, 2019 at 01:26:43PM +0200, Geert Uytterhoeven wrote: > Hi Mark, > > On Wed, Aug 14, 2019 at 12:43 PM Mark Rutland wrote: > > Code checking whether a task is a kthread isn't very consistent. Some > > code correctly tests task->flags & PF_THREAD, while other code checks > > task->mm

Re: [PATCH] mm: memcontrol: flush percpu vmevents before releasing memcg

2019-08-14 Thread Michal Hocko
On Mon 12-08-19 16:37:54, Roman Gushchin wrote: > Similar to vmstats, percpu caching of local vmevents leads to an > accumulation of errors on non-leaf levels. This happens because > some leftovers may remain in percpu caches, so that they are > never propagated up by the cgroup tree and just disap

Re: [PATCH 1/2] dt-bindings: interconnect: Add OSM L3 DT bindings

2019-08-14 Thread Sibi Sankar
on running dt_binding_check found a few errors which I'll fix in the next re-spin. On 2019-08-07 16:54, Sibi Sankar wrote: Add bindings for Operating State Manager (OSM) L3 interconnect provider on SDM845 SoCs. Signed-off-by: Sibi Sankar --- .../bindings/interconnect/qcom,osm-l3.yaml| 55

Re: [PATCH v3 6/8] PCI: al: Add support for DW based driver type

2019-08-14 Thread Chocron, Jonathan
On Mon, 2019-08-12 at 18:03 +0100, Lorenzo Pieralisi wrote: > "PCI: dwc: al: Add support for DW based driver type" > > Make $SUBJECT compliant with other host controllers patches. > Will do. BTW,I actually see that many of the other dwc controllers don't have the 'dwc:' (and some are inconsisten

[PATCH v1 1/1] waitid: Add support for waiting for the current process group

2019-08-14 Thread christian . brauner
From: "Eric W. Biederman" It was recently discovered that the linux version of waitid is not a superset of the other wait functions because it does not include support for waiting for the current process group. This has two downsides. An extra system call is needed to get the current process gr

Re: [RFC PATCH v2 01/19] fs/locks: Export F_LAYOUT lease to user space

2019-08-14 Thread Dave Chinner
On Wed, Aug 14, 2019 at 07:21:34AM -0400, Jeff Layton wrote: > On Wed, 2019-08-14 at 18:05 +1000, Dave Chinner wrote: > > On Mon, Aug 12, 2019 at 10:36:26AM -0700, Ira Weiny wrote: > > > On Sat, Aug 10, 2019 at 09:52:31AM +1000, Dave Chinner wrote: > > > > On Fri, Aug 09, 2019 at 03:58:15PM -0700,

[PATCH] usb: xhci-pci: reorder removal to avoid use-after-free

2019-08-14 Thread Schmid, Carsten
On driver removal, the platform_device_unregister call attached through devm_add_action_or_reset was executed after usb_hcd_pci_remove. This lead to a use-after-free for the iomem resorce of the xhci-ext-caps driver in the platform removal because the parent of the resource was freed earlier. Fix

[PATCH v1 0/1] waitid: process group enhancement

2019-08-14 Thread christian . brauner
From: Christian Brauner Hey everyone, This patch adds support for waiting on the current process group by specifying waitid(P_PGID, 0, ...) as discussed in [1]. The details why we need to do this are in the commit message of [PATCH 1/1] so I won't repeat them here. I've picked this up since the

Re: [PATCH v4 8/9] MIPS: SGI-IP27: fix readb/writeb addressing

2019-08-14 Thread Thomas Bogendoerfer
On Tue, 13 Aug 2019 10:47:13 +0200 Philippe Mathieu-Daudé wrote: > Hi Thomas, > > On 8/11/19 9:29 AM, Greg Kroah-Hartman wrote: > > On Sat, Aug 10, 2019 at 04:22:23PM +0300, Andy Shevchenko wrote: > >> On Fri, Aug 9, 2019 at 1:34 PM Thomas Bogendoerfer > >> wrote: > >>> > >>> Our chosen byte sw

Dear Greetings to you Contact my secretary immediately From Dr Frederic, Your Compensation

2019-08-14 Thread frederic koute
Dear Greetings to you Contact my secretary immediately From Dr Frederic, Your Compensation for your past efforts Compliments of the day and God's blessings. I am glad to inform you that I have successfully completed the transaction. The money has been transferred to Switzerland. I succeeded through

Re: [PATCH v4 3/9] nvmem: core: add nvmem_device_find

2019-08-14 Thread Thomas Bogendoerfer
On Tue, 13 Aug 2019 10:40:34 +0100 Srinivas Kandagatla wrote: > > > On 09/08/2019 11:32, Thomas Bogendoerfer wrote: > > nvmem_device_find provides a way to search for nvmem devices with > > the help of a match function simlair to bus_find_device. > > > > Signed-off-by: Thomas Bogendoerfer > >

Re: [PATCH v2 10/10] arm: dts: mediatek: add mt7629 pwm support

2019-08-14 Thread Ryder Lee
On Wed, 2019-08-14 at 18:43 +0800, Sam Shih wrote: > From: sam shih > > This adds pwm support for MT7629. > > Signed-off-by: Sam Shih > --- > arch/arm/boot/dts/mt7629.dtsi | 14 ++ > drivers/pwm/pwm-mediatek.c| 7 +++ > 2 files changed, 21 insertions(+) Split dts and driv

Re: [RFC][Patch v12 2/2] virtio-balloon: interface to support free page reporting

2019-08-14 Thread Nitesh Narayan Lal
On 8/14/19 6:29 AM, Cornelia Huck wrote: > On Mon, 12 Aug 2019 09:12:35 -0400 > Nitesh Narayan Lal wrote: > >> Enables the kernel to negotiate VIRTIO_BALLOON_F_REPORTING feature with >> the host. If it is available and page_reporting_flag is set to true, >> page_reporting is enabled and its call

Re: [PATCH v5 04/11] media: uapi: h264: Add the concept of start code

2019-08-14 Thread Paul Kocialkowski
Hi, On Wed 14 Aug 19, 10:11, Hans Verkuil wrote: > On 8/12/19 9:35 PM, Ezequiel Garcia wrote: > > Stateless decoders have different expectations about the > > start code that is prepended on H264 slices. Add a > > menu control to express the supported start code types > > (including no start code)

Re: [PATCH v2 9/10] dt-bindings: pwm: update bindings for MT7628 SoC

2019-08-14 Thread Ryder Lee
On Wed, 2019-08-14 at 18:43 +0800, Sam Shih wrote: > From: sam shih > > This updates bindings for MT7628 pwm controller. > > Signed-off-by: Sam Shih > --- > .../devicetree/bindings/pwm/pwm-mediatek.txt | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentatio

Re: [PATCH bpf-next 1/3] libbpf: add asm/unistd.h to xsk to get __NR_mmap2

2019-08-14 Thread Ivan Khoronzhuk
On Wed, Aug 14, 2019 at 12:24:05PM +0300, Ivan Khoronzhuk wrote: On Tue, Aug 13, 2019 at 04:38:13PM -0700, Andrii Nakryiko wrote: Hi, Andrii On Tue, Aug 13, 2019 at 3:24 AM Ivan Khoronzhuk wrote: That's needed to get __NR_mmap2 when mmap2 syscall is used. Signed-off-by: Ivan Khoronzhuk --

[PATCH v3] Bluetooth: btusb: Fix suspend issue for Realtek devices

2019-08-14 Thread Alex Lu
From: Alex Lu >From the perspective of controller, global suspend means there is no SET_FEATURE (DEVICE_REMOTE_WAKEUP) and controller would drop the firmware. It would consume less power. So we should not send this kind of SET_FEATURE when host goes to suspend state. Otherwise, when making device

[PATCH] MAINTAINERS: r8169: Update path to the driver

2019-08-14 Thread Denis Efremov
Update MAINTAINERS record to reflect the filename change. The file was moved in commit 25e992a4603c ("r8169: rename r8169.c to r8169_main.c") Cc: Heiner Kallweit Cc: nic_s...@realtek.com Cc: David S. Miller Cc: net...@vger.kernel.org Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 file

Re: [PATCH] MAINTAINERS: r8169: Update path to the driver

2019-08-14 Thread Denis Efremov
Sorry, this is v2 of course. Thanks, Denis On 8/14/19 3:12 PM, Denis Efremov wrote: > Update MAINTAINERS record to reflect the filename change. > The file was moved in commit 25e992a4603c ("r8169: rename > r8169.c to r8169_main.c") > > Cc: Heiner Kallweit > Cc: nic_s...@realtek.com > Cc: David

Re: New kernel interface for sys_tz and timewarp?

2019-08-14 Thread Lennart Poettering
On Mi, 14.08.19 11:32, Alexandre Belloni (alexandre.bell...@bootlin.com) wrote: > On 14/08/2019 11:09:36+0200, Lennart Poettering wrote: > > On Mi, 14.08.19 10:31, Arnd Bergmann (a...@arndb.de) wrote: > > > > > - glibc stops passing the caller timezone argument to the kernel > > > - the distro ker

Re: [PATCH v5 03/11] media: uapi: h264: Add the concept of decoding mode

2019-08-14 Thread Paul Kocialkowski
Hi, On Mon 12 Aug 19, 16:35, Ezequiel Garcia wrote: > From: Boris Brezillon > > Some stateless decoders don't support per-slice decoding granularity > (or at least not in a way that would make them efficient or easy to use). > > Expose a menu to control the supported decoding modes. Drivers are

Re: [RFC PATCH v2 16/19] RDMA/uverbs: Add back pointer to system file object

2019-08-14 Thread Jason Gunthorpe
On Tue, Aug 13, 2019 at 01:38:59PM -0700, Ira Weiny wrote: > On Tue, Aug 13, 2019 at 03:00:22PM -0300, Jason Gunthorpe wrote: > > On Tue, Aug 13, 2019 at 10:41:42AM -0700, Ira Weiny wrote: > > > > > And I was pretty sure uverbs_destroy_ufile_hw() would take care of (or > > > ensure > > > that som

Re: [PATCH v2 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-14 Thread Baolin Wang
Hi Uwe, On Wed, 14 Aug 2019 at 18:55, Uwe Kleine-König wrote: > > Hello Baolin, > > On Wed, Aug 14, 2019 at 06:01:50PM +0800, Baolin Wang wrote: > > On Wed, 14 Aug 2019 at 17:23, Uwe Kleine-König > > wrote: > > > On Wed, Aug 14, 2019 at 04:42:28PM +0800, Baolin Wang wrote: > > > > On Tue, 13 Aug

Re: [PATCH v3 0/6] Add support of New Amlogic temperature sensor for G12 SoCs

2019-08-14 Thread Christian Hewitt
On 6 Aug 2019, at 5:05 pm, Guillaume La Roque wrote: > > This patchs series add support of New Amlogic temperature sensor and minimal > thermal zone for SEI510 and ODROID-N2 boards. > > First implementation was doing on IIO[1] but after comments i move on thermal > framework. > Formulas and cal

RE: [PATCH v2 0/2] Simplify mtty driver and mdev core

2019-08-14 Thread Parav Pandit
+ Jiri, + netdev To get perspective on the ndo->phys_port_name for the representor netdev of mdev. Hi Cornelia, > -Original Message- > From: Cornelia Huck > Sent: Wednesday, August 14, 2019 1:32 PM > To: Parav Pandit > Cc: Alex Williamson ; Kirti Wankhede > ; k...@vger.kernel.org; lin

Re: [PATCH v1 1/1] waitid: Add support for waiting for the current process group

2019-08-14 Thread Oleg Nesterov
On 08/14, christian.brau...@ubuntu.com wrote: > > case P_PGID: > type = PIDTYPE_PGID; > - if (upid <= 0) > + if (upid < 0) > return -EINVAL; > + > + if (upid == 0) > + pid = get_pid(task_pgrp(current))

[PATCH 2/2] clk: qcom: clk-rpmh: Add support for SM8150

2019-08-14 Thread Vinod Koul
Add support for rpmh clocks found in SM8150 Signed-off-by: Vinod Koul --- drivers/clk/qcom/clk-rpmh.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c index c3fd632af119..7fea263447c5 100644 --- a/drivers/c

[PATCH 1/2] dt-bindings: clock: Document SM8150 rpmh-clock compatible

2019-08-14 Thread Vinod Koul
Document the SM8150 rpmh-clock compatible for rpmh clock controller found on SM8150 platforms. Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/clock/qcom,rpmh-clk.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/qc

[PATCH V2 0/2] clocksource/Hyper-V: Add Hyper-V specific sched clock

2019-08-14 Thread lantianyu1986
From: Tianyu Lan Hyper-V guests use the default native_sched_clock() in pv_ops.time.sched_clock on x86. But native_sched_clock() directly uses the raw TSC value, which can be discontinuous in a Hyper-V VM. Add the generic hv_setup_sched_clock() to set the sched clock function appropriately. On

[PATCH V2 1/2] clocksource/Hyper-v: Allocate Hyper-V tsc page statically

2019-08-14 Thread lantianyu1986
From: Tianyu Lan Prepare to add Hyper-V sched clock callback and move Hyper-V Reference TSC initialization much earlier in the boot process. Earlier initialization is needed so that it happens while the timestamp value is still 0 and no discontinuity in the timestamp will occur when pv_ops.time.

[PATCH V2 2/2] clocksource/Hyper-V: Add Hyper-V specific sched clock function

2019-08-14 Thread lantianyu1986
From: Tianyu Lan Hyper-V guests use the default native_sched_clock() in pv_ops.time.sched_clock on x86. But native_sched_clock() directly uses the raw TSC value, which can be discontinuous in a Hyper-V VM. Add the generic hv_setup_sched_clock() to set the sched clock function appropriately. On x

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-08-14 Thread Miroslav Benes
On Mon, 22 Jul 2019, Petr Mladek wrote: > On Fri 2019-07-19 14:28:40, Miroslav Benes wrote: > > Josh reported a bug: > > > > When the object to be patched is a module, and that module is > > rmmod'ed and reloaded, it fails to load with: > > > > module: x86/modules: Skipping invalid relocat

[PATCH] MAINTAINERS: Remove IP MASQUERADING record

2019-08-14 Thread Denis Efremov
This entry is in MAINTAINERS for historical purpose. It doesn't match current sources since the commit adf82accc5f5 ("netfilter: x_tables: merge ip and ipv6 masquerade modules") moved the module. The net/netfilter/xt_MASQUERADE.c module is already under the netfilter section. Thus, there is no purp

[PATCH 2/5] powerpc/ptdump: fix walk_pagetables() address mismatch

2019-08-14 Thread Christophe Leroy
walk_pagetables() always walk the entire pgdir from address 0 but considers PAGE_OFFSET or KERN_VIRT_START as the starting address of the walk, resulting in a possible mismatch in the displayed addresses. Ex: on PPC32, when KERN_VIRT_START was locally defined as PAGE_OFFSET, ptdump displayed 0x800

[PATCH 1/5] powerpc/ptdump: fix addresses display on PPC32

2019-08-14 Thread Christophe Leroy
Commit 453d87f6a8ae ("powerpc/mm: Warn if W+X pages found on boot") wrongly changed KERN_VIRT_START from 0 to PAGE_OFFSET, leading to a shift in the displayed addresses. Lets revert that change to resync walk_pagetables()'s addr val and pgd_t pointer for PPC32. Fixes: 453d87f6a8ae ("powerpc/mm: W

[PATCH 3/5] powerpc/ptdump: drop dummy KERN_VIRT_START on PPC32

2019-08-14 Thread Christophe Leroy
PPC32 doesn't have KERN_VIRT_START. Make PAGE_OFFSET the default starting address for the dump, and drop the dummy definition of KERN_VIRT_START. Only use KERN_VIRT_START for non radix PPC64. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/ptdump/ptdump.c | 18 -- 1 file chan

[PATCH 4/5] powerpc/ptdump: get out of note_prot_wx() when CONFIG_PPC_DEBUG_WX is not selected.

2019-08-14 Thread Christophe Leroy
When CONFIG_PPC_DEBUG_WX, note_prot_wx() is useless. Get out of it early and inconditionnally in that case, so that GCC can kick all the code out. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/ptdump/ptdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc

[PATCH 5/5] powerpc/ptdump: drop non vital #ifdefs

2019-08-14 Thread Christophe Leroy
hashpagetable.c is only compiled when CONFIG_PPC_BOOK3S_64 is defined, so drop the test and its 'else' branch. Use IS_ENABLED(CONFIG_PPC_PSERIES) instead of #ifdef, this allows the code to be checked at any build. It is still optimised out by GCC. Use IS_ENABLED(CONFIG_PPC_64K_PAGES) instead of #

[PATCH 3/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support

2019-08-14 Thread Vinod Koul
Add support for the PM8150l GPIO support to the Qualcomm PMIC GPIO binding. Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 1 + drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Docume

[PATCH 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150b support

2019-08-14 Thread Vinod Koul
Add support for the PM8150b GPIO support to the Qualcomm PMIC GPIO binding. Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++ drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Docum

[PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support

2019-08-14 Thread Vinod Koul
Add support for the PM8150 GPIO support to the Qualcomm PMIC GPIO binding. Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 3 +++ drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Docum

Re: [PATCH RESEND v4 0/9] Enable Sub-page Write Protection Support

2019-08-14 Thread Paolo Bonzini
On 14/08/19 09:03, Yang Weijiang wrote: > EPT-Based Sub-Page write Protection(SPP)is a HW capability which allows > Virtual Machine Monitor(VMM) to specify write-permission for guest > physical memory at a sub-page(128 byte) granularity. When this > capability is enabled, the CPU enforces write-acc

Re: [PATCH 2/9] sched: treewide: use is_kthread()

2019-08-14 Thread Sebastian Andrzej Siewior
On 2019-08-14 11:41:24 [+0100], Mark Rutland wrote: … > Instances checking multiple PF_* flags at ocne are left as-is for now. s@ocne@once@ Acked-by: Sebastian Andrzej Siewior Sebastian

Re: [PATCH] KVM : remove redundant assignment of var new_entry

2019-08-14 Thread Paolo Bonzini
On 12/08/19 04:33, Miaohe Lin wrote: > new_entry is reassigned a new value next line. So > it's redundant and remove it. > > Signed-off-by: Miaohe Lin > --- > arch/x86/kvm/svm.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c > index d685491fce4d.

Re: [PATCH] KVM/nSVM: properly map nested VMCB

2019-08-14 Thread Paolo Bonzini
On 10/08/19 20:35, Jiri Palecek wrote: > Hello, > > On 04. 06. 19 19:27, Paolo Bonzini wrote: >> On 04/06/19 18:09, Vitaly Kuznetsov wrote: >>> Commit 8c5fbf1a7231 ("KVM/nSVM: Use the new mapping API for mapping >>> guest >>> memory") broke nested SVM completely: kvm_vcpu_map()'s second >>> parame

Re: [PATCH RESEND v4 5/9] KVM: VMX: Add init/set/get functions for SPP

2019-08-14 Thread Vitaly Kuznetsov
Yang Weijiang writes: > init_spp() must be called before {get, set}_subpage > functions, it creates subpage access bitmaps for memory pages > and issues a KVM request to setup SPPT root pages. > > kvm_mmu_set_subpages() is to enable SPP bit in EPT leaf page > and setup corresponding SPPT entries.

Re: [PATCH v1 1/1] waitid: Add support for waiting for the current process group

2019-08-14 Thread Christian Brauner
On Wed, Aug 14, 2019 at 02:29:10PM +0200, Oleg Nesterov wrote: > On 08/14, christian.brau...@ubuntu.com wrote: > > > > case P_PGID: > > type = PIDTYPE_PGID; > > - if (upid <= 0) > > + if (upid < 0) > > return -EINVAL; > > + > > + if

[PATCH v3 1/2] dt-bindings: pwm: sprd: Add Spreadtrum PWM documentation

2019-08-14 Thread Baolin Wang
Add Spreadtrum PWM controller documentation. Signed-off-by: Baolin Wang --- Changes from v2: - Fix some typos. - Move assigned-clocks to be optional. Changes from v1: - Use assigned-clock-parents and assigned-clocks to set PWM clock parent. --- Documentation/devicetree/bindings/pwm/pwm-sprd.

[PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-14 Thread Baolin Wang
This patch adds the Spreadtrum PWM support, which provides maximum 4 channels. Signed-off-by: Neo Hou Signed-off-by: Baolin Wang --- Changes from v2: - Optimize some macors' name. - Improve some comments. - Optimize the calculation of prescale. - Do not print error log if error numeber is EP

Re: [RESEND PATCH 1/2 -mm] mm: account lazy free pages separately

2019-08-14 Thread Vlastimil Babka
On 8/9/19 8:26 PM, Yang Shi wrote: > Here the new counter is introduced for patch 2/2 to account deferred > split THPs into available memory since NR_ANON_THPS may contain > non-deferred split THPs. > > I could use an internal counter for deferred split THPs, but if it is > accounted by mod_nod

Re: [virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-14 Thread Nitesh Narayan Lal
On 8/14/19 3:07 AM, David Hildenbrand wrote: > On 14.08.19 01:14, Alexander Duyck wrote: >> On Tue, Aug 13, 2019 at 3:34 AM David Hildenbrand wrote: >>> +static int process_free_page(struct page *page, >>> +struct page_reporting_config *phconf, int >>> co

Re: [PATCH v1 1/1] waitid: Add support for waiting for the current process group

2019-08-14 Thread Oleg Nesterov
On 08/14, Christian Brauner wrote: > > On Wed, Aug 14, 2019 at 02:29:10PM +0200, Oleg Nesterov wrote: > > On 08/14, christian.brau...@ubuntu.com wrote: > > > > > > case P_PGID: > > > type = PIDTYPE_PGID; > > > - if (upid <= 0) > > > + if (upid < 0) > > >

Re: [PATCH] KVM: LAPIC: Periodically revaluate appropriate lapic_timer_advance_ns

2019-08-14 Thread Paolo Bonzini
On 12/08/19 11:06, Wanpeng Li wrote: > On Fri, 9 Aug 2019 at 18:24, Paolo Bonzini wrote: >> >> On 09/08/19 07:45, Wanpeng Li wrote: >>> From: Wanpeng Li >>> >>> Even if for realtime CPUs, cache line bounces, frequency scaling, presence >>> of higher-priority RT tasks, etc can cause different resp

[PATCH v2] udf: reduce leakage of blocks related to named streams

2019-08-14 Thread Steven J. Magnani
Windows is capable of creating UDF files having named streams. One example is the "Zone.Identifier" stream attached automatically to files downloaded from a network. See: https://msdn.microsoft.com/en-us/library/dn392609.aspx Modification of a file having one or more named streams in Linux cause

Re: [PATCH 1/5] powerpc/ptdump: fix addresses display on PPC32

2019-08-14 Thread Christophe Leroy
Michael, Le 14/08/2019 à 14:36, Christophe Leroy a écrit : Commit 453d87f6a8ae ("powerpc/mm: Warn if W+X pages found on boot") wrongly changed KERN_VIRT_START from 0 to PAGE_OFFSET, leading to a shift in the displayed addresses. Lets revert that change to resync walk_pagetables()'s addr val and

[PATCH 01/22] arm64: dts: qcom: sm8150: add base dts file

2019-08-14 Thread Vinod Koul
This add base DTS file with cpu, psci, firmware and clock node to enable boot to console Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 269 +++ 1 file changed, 269 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8150.dtsi diff --git a/

[PATCH 05/22] arm64: dts: qcom: sm8150: Add spmi node

2019-08-14 Thread Vinod Koul
Add SPMI node which is used for spmi_bus Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 5f2f21270e2d..5c6b103b042b 100644

[PATCH 04/22] arm64: dts: qcom: sm8150-mtp: add tlmm reserved range

2019-08-14 Thread Vinod Koul
Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts index df08ee50510d..8700f015c074 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts ++

[PATCH 09/22] arm64: dts: qcom: pm8150b: Add Base DTS file

2019-08-14 Thread Vinod Koul
PMIC pm8150b is a slave pmic and this adds base DTS file for pm8150b Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8150b.dtsi diff --git a/arch/arm64/boot/dts/qcom/

[PATCH 12/22] arm64: dts: qcom: pm8150l: Add Base DTS file

2019-08-14 Thread Vinod Koul
PMIC pm8150l is a slave pmic and this adds base DTS file for pm8150l Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150l.dtsi | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8150l.dtsi diff --git a/arch/arm64/boot/dts/qcom/

[PATCH 07/22] arm64: dts: qcom: pm8150: Add pon and rtc nodes

2019-08-14 Thread Vinod Koul
PM8150 PMIC contains pon and rtc devices so add nodes for these. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi index b533e25

[PATCH 06/22] arm64: dts: qcom: pm8150: Add Base DTS file

2019-08-14 Thread Vinod Koul
Add base DTS file for pm8150 along with GPIOs Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150.dtsi | 41 1 file changed, 41 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8150.dtsi diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch

[PATCH 02/22] arm64: dts: qcom: sm8150-mtp: add base dts file

2019-08-14 Thread Vinod Koul
This add base DTS file for sm8150-mtp and enables boot to console Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 28 + 2 files changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/s

[PATCH 00/22] arm64: dts: qcom: sm8150: Add SM8150 DTS

2019-08-14 Thread Vinod Koul
This series adds DTS for SM8150, PMIC PM8150, PM8150B, PM8150L and the MTP for SM815. Only dependency for this series is the clk gcc dt binding [1] which is already in Clock tree upstream, so merging that is required. The patches are incremental based on features as they were developed. We can me

[PATCH 03/22] arm64: dts: qcom: sm8150: add tlmm node

2019-08-14 Thread Vinod Koul
Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index cd9fcadaeacb..5f2f21270e2d 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +

[PATCH 11/22] arm64: dts: qcom: pm8150b: Add gpio node

2019-08-14 Thread Vinod Koul
Add the gpio node found in pm8150b PMIC. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi index 846197bd65cd..2bb2384461f7 10

[PATCH 15/22] arm64: dts: qcom: sm8150-mtp: Include pmics

2019-08-14 Thread Vinod Koul
sm8150-mtp uses pm8150, pm8150b and pm8150l pmics, so include the files Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts index 8700f015c0

[PATCH 14/22] arm64: dts: qcom: pm8150l: Add gpio node

2019-08-14 Thread Vinod Koul
Add the gpio node found in pm8150l PMIC. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150l.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi index d685dac426a3..dce72bff0e7a 10

<    4   5   6   7   8   9   10   11   12   13   >