Re: [PATCH] nvme: default to 0 poll queues

2018-12-08 Thread Guenter Roeck
On 12/8/18 10:31 PM, Jens Axboe wrote: On Dec 8, 2018, at 11:22 PM, Guenter Roeck wrote: On 12/8/18 9:38 PM, Jens Axboe wrote: On 12/8/18 5:49 PM, Guenter Roeck wrote: Hi, On Mon, Nov 19, 2018 at 08:18:24AM -0700, Jens Axboe wrote: We need a better way of configuring this, and given that

[PATCH] Fix mm->owner point to a task that does not exists

2018-12-08 Thread gchen . guomin
From: guominchen Under normal circumstances,When do_exit exits, mm->owner will be updated, but when the kernel process calls unuse_mm and exits, mm->owner cannot be updated. And will point to a task that has been released. Below is my issue on vhost_net: A, B are two kernel

Re: [PATCH] jffs2: fix invocations of dbg_xattr() for dead jffs2_xattr_ref

2018-12-08 Thread Boris Brezillon
On Sat, 20 Oct 2018 19:07:53 +0800 Hou Tao wrote: > When jffs2_xattr_ref is dead, xref->ic or xref->xd will be invalid > because these fields will be reused as xref->ino or xref->xid, > so access xref->ic->ino or xref->xd->xid will lead to Oops. > > Fix the problem by checking whether or not it

Re: [RFC PATCH] hwmon/k10temp: Add Hygon Dhyana support

2018-12-08 Thread Pu Wen
On 2018/12/8 23:56, Guenter Roeck wrote: > On Sat, Dec 08, 2018 at 02:33:28PM +0800, Pu Wen wrote: >> Add support for Hygon Dhyana family 18h processor for k10temp to get the >> temperature. As Hygon Dhyana shares the same function interface with AMD >> family 17h, so add Hygon PCI Vendor ID and

[PATCH -next] input: keyboard: remove duplicated include from mtk-pmic-keys.c

2018-12-08 Thread YueHaibing
Remove duplicated include. Signed-off-by: YueHaibing --- drivers/input/keyboard/mtk-pmic-keys.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/keyboard/mtk-pmic-keys.c b/drivers/input/keyboard/mtk-pmic-keys.c index 02c67a1..5027ebb 100644 ---

Re: [PATCH] jffs2: fix invocations of dbg_xattr() for dead jffs2_xattr_ref

2018-12-08 Thread Hou Tao
ping ? On 2018/10/20 19:07, Hou Tao wrote: > When jffs2_xattr_ref is dead, xref->ic or xref->xd will be invalid > because these fields will be reused as xref->ino or xref->xid, > so access xref->ic->ino or xref->xd->xid will lead to Oops. > > Fix the problem by checking whether or not it is a

Re: [PATCH] jffs2: ensure wbuf_verify is valid before using it.

2018-12-08 Thread Hou Tao
ping ? On 2018/10/20 20:08, Hou Tao wrote: > Now MTD emulated by UBI volumn doesn't allocate wbuf_verify in > jffs2_ubivol_setup(), because UBI can do the verifcation itself, > so when CONFIG_JFFS2_FS_WBUF_VERIFY is enabled and a MTD device > emulated by UBI volumn is used, a Oops will occur as

Re: [PATCH] nvme: default to 0 poll queues

2018-12-08 Thread Jens Axboe
On Dec 8, 2018, at 11:22 PM, Guenter Roeck wrote: > >> On 12/8/18 9:38 PM, Jens Axboe wrote: >>> On 12/8/18 5:49 PM, Guenter Roeck wrote: >>> Hi, >>> On Mon, Nov 19, 2018 at 08:18:24AM -0700, Jens Axboe wrote: We need a better way of configuring this, and given that polling is

[PATCH -next] fork: remove duplicated include from fork.c

2018-12-08 Thread YueHaibing
Remove duplicated include. Signed-off-by: YueHaibing --- kernel/fork.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/fork.c b/kernel/fork.c index aaed316..ac871e9 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -77,7 +77,6 @@ #include #include #include -#include #include

[GIT PULL] dax fixes for 4.20-rc6

2018-12-08 Thread Williams, Dan J
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/dax-fixes-4.20-rc6 ...to receive the last of the known regression fixes and fallout from the Xarray conversion of the filesystem-dax implementation. On the path to debugging why the dax memory-failure

[PATCH -next] audit: remove duplicated include from audit.c

2018-12-08 Thread YueHaibing
Remove duplicated include. Signed-off-by: YueHaibing --- kernel/audit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/audit.c b/kernel/audit.c index a0a4544..632d360 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -60,7 +60,6 @@ #include #include #include -#include

Re: [PATCH v4] ftrace: support early boot function tracing

2018-12-08 Thread kbuild test robot
Hi Abderrahmane, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.20-rc5 next-20181207] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] nvme: default to 0 poll queues

2018-12-08 Thread Guenter Roeck
On 12/8/18 9:38 PM, Jens Axboe wrote: On 12/8/18 5:49 PM, Guenter Roeck wrote: Hi, On Mon, Nov 19, 2018 at 08:18:24AM -0700, Jens Axboe wrote: We need a better way of configuring this, and given that polling is (still) a bit niche, let's default to using 0 poll queues. That way we'll have the

[PATCH -next] ntp: remove duplicated include from ntp.c

2018-12-08 Thread YueHaibing
Remove duplicated include. Signed-off-by: YueHaibing --- kernel/time/ntp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index c5e0cba..bc3a3c3 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c @@ -17,7 +17,6 @@ #include #include #include

[PATCH net-next v2] netfilter: ebtables: avoid resetting limit rule state

2018-12-08 Thread Linus Lüssing
So far any changes with ebtables will reset the state of limit rules, leading to spikes in traffic. This is especially noticeable if changes are done frequently, for instance via a daemon. This patch fixes this by bailing out from (re)setting if the limit rule was initialized before. When

Re: [PATCH v3] cpuidle: big.LITTLE: add of_node_put()

2018-12-08 Thread Frank Lee
On Wed, Nov 21, 2018 at 12:14 AM Yangtao Li wrote: > > of_find_node_by_path() acquires a reference to the node > returned by it and that reference needs to be dropped by its caller. > bl_idle_init() doesn't do that, so fix it. > > Signed-off-by: Yangtao Li > --- > Changes in v3: > -update

Re: [PATCH v2 3/3] PCI/ACPI: allow ACPI to be built without PCI support

2018-12-08 Thread Andy Shevchenko
On Sat, Dec 8, 2018 at 11:46 PM Sinan Kaya wrote: > > We are compiling PCI code today for systems with ACPI and no PCI > device present. Remove the useless code and reduce the tight > dependency. > +#ifdef CONFIG_PCI > struct pci_dev *acpi_get_pci_dev(acpi_handle); > +#else > +static inline

Re: [PATCH 2/3] sbitmap: ammortize cost of clearing bits

2018-12-08 Thread Jens Axboe
On Dec 8, 2018, at 10:51 PM, Guenter Roeck wrote: > > Hi, > >> On Thu, Nov 29, 2018 at 06:12:33PM -0700, Jens Axboe wrote: >> sbitmap maintains a set of words that we use to set and clear bits, with >> each bit representing a tag for blk-mq. Even though we spread the bits >> out and maintain a

[PATCH] jffs2: make the overwritten xattr invisible after remount

2018-12-08 Thread Hou Tao
For xattr modification, we do not write a new jffs2_raw_xref with delete marker into flash, so if a xattr is modified then removed, and the old xref & xdatum are not erased by GC, after reboot or remount, the new xattr xref will be dead but the old xattr xref will be alive, and we will get the

[GIT PULL] libnvdimm fixes for 4.20-rc6

2018-12-08 Thread Williams, Dan J
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-fixes-4.20-rc6 ...to receive a regression fix for the Address Range Scrub implementation, yes another one, and support for platforms that misalign persistent memory relative to the Linux

Re: [PATCH v2] Input: i8042 fix refcount leak

2018-12-08 Thread Frank Lee
On Sun, Dec 9, 2018 at 1:40 PM Dmitry Torokhov wrote: > > On Sun, Dec 09, 2018 at 12:19:00AM -0500, Yangtao Li wrote: > > use of_node_put() to release the refcount. > > > > Signed-off-by: Yangtao Li > > --- > > drivers/input/serio/i8042-sparcio.h | 6 +- > > 1 file changed, 5 insertions(+),

[PATCH v3] Input: i8042 add i8042_is_mr_coffee() helper to avoid refconut leak

2018-12-08 Thread Yangtao Li
of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. Add i8042_is_mr_coffee() helper to avoid refconut leak. Signed-off-by: Yangtao Li --- changes in v3: -add i8042_is_mr_coffee --- drivers/input/serio/i8042-sparcio.h | 20

some to support pm_trace

2018-12-08 Thread fuyao
there is PM_TRACE for X86 use RTC register, which can debug suspend convenient. recently i want to use it with arm. is there a subsystem to support it.

Re: [PATCH v2] mmc: mediatek: add MT8183 SDIO driver support

2018-12-08 Thread Nicolas Boichat
On Tue, Nov 27, 2018 at 5:27 PM Jjian Zhou wrote: > > On Mon, 2018-11-26 at 19:47 +0800, Nicolas Boichat wrote: > > On Thu, Nov 22, 2018 at 4:03 PM Jjian Zhou wrote: > > > > > > MT8183 need SDIO driver. So it need add new code > > > to support it. > > > > The description does not seem to match

Re: [PATCH 2/3] sbitmap: ammortize cost of clearing bits

2018-12-08 Thread Guenter Roeck
Hi, On Thu, Nov 29, 2018 at 06:12:33PM -0700, Jens Axboe wrote: > sbitmap maintains a set of words that we use to set and clear bits, with > each bit representing a tag for blk-mq. Even though we spread the bits > out and maintain a hint cache, one particular bit allocated will end up > being

Re: [PATCH v2] Input: i8042 fix refcount leak

2018-12-08 Thread Dmitry Torokhov
On Sun, Dec 09, 2018 at 12:19:00AM -0500, Yangtao Li wrote: > use of_node_put() to release the refcount. > > Signed-off-by: Yangtao Li > --- > drivers/input/serio/i8042-sparcio.h | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/input/serio/i8042-sparcio.h

Re: [PATCH] nvme: default to 0 poll queues

2018-12-08 Thread Jens Axboe
On 12/8/18 5:49 PM, Guenter Roeck wrote: > Hi, > > On Mon, Nov 19, 2018 at 08:18:24AM -0700, Jens Axboe wrote: >> We need a better way of configuring this, and given that polling is >> (still) a bit niche, let's default to using 0 poll queues. That way >> we'll have the same read/write/poll

Re: [PATCH] net/mlx4_core: Correctly set PFC param if global pause is turned off.

2018-12-08 Thread David Miller
From: Tarick Bedeir Date: Fri, 7 Dec 2018 00:30:26 -0800 > rx_ppp and tx_ppp can be set between 0 and 255, so don't clamp to 1. > > Fixes: 6e8814ceb7e8 ("net/mlx4_en: Fix mixed PFC and Global pause user > control requests") > Signed-off-by: Tarick Bedeir Applied and queued up for -stable.

Re: [PATCH] Input: sparcspkr add of_node_put()

2018-12-08 Thread Frank Lee
ping

Re: [PATCH] Input: i8042 add of_node_put()

2018-12-08 Thread Frank Lee
On Fri, Nov 30, 2018 at 2:37 AM Dmitry Torokhov wrote: > > Hi Yangtao, > > On Wed, Nov 21, 2018 at 09:35:13AM -0500, Yangtao Li wrote: > > use of_node_put() to release the refcount. > > > > Signed-off-by: Yangtao Li > > --- > > drivers/input/serio/i8042-sparcio.h | 24 +--- >

[PATCH v2] Input: i8042 fix refcount leak

2018-12-08 Thread Yangtao Li
use of_node_put() to release the refcount. Signed-off-by: Yangtao Li --- drivers/input/serio/i8042-sparcio.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/input/serio/i8042-sparcio.h b/drivers/input/serio/i8042-sparcio.h index 796289846204..cc6777b4c4ea

Re: [PATCH v12 0/7] Introduce on-chip interconnect API

2018-12-08 Thread Georgi Djakov
Hi Olof, On 9.12.18 2:33, Olof Johansson wrote: > Hi Georgi, > > On Sat, Dec 8, 2018 at 9:02 AM Georgi Djakov wrote: >> >> Modern SoCs have multiple processors and various dedicated cores (video, gpu, >> graphics, modem). These cores are talking to each other and can generate a >> lot of data

Re: [PATCH v3 1/2] dmaengine: 8250_mtk_dma: add Mediatek uart DMA support

2018-12-08 Thread kbuild test robot
/commits/Long-Cheng/add-uart-DMA-function/20181208-201933 config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

Re: [PATCH 6/8] Input: dt-bindings: tm2-touchkey: Document new keycodes property

2018-12-08 Thread Dmitry Torokhov
On Fri, Dec 07, 2018 at 11:58:09AM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > Document new optional property for setting custom keycodes. > > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel > --- > .../devicetree/bindings/input/cypress,tm2-touchkey.txt| 4

Re: [PATCH v3 1/4] mfd: stmpe: Move ADC related defines to header of mfd

2018-12-08 Thread Dmitry Torokhov
On Wed, Nov 28, 2018 at 09:15:32AM +, Lee Jones wrote: > On Fri, 23 Nov 2018, Philippe Schenker wrote: > > > Move defines that are ADC related to the header of the overlying mfd, > > so they can be used from multiple sub-devices. > > > > Signed-off-by: Philippe Schenker > > --- > > > >

[PATCH v2 1/7] integrity: Define a trusted platform keyring

2018-12-08 Thread Nayna Jain
On secure boot enabled systems, a verified kernel may need to kexec additional kernels. For example, it may be used as a bootloader needing to kexec a target kernel or it may need to kexec a crashdump kernel. In such cases, it may want to verify the signature of the next kernel image. It is

Re: [PATCH RFC 1/2] input: add official Raspberry Pi's 7" touchscreen driver

2018-12-08 Thread Dmitry Torokhov
Hi Nicolas, On Wed, Dec 05, 2018 at 11:09:03PM +0100, Nicolas Saenz Julienne wrote: > Adds support to Raspberry Pi's 7" touchscreen device. Instead of using > a conventional bus all information is copied into a memory mapped area > by RPi's VC4 firmware. > > Based on the driver found in RPi's

Re: Official Linux system wrapper library?

2018-12-08 Thread Randy Dunlap
On 11/12/18 8:08 AM, Jonathan Corbet wrote: > On Sun, 11 Nov 2018 18:36:30 -0800 > Greg KH wrote: > >> We should have a checklist. That's a great idea. Now to find someone >> to write it... :) > > Do we think the LPC session might have the right people to create such a > thing? If so, I can

Re: [PATCH v3 10/10] drm/bridge: cdns: Convert to phy framework

2018-12-08 Thread kbuild test robot
-MIPI-D-PHY-mode/20181208-034527 base: https://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git next config: i386-randconfig-s0-12051035 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make

Re: [PATCH] firmware: ti_sci: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-12-08 Thread Santosh Shilimkar
On 12/8/2018 8:04 AM, Nishanth Menon wrote: On 09:05-20181122, Yangtao Li wrote: Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li Thanks for the same and sorry for responding so late. [...] Santosh, could you pick this up? maybe for next rev or so?

Re: [PATCH v4 1/3] Input: atmel_mxt_ts: Add support for optional regulators

2018-12-08 Thread Dmitry Torokhov
On Fri, Dec 07, 2018 at 03:28:55PM +0100, Paweł Chmiel wrote: > This patch adds optional regulators, which can be used to power > up touchscreen. After enabling regulators, we need to wait 150msec. > This value is taken from official driver. > > It was tested on Samsung Galaxy i9000 (based on

Re: [PATCH 3/8] Input: tm2-touchkey: Use predefined device name

2018-12-08 Thread Dmitry Torokhov
On Fri, Dec 07, 2018 at 11:58:06AM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > Purely a cosmetic fix, using the names defined earlier If we decide to keep different names please fold into first patch. > > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel > --- >

Re: [PATCH 1/8] Input: tm2-touchkey: Add support for midas touchkey

2018-12-08 Thread Dmitry Torokhov
Hi Paweł, On Fri, Dec 07, 2018 at 11:58:04AM +0100, Paweł Chmiel wrote: > From: Simon Shields > > The touchkey on midas boards is almost identical. > The only real difference is that it uses the same register for both > keycode and base. > > Signed-off-by: Simon Shields > Signed-off-by: Paweł

Re: [PATCH RESEND] Input: synaptics - enable RMI on ThinkPad T560

2018-12-08 Thread Dmitry Torokhov
On Sat, Dec 08, 2018 at 10:44:26PM +0100, Yussuf Khalil wrote: > Before commit 7fd6d98b89f3 ("i2c: i801: Allow ACPI AML access I/O > ports not reserved for SMBus"), enabling RMI on the T560 would cause > the touchpad to stop working after resuming from suspend. Now that > this issue is fixed, RMI

[PATCH v2] Compiler Attributes: don't pollute userspace with macro definitions

2018-12-08 Thread Xiaozhou Liu
Macros 'inline' and '__gnu_inline' used to be defined within __KERNEL__. Commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive") had them exposed to userspace (unintentionally). Then commit a3f8a30f3f00 ("Compiler Attributes: use feature checks instead of version

Re: [PATCH v9 3/4] dt-bindings: pps: pps-gpio PPS ECHO implementation

2018-12-08 Thread tom burkart
Quoting Rob Herring : On Mon, Nov 26, 2018 at 10:06 PM tom burkart wrote: Hi Rob, Quoting Rob Herring : > On Thu, Nov 22, 2018 at 3:49 AM Tom Burkart wrote: >> >> This patch implements the device tree changes required for the pps >> echo functionality for pps-gpio, that sysfs claims is

Re: [PATCH v12] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2018-12-08 Thread kbuild test robot
Hi Elie, I love your patch! Perhaps something to improve: [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on v4.20-rc5 next-20181207] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: perf: perf_fuzzer triggers GPF in perf_prepare_sample

2018-12-08 Thread Vince Weaver
On Thu, 6 Dec 2018, Jiri Olsa wrote: > On Thu, Dec 06, 2018 at 10:35:28AM -0500, Vince Weaver wrote: > > On Wed, 5 Dec 2018, Jiri Olsa wrote: > > Maybe it is a corruption issue. I had applied my own debug patch that > > would dump some info if data->callchain was NULL. > > > > But my debug

Re: [PATCH bpf-next 1/3] bpf: pass struct btf pointer to the map_check_btf() callback

2018-12-08 Thread Martin Lau
On Fri, Dec 07, 2018 at 04:53:13PM -0800, Roman Gushchin wrote: > If key_type or value_type are of non-trivial data types > (e.g. structure or typedef), it's not possible to check them without > the additional information, which can't be obtained without a pointer > to the btf structure. > > So,

Re: [PATCH bpf-next 2/3] bpf: add bpffs pretty print for cgroup local storage maps

2018-12-08 Thread Martin Lau
On Fri, Dec 07, 2018 at 04:53:14PM -0800, Roman Gushchin wrote: > Implement bpffs pretty printing for cgroup local storage maps > (both shared and per-cpu). > Output example (captured for tools/testing/selftests/bpf/netcnt_prog.c): > > Shared: > $ cat /sys/fs/bpf/map_2 > # WARNING!! The

Re: [PATCH RFC 1/1] swiotlb: add debugfs to track swiotlb buffer usage

2018-12-08 Thread Dongli Zhang
Hi Robin, On 12/07/2018 09:17 PM, Robin Murphy wrote: > On 07/12/2018 05:49, Dongli Zhang wrote: >> >> >> On 12/07/2018 12:12 AM, Joe Jin wrote: >>> Hi Dongli, >>> >>> Maybe move d_swiotlb_usage declare into swiotlb_create_debugfs(): >> >> I assume the call of swiotlb_tbl_map_single() might be

Re: [PATCH v3] code-of-conduct: Remove explicit list of discrimination factors

2018-12-08 Thread Michael Tirado
On Mon, Dec 3, 2018 at 4:52 PM Linus Torvalds wrote: > > On Mon, Dec 3, 2018 at 4:15 AM Pavel Machek wrote: > > > > Linus, I don't think Greg is doing good job maintaining this. Can you > > take the patch? > > (Or explain what is going on here, because I don't > > think public has full story). >

Re: [PATCH] nvme: default to 0 poll queues

2018-12-08 Thread Guenter Roeck
Hi, On Mon, Nov 19, 2018 at 08:18:24AM -0700, Jens Axboe wrote: > We need a better way of configuring this, and given that polling is > (still) a bit niche, let's default to using 0 poll queues. That way > we'll have the same read/write/poll behavior as 4.20, and users that > want to test/use

Re: [PATCH v12 0/7] Introduce on-chip interconnect API

2018-12-08 Thread Olof Johansson
Hi Georgi, On Sat, Dec 8, 2018 at 9:02 AM Georgi Djakov wrote: > > Modern SoCs have multiple processors and various dedicated cores (video, gpu, > graphics, modem). These cores are talking to each other and can generate a > lot of data flowing through the on-chip interconnects. These

[PATCH RESEND] Input: synaptics - enable RMI on ThinkPad T560

2018-12-08 Thread Yussuf Khalil
Before commit 7fd6d98b89f3 ("i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus"), enabling RMI on the T560 would cause the touchpad to stop working after resuming from suspend. Now that this issue is fixed, RMI can be enabled safely and works fine. Reviewed-by: Benjamin Tissoires

[PATCH RESEND] Input: synaptics - enable RMI on ThinkPad T560

2018-12-08 Thread Yussuf Khalil
Before commit 7fd6d98b89f3 ("i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus"), enabling RMI on the T560 would cause the touchpad to stop working after resuming from suspend. Now that this issue is fixed, RMI can be enabled safely and works fine. Reviewed-by: Benjamin Tissoires

[PATCH v2 2/3] ACPI / OSL: Allow PCI to be disabled

2018-12-08 Thread Sinan Kaya
Getting ready to allow PCI to be disabled with ACPI enabled. Stub out calls that depend on PCI. Signed-off-by: Sinan Kaya --- drivers/acpi/osl.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index b48874b8e1ea..0d3ed659cfe8 100644 ---

[PATCH v2 1/3] ACPI: Allow PCI to be disabled for reboot

2018-12-08 Thread Sinan Kaya
Make PCI reboot conditional on PCI support being present on the kernel configuration. Signed-off-by: Sinan Kaya --- drivers/acpi/reboot.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index

Re: [PATCH v4] signal: add taskfd_send_signal() syscall

2018-12-08 Thread kbuild test robot
Hi Christian, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.20-rc5] [cannot apply to next-20181207] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v2 2/3] ACPI / OSL: Allow PCI to be disabled

2018-12-08 Thread Sinan Kaya
Getting ready to allow PCI to be disabled with ACPI enabled. Stub out calls that depend on PCI. Signed-off-by: Sinan Kaya --- drivers/acpi/osl.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index b48874b8e1ea..0d3ed659cfe8 100644 ---

[PATCH v2 1/3] ACPI: Allow PCI to be disabled for reboot

2018-12-08 Thread Sinan Kaya
Make PCI reboot conditional on PCI support being present on the kernel configuration. Signed-off-by: Sinan Kaya --- drivers/acpi/reboot.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index

Re: [PATCH v4] signal: add taskfd_send_signal() syscall

2018-12-08 Thread kbuild test robot
Hi Christian, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.20-rc5] [cannot apply to next-20181207] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v2 3/3] PCI/ACPI: allow ACPI to be built without PCI support

2018-12-08 Thread Sinan Kaya
We are compiling PCI code today for systems with ACPI and no PCI device present. Remove the useless code and reduce the tight dependency. Signed-off-by: Sinan Kaya --- arch/x86/include/asm/pci_x86.h | 7 +++ drivers/acpi/Kconfig | 1 - drivers/acpi/Makefile | 2 +-

[PATCH v2 3/3] PCI/ACPI: allow ACPI to be built without PCI support

2018-12-08 Thread Sinan Kaya
We are compiling PCI code today for systems with ACPI and no PCI device present. Remove the useless code and reduce the tight dependency. Signed-off-by: Sinan Kaya --- arch/x86/include/asm/pci_x86.h | 7 +++ drivers/acpi/Kconfig | 1 - drivers/acpi/Makefile | 2 +-

[GIT PULL] Thermal-SoC management fixes for v4.20-rc6

2018-12-08 Thread Eduardo Valentin
Hello Linus, Consider pulling the following patches containing fixes on thermal soc. The following changes since commit 0072a0c14d5b7cb72c611d396f143f5dcd73ebe2: Merge tag 'media/v4.20-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media (2018-12-03 11:29:20 -0800) are

[GIT PULL] Thermal-SoC management fixes for v4.20-rc6

2018-12-08 Thread Eduardo Valentin
Hello Linus, Consider pulling the following patches containing fixes on thermal soc. The following changes since commit 0072a0c14d5b7cb72c611d396f143f5dcd73ebe2: Merge tag 'media/v4.20-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media (2018-12-03 11:29:20 -0800) are

Re: dma_declare_coherent_memory on main memory

2018-12-08 Thread Rob Landley
On 12/7/18 9:34 AM, Christoph Hellwig wrote: > Hi all, > > the ARM imx27/31 ports and various sh boards use > dma_declare_coherent_memory on main memory taken from the memblock > allocator. > > Is there any good reason these couldn't be switched to CMA areas? > Getting rid of these magic

Re: [PATCH 0/3] Add devicetree support for ad5933

2018-12-08 Thread Greg KH
On Sat, Dec 08, 2018 at 04:56:45PM -0200, Marcelo Schmitt wrote: > Parts of this work came from contributions of Alexandru Ardelean and > Dragos Bogdan, I and Gabriel would like to thank for the insights > provided by their previous patches. Maybe it would be the case to add > them as co-authors

Re: [PATCH 0/3] Add devicetree support for ad5933

2018-12-08 Thread Greg KH
On Sat, Dec 08, 2018 at 04:56:45PM -0200, Marcelo Schmitt wrote: > Parts of this work came from contributions of Alexandru Ardelean and > Dragos Bogdan, I and Gabriel would like to thank for the insights > provided by their previous patches. Maybe it would be the case to add > them as co-authors

[PATCH v2 3/7] efi: Add EFI signature data types

2018-12-08 Thread Nayna Jain
From: Dave Howells Add the data types that are used for containing hashes, keys and certificates for cryptographic verification along with their corresponding type GUIDs. Signed-off-by: David Howells Acked-by: Nayna Jain Acked-by: Serge Hallyn --- Changelog: v0: - No changes

[PATCH v2 4/7] efi: Add an EFI signature blob parser

2018-12-08 Thread Nayna Jain
From: Dave Howells Add a function to parse an EFI signature blob looking for elements of interest. A list is made up of a series of sublists, where all the elements in a sublist are of the same type, but sublists can be of different types. For each sublist encountered, the function pointed to

[PATCH v2 6/7] efi: Allow the "db" UEFI variable to be suppressed

2018-12-08 Thread Nayna Jain
From: Josh Boyer If a user tells shim to not use the certs/hashes in the UEFI db variable for verification purposes, shim will set a UEFI variable called MokIgnoreDB. Have the uefi import code look for this and ignore the db variable if it is found. Signed-off-by: Josh Boyer Signed-off-by:

[PATCH v2 5/7] efi: Import certificates from UEFI Secure Boot

2018-12-08 Thread Nayna Jain
From: Josh Boyer New Patch Description: == Secure Boot stores a list of allowed certificates in the 'db' variable. This patch imports those certificates into the platform keyring. The shim UEFI bootloader has a similar certificate list stored in the 'MokListRT' variable. We

[PATCH v2 7/7] ima: Support platform keyring for kernel appraisal

2018-12-08 Thread Nayna Jain
On secure boot enabled systems, the bootloader verifies the kernel image and possibly the initramfs signatures based on a set of keys. A soft reboot(kexec) of the system, with the same kernel image and initramfs, requires access to the original keys to verify the signatures. This patch allows

[PATCH v2 2/7] integrity: Load certs to the platform keyring

2018-12-08 Thread Nayna Jain
The patch refactors integrity_load_x509(), making it a wrapper for a new function named integrity_add_key(). This patch also defines a new function named integrity_load_cert() for loading the platform keys. Signed-off-by: Nayna Jain Reviewed-by: Mimi Zohar Acked-by: Serge Hallyn ---

[PATCH v2 0/7] add platform/firmware keys support for kernel verification by IMA

2018-12-08 Thread Nayna Jain
On secure boot enabled systems, a verified kernel may need to kexec additional kernels. For example, it may be used as a bootloader needing to kexec a target kernel or it may need to kexec a crashdump kernel. In such cases, it may want to verify the signature of the next kernel image. It is

[PATCH v2 1/7] integrity: Define a trusted platform keyring

2018-12-08 Thread Nayna Jain
On secure boot enabled systems, a verified kernel may need to kexec additional kernels. For example, it may be used as a bootloader needing to kexec a target kernel or it may need to kexec a crashdump kernel. In such cases, it may want to verify the signature of the next kernel image. It is

Re: [PATCH 2/2] dmaengine: qcom_hidma: assign channel cookie correctly

2018-12-08 Thread Sinan Kaya
On 12/6/2018 11:29 PM, Shunyong Yang wrote: When dma_cookie_complete() is called in hidma_process_completed(), dma_cookie_status() will return DMA_COMPLETE in hidma_tx_status(). Then, hidma_txn_is_success() will be called to use channel cookie mchan->last_success to do additional DMA status

Re: [PATCH 2/2] dmaengine: qcom_hidma: assign channel cookie correctly

2018-12-08 Thread Sinan Kaya
On 12/6/2018 11:29 PM, Shunyong Yang wrote: When dma_cookie_complete() is called in hidma_process_completed(), dma_cookie_status() will return DMA_COMPLETE in hidma_tx_status(). Then, hidma_txn_is_success() will be called to use channel cookie mchan->last_success to do additional DMA status

Re: [PATCH 4/4] RISC-V: Fix non-smp kernel boot on SMP systems

2018-12-08 Thread Palmer Dabbelt
On Fri, 07 Dec 2018 09:20:57 PST (-0800), a...@brainfault.org wrote: On Fri, 7 Dec, 2018, 10:30 PM Palmer Dabbelt On Mon, 03 Dec 2018 12:57:31 PST (-0800), atish.pa...@wdc.com wrote: > Currently, clocksource registration happens for an invalid cpu > for non-smp kernels. This lead to kernel

Re: [PATCH 4/4] RISC-V: Fix non-smp kernel boot on SMP systems

2018-12-08 Thread Palmer Dabbelt
On Fri, 07 Dec 2018 09:20:57 PST (-0800), a...@brainfault.org wrote: On Fri, 7 Dec, 2018, 10:30 PM Palmer Dabbelt On Mon, 03 Dec 2018 12:57:31 PST (-0800), atish.pa...@wdc.com wrote: > Currently, clocksource registration happens for an invalid cpu > for non-smp kernels. This lead to kernel

Re: [PATCH v2 2/3] iio: chemical: add support for Sensirion SPS30 sensor

2018-12-08 Thread Tomasz Duszynski
On Sat, Dec 08, 2018 at 03:55:26PM +, Jonathan Cameron wrote: > On Thu, 6 Dec 2018 22:04:42 +0100 > Tomasz Duszynski wrote: > > > Add support for Sensirion SPS30 particulate matter sensor. > > > > Signed-off-by: Tomasz Duszynski > > Just one comment inline and if that is all anyone comes up

Re: [PATCH v2 2/3] iio: chemical: add support for Sensirion SPS30 sensor

2018-12-08 Thread Tomasz Duszynski
On Sat, Dec 08, 2018 at 03:55:26PM +, Jonathan Cameron wrote: > On Thu, 6 Dec 2018 22:04:42 +0100 > Tomasz Duszynski wrote: > > > Add support for Sensirion SPS30 particulate matter sensor. > > > > Signed-off-by: Tomasz Duszynski > > Just one comment inline and if that is all anyone comes up

Re: [PATCH v3 2/9] arch/arm/mm/dma-mapping.c: Convert to use vm_insert_range

2018-12-08 Thread Souptick Joarder
Hi Robin, On Fri, Dec 7, 2018 at 12:07 AM Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > memory to user vma. > > Signed-off-by: Souptick Joarder > --- > arch/arm/mm/dma-mapping.c | 21 +++-- > 1 file changed, 7 insertions(+), 14

Re: [PATCH v3 2/9] arch/arm/mm/dma-mapping.c: Convert to use vm_insert_range

2018-12-08 Thread Souptick Joarder
Hi Robin, On Fri, Dec 7, 2018 at 12:07 AM Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > memory to user vma. > > Signed-off-by: Souptick Joarder > --- > arch/arm/mm/dma-mapping.c | 21 +++-- > 1 file changed, 7 insertions(+), 14

Re: [GIT PULL] asm-generic: bugfix for asm/unistd.h

2018-12-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Dec 2018 17:01:30 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git > tags/asm-generic-4.20 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8214bdf7d3e69050221aad19ec28826ed6cb4934 Thank you! --

Re: [GIT PULL] clk fixes for v4.20-rc6

2018-12-08 Thread pr-tracker-bot
The pull request you sent on Fri, 7 Dec 2018 16:03:14 -0800: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-fixes-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/570c9139c358d45ab4d52fb0c4e478e2bd7123a2 Thank you! --

Re: [GIT PULL] xfs: fixes for v4.20-rc6

2018-12-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Dec 2018 08:36:39 -0800: > git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-4.20-fixes-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f896adc42d5399eb68c9900bd4fd471ccea895e4 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] asm-generic: bugfix for asm/unistd.h

2018-12-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Dec 2018 17:01:30 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git > tags/asm-generic-4.20 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8214bdf7d3e69050221aad19ec28826ed6cb4934 Thank you! --

Re: [GIT PULL] clk fixes for v4.20-rc6

2018-12-08 Thread pr-tracker-bot
The pull request you sent on Fri, 7 Dec 2018 16:03:14 -0800: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-fixes-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/570c9139c358d45ab4d52fb0c4e478e2bd7123a2 Thank you! --

Re: [GIT PULL] xfs: fixes for v4.20-rc6

2018-12-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Dec 2018 08:36:39 -0800: > git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-4.20-fixes-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f896adc42d5399eb68c9900bd4fd471ccea895e4 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] xfs: fixes for v4.20-rc6

2018-12-08 Thread Linus Torvalds
On Sat, Dec 8, 2018 at 8:36 AM Darrick J. Wong wrote: > > Finally, the most important fix is to the pipe splicing code (aka the > generic copy_file_range fallback) to avoid pointless short directio > reads by only asking the filesystem for as much data as there are > available pages in the pipe

Re: [GIT PULL] xfs: fixes for v4.20-rc6

2018-12-08 Thread Linus Torvalds
On Sat, Dec 8, 2018 at 8:36 AM Darrick J. Wong wrote: > > Finally, the most important fix is to the pipe splicing code (aka the > generic copy_file_range fallback) to avoid pointless short directio > reads by only asking the filesystem for as much data as there are > available pages in the pipe

Re: [PATCH 1/2] um: remove -fno-unit-at-a-time workaround for pre-4.0 GCC

2018-12-08 Thread Masahiro Yamada
Hi Richard, On Sat, Dec 8, 2018 at 5:55 PM Richard Weinberger wrote: > > Am Samstag, 8. Dezember 2018, 07:35:47 CET schrieb Masahiro Yamada: > > x86 maintainers, > > > > > > Ping. > > I thought you carry this via your kbuild tree. > That said, I can merge it also via the um tree. > x86 is of

Re: [PATCH 2/2] x86, powerpc: remove -funit-at-a-time compiler option entirely

2018-12-08 Thread Masahiro Yamada
Hi Borislav, On Sat, Dec 8, 2018 at 8:34 PM Borislav Petkov wrote: > > On Sat, Dec 08, 2018 at 03:36:52PM +0900, Masahiro Yamada wrote: > > x86 maintainers, > > > > Ping. > > You got the required ACKs. If you want me to carry this one and the > UML one through the tip tree, lemme know. Or you

RE: [PATCH v7 09/10] usb: dwc3: Check for IOC/LST bit in both event->status and TRB->ctrl fields

2018-12-08 Thread Anurag Kumar Vulisha
HI Felipe, >-Original Message- >From: Felipe Balbi [mailto:ba...@kernel.org] >Sent: Friday, December 07, 2018 11:42 AM >To: Anurag Kumar Vulisha ; Greg Kroah-Hartman >; Shuah Khan ; Alan Stern >; Johan Hovold ; Jaejoong Kim >; Benjamin Herrenschmidt ; >Roger Quadros ; Manu Gautam ;

Re: [PATCH 0/3] Add devicetree support for ad5933

2018-12-08 Thread Marcelo Schmitt
Parts of this work came from contributions of Alexandru Ardelean and Dragos Bogdan, I and Gabriel would like to thank for the insights provided by their previous patches. Maybe it would be the case to add them as co-authors of this patch set. We also wanted to thank Jhonatan Cameron for giving us

Re: [PATCH 0/3] Add devicetree support for ad5933

2018-12-08 Thread Marcelo Schmitt
Parts of this work came from contributions of Alexandru Ardelean and Dragos Bogdan, I and Gabriel would like to thank for the insights provided by their previous patches. Maybe it would be the case to add them as co-authors of this patch set. We also wanted to thank Jhonatan Cameron for giving us

Re: [PATCH v4 04/10] sched/fair: Dynamically update cfs_overload_cpus

2018-12-08 Thread Valentin Schneider
On 07/12/2018 22:35, Steven Sistare wrote: [...] >>> @@ -4468,8 +4495,12 @@ static void throttle_cfs_rq(struct cfs_rq *cfs_rq) >>> dequeue = 0; >>> } >>> >>> - if (!se) >>> + if (!se) { >>> sub_nr_running(rq, task_delta); >>> + if (prev_nr >= 2

Re: [PATCH v4 04/10] sched/fair: Dynamically update cfs_overload_cpus

2018-12-08 Thread Valentin Schneider
On 07/12/2018 22:35, Steven Sistare wrote: [...] >>> @@ -4468,8 +4495,12 @@ static void throttle_cfs_rq(struct cfs_rq *cfs_rq) >>> dequeue = 0; >>> } >>> >>> - if (!se) >>> + if (!se) { >>> sub_nr_running(rq, task_delta); >>> + if (prev_nr >= 2

  1   2   3   4   >