Re: [PATCH v2 06/10] ASoC: wcd9335: add basic controls

2018-07-31 Thread Mark Brown
On Fri, Jul 27, 2018 at 01:18:02PM +0100, Srinivas Kandagatla wrote: > +static const char * const wcd9335_ear_pa_gain_text[] = { > + "G_6_DB", "G_4P5_DB", "G_3_DB", "G_1P5_DB", > + "G_0_DB", "G_M2P5_DB", "UNDEFINED", "G_M12_DB" > +}; This is fairly clearly a volume control so shouldn't be

[PATCH] staging: ashmem: Fix SIGBUS crash when traversing mmaped ashmem pages

2018-07-31 Thread John Stultz
Amit Pundir and Youling in parallel reported crashes with recent mainline kernels running Android: F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** F DEBUG : Build fingerprint: 'Android/db410c32_only/db410c32_only:Q/OC-MR1/102:userdebug/test-key F DEBUG : Revision: '

Re: [PATCH v6 3/4] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-07-31 Thread Sean Wang
On Tue, 2018-07-31 at 12:32 +0200, Marcel Holtmann wrote: > Hi Sean, > > >>> All suggestions seem reasonable for me in order to make code style > >>> aligned with the other drivers and code better to read, > >>> and it looks like no any big problem, so I'll start to work on the next > >>> versio

Re: [PATCH] perf vendor events arm64: Update ThunderX2 implementation defined pmu core events

2018-07-31 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 31, 2018 at 08:40:51PM +0530, Ganapatrao Kulkarni escreveu: > Hi Arnaldo, > > On Tue, Jul 31, 2018 at 7:58 PM, Arnaldo Carvalho de Melo > wrote: > > Em Tue, Jul 31, 2018 at 03:32:51PM +0530, Ganapatrao Kulkarni escreveu: > >> Signed-off-by: Ganapatrao Kulkarni > > > > Can you please

Re: [PATCH 1/3] ext4: super: Fix spectre gadget in ext4_quota_on

2018-07-31 Thread Josh Poimboeuf
On Tue, Jul 31, 2018 at 12:39:41AM -0600, Andreas Dilger wrote: > > Also it looks like XQM_MAXQUOTAS, MAXQUOTAS, and EXT4_MAXQUOTAS all > > have the same value (3). Maybe they can be consolidated to just use > > MAXQUOTAS everywhere? > > No, the filesystem-specific MAXQUOTAS values were separated

Читальня

2018-07-31 Thread Александр
Приветствуем прозаических творений Материализуем всякие Ваши творения литературы Работаем по всему миру и по всяким категориям. Конкурсы и презентации авторов в белокаменной столице Имеем нужду в спонсоре .

[PATCH v2] security: Add LSM fixup hooks to set*gid syscalls.

2018-07-31 Thread Micah Morton
The set*uid system calls all call an LSM fixup hook called security_task_fix_setuid, which allows for altering the behavior of those calls by a security module. Comments explaining the LSM_SETID_* constants in /include/linux/security.h imply that the constants are to be used for both the set*uid an

Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask)

2018-07-31 Thread Guenter Roeck
On Tue, Jul 31, 2018 at 04:58:41PM +0100, Robin Murphy wrote: > On 31/07/18 16:43, Guenter Roeck wrote: > >On Tue, Jul 31, 2018 at 03:09:34PM +0100, Robin Murphy wrote: > >>>Please note that sparc images still generate the warning (next-20180731). > >> > >&g

Re: [PATCH v4 0/3] Add support for MSCC Ocelot SPI

2018-07-31 Thread Paul Burton
Hi Alexandre, On Tue, Jul 31, 2018 at 04:38:52PM +0200, Alexandre Belloni wrote: > Hello, > > This series only contains the DT documentation and the corresponding DT > addition > since it has been rebased on spi-next. > > Alexandre Belloni (3): > spi: dw: document Microsemi integration > mi

RE: [PATCH V2] x86/speculation: Support Enhanced IBRS on future CPUs

2018-07-31 Thread Prakhya, Sai Praneeth
> The feature strings are automatically generated from the define. The comment > can be used to supress them by an empty "" string or to modify them by a > "override" string at the beginning of the comment. I overlooked "override" part. Sorry! about that. It's clear now. Thanks for the explanation

Re: Linux 4.18-rc7

2018-07-31 Thread Luck, Tony
On Tue, Jul 31, 2018 at 08:03:28PM +0300, Kirill A. Shutemov wrote: > But it's not the only issue unfortunately. Tony reported issue with > booting ia64 with the patch. I have no clue why. I rechecked everything > ia64-specific and looks fine to me. :-/ If I just revert bfd40eaff5ab ("mm: fix vma_

[RFC PATCH 0/2] dmaengine: xilinx_dma: Add Xilinx AXI MCDMA Engine driver support

2018-07-31 Thread Radhey Shyam Pandey
This patchset adds Xilinx AXI MCDMA IP support. The AXI MCDMA provides high-bandwidth direct memory access between memory and AXI4-Stream target peripherals. It supports up to 16 independent read/write channels. MCDMA IP supports per channel interrupt output but driver support one interrupt per ch

[RFC PATCH 1/2] dt-bindings: dmaengine: xilinx_dma: Add binding for Xilinx MCDMA IP

2018-07-31 Thread Radhey Shyam Pandey
Add devicetree binding for Xilinx AXI Multichannel Direct Memory Access (AXI MCDMA) IP. The AXI MCDMA provides high-bandwidth direct memory access between memory and AXI4-Stream target peripherals. The AXI MCDMA core provides scatter-gather interface with multiple channel support. Signed-off-by: R

Re: [PATCH v3 05/13] coresight: perf: Allow tracing on hotplugged CPUs

2018-07-31 Thread Mathieu Poirier
On Thu, Jul 26, 2018 at 01:54:43PM +0100, Suzuki K Poulose wrote: > At the moment, if there is no CPU specified for a given > event, we use cpu_online_mask and try to build path for > each of the CPUs in the mask. This could prevent any CPU > that is turned online later to be used for the tracing.

[RFC PATCH 2/2] dmaengine: xilinx_dma: Add Xilinx AXI MCDMA Engine driver support

2018-07-31 Thread Radhey Shyam Pandey
Add support for AXI Multichannel Direct Memory Access (AXI MCDMA) core, which is a soft Xilinx IP core that provides high-bandwidth direct memory access between memory and AXI4-Stream target peripherals. The AXI MCDMA core provides scatter-gather interface with multiple independent transmit and rec

Re: [PATCH v2] mm: terminate the reclaim early when direct reclaiming

2018-07-31 Thread Johannes Weiner
On Tue, Jul 31, 2018 at 07:09:28PM +0800, Zhaoyang Huang wrote: > This patch try to let the direct reclaim finish earlier than it used > to be. The problem comes from We observing that the direct reclaim > took a long time to finish when memcg is enabled. By debugging, we > find that the reason is

Cześć, jestem Pattison A. Milo, prawnik w Adwokaci Meadsona / biurze. Proszę o kontakt na mój adres e-mail (pattiso...@gmail.com), mam istotny problem, muszę z tobą porozmawiać. Zmarły krewny, który n

2018-07-31 Thread Pattison A. Milo

[PATCH v4 4/4] power: bq25890_charger.c: Read back the current battery voltage

2018-07-31 Thread Angus Ainslie (Purism)
The BQ2589x family has the capability of reading the current battery voltage. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/power/supply/bq25890_charger.c

[PATCH v4 3/4] power: bq25890_charger.c: Add the BQ25896 part

2018-07-31 Thread Angus Ainslie (Purism)
The BQ25896 is almost identical to the BQ25890. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Angus Ainslie (Purism) --- .../bindings/power/supply/bq25890.txt | 3 +++ drivers/power/supply/bq25890_charger.c| 24 +++ 2 files changed, 22 insertions(+), 5 deletio

[PATCH v4 1/4] power: bq25890_charger.c: Add debugging output of failed initialization

2018-07-31 Thread Angus Ainslie (Purism)
To ease adding a new part variant some debugging is handy. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/drivers/power/supply/bq25890_

[PATCH v4 0/4] Add the BQ25896 charger IC

2018-07-31 Thread Angus Ainslie (Purism)
Changes since v3: Corrected reviewed-by tags. Fix typos. Clarify desscriptions of patches. Changes since v2: Remove additional un-used table entries. Use the exsisting compitble string for the new part. Voltage now doesn't depend on state "online". Angus Ainslie (Purism) (4): power: bq25890_c

Re: SLAB_TYPESAFE_BY_RCU without constructors (was Re: [PATCH v4 13/17] khwasan: add hooks implementation)

2018-07-31 Thread Linus Torvalds
On Tue, Jul 31, 2018 at 10:36 AM Christopher Lameter wrote: > > If there is refcounting going on then why use SLAB_TYPESAFE_BY_RCU? .. because the object can be accessed (by RCU) after the refcount has gone down to zero, and the thing has been released. That's the whole and only point of SLAB_TY

[PATCH v4 2/4] power: bq25890_charger.c: Remove unused table entries

2018-07-31 Thread Angus Ainslie (Purism)
There are a few table entries that aren't used. Drop them. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq2

Re: [PATCH] x86/microcode: Don't duplicate code to update ucode cpu info and cpu info

2018-07-31 Thread Greg KH
On Tue, Jul 31, 2018 at 04:23:00PM +, Sironi, Filippo wrote: > > > On 31. Jul 2018, at 17:41, Greg KH wrote: > > > > On Tue, Jul 31, 2018 at 05:29:30PM +0200, Filippo Sironi wrote: > >> ... on late microcode loading when handling a CPU that's already been > >> updated and a CPU that's yet to

Re: [PATCH 6/6] arm64: enable RapidIO menu in Kconfig

2018-07-31 Thread Alex Bounine
On 2018-07-31 11:52 AM, Russell King - ARM Linux wrote: On Tue, Jul 31, 2018 at 08:54:14AM -0400, Alex Bounine wrote: On 2018-07-31 04:41 AM, Will Deacon wrote: On Mon, Jul 30, 2018 at 06:50:34PM -0400, Alexei Colin wrote: Platforms with a PCI bus will be offered the RapidIO menu since they ma

Re: [PATCH v2] security: Add LSM fixup hooks to set*gid syscalls.

2018-07-31 Thread Casey Schaufler
On 7/31/2018 10:34 AM, Micah Morton wrote: > The set*uid system calls all call an LSM fixup hook called > security_task_fix_setuid, which allows for altering the behavior of those > calls by a security module. Comments explaining the LSM_SETID_* constants > in /include/linux/security.h imply that t

Re: [PATCH v3 1/4] power: bq25890_charger.c: Add debugging output of failed initialization

2018-07-31 Thread Angus Ainslie
On 2018-07-31 10:57, Krzysztof Kozlowski wrote: On 31 July 2018 at 18:43, Angus Ainslie (Purism) wrote: To ease adding a new part variant some debugging is handy. Signed-off-by: Angus Ainslie (Purism) You missed my tag - I already reviewed it. Unless you change something, the tag should be

Re: [PATCH v4 0/3] Add support for MSCC Ocelot SPI

2018-07-31 Thread Alexandre Belloni
On 31/07/2018 10:38:09-0700, Paul Burton wrote: > Hi Alexandre, > > On Tue, Jul 31, 2018 at 04:38:52PM +0200, Alexandre Belloni wrote: > > Hello, > > > > This series only contains the DT documentation and the corresponding DT > > addition > > since it has been rebased on spi-next. > > > > Alexa

[PATCH 0/2] Add Embedded USB Debugger (EUD) driver

2018-07-31 Thread Prakruthi Deepak Heragu
This is a series of patches that implements a driver for the control peripheral, EUD (Embedded USB Debugger). The EUD is a mini-USB hub implemented on chip to support the USB-based debug and trace capabilities. Apart from debug capabilities, EUD has a control peripheral. Control Peripheral is on

Re: [PATCH 6/6] arm64: enable RapidIO menu in Kconfig

2018-07-31 Thread Russell King - ARM Linux
On Tue, Jul 31, 2018 at 01:59:27PM -0400, Alex Bounine wrote: > On 2018-07-31 11:52 AM, Russell King - ARM Linux wrote: > >On Tue, Jul 31, 2018 at 08:54:14AM -0400, Alex Bounine wrote: > >>On 2018-07-31 04:41 AM, Will Deacon wrote: > >>>On Mon, Jul 30, 2018 at 06:50:34PM -0400, Alexei Colin wrote:

[PATCH 0/2] Add Embedded USB Debugger (EUD) driver

2018-07-31 Thread Prakruthi Deepak Heragu
This is a series of patches that implements a driver for the control peripheral, EUD (Embedded USB Debugger). The EUD is a mini-USB hub implemented on chip to support the USB-based debug and trace capabilities. Apart from debug capabilities, EUD has a control peripheral. Control Peripheral is on

[PATCH 1/2] dt-bindings: Documentation for qcom,eud

2018-07-31 Thread Prakruthi Deepak Heragu
Documentation for Embedded USB Debugger (EUD) device tree bindings. Signed-off-by: Satya Durga Srinivasu Prabhala Signed-off-by: Prakruthi Deepak Heragu --- .../devicetree/bindings/soc/qcom/qcom,msm-eud.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Docum

[PATCH 2/2] Embedded USB Debugger (EUD) driver

2018-07-31 Thread Prakruthi Deepak Heragu
Add support for control peripheral of EUD (Embedded USB Debugger) to listen to events such as USB attach/detach, charger enable/disable, pet EUD to indicate software is functional. Signed-off-by: Satya Durga Srinivasu Prabhala Signed-off-by: Prakruthi Deepak Heragu --- drivers/soc/qcom/Kconfig

bisected - arm64 kvm unit test failures

2018-07-31 Thread Mike Galbraith
On Mon, 2018-07-30 at 18:24 +0200, Mike Galbraith wrote: > On Sun, 2018-07-29 at 13:47 +0200, Mike Galbraith wrote: > > FYI, per kvm unit tests, 4.16-rt definitely has more kvm issues. But it's not RT, or rather most of it isn't... > > huawei5:/abuild/mike/kvm-unit-tests # uname -r > > 4.16.18-rt

Backport 35a2897c2a (sched/wait: Remove the lockless swait_active() check in swake_up*()) to 4.9 branch

2018-07-31 Thread David Chen
Hi Peter, In 4.9 branch, we hit an issue in RCU, where the NOCB follower list not getting reclaimed and causing OOM. In discussion with Paul, we were able to figure out the problem was because of missed wake up resulted from lack of proper memory barrier between setting wake up condition and swak

Re: [PATCH 0/2] fs/quota: Fix potential spectre v1 gadgets

2018-07-31 Thread Josh Poimboeuf
On Tue, Jul 31, 2018 at 01:37:29AM +, Jeremy Cline wrote: > Hi folks, > > This series unifies XQM_MAXQUOTAS with MAXQUOTAS, which were both being > used to perform bounds checks on arrays, and then sanitizes 'type' so it > can't be used in speculative out-of-bounds array access. > > Jeremy Cl

Re: [PATCH v2 1/6] i2c: designware: use generic table matching

2018-07-31 Thread Alexandre Belloni
On 31/07/2018 17:53:17+0300, Andy Shevchenko wrote: > On Tue, 2018-07-31 at 16:30 +0200, Alexandre Belloni wrote: > > On 31/07/2018 17:23:04+0300, Andy Shevchenko wrote: > > > On Tue, 2018-07-31 at 17:02 +0300, Andy Shevchenko wrote: > > > > On Tue, 2018-07-31 at 15:47 +0200, Alexandre Belloni wrot

[PATCH v6 2/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Improve thermal zone in example

2018-07-31 Thread Matthias Kaehlcke
The current example for a thermal zone isn't very useful as reference since it would result in a hardware shutdown at 145°C, instead of allowing the system to try to shutdown gracefully. Without an ADC channel a maximum of two trip points is useful in practice for this sensor, with temperatures cor

[PATCH v6 1/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Fix documentation of 'reg'

2018-07-31 Thread Matthias Kaehlcke
The documentation claims that the 'reg' property consists of two values, the SPMI address and the length of the controller's registers. However the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove the controller register length from the documentation of the field and the example

[PATCH v6 4/5] arm64: dts: qcom: pm8998: Add spmi-temp-alarm node

2018-07-31 Thread Matthias Kaehlcke
This adds the spmi-temp-alarm node to pm8998 based on the examples in the bindings. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v6: - none Changes in v5: - added tag 'Reviewed-by: Douglas Anderson ' Changes in v4: - none Changes in v3: - changed node name fro

[PATCH v6 5/5] arm64: dts: qcom: pm8998: Add pm8998 thermal zone

2018-07-31 Thread Matthias Kaehlcke
The thermal zone uses spmi-temp-alarm as sensor, the trip points correspond to the PMIC thermal stages 1 and 2. The critical trip point at 125°C disables the partial PMIC shutdown at stage 2. Without an IIO input the sensor only reports a limited number of temperatures: - 37°C for temperatures be

[PATCH v6 3/5] thermal: qcom-spmi: Use PMIC thermal stage 2 for critical trip points

2018-07-31 Thread Matthias Kaehlcke
There are three thermal stages defined in the PMIC: stage 1: warning stage 2: system should shut down stage 3: emergency shut down By default the PMIC assumes that the OS isn't doing anything and thus at stage 2 it does a partial PMIC shutdown and at stage 3 it kills all power. When switching bet

Re: [PATCH v2 1/1] sched/debug: fix potential deadlock when write to sched_features

2018-07-31 Thread Davis, George
> On Jul 31, 2018, at 8:36 AM, Peter Zijlstra wrote: > > On Tue, Jul 31, 2018 at 09:12:22PM +0900, jiada_w...@mentor.com wrote: >> diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c >> index 60caf1fb94e0..7b2997d4a349 100644 >> --- a/kernel/sched/debug.c >> +++ b/kernel/sched/debug.c >>

Re: [PATCH 1/2] goldfish: Add missing includes to goldfish.h

2018-07-31 Thread Roman Kiryanov
Hi Greg, could you please confirm you received my patch? Regards, Roman. On Mon, Jul 23, 2018 at 3:47 PM wrote: > > From: Roman Kiryanov > > goldfish.h refers to external symbols such as > dma_addr_t and writel. This causes compilation errors > if this file is included before other header files

Re: [PATCH v2 2/2] kernel.h: Disable -Wreturn-stack-address for _THIS_IP_

2018-07-31 Thread Nick Desaulniers
On Tue, Jul 31, 2018 at 10:02 AM Kees Cook wrote: > > On Tue, Jul 31, 2018 at 9:48 AM, Nick Desaulniers > > On Tue, Jul 31, 2018 at 3:27 AM kbuild test robot wrote: > >>drivers/net//wireless/intel/iwlwifi/iwl-trans.c: In function > >> 'iwl_trans_send_cmd': > >> >> drivers/net//wireless/intel

[PATCH v6 2/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Improve thermal zone in example

2018-07-31 Thread Matthias Kaehlcke
The current example for a thermal zone isn't very useful as reference since it would result in a hardware shutdown at 145°C, instead of allowing the system to try to shutdown gracefully. Without an ADC channel a maximum of two trip points is useful in practice for this sensor, with temperatures cor

[PATCH v6 5/5] arm64: dts: qcom: pm8998: Add pm8998 thermal zone

2018-07-31 Thread Matthias Kaehlcke
The thermal zone uses spmi-temp-alarm as sensor, the trip points correspond to the PMIC thermal stages 1 and 2. The critical trip point at 125°C disables the partial PMIC shutdown at stage 2. Without an IIO input the sensor only reports a limited number of temperatures: - 37°C for temperatures be

[PATCH v6 1/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Fix documentation of 'reg'

2018-07-31 Thread Matthias Kaehlcke
The documentation claims that the 'reg' property consists of two values, the SPMI address and the length of the controller's registers. However the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove the controller register length from the documentation of the field and the example

[PATCH v6 3/5] thermal: qcom-spmi: Use PMIC thermal stage 2 for critical trip points

2018-07-31 Thread Matthias Kaehlcke
There are three thermal stages defined in the PMIC: stage 1: warning stage 2: system should shut down stage 3: emergency shut down By default the PMIC assumes that the OS isn't doing anything and thus at stage 2 it does a partial PMIC shutdown and at stage 3 it kills all power. When switching bet

[PATCH v6 4/5] arm64: dts: qcom: pm8998: Add spmi-temp-alarm node

2018-07-31 Thread Matthias Kaehlcke
This adds the spmi-temp-alarm node to pm8998 based on the examples in the bindings. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v6: - none Changes in v5: - added tag 'Reviewed-by: Douglas Anderson ' Changes in v4: - none Changes in v3: - changed node name fro

Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask)

2018-07-31 Thread Stefan Agner
On 31.07.2018 18:29, Robin Murphy wrote: > On 31/07/18 16:53, Stefan Agner wrote: >> On 31.07.2018 14:32, Robin Murphy wrote: >>> On 31/07/18 09:19, Stefan Agner wrote: On 30.07.2018 16:38, Robin Murphy wrote: > On 28/07/18 17:58, Guenter Roeck wrote: >> On Fri, Jul 27, 2018 at 04:04:4

Re: Linux 4.18-rc7

2018-07-31 Thread Linus Torvalds
On Tue, Jul 31, 2018 at 10:43 AM Luck, Tony wrote: > > If I just revert bfd40eaff5ab ("mm: fix vma_is_anonymous() false-positives") > then ia64 boots again. Ok, so it's not just the ashmem thing. I think I'll do an rc8 with the revert, just so that we'll have some time to figure this out. It's o

Re: [PATCH 0/2] um: switch to NO_BOOTMEM

2018-07-31 Thread Richard Weinberger
Am Dienstag, 31. Juli 2018, 15:38:27 CEST schrieb Mike Rapoport: > Any comments on this? > > On Tue, Jul 24, 2018 at 04:23:12PM +0300, Mike Rapoport wrote: > > Hi, > > > > These patches convert UML to use NO_BOOTMEM. > > Tested on x86-64. > > > > Mike Rapoport (2): > > um: setup_physmem: stop

Re: [PATCH 4/4] cpufreq: intel_pstate: enable boost for Skylake Xeon

2018-07-31 Thread Srinivas Pandruvada
On Tue, 2018-07-31 at 17:04 +0200, Peter Zijlstra wrote: > On Mon, Jul 30, 2018 at 07:06:21AM -0700, Srinivas Pandruvada wrote: > > On Mon, 2018-07-30 at 14:16 +0300, Eero Tamminen wrote: > > > Questions: > > > > > > * Does currently kernel CPU freq management have any idea which > > > IO > > >

Re: [PATCH v6 1/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Fix documentation of 'reg'

2018-07-31 Thread Rob Herring
On Tue, Jul 31, 2018 at 11:59:13AM -0700, Matthias Kaehlcke wrote: > The documentation claims that the 'reg' property consists of two values, > the SPMI address and the length of the controller's registers. However > the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove > the con

Re: [PATCH v8 1/2] i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller

2018-07-31 Thread Wolfram Sang
On Mon, Jul 30, 2018 at 11:23:51AM -0600, Karthikeyan Ramasubramanian wrote: > This bus driver supports the GENI based i2c hardware controller in the > Qualcomm SOCs. The Qualcomm Generic Interface (GENI) is a programmable > module supporting a wide range of serial interfaces including I2C. The > d

Re: [PATCH v8 2/2] MAINTAINERS: Add Qualcomm Generic Interface I2C driver maintainer

2018-07-31 Thread Wolfram Sang
On Mon, Jul 30, 2018 at 11:23:52AM -0600, Karthikeyan Ramasubramanian wrote: > Add Alok Chauhan and myself as maintainers for Qualcomm GENI I2C master > controller driver. > > Signed-off-by: Karthikeyan Ramasubramanian Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH] i2c: i2c-qcom-geni: Fix suspend clock handling

2018-07-31 Thread Wolfram Sang
On Mon, Jul 09, 2018 at 04:49:37PM -0700, Evan Green wrote: > pm_runtime_suspended can return 0 even if the last runtime power > management function called in the device was a suspend call. This > trips up the i2c-qcom-geni's suspend_noirq accounting, which was > trying to use the function to deter

Re: [PATCH v6 2/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Improve thermal zone in example

2018-07-31 Thread Rob Herring
On Tue, Jul 31, 2018 at 11:59:14AM -0700, Matthias Kaehlcke wrote: > The current example for a thermal zone isn't very useful as reference > since it would result in a hardware shutdown at 145°C, instead of > allowing the system to try to shutdown gracefully. Without an ADC > channel a maximum of t

Re: [PATCH] PM / devfreq: Generic cpufreq governor

2018-07-31 Thread skannan
On 2018-07-31 01:00, Rafael J. Wysocki wrote: On Mon, Jul 30, 2018 at 8:58 PM, wrote: On 2018-07-29 03:52, Rafael J. Wysocki wrote: On Sat, Jul 28, 2018 at 5:56 AM, Saravana Kannan wrote: Many CPU architectures have caches that can scale independent of the CPUs. Frequency scaling of the

Re: [PATCH v4 04/10] dt-bindings: ARM: Mediatek: Document bindings for MT8183

2018-07-31 Thread Rob Herring
On Tue, Jul 31, 2018 at 01:38:01PM +0800, Erin Lo wrote: > From: Weiyi Lu > > This patch adds the binding documentation for apmixedsys, audiosys, > camsys, imgsys, infracfg, mfgcfg, mmsys, topckgen, vdecsys, vencsys > and ipu for Mediatek MT8183. > > Signed-off-by: Weiyi Lu > Signed-off-by: Eri

Re: [PATCH v4 05/10] clk: mediatek: Add dt-bindings for MT8183 clocks

2018-07-31 Thread Rob Herring
On Tue, Jul 31, 2018 at 01:38:02PM +0800, Erin Lo wrote: > From: Weiyi Lu > > Add MT8183 clock dt-bindings, include topckgen, apmixedsys, > infracfg and subsystem clocks. > > Signed-off-by: Weiyi Lu > Signed-off-by: Erin Lo > --- > include/dt-bindings/clock/mt8183-clk.h | 413 > +

Re: [PATCH] PM / devfreq: Generic cpufreq governor

2018-07-31 Thread skannan
On 2018-07-27 20:56, Saravana Kannan wrote: Many CPU architectures have caches that can scale independent of the CPUs. Frequency scaling of the caches is necessary to make sure the cache is not a performance bottleneck that leads to poor performance and power. The same idea applies for RAM/DDR

Re: [PATCH v5 07/12] PM / devfreq: export devfreq_class

2018-07-31 Thread Matthias Kaehlcke
On Mon, Jul 16, 2018 at 12:41:14PM -0700, Matthias Kaehlcke wrote: > Hi Chanwoo, > > On Thu, Jul 12, 2018 at 06:08:36PM +0900, Chanwoo Choi wrote: > > Hi Matthias, > > > > On 2018년 07월 07일 03:09, Matthias Kaehlcke wrote: > > > Hi, > > > > > > On Wed, Jul 04, 2018 at 02:30:32PM +0900, Chanwoo Cho

Re: [PATCH 2/2] Embedded USB Debugger (EUD) driver

2018-07-31 Thread Trilok Soni
Hi Prakruthi, On 7/31/2018 11:22 AM, Prakruthi Deepak Heragu wrote: Add support for control peripheral of EUD (Embedded USB Debugger) to listen to events such as USB attach/detach, charger enable/disable, pet EUD to indicate software is functional. We should CC linux-usb mailing list too? +

Re: [PATCH v5 10/14] sched/cpufreq: Refactor the utilization aggregation method

2018-07-31 Thread skannan
On 2018-07-31 00:59, Quentin Perret wrote: On Monday 30 Jul 2018 at 12:35:27 (-0700), skan...@codeaurora.org wrote: [...] If it's going to be a different aggregation from what's done for frequency guidance, I don't see the point of having this inside schedutil. Why not keep it inside the sche

Re: [PATCH 2/2] Embedded USB Debugger (EUD) driver

2018-07-31 Thread pheragu
On 2018-07-31 12:29, Trilok Soni wrote: Hi Prakruthi, On 7/31/2018 11:22 AM, Prakruthi Deepak Heragu wrote: Add support for control peripheral of EUD (Embedded USB Debugger) to listen to events such as USB attach/detach, charger enable/disable, pet EUD to indicate software is functional. We

Re: [PATCH v4 1/4] gpio: syscon: rockchip: add GRF GPIO support for rk3328

2018-07-31 Thread Rob Herring
On Tue, Jul 31, 2018 at 01:59:19PM +0800, d...@t-chip.com.cn wrote: > From: Levin Du > > In Rockchip RK3328, the output only GPIO_MUTE pin, originally for codec > mute control, can also be used for general purpose. It is manipulated by > the GRF_SOC_CON10 register in GRF. Aside from the GPIO_MUTE

[PATCH 2/2] x86/intel_rdt: Coordinate performance monitoring with perf

2018-07-31 Thread Reinette Chatre
It is possible to measure cache pseudo-locking success using performance monitoring counters. This measurement is triggered from user space via the resctrl debugfs interface. At this time the usage of the performance monitoring counters are not coordinated with other users. If any other system mea

[PATCH 1/2] perf/x86: Expose PMC hardware reservation

2018-07-31 Thread Reinette Chatre
When multiple users need to use performance counters a reservation mechanism is required to ensure coordination. This reservation mechanism already exists and any user can currently reserve/release a single performance counter and/or its matching event configuration via the exported symbols reserve

[PATCH 0/2] x86/intel_rdt and perf/x86: Fix lack of coordination with perf

2018-07-31 Thread Reinette Chatre
Dear Maintainers, The success of Cache Pseudo-Locking can be measured via the use of performance events. Specifically, the number of cache hits and misses reading a memory region after it has been pseudo-locked to cache. This measurement is triggered via the resctrl debugfs interface. To ensure m

Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

2018-07-31 Thread Pavel Machek
On Tue 2018-07-31 14:00:37, David Howells wrote: > Pavel Machek wrote: > > > Regexes do not work in presence of arbitrary strings in the > > message. If we had a way to tell start / end of string inserted in the > > message, yes, the problem would be solved. > > You could use quotes around arbit

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-07-31 Thread Matthias Kaehlcke
On Mon, Jul 16, 2018 at 10:50:50AM -0700, Matthias Kaehlcke wrote: > On Thu, Jul 12, 2018 at 05:44:33PM +0900, Chanwoo Choi wrote: > > Hi Matthias, > > > > On 2018년 07월 07일 02:53, Matthias Kaehlcke wrote: > > > Hi Chanwoo, > > > > > > On Wed, Jul 04, 2018 at 03:41:46PM +0900, Chanwoo Choi wrote:

Mobile apps development

2018-07-31 Thread Vivek Shah
We are an image editing service provider having more than 10 years of industry experience. We use latest techniques for photo editing to meet international quality standards. We are committed to deliver reliable photo processing services. Production of 1000+ images within single working day 24×7

RE: [PATCH V2] x86/speculation: Support Enhanced IBRS on future CPUs

2018-07-31 Thread Thomas Gleixner
On Tue, 31 Jul 2018, Prakhya, Sai Praneeth wrote: > > The feature strings are automatically generated from the define. The comment > > can be used to supress them by an empty "" string or to modify them by a > > "override" string at the beginning of the comment. > > I overlooked "override" part.

[PATCH v4 5/5] arm64: dts: actions: Add pinctrl node for Actions Semi S700

2018-07-31 Thread Saravanan Sekar
Add pinctrl nodes for Actions Semi S700 SoC Signed-off-by: Parthiban Nallathambi Signed-off-by: Saravanan Sekar --- arch/arm64/boot/dts/actions/s700.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s7

[PATCH v4 2/5] pinctrl: actions: define pad control configurtion to SoC specific

2018-07-31 Thread Saravanan Sekar
pad control for s900 and s700 are differs in number of pull control configuraions s900 has 4 pull controls - high impedence, pull up, pull down, repeater s700, s500 has 2 pull controls - pull up and pull down so pad control configuration has to SoC specific, moved out from pinctrl common to s700,

[PATCH v4 1/5] pinctrl: actions: define constructor generic to Actions Semi SoC's

2018-07-31 Thread Saravanan Sekar
Move generic defines common to the Owl family out of S900 driver. Signed-off-by: Parthiban Nallathambi Signed-off-by: Saravanan Sekar --- drivers/pinctrl/actions/pinctrl-owl.h | 131 +++ drivers/pinctrl/actions/pinctrl-s900.c | 139 ++--- 2 files changed

[PATCH v4 0/5] Add Actions Semi S700 pinctrl support

2018-07-31 Thread Saravanan Sekar
This patchset adds pinctrl support for Actions Semi S700 SoC. Pinmux functions are only accessible for pin groups while pinconf parameters are available for both pin groups and individual pins. pinctrl driver is verified using the Cubieboard7. common functionalities from s900 is moved for all Act

[PATCH v4 3/5] dt-bindings: pinctrl: Add bindings for Actions Semi S700 SoC

2018-07-31 Thread Saravanan Sekar
Add pinctrl and pio bindings for Actions Semi S700 SoC. Signed-off-by: Parthiban Nallathambi Signed-off-by: Saravanan Sekar Reviewed-by: Rob Herring --- .../bindings/pinctrl/actions,s700-pinctrl.txt | 170 ++ 1 file changed, 170 insertions(+) create mode 100644 Documentation/

[PATCH v4 4/5] pinctrl: actions: Add Actions Semi S700 pinctrl driver

2018-07-31 Thread Saravanan Sekar
Add pinctrl driver for Actions Semi S700 SoC. The driver supports pinctrl, pinmux and pinconf functionalities through a range of registers common to both gpio driver and pinctrl driver. Signed-off-by: Parthiban Nallathambi Signed-off-by: Saravanan Sekar --- drivers/pinctrl/actions/Kconfig

Re: Build regressions/improvements in v4.18-rc7

2018-07-31 Thread Martin Sebor
On 07/30/2018 10:04 AM, Miguel Ojeda wrote: Hi Geert, Martin, all, On Mon, Jul 30, 2018 at 8:46 AM, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v4.18-rc7[1] compared to v4.17[2]. There are quite some -Wstringop-* warnings, so here is some in

Re: [PATCH 6/6] arm64: enable RapidIO menu in Kconfig

2018-07-31 Thread Alex Bounine
On 2018-07-31 02:18 PM, Russell King - ARM Linux wrote: On Tue, Jul 31, 2018 at 01:59:27PM -0400, Alex Bounine wrote: On 2018-07-31 11:52 AM, Russell King - ARM Linux wrote: On Tue, Jul 31, 2018 at 08:54:14AM -0400, Alex Bounine wrote: On 2018-07-31 04:41 AM, Will Deacon wrote: On Mon, Jul 30

Re: [PATCH v1 3/3] net: WireGuard secure network tunnel

2018-07-31 Thread Andrew Lunn
Hi Jason I just gave this patch to checkpatch.pl... total: 6 errors, 763 warnings, 6514 lines checked It would be good to reduce these numbers. > +static __always_inline void swap_endian(u8 *dst, const u8 *src, u8 bits) There is a general preference to not force the compile to inline. Leave it

Re: [PATCH v2] security: Add LSM fixup hooks to set*gid syscalls.

2018-07-31 Thread James Morris
On Tue, 31 Jul 2018, Micah Morton wrote: > +static inline int security_task_fix_setgid(struct cred *new, > +const struct cred *old, > +int flags) > +{ > + return 0; > +} > + This looks whitespace-damaged. Please send patches as plain text. -- James Morris

Re: [PATCH v7 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-07-31 Thread Wolfram Sang
Hi Manivannan, On Thu, Jul 26, 2018 at 09:16:02PM +0530, Manivannan Sadhasivam wrote: > Add Actions Semiconductor Owl family S900 I2C driver. > > Signed-off-by: Manivannan Sadhasivam > Acked-by: Peter Rosin Looks mostly good already. Thanks Peter for the initial review! > +static irqreturn_t

[tip:timers/urgent] nohz: Fix local_timer_softirq_pending()

2018-07-31 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 80d20d35af1edd632a5e7a3b9c0ab7ceff92769e Gitweb: https://git.kernel.org/tip/80d20d35af1edd632a5e7a3b9c0ab7ceff92769e Author: Anna-Maria Gleixner AuthorDate: Tue, 31 Jul 2018 18:13:58 +0200 Committer: Thomas Gleixner CommitDate: Tue, 31 Jul 2018 22:08:44 +0200 nohz: Fix local

[PATCH 07/15] staging: gasket: ioctl: fix function param line continuation style

2018-07-31 Thread Todd Poynor
From: Todd Poynor Fix multi-line alignment formatting to look like: int ret = long_function_name(device, VARIABLE1, VARIABLE2, VARIABLE3, VARIABLE4); Many of these TODO items were previously cleaned up during the conversion to standard logging functions.

[PATCH 06/15] staging: gasket: core: fix function param line continuation style

2018-07-31 Thread Todd Poynor
From: Todd Poynor Fix multi-line alignment formatting to look like: int ret = long_function_name(device, VARIABLE1, VARIABLE2, VARIABLE3, VARIABLE4); Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 294 +--

[PATCH 00/15] staging: gasket: cleanups continue

2018-07-31 Thread Todd Poynor
From: Todd Poynor More cleanups for the gasket and apex drivers: finish up TODO items for static function forward declarations and multi-line alignment style, a couple of fixups for recent patch feedback, and a couple other issues found in the meantime. Todd Poynor (15): staging: gasket: core:

[PATCH 04/15] staging: gasket: pg tbl: remove static function forward declarations

2018-07-31 Thread Todd Poynor
From: Todd Poynor Remove forward declarations of static functions, move code to avoid forward references, for kernel style. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_page_table.c | 1433 ++-- 1 file changed, 684 insertions(+), 749 deletions(-) diff --git a/d

[PATCH 02/15] staging: gasket: ioctl: remove static function forward declarations

2018-07-31 Thread Todd Poynor
From: Todd Poynor Remove forward declarations of static functions, move code to avoid forward references, for kernel style. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_ioctl.c | 356 -- 1 file changed, 168 insertions(+), 188 deletions(-) diff --git a/d

[PATCH 01/15] staging: gasket: core: remove static function forward declarations

2018-07-31 Thread Todd Poynor
From: Todd Poynor Remove forward declarations of static functions, move code to avoid forward references, for kernel style. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 1900 +- 1 file changed, 922 insertions(+), 978 deletions(-) diff --git a/d

[PATCH 10/15] staging: gasket: interrupt: fix function param line continuation style

2018-07-31 Thread Todd Poynor
From: Todd Poynor Fix multi-line alignment formatting to look like: int ret = long_function_name(device, VARIABLE1, VARIABLE2, VARIABLE3, VARIABLE4); Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_interrupt.c | 73 +++

[PATCH 11/15] staging: gasket: TODO: remove entry for multi-line alignment style

2018-07-31 Thread Todd Poynor
From: Todd Poynor Multi-line alignment formatting issues fixed, remove the TODO entry for this. Signed-off-by: Todd Poynor --- drivers/staging/gasket/TODO | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/gasket/TODO b/drivers/staging/gasket/TODO index 6aa2a7f6bc4b..6ff8e01

[PATCH 13/15] staging: gasket: core: use bool type for ns_capable result

2018-07-31 Thread Todd Poynor
From: Todd Poynor When gasket core was converted from using capable() to use ns_capable() instead, the type of the variable holding the result should have been converted from int to bool. Reported-by: Dmitry Torokhov Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 4 ++--

[PATCH 12/15] staging: gasket: apex: move driver-private defines out of apex.h

2018-07-31 Thread Todd Poynor
From: Todd Poynor apex.h is supposed to contain kernel-userspace interface definitions, but has a number of defines that are only used by apex_driver.c or are not used at all. Move driver implementation defines not shared with userspace to the driver source. Remove unused defines. Signed-off-b

[PATCH 08/15] staging: gasket: page table: fix function param line continuation style

2018-07-31 Thread Todd Poynor
From: Todd Poynor Fix multi-line alignment formatting to look like: int ret = long_function_name(device, VARIABLE1, VARIABLE2, VARIABLE3, VARIABLE4); Many of these TODO items were previously cleaned up during the conversion to standard logging functions.

[PATCH 15/15] staging: gasket: page table: fix header file include guard symbol

2018-07-31 Thread Todd Poynor
From: Todd Poynor The include guard symbol for gasket_page_table.h is out-of-date. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_page_table.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.h b/drivers/staging/g

[PATCH 14/15] Revert "staging: gasket: page table: hold references to device and pci_dev"

2018-07-31 Thread Todd Poynor
From: Todd Poynor gasket_free_dev() is called only from driver PCI probe and remove function. It is guaranteed that that pci_dev structure is not going anywhere during that time; there is no need to take this additional reference. This reverts commit dd9d1502feea3c23d412f289aad79e1d4e86d45d. Re

<    1   2   3   4   5   6   7   >