Re: [PATCH] gpio: it87: add support for IT8718F Super I/O.

2018-08-10 Thread Linus Walleij
On Wed, Aug 8, 2018 at 10:46 AM Ivan Podovalov wrote: > The DIO connector on the WAFER-945GSE is interfaced to GPIO ports > on the ITE IT8718F Super I/O chipset. From the datasheet of ITE IT8718F, > the GPIO interface is identical to IT8728, so just add it > to the same case as the other chip. >

Problems with uio_pci_generic in v4.18-rc8

2018-08-10 Thread Harris, James R
Hi,   Using Linux kernel v4.18-rc8, I am unable to bind a PCI device to uio_pci_generic.  This works fine with v4.18-rc4.  dmesg shows:   [  336.221585] genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 33 [  336.221681] uio_pci_generic: probe of :04:00.0 failed with

Re: [PATCH] gpio: it87: add support for IT8718F Super I/O.

2018-08-10 Thread Linus Walleij
On Wed, Aug 8, 2018 at 10:46 AM Ivan Podovalov wrote: > The DIO connector on the WAFER-945GSE is interfaced to GPIO ports > on the ITE IT8718F Super I/O chipset. From the datasheet of ITE IT8718F, > the GPIO interface is identical to IT8728, so just add it > to the same case as the other chip. >

Problems with uio_pci_generic in v4.18-rc8

2018-08-10 Thread Harris, James R
Hi,   Using Linux kernel v4.18-rc8, I am unable to bind a PCI device to uio_pci_generic.  This works fine with v4.18-rc4.  dmesg shows:   [  336.221585] genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 33 [  336.221681] uio_pci_generic: probe of :04:00.0 failed with

Re: [PATCH 1/3] pinctrl: madera: Set is_generic

2018-08-10 Thread Linus Walleij
On Tue, Aug 7, 2018 at 11:32 AM Richard Fitzgerald wrote: > We are using the generic pin configuration interface so > we can set is_generic. > > Signed-off-by: Richard Fitzgerald Acked-by: Linus Walleij For these patches. This is not yet in my tree, but I can apply this and the others after

Re: [PATCH 1/3] pinctrl: madera: Set is_generic

2018-08-10 Thread Linus Walleij
On Tue, Aug 7, 2018 at 11:32 AM Richard Fitzgerald wrote: > We are using the generic pin configuration interface so > we can set is_generic. > > Signed-off-by: Richard Fitzgerald Acked-by: Linus Walleij For these patches. This is not yet in my tree, but I can apply this and the others after

Re: [PATCH] pinctrl: uniphier: drop meaningless pin from SD1 pin-mux of Pro4

2018-08-10 Thread Linus Walleij
On Tue, Aug 7, 2018 at 4:50 AM Masahiro Yamada wrote: > The pin 327 was supposed to be used as a voltage control line for the > SD card regulator, but the SD card port1 does not support UHS-I. It > only supports 3.3V signaling, hence this pin is pointless. > > Just a note about the background.

Re: [PATCH] pinctrl: uniphier: drop meaningless pin from SD1 pin-mux of Pro4

2018-08-10 Thread Linus Walleij
On Tue, Aug 7, 2018 at 4:50 AM Masahiro Yamada wrote: > The pin 327 was supposed to be used as a voltage control line for the > SD card regulator, but the SD card port1 does not support UHS-I. It > only supports 3.3V signaling, hence this pin is pointless. > > Just a note about the background.

Re: [PATCH] pinctrl: samsung: Remove duplicated "wakeup" in printk

2018-08-10 Thread Linus Walleij
On Mon, Aug 6, 2018 at 6:33 PM Krzysztof Kozlowski wrote: > Double "wakeup" appears in printed message. > > Signed-off-by: Krzysztof Kozlowski Patch applied. Yours, Linus Walleij

Re: [PATCH] pinctrl: samsung: Remove duplicated "wakeup" in printk

2018-08-10 Thread Linus Walleij
On Mon, Aug 6, 2018 at 6:33 PM Krzysztof Kozlowski wrote: > Double "wakeup" appears in printed message. > > Signed-off-by: Krzysztof Kozlowski Patch applied. Yours, Linus Walleij

Re: [RFC] RISC-V: Fix !CONFIG_SMP compilation error

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 11:31:08 PDT (-0700), atish.pa...@wdc.com wrote: On 8/6/18 4:17 PM, Atish Patra wrote: Enabling both CONFIG_PERF_EVENTS without !CONFIG_SMP generates following compilation error. arch/riscv/include/asm/perf_event.h:80:2: error: expected specifier-qualifier-list before

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 11:47:15 PDT (-0700), li...@roeck-us.net wrote: On Fri, Aug 10, 2018 at 11:27:37AM -0700, Palmer Dabbelt wrote: On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: >On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: >>This would be necessary to

Re: [RFC] RISC-V: Fix !CONFIG_SMP compilation error

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 11:31:08 PDT (-0700), atish.pa...@wdc.com wrote: On 8/6/18 4:17 PM, Atish Patra wrote: Enabling both CONFIG_PERF_EVENTS without !CONFIG_SMP generates following compilation error. arch/riscv/include/asm/perf_event.h:80:2: error: expected specifier-qualifier-list before

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 11:47:15 PDT (-0700), li...@roeck-us.net wrote: On Fri, Aug 10, 2018 at 11:27:37AM -0700, Palmer Dabbelt wrote: On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: >On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: >>This would be necessary to

Re: [PATCH 3/3] arm64: reliable stacktraces

2018-08-10 Thread Josh Poimboeuf
On Fri, Aug 10, 2018 at 06:03:11PM +0200, Torsten Duwe wrote: > This is more an RFC in the original sense: is this basically > the correct approach? (as I had to tweak the API a bit). > > In particular the code does not detect interrupts and exception > frames, and does not yet check whether the

Re: [PATCH 3/3] arm64: reliable stacktraces

2018-08-10 Thread Josh Poimboeuf
On Fri, Aug 10, 2018 at 06:03:11PM +0200, Torsten Duwe wrote: > This is more an RFC in the original sense: is this basically > the correct approach? (as I had to tweak the API a bit). > > In particular the code does not detect interrupts and exception > frames, and does not yet check whether the

[Regression] libata: sata_down_spd_limit should return if driver has not recorded sstatus speed

2018-08-10 Thread Joseph Salisbury
Hi David, A kernel bug report was opened against Ubuntu [0].  This bug is a regression introduced in v4.15-rc4.  The following commit was identified as the cause of the regression:     2dc0b46b5ea3 ("libata: sata_down_spd_limit should return if driver has not recorded sstatus speed") I was

[Regression] libata: sata_down_spd_limit should return if driver has not recorded sstatus speed

2018-08-10 Thread Joseph Salisbury
Hi David, A kernel bug report was opened against Ubuntu [0].  This bug is a regression introduced in v4.15-rc4.  The following commit was identified as the cause of the regression:     2dc0b46b5ea3 ("libata: sata_down_spd_limit should return if driver has not recorded sstatus speed") I was

Re: [PATCH v8 09/26] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-08-10 Thread Lina Iyer
On Thu, Aug 09 2018 at 02:16 -0600, Rafael J. Wysocki wrote: On Wed, Aug 8, 2018 at 8:02 PM, Lina Iyer wrote: On Wed, Aug 08 2018 at 04:56 -0600, Lorenzo Pieralisi wrote: On Mon, Aug 06, 2018 at 11:37:55AM +0200, Rafael J. Wysocki wrote: On Fri, Aug 3, 2018 at 1:42 PM, Ulf Hansson wrote:

Re: [PATCH v8 09/26] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-08-10 Thread Lina Iyer
On Thu, Aug 09 2018 at 02:16 -0600, Rafael J. Wysocki wrote: On Wed, Aug 8, 2018 at 8:02 PM, Lina Iyer wrote: On Wed, Aug 08 2018 at 04:56 -0600, Lorenzo Pieralisi wrote: On Mon, Aug 06, 2018 at 11:37:55AM +0200, Rafael J. Wysocki wrote: On Fri, Aug 3, 2018 at 1:42 PM, Ulf Hansson wrote:

Re: [PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread Julia Lawall
On Fri, 10 Aug 2018, efre...@linux.com wrote: > From: Denis Efremov > > If coccicheck fails, it should return an error code distinct from zero > to signal about an internal problem. Current code instead of exiting with > the tool's error code returns the error code of 'echo "coccicheck

Re: [PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread Julia Lawall
On Fri, 10 Aug 2018, efre...@linux.com wrote: > From: Denis Efremov > > If coccicheck fails, it should return an error code distinct from zero > to signal about an internal problem. Current code instead of exiting with > the tool's error code returns the error code of 'echo "coccicheck

[PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread efremov
From: Denis Efremov If coccicheck fails, it should return an error code distinct from zero to signal about an internal problem. Current code instead of exiting with the tool's error code returns the error code of 'echo "coccicheck failed"' which is almost always equals to zero, thus failing the

[PATCH v2] coccicheck: return proper error code on fail

2018-08-10 Thread efremov
From: Denis Efremov If coccicheck fails, it should return an error code distinct from zero to signal about an internal problem. Current code instead of exiting with the tool's error code returns the error code of 'echo "coccicheck failed"' which is almost always equals to zero, thus failing the

Re: [PATCH RFC 1/7] perf/core, x86: Add PERF_SAMPLE_PAGE_SIZE

2018-08-10 Thread Stephane Eranian
On Fri, Aug 10, 2018 at 6:37 AM wrote: > > From: Kan Liang > > Current perf can report both virtual address and physical address, but > it doesn't report page size. Users have no idea how large the utilized > page is. They cannot promote/demote large pages to optimize memory use. > > Add a new

Re: [PATCH RFC 1/7] perf/core, x86: Add PERF_SAMPLE_PAGE_SIZE

2018-08-10 Thread Stephane Eranian
On Fri, Aug 10, 2018 at 6:37 AM wrote: > > From: Kan Liang > > Current perf can report both virtual address and physical address, but > it doesn't report page size. Users have no idea how large the utilized > page is. They cannot promote/demote large pages to optimize memory use. > > Add a new

[PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-10 Thread Craig Tatlor
Add support for the global clock controller found on SDM660 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Based on CAF implementation. Signed-off-by: Craig Tatlor --- .../devicetree/bindings/clock/qcom,gcc.txt|1 +

[PATCH] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-08-10 Thread Craig Tatlor
Add support for the global clock controller found on SDM660 based devices. This should allow most non-multimedia device drivers to probe and control their clocks. Based on CAF implementation. Signed-off-by: Craig Tatlor --- .../devicetree/bindings/clock/qcom,gcc.txt|1 +

Re: [PATCH v8 09/26] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-08-10 Thread Lina Iyer
On Thu, Aug 09 2018 at 04:25 -0600, Lorenzo Pieralisi wrote: On Wed, Aug 08, 2018 at 12:02:48PM -0600, Lina Iyer wrote: On Wed, Aug 08 2018 at 04:56 -0600, Lorenzo Pieralisi wrote: >On Mon, Aug 06, 2018 at 11:37:55AM +0200, Rafael J. Wysocki wrote: >>On Fri, Aug 3, 2018 at 1:42 PM, Ulf Hansson

Re: [PATCH v8 09/26] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs

2018-08-10 Thread Lina Iyer
On Thu, Aug 09 2018 at 04:25 -0600, Lorenzo Pieralisi wrote: On Wed, Aug 08, 2018 at 12:02:48PM -0600, Lina Iyer wrote: On Wed, Aug 08 2018 at 04:56 -0600, Lorenzo Pieralisi wrote: >On Mon, Aug 06, 2018 at 11:37:55AM +0200, Rafael J. Wysocki wrote: >>On Fri, Aug 3, 2018 at 1:42 PM, Ulf Hansson

Details des Kreditantrags

2018-08-10 Thread Adams John
Hallo Diese Adams-Darlehen sind wir hier, um Darlehen an diejenigen, die finanzielle Schwierigkeiten haben. Brauchen Sie einen Kredit, um die Rechnungen zu bezahlen? Oder möchten Sie ein Unternehmen gründen, haben aber nicht die Hauptstadt zur Hand? Wenn Sie finanzielle Unterstützung benötigen,

Details des Kreditantrags

2018-08-10 Thread Adams John
Hallo Diese Adams-Darlehen sind wir hier, um Darlehen an diejenigen, die finanzielle Schwierigkeiten haben. Brauchen Sie einen Kredit, um die Rechnungen zu bezahlen? Oder möchten Sie ein Unternehmen gründen, haben aber nicht die Hauptstadt zur Hand? Wenn Sie finanzielle Unterstützung benötigen,

Re: [PATCH 1/2] phy: qcom-qmp: Quiet -EPROBE_DEFER from qcom_qmp_phy_probe()

2018-08-10 Thread Doug Anderson
Kishon, On Mon, May 14, 2018 at 3:42 PM, Douglas Anderson wrote: > The -EPROBE_DEFER virus demands special case code to avoid printing > error messages when the error is only -EPROBE_DEFER. Spread the virus > to a new host: qcom_qmp_phy_probe(). Specifically handle when our > regulators might

Re: [PATCH 1/2] phy: qcom-qmp: Quiet -EPROBE_DEFER from qcom_qmp_phy_probe()

2018-08-10 Thread Doug Anderson
Kishon, On Mon, May 14, 2018 at 3:42 PM, Douglas Anderson wrote: > The -EPROBE_DEFER virus demands special case code to avoid printing > error messages when the error is only -EPROBE_DEFER. Spread the virus > to a new host: qcom_qmp_phy_probe(). Specifically handle when our > regulators might

Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 09:57:03 PDT (-0700), robh...@kernel.org wrote: On Thu, Aug 9, 2018 at 12:29 AM Palmer Dabbelt wrote: On Wed, 08 Aug 2018 16:32:07 PDT (-0700), robh...@kernel.org wrote: > On Wed, Aug 8, 2018 at 1:38 PM Palmer Dabbelt wrote: >> >> On Wed, 08 Aug 2018 07:16:14 PDT (-0700),

Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 09:57:03 PDT (-0700), robh...@kernel.org wrote: On Thu, Aug 9, 2018 at 12:29 AM Palmer Dabbelt wrote: On Wed, 08 Aug 2018 16:32:07 PDT (-0700), robh...@kernel.org wrote: > On Wed, Aug 8, 2018 at 1:38 PM Palmer Dabbelt wrote: >> >> On Wed, 08 Aug 2018 07:16:14 PDT (-0700),

Re: [PATCH v9 2/2] regulator: add QCOM RPMh regulator driver

2018-08-10 Thread Doug Anderson
Hi, On Fri, Aug 10, 2018 at 9:29 AM, Mark Brown wrote: > On Fri, Jul 13, 2018 at 06:50:59PM -0700, David Collins wrote: > >> + switch (rpmh_mode) { > >> + default: >> + mode = REGULATOR_MODE_INVALID; >> + } > > I'm not sure why the break statements are being omitted in

Re: [PATCH v9 2/2] regulator: add QCOM RPMh regulator driver

2018-08-10 Thread Doug Anderson
Hi, On Fri, Aug 10, 2018 at 9:29 AM, Mark Brown wrote: > On Fri, Jul 13, 2018 at 06:50:59PM -0700, David Collins wrote: > >> + switch (rpmh_mode) { > >> + default: >> + mode = REGULATOR_MODE_INVALID; >> + } > > I'm not sure why the break statements are being omitted in

[PATCH] platform/x86: asus-wmi: Add keymap entry for lid flip action on Asus UX360

2018-08-10 Thread Aleh Filipovich
Add entry to WMI keymap for lid flip event on Asus UX360. On Asus Zenbook ux360 flipping lid from/to tablet mode triggers keyscan code 0xfa which cannot be handled and results in kernel log message "Unknown key fa pressed". Signed-off-by: Aleh Filipovich --- drivers/platform/x86/asus-nb-wmi.c

Re: BUG: Mount ignores mount options

2018-08-10 Thread Andy Lutomirski
On Fri, Aug 10, 2018 at 9:14 AM, Theodore Y. Ts'o wrote: > And I'm not really sure it helps the container use > case, since the whole point is they want their "guest" to be able to > blithely run "mount /dev/sda1 -o noxattr /mnt" and not worry about the > fact that in some other container,

[PATCH] platform/x86: asus-wmi: Add keymap entry for lid flip action on Asus UX360

2018-08-10 Thread Aleh Filipovich
Add entry to WMI keymap for lid flip event on Asus UX360. On Asus Zenbook ux360 flipping lid from/to tablet mode triggers keyscan code 0xfa which cannot be handled and results in kernel log message "Unknown key fa pressed". Signed-off-by: Aleh Filipovich --- drivers/platform/x86/asus-nb-wmi.c

Re: BUG: Mount ignores mount options

2018-08-10 Thread Andy Lutomirski
On Fri, Aug 10, 2018 at 9:14 AM, Theodore Y. Ts'o wrote: > And I'm not really sure it helps the container use > case, since the whole point is they want their "guest" to be able to > blithely run "mount /dev/sda1 -o noxattr /mnt" and not worry about the > fact that in some other container,

[PATCH] regulator: qcom-rpmh: Add stylistic breaks in the default cases

2018-08-10 Thread Douglas Anderson
No functional change here but it can make the code more readable to have breaks in the "default" case even though it's the last case. Let's add them. Signed-off-by: Douglas Anderson --- drivers/regulator/qcom-rpmh-regulator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH] regulator: qcom-rpmh: Add stylistic breaks in the default cases

2018-08-10 Thread Douglas Anderson
No functional change here but it can make the code more readable to have breaks in the "default" case even though it's the last case. Let's add them. Signed-off-by: Douglas Anderson --- drivers/regulator/qcom-rpmh-regulator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-10 Thread Steven Rostedt
On Thu, 9 Aug 2018 16:38:28 +0200 Oleg Nesterov wrote: > I need to read this (hopefully final) version carefully. I'll try to do > this before next Monday. > Monday may be the opening of the merge window (more likely Sunday). Do you think this is good enough for pushing it in this late in the

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-10 Thread Steven Rostedt
On Thu, 9 Aug 2018 16:38:28 +0200 Oleg Nesterov wrote: > I need to read this (hopefully final) version carefully. I'll try to do > this before next Monday. > Monday may be the opening of the merge window (more likely Sunday). Do you think this is good enough for pushing it in this late in the

Re: [PATCH v4 5/6] iio:adxl372: Add sampling frequency support

2018-08-10 Thread Marcus Folkesson
Hi Stefan, On Mon, Aug 06, 2018 at 03:04:46PM +0300, Stefan Popa wrote: > This patch adds the option for the user to select the sampling frequency. > Also, the user can read the available frequencies and read the currently > set frequency via the read_raw function. The frequency can be set via

Re: [PATCH v4 5/6] iio:adxl372: Add sampling frequency support

2018-08-10 Thread Marcus Folkesson
Hi Stefan, On Mon, Aug 06, 2018 at 03:04:46PM +0300, Stefan Popa wrote: > This patch adds the option for the user to select the sampling frequency. > Also, the user can read the available frequencies and read the currently > set frequency via the read_raw function. The frequency can be set via

Our Company Beijing Shougang Company Ltd., based in China is in search of a competent individual or firm that will be responsible in handling funds as our ''Representative Manager'' in the United Stat

2018-08-10 Thread Beijing Shougang Company Ltd
Note: It is a part time job that won't interrupt your present work or business. Looking forward to your response. Best Regards, Liu Nianzu HR(Representative Manager) Beijing Shougang Company Ltd. No 15,Pingguoyuan Road,Shijingshan District,Beijing Website: www.sggf.com.cn

Our Company Beijing Shougang Company Ltd., based in China is in search of a competent individual or firm that will be responsible in handling funds as our ''Representative Manager'' in the United Stat

2018-08-10 Thread Beijing Shougang Company Ltd
Note: It is a part time job that won't interrupt your present work or business. Looking forward to your response. Best Regards, Liu Nianzu HR(Representative Manager) Beijing Shougang Company Ltd. No 15,Pingguoyuan Road,Shijingshan District,Beijing Website: www.sggf.com.cn

[PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_AMUX_THM[24]_100K_PU to rev2 channel list

2018-08-10 Thread Matthias Kaehlcke
Add ADC5_AMUX_THM2_100K_PU and ADC5_AMUX_THM4_100K_PU to the list of rev2 ADC channels. Signed-off-by: Matthias Kaehlcke --- drivers/iio/adc/qcom-spmi-adc5.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iio/adc/qcom-spmi-adc5.c b/drivers/iio/adc/qcom-spmi-adc5.c index

[PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_AMUX_THM[24]_100K_PU to rev2 channel list

2018-08-10 Thread Matthias Kaehlcke
Add ADC5_AMUX_THM2_100K_PU and ADC5_AMUX_THM4_100K_PU to the list of rev2 ADC channels. Signed-off-by: Matthias Kaehlcke --- drivers/iio/adc/qcom-spmi-adc5.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iio/adc/qcom-spmi-adc5.c b/drivers/iio/adc/qcom-spmi-adc5.c index

[PATCH] EDAC, amd64: Add Family 17h Model 11h support.

2018-08-10 Thread Michael Jin
Add support for ECC error decoding for F17h M11h (Great Horned Owl) processors. Signed-off-by: Michael Jin --- drivers/edac/amd64_edac.c | 14 ++ drivers/edac/amd64_edac.h | 3 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c

[PATCH] EDAC, amd64: Add Family 17h Model 11h support.

2018-08-10 Thread Michael Jin
Add support for ECC error decoding for F17h M11h (Great Horned Owl) processors. Signed-off-by: Michael Jin --- drivers/edac/amd64_edac.c | 14 ++ drivers/edac/amd64_edac.h | 3 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c

Re: [PATCH v3] resource: Merge resources on a node when hot-adding memory

2018-08-10 Thread Oscar Salvador
On Sat, Aug 11, 2018 at 12:25:39AM +1000, Rashmica Gupta wrote: > On Fri, Aug 10, 2018 at 11:00 PM, Michal Hocko wrote: > > On Fri 10-08-18 16:55:40, Rashmica Gupta wrote: > > [...] > >> Most memory hotplug/hotremove seems to be block or section based, and > >> always adds and removes memory at

Re: [PATCH v3] resource: Merge resources on a node when hot-adding memory

2018-08-10 Thread Oscar Salvador
On Sat, Aug 11, 2018 at 12:25:39AM +1000, Rashmica Gupta wrote: > On Fri, Aug 10, 2018 at 11:00 PM, Michal Hocko wrote: > > On Fri 10-08-18 16:55:40, Rashmica Gupta wrote: > > [...] > >> Most memory hotplug/hotremove seems to be block or section based, and > >> always adds and removes memory at

Re: [PATCH 1/3] arm64: implement ftrace with regs

2018-08-10 Thread Steven Rostedt
On Fri, 10 Aug 2018 18:02:23 +0200 (CEST) Torsten Duwe wrote: > --- a/arch/arm64/kernel/entry-ftrace.S > +++ b/arch/arm64/kernel/entry-ftrace.S > @@ -13,6 +13,8 @@ > #include > #include > #include > +#include > +#include > > /* > * Gcc with -pg will put the following code in the

Re: [PATCH 1/3] arm64: implement ftrace with regs

2018-08-10 Thread Steven Rostedt
On Fri, 10 Aug 2018 18:02:23 +0200 (CEST) Torsten Duwe wrote: > --- a/arch/arm64/kernel/entry-ftrace.S > +++ b/arch/arm64/kernel/entry-ftrace.S > @@ -13,6 +13,8 @@ > #include > #include > #include > +#include > +#include > > /* > * Gcc with -pg will put the following code in the

Re: [PATCH v4 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-10 Thread Marcus Folkesson
Hi Stefan, On Mon, Aug 06, 2018 at 03:04:42PM +0300, Stefan Popa wrote: > This patch adds basic support for Analog Devices ADXL372 SPI-Bus > Three-Axis Digital Accelerometer. > > The device is probed and configured the with some initial default > values. With this basic driver, it is possible

Re: [PATCH v4 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-10 Thread Marcus Folkesson
Hi Stefan, On Mon, Aug 06, 2018 at 03:04:42PM +0300, Stefan Popa wrote: > This patch adds basic support for Analog Devices ADXL372 SPI-Bus > Three-Axis Digital Accelerometer. > > The device is probed and configured the with some initial default > values. With this basic driver, it is possible

[tip:x86/pti] x86/mm/pti: Move user W+X check into pti_finalize()

2018-08-10 Thread tip-bot for Joerg Roedel
Commit-ID: d878efce73fe86db34ddb2013260adf571a701a7 Gitweb: https://git.kernel.org/tip/d878efce73fe86db34ddb2013260adf571a701a7 Author: Joerg Roedel AuthorDate: Wed, 8 Aug 2018 13:16:40 +0200 Committer: Thomas Gleixner CommitDate: Fri, 10 Aug 2018 21:12:45 +0200 x86/mm/pti: Move user

[tip:x86/pti] x86/mm/pti: Move user W+X check into pti_finalize()

2018-08-10 Thread tip-bot for Joerg Roedel
Commit-ID: d878efce73fe86db34ddb2013260adf571a701a7 Gitweb: https://git.kernel.org/tip/d878efce73fe86db34ddb2013260adf571a701a7 Author: Joerg Roedel AuthorDate: Wed, 8 Aug 2018 13:16:40 +0200 Committer: Thomas Gleixner CommitDate: Fri, 10 Aug 2018 21:12:45 +0200 x86/mm/pti: Move user

[PATCH] iio: dac: max517: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max517.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max517.c b/drivers/iio/dac/max517.c index 1d853247a205..451d10e323cf 100644 ---

[PATCH] iio: dac: mcp4725: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/mcp4725.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c index 8b5aad4c32d9..6d71fd905e29 100644 ---

[PATCH] iio: dac: max5821: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max5821.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c index d0ecc1fdd8fc..f0cf6903dcd2 100644 ---

[PATCH] iio: dac: max517: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max517.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max517.c b/drivers/iio/dac/max517.c index 1d853247a205..451d10e323cf 100644 ---

[PATCH] iio: dac: mcp4725: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/mcp4725.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c index 8b5aad4c32d9..6d71fd905e29 100644 ---

[PATCH] iio: dac: max5821: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max5821.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c index d0ecc1fdd8fc..f0cf6903dcd2 100644 ---

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread Tadeusz Struk
On 08/10/2018 12:00 PM, James Bottomley wrote: > On Fri, 2018-08-10 at 11:56 -0700, Tadeusz Struk wrote: >> On 08/10/2018 11:48 AM, James Bottomley wrote: >>> On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: and the feedback I got from Jason was: "I wonder if it is worth

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread Tadeusz Struk
On 08/10/2018 12:00 PM, James Bottomley wrote: > On Fri, 2018-08-10 at 11:56 -0700, Tadeusz Struk wrote: >> On 08/10/2018 11:48 AM, James Bottomley wrote: >>> On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: and the feedback I got from Jason was: "I wonder if it is worth

support editing

2018-08-10 Thread Kelly
Your photos need editing. We can do it for you. We do editing for e-commerce photos, jewelries images and portrait photos etc. This will include cutout and clipping path etc , also retouching if needed. Let;s know if you want to send photos for working. We can do test on your photos. Thanks,

support editing

2018-08-10 Thread Kelly
Your photos need editing. We can do it for you. We do editing for e-commerce photos, jewelries images and portrait photos etc. This will include cutout and clipping path etc , also retouching if needed. Let;s know if you want to send photos for working. We can do test on your photos. Thanks,

support editing

2018-08-10 Thread Kelly
Your photos need editing. We can do it for you. We do editing for e-commerce photos, jewelries images and portrait photos etc. This will include cutout and clipping path etc , also retouching if needed. Let;s know if you want to send photos for working. We can do test on your photos. Thanks,

support editing

2018-08-10 Thread Kelly
Your photos need editing. We can do it for you. We do editing for e-commerce photos, jewelries images and portrait photos etc. This will include cutout and clipping path etc , also retouching if needed. Let;s know if you want to send photos for working. We can do test on your photos. Thanks,

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread James Bottomley
On Fri, 2018-08-10 at 11:56 -0700, Tadeusz Struk wrote: > On 08/10/2018 11:48 AM, James Bottomley wrote: > > On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: > > > and the feedback I got from Jason was: > > > > > > "I wonder if it is worth creating this when the first file is > > >

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread James Bottomley
On Fri, 2018-08-10 at 11:56 -0700, Tadeusz Struk wrote: > On 08/10/2018 11:48 AM, James Bottomley wrote: > > On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: > > > and the feedback I got from Jason was: > > > > > > "I wonder if it is worth creating this when the first file is > > >

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread Tadeusz Struk
On 08/10/2018 11:48 AM, James Bottomley wrote: > On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: >> and the feedback I got from Jason was: >> >> "I wonder if it is worth creating this when the first file is >> opened.. Lots of systems have TPMs but few use the userspace.." >> >> so I

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread Tadeusz Struk
On 08/10/2018 11:48 AM, James Bottomley wrote: > On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: >> and the feedback I got from Jason was: >> >> "I wonder if it is worth creating this when the first file is >> opened.. Lots of systems have TPMs but few use the userspace.." >> >> so I

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread James Bottomley
On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: > and the feedback I got from Jason was: > > "I wonder if it is worth creating this when the first file is > opened.. Lots of systems have TPMs but few use the userspace.." > > so I changed this to allocate the WQ on first open. I think it

Re: [PATCH v4 2/2] tpm: add support for nonblocking operation

2018-08-10 Thread James Bottomley
On Fri, 2018-08-10 at 11:21 -0700, Tadeusz Struk wrote: > and the feedback I got from Jason was: > > "I wonder if it is worth creating this when the first file is > opened.. Lots of systems have TPMs but few use the userspace.." > > so I changed this to allocate the WQ on first open. I think it

Re: [PATCH v3 1/5] staging: rtl8188eu: use is_multicast_ether_addr in rtw_security.c

2018-08-10 Thread Dan Carpenter
On Fri, Aug 10, 2018 at 08:21:23PM +0200, Michael Straube wrote: > On 08/10/18 13:31, Dan Carpenter wrote: > > No no... I only gave it a Reviewed-by tag because I didn't want you to > > resend again... :P > > Ah, sorry. So I shouldn't have added the tag? > Should I remove it again? I guess

Re: [PATCH v3 1/5] staging: rtl8188eu: use is_multicast_ether_addr in rtw_security.c

2018-08-10 Thread Dan Carpenter
On Fri, Aug 10, 2018 at 08:21:23PM +0200, Michael Straube wrote: > On 08/10/18 13:31, Dan Carpenter wrote: > > No no... I only gave it a Reviewed-by tag because I didn't want you to > > resend again... :P > > Ah, sorry. So I shouldn't have added the tag? > Should I remove it again? I guess

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Guenter Roeck
On Fri, Aug 10, 2018 at 11:27:37AM -0700, Palmer Dabbelt wrote: > On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: > >On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: > >>This would be necessary to make non-SMP builds work, but there is > >>another error in the

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Guenter Roeck
On Fri, Aug 10, 2018 at 11:27:37AM -0700, Palmer Dabbelt wrote: > On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: > >On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: > >>This would be necessary to make non-SMP builds work, but there is > >>another error in the

Re: [PATCH] iomap: Switch to offset_in_page for clarity

2018-08-10 Thread Darrick J. Wong
[add linux-xfs to cc] On Fri, Aug 10, 2018 at 04:56:27PM +0200, Andreas Gruenbacher wrote: > Instead of open-coding pos & (PAGE_SIZE - 1) and pos & ~PAGE_MASK, use > the offset_in_page macro. > > Signed-off-by: Andreas Gruenbacher Looks ok, will test... Reviewed-by: Darrick J. Wong --D >

Re: [PATCH] iomap: Switch to offset_in_page for clarity

2018-08-10 Thread Darrick J. Wong
[add linux-xfs to cc] On Fri, Aug 10, 2018 at 04:56:27PM +0200, Andreas Gruenbacher wrote: > Instead of open-coding pos & (PAGE_SIZE - 1) and pos & ~PAGE_MASK, use > the offset_in_page macro. > > Signed-off-by: Andreas Gruenbacher Looks ok, will test... Reviewed-by: Darrick J. Wong --D >

Re: [PATCH v4 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-08-10 Thread Jarkko Sakkinen
On Fri, Aug 10, 2018 at 11:05:17AM -0700, Tadeusz Struk wrote: > On 08/10/2018 10:27 AM, Jarkko Sakkinen wrote: > > On Tue, Aug 07, 2018 at 01:27:44PM -0700, Tadeusz Struk wrote: > >> Add a ptr to struct tpm_space to the file_priv to have an easy > >> access to it in the async job without the need

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-10 Thread Trent Piepho
On Thu, 2018-08-09 at 12:37 -0700, Doug Anderson wrote: > On Thu, Aug 9, 2018 at 11:24 AM, Trent Piepho wrote: > > > I think we're in agreement but perhaps there's a miscommunication here? > > I'm saying that we _shouldn't_ put the max-speed of the master in the > device tree. The max speed

Re: [PATCH v4 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-08-10 Thread Jarkko Sakkinen
On Fri, Aug 10, 2018 at 11:05:17AM -0700, Tadeusz Struk wrote: > On 08/10/2018 10:27 AM, Jarkko Sakkinen wrote: > > On Tue, Aug 07, 2018 at 01:27:44PM -0700, Tadeusz Struk wrote: > >> Add a ptr to struct tpm_space to the file_priv to have an easy > >> access to it in the async job without the need

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-10 Thread Trent Piepho
On Thu, 2018-08-09 at 12:37 -0700, Doug Anderson wrote: > On Thu, Aug 9, 2018 at 11:24 AM, Trent Piepho wrote: > > > I think we're in agreement but perhaps there's a miscommunication here? > > I'm saying that we _shouldn't_ put the max-speed of the master in the > device tree. The max speed

[PATCH] RDMA/bnxt_re: QPLIB: Add and use #define dev_fmt(fmt) "QPLIB: " fmt

2018-08-10 Thread Joe Perches
Consistently use the "QPLIB: " prefix for dev_ logging. Miscellanea: o Add missing newlines to avoid possible message interleaving o Coalesce consecutive dev_ uses that emit a message header to avoid < 80 column lengths and mistakenly output on multiple lines o Reflow modified lines to use 80

[PATCH] RDMA/bnxt_re: QPLIB: Add and use #define dev_fmt(fmt) "QPLIB: " fmt

2018-08-10 Thread Joe Perches
Consistently use the "QPLIB: " prefix for dev_ logging. Miscellanea: o Add missing newlines to avoid possible message interleaving o Coalesce consecutive dev_ uses that emit a message header to avoid < 80 column lengths and mistakenly output on multiple lines o Reflow modified lines to use 80

Re: [RFC] RISC-V: Fix !CONFIG_SMP compilation error

2018-08-10 Thread Atish Patra
On 8/6/18 4:17 PM, Atish Patra wrote: Enabling both CONFIG_PERF_EVENTS without !CONFIG_SMP generates following compilation error. arch/riscv/include/asm/perf_event.h:80:2: error: expected specifier-qualifier-list before 'irqreturn_t' irqreturn_t (*handle_irq)(int irq_num, void *dev);

Re: [RFC] RISC-V: Fix !CONFIG_SMP compilation error

2018-08-10 Thread Atish Patra
On 8/6/18 4:17 PM, Atish Patra wrote: Enabling both CONFIG_PERF_EVENTS without !CONFIG_SMP generates following compilation error. arch/riscv/include/asm/perf_event.h:80:2: error: expected specifier-qualifier-list before 'irqreturn_t' irqreturn_t (*handle_irq)(int irq_num, void *dev);

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: This would be necessary to make non-SMP builds work, but there is another error in the implementation of our syscall linkage that actually just causes

Re: [PATCH v3 1/2] RISC-V: Define sys_riscv_flush_icache when SMP=n

2018-08-10 Thread Palmer Dabbelt
On Fri, 10 Aug 2018 01:38:04 PDT (-0700), Christoph Hellwig wrote: On Thu, Aug 09, 2018 at 03:19:51PM -0700, Palmer Dabbelt wrote: This would be necessary to make non-SMP builds work, but there is another error in the implementation of our syscall linkage that actually just causes

Re: [RFC v7 PATCH 2/4] mm: mmap: zap pages with read mmap_sem in munmap

2018-08-10 Thread Yang Shi
On 8/10/18 10:57 AM, Matthew Wilcox wrote: On Fri, Aug 10, 2018 at 07:36:01AM +0800, Yang Shi wrote: +/* + * Zap pages with read mmap_sem held + * + * uf is the list for userfaultfd + */ +static int do_munmap_zap_rlock(struct mm_struct *mm, unsigned long start, +

Re: [RFC v7 PATCH 2/4] mm: mmap: zap pages with read mmap_sem in munmap

2018-08-10 Thread Yang Shi
On 8/10/18 10:57 AM, Matthew Wilcox wrote: On Fri, Aug 10, 2018 at 07:36:01AM +0800, Yang Shi wrote: +/* + * Zap pages with read mmap_sem held + * + * uf is the list for userfaultfd + */ +static int do_munmap_zap_rlock(struct mm_struct *mm, unsigned long start, +

Re: [RFC v7 PATCH 1/4] mm: refactor do_munmap() to extract the common part

2018-08-10 Thread Yang Shi
On 8/10/18 10:41 AM, Matthew Wilcox wrote: On Fri, Aug 10, 2018 at 07:36:00AM +0800, Yang Shi wrote: +static inline bool addr_ok(unsigned long start, size_t len) Maybe munmap_range_ok()? Otherwise some of the conditions here don't make sense for such a generic sounding function. I don't

Re: [PATCH] coccicheck: return proper error code on check fail

2018-08-10 Thread Himanshu Jha
On Fri, Aug 10, 2018 at 05:45:46PM +0300, Denis Efremov wrote: > My mistake. Initially, I thought that this line signals about errors > in the code, but now I see that this is about the tool's internal > error. However, this doesn't change the fact that coccicheck returns > the improper error

<    1   2   3   4   5   6   7   8   9   >