Re: [PATCH 4/6] dt-bindings: interrupt-controller: RISC-V local interrupt controller docs

2018-08-01 Thread Christoph Hellwig
On Tue, Jul 31, 2018 at 04:37:14PM -0600, Rob Herring wrote: > On Wed, Jul 25, 2018 at 11:36:47AM +0200, Christoph Hellwig wrote: > > From: Palmer Dabbelt > > > > This patch adds documentation on the RISC-V local interrupt controller, > > which is a per-hart interrupt controller that manages all

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

2018-08-01 Thread Francisco Jerez
Giovanni Gherdovich writes: > On Mon, 2018-07-30 at 11:32 -0700, Francisco Jerez wrote: >> Mel Gorman writes: >>  >> > On Sat, Jul 28, 2018 at 01:21:51PM -0700, Francisco Jerez wrote: >> > > > > Please revert this series, it led to significant energy usage and >> > > > > graphics performance reg

Re: [PATCH 7/9] irqchip: add a RISC-V PLIC driver

2018-08-01 Thread Christoph Hellwig
On Tue, Jul 31, 2018 at 05:38:01PM -0700, Atish Patra wrote: > Some typos in the above repo in the PLIC driver patch. The following > changes are required. Inline patch below Thanks, I'll fold this in. > With the above changes, I am able to boot quite far. But it still crashes > which may be a

Re: [PATCH] timers: fix offset calculation when the expires align with LVL_GRAN

2018-08-01 Thread Thomas Gleixner
On Wed, 1 Aug 2018, Xu YiPing wrote: > On 2018/7/31 22:34, Thomas Gleixner wrote: > > > > > > On Tue, 31 Jul 2018, Thomas Gleixner wrote: > > > >> On Tue, 31 Jul 2018, Xu YiPing wrote: > >>> On 2018/7/30 19:03, Thomas Gleixner wrote: > > __internal_add_timer(base, timer) > { > >

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

2018-08-01 Thread Christoph Hellwig
On Tue, Jul 31, 2018 at 04:46:30PM -0600, Rob Herring wrote: > Perhaps this should be 'sifive,plic0' Excepet for the fact this the old name has already been in shipping hardware and release of qemu and other emulators it should. > Normally this would have an SoC specific compatible too. Sometimes

Re: bisected - arm64 kvm unit test failures

2018-08-01 Thread Marc Zyngier
On Wed, 01 Aug 2018 07:02:25 +0100, Mike Galbraith wrote: > > [1 ] > On Wed, 2018-08-01 at 06:35 +0100, Marc Zyngier wrote: > > > > Is it something that is reproducible with the current mainline (non-RT)? > > These waters are a bit muddy, it's config dependent. I'm trying to > generate a repr

Re: [PATCH v1 2/3] zinc: Introduce minimal cryptography library

2018-08-01 Thread Eric Biggers
[+Cc linux-crypto] Hi Jason, Apologies for starting a new thread, but this patch apparently wasn't Cc'ed to linux-crypto, despite adding over 24000 lines of crypto code. So much for WireGuard being only 4000 lines :-) (For anyone else like me who didn't receive the patch, it can be found at http

[PATCH v3 1/2] dt-bindings: spi: add DT bindings for UniPhier SPI controller

2018-08-01 Thread Keiji Hayashibara
From: Kunihiko Hayashi Add DT bindings for SPI controller implemented in UniPhier SoCs. Signed-off-by: Kunihiko Hayashi Signed-off-by: Keiji Hayashibara Reviewed-by: Rob Herring --- .../devicetree/bindings/spi/spi-uniphier.txt | 22 ++ 1 file changed, 22 insertions(

[PATCH v3 0/2] add SPI controller driver for UniPhier SoCs

2018-08-01 Thread Keiji Hayashibara
This series adds support for SPI controller driver implemented on UniPhier SoCs. Changes since v2: - remove check code of clock divider in uniphier_spi_set_baudrate(). - change irq from struct variable to stack variable. - other trivial change. Keiji Hayashibara (1): spi: add SPI controller dri

[PATCH v3 2/2] spi: add SPI controller driver for UniPhier SoC

2018-08-01 Thread Keiji Hayashibara
Add SPI controller driver implemented in Socionext UniPhier SoCs. UniPhier SoCs have two types SPI controllers; SCSSI supports a single channel, and MCSSI supports multiple channels. This driver supports SCSSI only. This controller has 32bit TX/RX FIFO with depth of eight entry, and supports the

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

2018-08-01 Thread Rafael J. Wysocki
On Tue, Jul 31, 2018 at 9:21 PM, wrote: > 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 CP

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

2018-08-01 Thread Rafael J. Wysocki
On Tue, Jul 31, 2018 at 9:31 PM, wrote: > 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 o

hallo Schönheit

2018-08-01 Thread Wesley
Wie geht es Ihnen heute? Verzeih mir, dass ich deinen Frieden gestört habe, ich verstehe meine Herangehensweise vielleicht sehr ungeschickt und unhöflich, bitte ich bitte, dass du mir verzeihst, ein Eindringling zu sein. Ich bin Wesley mit Namen, ich bin aus dem Vereinigten Staaten von Amerika,

Re: [PATCH] prctl: add PR_[GS]ET_KILLABLE

2018-08-01 Thread Jürg Billeter
On Tue, 2018-07-31 at 18:26 +0200, Jann Horn wrote: > On Mon, Jul 30, 2018 at 10:01 AM Jürg Billeter wrote: > > [...] > > diff --git a/kernel/sys.c b/kernel/sys.c > > index 38509dc1f77b..264de630d548 100644 > > --- a/kernel/sys.c > > +++ b/kernel/sys.c > > [...] > > + case PR_SET_KILLABLE:

[PATCH] arm64: dts: allwinner: a64: add csi regulator to sopine dts

2018-08-01 Thread Akash Gajjar
sopine board has a csi. enable supply dvdd-1v8-csi, dovdd-2v8-csi and avdd-2v8-csi on board to access external camera connected to it. Signed-off-by: Akash Gajjar --- .../arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/ar

[PATCH] net/9p/trans_virtio.c: add a terminal char for mount tag

2018-08-01 Thread piaojun
chan->tag has no terminal char at last which will result in printing messy code when debugging code. So we should add '\0' for tag. Signed-off-by: Jun Piao --- net/9p/trans_virtio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c

Re: bisected - arm64 kvm unit test failures

2018-08-01 Thread Mike Galbraith
On Wed, 2018-08-01 at 08:22 +0100, Marc Zyngier wrote: > > > Box is a 4 node/64 core TaiShan 2280. > > Is that what is also known as D05/HIP07, with 64 Cortex-A72? No idea, our rent-a-box web client shows nothing informative. -Mike

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

2018-08-01 Thread Marcel Holtmann
Hi Sean, > This adds a driver based on serdev driver for the MediaTek serial protocol > based on running H:4, which can enable the built-in Bluetooth device inside > MT7622 SoC. > > Signed-off-by: Sean Wang > --- > drivers/bluetooth/Kconfig | 11 + > drivers/bluetooth/Makefile| 2 + > d

Re: [PATCH] prctl: add PR_[GS]ET_KILLABLE

2018-08-01 Thread Jann Horn
On Wed, Aug 1, 2018 at 9:44 AM Jürg Billeter wrote: > > On Tue, 2018-07-31 at 18:26 +0200, Jann Horn wrote: > > On Mon, Jul 30, 2018 at 10:01 AM Jürg Billeter wrote: > > > > [...] > > > diff --git a/kernel/sys.c b/kernel/sys.c > > > index 38509dc1f77b..264de630d548 100644 > > > --- a/kernel/sys.c

Re: [PATCH v12 16/16] arm64: kexec_file: add kaslr support

2018-08-01 Thread AKASHI Takahiro
James, All the changes mentioned below were applied to my coming v13. On Fri, Jul 27, 2018 at 10:22:31AM +0100, James Morse wrote: > Hi Akashi, > > > On 07/27/2018 09:31 AM, AKASHI Takahiro wrote: > >On Thu, Jul 26, 2018 at 02:40:49PM +0100, James Morse wrote: > >>On 24/07/18 07:57, AKASHI Taka

Re: [PATCH v2 1/3] overflow.h: Add arithmetic shift helper

2018-08-01 Thread Dan Carpenter
The idea is nice, but I don't like the API. The "_overflow" feels too specific because maybe we could check for other things in the future. Normally boolean macros should say they are boolean in the name and I would prefer if it returned zero on failure. if (!checked_shift(dest, mask, shi

[PATCH v13 00/16] subject: arm64: kexec: add kexec_file_load() support

2018-08-01 Thread AKASHI Takahiro
This is the thirteenth round of implementing kexec_file_load() support on arm64.[1] (See "Changes" below) Most of the code is based on kexec-tools. This patch series enables us to * load the kernel by specifying its file descriptor, instead of user- filled buffer, at kexec_file_load() syste

[PATCH v13 04/16] powerpc, kexec_file: factor out memblock-based arch_kexec_walk_mem()

2018-08-01 Thread AKASHI Takahiro
Memblock list is another source for usable system memory layout. So move powerpc's arch_kexec_walk_mem() to common code so that other memblock-based architectures, particularly arm64, can also utilise it. A moved function is now renamed to kexec_walk_memblock() and integrated into kexec_locate_mem_

linux-next: Tree for Aug 1

2018-08-01 Thread Stephen Rothwell
Hi all, Changes since 20180731: The pci tree gained a conflict against the pci-current tree. The net-next tree gained a conflict against the bpf tree. The block tree lost its build failure. The staging tree still had its build failure due to an interaction with the vfs tree for which I disable

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

2018-08-01 Thread Prakhya, Sai Praneeth
> > Yes, that makes sense. > > But on the machine, I see IBRS bit set on all cores. As you said, > > someone else might be writing the MSR. I will try to find that out and will > update the patch accordingly. > > > > I initially suspected it to be __ssb_select_mitigation() as I have > > "spec_store

[PATCH v13 16/16] arm64: kexec_file: add kaslr support

2018-08-01 Thread AKASHI Takahiro
Adding "kaslr-seed" to dtb enables triggering kaslr, or kernel virtual address randomization, at secondary kernel boot. We always do this as it will have no harm on kaslr-incapable kernel. We don't have any "switch" to turn off this feature directly, but still can suppress it by passing "nokaslr"

Re: [PATCH] stop_machine: Disable preemption after queueing stopper threads

2018-08-01 Thread Sodagudi Prasad
On 2018-07-30 14:07, Peter Zijlstra wrote: On Mon, Jul 30, 2018 at 10:12:43AM -0700, Sodagudi Prasad wrote: How about including below change as well? Currently, there is no way to identify thread migrations completed or not. When we observe this issue, the symptom was work queue lock up. It i

Re: [PATCH v2 1/3] overflow.h: Add arithmetic shift helper

2018-08-01 Thread Dan Carpenter
On Wed, Aug 01, 2018 at 10:57:44AM +0300, Dan Carpenter wrote: > The idea is nice, but I don't like the API. The "_overflow" feels too > specific because maybe we could check for other things in the future. > Normally boolean macros should say they are boolean in the name and I > would prefer if i

Szybkie tłumaczenia

2018-08-01 Thread Mateusz Górecki
Witaj Piszę do Ciebię ponieważ chciałbym zaproponować skorzystanie z bardzo sprawnego i rzetelnego serwisu tłumaczeń. Dzięki nam zlecisz tłumaczenia zwykłe, specjalistyczne lub przysięgłe nie wstając sprzed komputera albo smartfona. Wystarczy przesłać nam plik do wyceny, odpowiedź otrzymasz w

Re: [PATCH] net/9p/trans_virtio.c: add a terminal char for mount tag

2018-08-01 Thread Dominique Martinet
piaojun wrote on Wed, Aug 01, 2018: > chan->tag has no terminal char at last which will result in printing messy > code when debugging code. So we should add '\0' for tag. 9p is full of non null-terminated string so I'm not sure how I feel about it, is there anything wrong with how this is used or

Låneerbjudande

2018-08-01 Thread funding trust finance
Kära Herr / Fru, Du behöver ett brådskande lån för att lösa dina ekonomiska behov. Vi erbjuder ett intervall från 10 000,00 Euro till 100 000 000,00 Euroloan Max, vi är pålitliga, effektiva, snabba och dynamiska, med 100% garanterad och vi ger också kredit till (euro, pund och dollar ) Rä

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

2018-08-01 Thread Chanwoo Choi
Hi Matthias, On 2018년 08월 01일 04:29, Matthias Kaehlcke wrote: > 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, >

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

2018-08-01 Thread Quentin Perret
On Wednesday 01 Aug 2018 at 09:32:49 (+0200), Rafael J. Wysocki wrote: > On Tue, Jul 31, 2018 at 9:31 PM, wrote: > > 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

Re: [PATCH v2 8/9] libata-scsi: Move sense buffers onto stack

2018-08-01 Thread Christoph Hellwig
On Tue, Jul 31, 2018 at 12:51:53PM -0700, Kees Cook wrote: > To support future compile-time sizeof() checks that will be able to > validate the length of sense buffers, this removes the only dynamically > allocated sense buffers in the tree by putting the 96 byte sense buffers > on the stack. > >

Re: [PATCH v2 6/9] ide-cd: Remove redundant sense buffer

2018-08-01 Thread Christoph Hellwig
On Tue, Jul 31, 2018 at 12:51:51PM -0700, Kees Cook wrote: > This is already able to process the sense buffer, so remove the redundant > parsing during the failure path. This also fixes any possible stale values > since the prior code did not check the sense length. > > Signed-off-by: Kees Cook

Re: [PATCH v2 5/9] block: Switch struct packet_command to use struct scsi_sense_hdr

2018-08-01 Thread Christoph Hellwig
On Tue, Jul 31, 2018 at 12:51:50PM -0700, Kees Cook wrote: > There is a lot of needless struct request_sense usage in the CDROM > code. These can all be struct scsi_sense_hdr instead, to avoid any > confusion over their respective structure sizes. This patch is a lot > of noise changing "sense" to

Re: [PATCH v5 09/12] dt-bindings: misc: add bindings for throttler

2018-08-01 Thread Chanwoo Choi
Hi Matthias, On 2018년 07월 04일 08:47, Matthias Kaehlcke wrote: > The Throttler is used for non-thermal throttling of system components > like CPUs or devfreq devices. > > Signed-off-by: Matthias Kaehlcke > -- > Changes in v5: > - patch added to the series (replacing "dt-bindings: PM / OPP: add >

Re: KASAN: use-after-free Read in rtnetlink_put_metrics

2018-08-01 Thread David Ahern
On 8/1/18 10:15 AM, Sabrina Dubroca wrote: > ip -net peerA route add fec0:B::/64 via fec0:A:: mtu 1300 I am on vacation right now with limited access to internet, so not able to take a look. In submitting the fib6_info changes I did tests like this and did not see memleak reports (and verified th

Re: [PATCH v2 9/9] scsi: Check sense buffer size at build time

2018-08-01 Thread Christoph Hellwig
On Tue, Jul 31, 2018 at 12:51:54PM -0700, Kees Cook wrote: > To avoid introducing problems like those fixed in commit f7068114d45e > ("sr: pass down correctly sized SCSI sense buffer"), this creates a macro > wrapper for scsi_execute() that verifies the size of the sense buffer > similar to what wa

Re: [PATCH] net/9p/trans_virtio.c: add a terminal char for mount tag

2018-08-01 Thread piaojun
Hi Dominique, On 2018/8/1 16:11, Dominique Martinet wrote: > piaojun wrote on Wed, Aug 01, 2018: >> chan->tag has no terminal char at last which will result in printing messy >> code when debugging code. So we should add '\0' for tag. > > 9p is full of non null-terminated string so I'm not sure h

Re: [PATCH v5 06/12] PM / devfreq: Make update_devfreq() public

2018-08-01 Thread Chanwoo Choi
Hi Matthias, On 2018년 07월 04일 08:46, Matthias Kaehlcke wrote: > Currently update_devfreq() is only visible to devfreq governors outside > of devfreq.c. Make it public to allow drivers that adjust devfreq policies > to cause a re-evaluation of the frequency after a policy change. > > Signed-off-by

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

2018-08-01 Thread Rafael J. Wysocki
On Wed, Aug 1, 2018 at 10:23 AM, Quentin Perret wrote: > On Wednesday 01 Aug 2018 at 09:32:49 (+0200), Rafael J. Wysocki wrote: >> On Tue, Jul 31, 2018 at 9:31 PM, wrote: >> > On 2018-07-31 00:59, Quentin Perret wrote: >> >> >> >> On Monday 30 Jul 2018 at 12:35:27 (-0700), skan...@codeaurora.org

[PATCH v5 1/2] dt-bindings: mux: add adi,adgs1408

2018-08-01 Thread Peter Rosin
From: Mircea Caprioru Adding documentation for adgs1408/1409 multiplexer. The bindings follow the standard SPI and mux bindings and do not require any additional custom properties. Signed-off-by: Mircea Caprioru Reviewed-by: Rob Herring [peda: reword idle-state to non-array for singular mux co

[PATCH v5 2/2] mux: adgs1408: new driver for Analog Devices ADGS1408/1409 mux

2018-08-01 Thread Peter Rosin
From: Mircea Caprioru This patch adds basic support for Analog Device ADGS1408/09 SPI mux controller. The device is probed and set to a disabled state. It uses the new mux controller framework. Signed-off-by: Mircea Caprioru Signed-off-by: Peter Rosin --- drivers/mux/Kconfig| 10 d

[PATCH v5 0/2] mux: new driver for ADGS1408/1409

2018-08-01 Thread Peter Rosin
Hi Greg, Here's a new mux driver for v4.19-rc1. It's been in -next for a couple of days, and the risk is low since it is a completely new driver with no strange entanglements. And it's tiny. There was a report from -next about a trivial conflict in MAINTAINERS, but I guess that's more or less sta

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

2018-08-01 Thread Parthiban Nallathambi
us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Saravanan-Sekar/pinctrl-actions-define-constructor-generic-to-Actions-Semi-SoC-s/20180801-042834 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel config: arm64-defconfig

Re: [PATCH RESEND RFC 2/4] drivers: pinctrl: qcom: add wakeup gpio map for sdm845

2018-08-01 Thread Marc Zyngier
On Wed, 01 Aug 2018 03:00:19 +0100, Lina Iyer wrote: > > Add GPIO to PDC pin map for the SDM845 SoC. > > Signed-off-by: Lina Iyer > --- > drivers/pinctrl/qcom/pinctrl-sdm845.c | 76 +++ > 1 file changed, 76 insertions(+) > > diff --git a/drivers/pinctrl/qcom/pinctrl-sd

[PATCH v3 0/4] arm64: dts: rockchip: add basic dts file for PX30 SoCs

2018-08-01 Thread cl
From: Liang Chen Changes in v3: 1. backlight: remove properties ,, , as the driver will compute a default table. Changes in V2: 1. change the subject to format "dt-bindings: module: ..." for the documents. 2. use new property for backlight. 3. remove pinctrl of rk809, because the driver is not

[PATCH v3 1/4] dt-bindings: usb: dwc2: add description for px30

2018-08-01 Thread cl
From: Liang Chen This patch adds the compatible of dwc2 for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicet

[PATCH v3 2/4] dt-bindings: rockchip: grf: add grf and pmugrf description for px30

2018-08-01 Thread cl
From: Liang Chen This patch adds the compatible of GRF and PMUGRF for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.

[PATCH v3 3/4] arm64: dts: rockchip: add core dtsi file for PX30 SoCs

2018-08-01 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip PX30 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2043 1 file changed, 2043 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30.dtsi diff --git a/arch

[PATCH v3 4/4] arm64: dts: rockchip: add PX30 eavluation board devicetree

2018-08-01 Thread cl
From: Liang Chen This patch add px30-evb.dts for PX30 evaluation board. Tested on PX30 evb. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/

Re: [QUESTION] llist: Comment releasing 'must delete' restriction before traversing

2018-08-01 Thread Byungchul Park
On Wed, Aug 01, 2018 at 01:43:10PM +0800, Huang, Ying wrote: > Byungchul Park writes: > > > I think rcu list also works well. But I decided to use llist because > > llist is simpler and has one less pointer. > > > > Just to be sure, let me explain my use case more: > > > >1. Introduced a glob

Re: [PATCH 6/7] x86/vdso: Add vDSO functions for user wait instructions

2018-08-01 Thread Thomas Gleixner
On Tue, 31 Jul 2018, Andy Lutomirski wrote: > On Tue, Jul 31, 2018 at 2:22 PM, Thomas Gleixner wrote: > >> u64 start = __vdso_read_art_ns(); > > > > Errm. No. You can't read ART. ART is only used by decives to which it is > > distributed. You can only read TSC here and convert that to nsecs. > >

Re: [PATCH v2 03/10] mfd: wcd9335: add wcd irq support

2018-08-01 Thread Srinivas Kandagatla
Thanks for the review, On 31/07/18 21:45, Rob Herring wrote: On Fri, Jul 27, 2018 at 01:17:59PM +0100, Srinivas Kandagatla wrote: WCD9335 supports two lines of irqs INTR1 and INTR2. Multiple interrupts are muxed via these lines. INTR1 consists of all possible interrupt sources like: Ear OCP, HP

Re: [PATCH v2 05/10] ASoC: wcd9335: add CLASS-H Controller support

2018-08-01 Thread Srinivas Kandagatla
Thanks for the review, On 31/07/18 18:05, Mark Brown wrote: On Fri, Jul 27, 2018 at 01:18:01PM +0100, Srinivas Kandagatla wrote: + res_val = WCD9XXX_CLASSH_CTRL_VCL_VREF_FILT_R_0KOHM; + switch (mode) { + case CLS_H_NORMAL: + res_val = WCD9XXX_CLASSH_CTRL_VCL_VRE

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

2018-08-01 Thread Srinivas Kandagatla
Thanks for the review. On 31/07/18 18:16, Mark Brown wrote: 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"

Re: [PATCH v2 02/10] mfd: wcd9335: add support to wcd9335 core

2018-08-01 Thread Srinivas Kandagatla
Thanks for reviewing, On 30/07/18 05:12, Vinod wrote: On 27-07-18, 13:17, Srinivas Kandagatla wrote: +obj-$(CONFIG_MFD_WCD9335) += wcd9335.o +wcd9335-objs := wcd9335-core.o + no slimbus objs? Yep, I will try to tidy this up a bit in next version. +static int wcd9335_

Re: [PATCH v2 01/10] ASoC: dt-bindings: add dt bindings for wcd9335 audio codec

2018-08-01 Thread Srinivas Kandagatla
Thanks for the review. On 31/07/18 21:43, Rob Herring wrote: + +- reset-gpio: reset-gpios Yep, reset-gpios makes more inline with others! + Usage: required + Value type: + Definition: Reset gpio line + +- qcom,ifd: + Usage: required + Value type: + Defin

[PATCH v5 1/4] ASoC: qcom: dt-bindings: Add sdm845 machine bindings

2018-08-01 Thread Rohit kumar
Add devicetree bindings documentation file for SDM845 sound card. Reviewed-by: Rob Herring Signed-off-by: Rohit kumar --- .../devicetree/bindings/sound/qcom,sdm845.txt | 80 ++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/

[PATCH v5 0/4] Add support for audio on SDM845 SoC

2018-08-01 Thread Rohit kumar
This provides initial patchset to support audio on Qualcomm Techonologies Inc. SDM845 SoC. Currently, it supports audio playback/capture over Primary MI2S and Quaternary TDM ports. Changes since v4: - Used snd_mask_set_format() instead of snd_mask_set() to avoid sparse warning. Rohit kumar (4):

[PATCH v5 3/4] ASoC: qcom: Add support to parse common audio device nodes

2018-08-01 Thread Rohit kumar
This adds support to parse cpu, platform and codec device nodes and add them in dai-links. Also, update apq8096 machine driver to use the common API. Acked-by: Srinivas Kandagatla Signed-off-by: Rohit kumar --- sound/soc/qcom/Makefile | 2 +- sound/soc/qcom/apq8096.c | 111 +-

[PATCH v8 3/4] powerpc/lib: implement strlen() in assembly for PPC32

2018-08-01 Thread Christophe Leroy
The generic implementation of strlen() reads strings byte per byte. This patch implements strlen() in assembly based on a read of entire words, in the same spirit as what some other arches and glibc do. On a 8xx the time spent in strlen is reduced by 3/4 for long strings. strlen() selftest on an

[PATCH v8 1/4] selftests/powerpc: add test for 32 bits memcmp

2018-08-01 Thread Christophe Leroy
This patch renames memcmp test to memcmp_64 and adds a memcmp_32 test for testing the 32 bits version of memcmp() Signed-off-by: Christophe Leroy --- v8: rebased on latest powerpc/merge v7: no change v6: no change v5: no change v4: new tools/testing/selftests/powerpc/stringloops/Makefile

[PATCH v5 2/4] ASoC: dt-bindings: Update dt binding name for apq8096

2018-08-01 Thread Rohit kumar
Remove qcom prefix from machine driver dt bindings of apq8096 SoC. Acked-by: Srinivas Kandagatla Reviewed-by: Rob Herring Signed-off-by: Rohit kumar --- Documentation/devicetree/bindings/sound/qcom,apq8096.txt | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a

[PATCH v5 4/4] ASoC: qcom: add sdm845 sound card support

2018-08-01 Thread Rohit kumar
This patch adds sdm845 audio machine driver support. Acked-by: Srinivas Kandagatla Signed-off-by: Rohit kumar --- sound/soc/qcom/Kconfig | 8 ++ sound/soc/qcom/Makefile | 2 + sound/soc/qcom/sdm845.c | 286 3 files changed, 296 insertions(+)

Re: [PATCH 4/7] x86/umwait_contro: Set global umwait maximum time limit and umwait C0.2 state

2018-08-01 Thread Thomas Gleixner
On Mon, 23 Jul 2018, Andy Lutomirski wrote: > On 07/23/2018 05:55 AM, Fenghua Yu wrote: > > UMWAIT or TPAUSE called by user process makes processor to reside in > > a light-weight power/performance optimized state (C0.1 state) or an > > improved power/performance optimized state (C0.2 state). > >

[PATCH v2 1/2] leds: core: Introduce LED pattern trigger

2018-08-01 Thread Baolin Wang
Some LED controllers have support for autonomously controlling brightness over time, according to some preprogrammed pattern or function. This patch adds pattern trigger that LED device can configure the pattern and trigger it. Signed-off-by: Raphael Teysseyre Signed-off-by: Baolin Wang --- Cha

[PATCH v2 2/2] leds: sc27xx: Add pattern_set/clear interfaces for LED controller

2018-08-01 Thread Baolin Wang
This patch implements the 'pattern_set'and 'pattern_clear' interfaces to support SC27XX LED breathing mode. Signed-off-by: Baolin Wang --- changes from v1: - Remove pattern_get interface. --- drivers/leds/leds-sc27xx-bltc.c | 94 +++ 1 file changed, 94 inse

Re: [PATCH 1/2] staging: erofs: add the missing break in z_erofs_map_blocks_iter

2018-08-01 Thread Dan Carpenter
On Wed, Aug 01, 2018 at 02:38:30PM +0800, Gao Xiang wrote: > diff --git a/drivers/staging/erofs/unzip_vle.c > b/drivers/staging/erofs/unzip_vle.c > index bd2d7a8..6d3ab31 100644 > --- a/drivers/staging/erofs/unzip_vle.c > +++ b/drivers/staging/erofs/unzip_vle.c > @@ -1596,10 +1596,10 @@ int z_erof

[PATCH RT] sched: drop is_special_task_state() check from __set_current_state_no_track()

2018-08-01 Thread Sebastian Andrzej Siewior
The is_special_task_state() check in __set_current_state_no_track() has been wrongly placed. __set_current_state_no_track() is used in RT while a sleeping lock is acquired. It is used at the begin of the wait loop with TASK_UNINTERRUPTIBLE and while leaving it and restoring the original state. The

RE: [PATCH v2 0/4] arm64 SMMUv3 PMU driver with IORT support

2018-08-01 Thread Shameerali Kolothum Thodi
Hi Lorenzo/Robin, Just a gentle ping on this series. This is a v2 for smmu pmcg support based on Neil Leeder's v1[1]. Main changes include, -an helper function to IORT to retrieve the associated SMMU info. -MSI support to the PMU driver. Please take a look and let me know your thoughts. Thank

Re: linux-next: build failure after merge of the staging tree

2018-08-01 Thread Chao Yu
Hi Stephen, On 2018/7/30 14:31, Gao Xiang wrote: > Hi Stephen, > > On 2018/7/30 14:16, Stephen Rothwell wrote: >> Hi Greg, >> >> After merging the staging tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >> >> drivers/staging/erofs/super.c: In function 'erofs_read_super':

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

2018-08-01 Thread Will Deacon
On Tue, Jul 31, 2018 at 04:29:56PM -0400, Alex Bounine wrote: > On 2018-07-31 08:54 AM, 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 may >

Re: bisected - arm64 kvm unit test failures

2018-08-01 Thread Mike Galbraith
On Wed, 2018-08-01 at 08:22 +0100, Marc Zyngier wrote: > On Wed, 01 Aug 2018 07:02:25 +0100, > Mike Galbraith wrote: > > > > [1 ] > > On Wed, 2018-08-01 at 06:35 +0100, Marc Zyngier wrote: > > > > > > Is it something that is reproducible with the current mainline (non-RT)? > > > > These waters

Re: [PATCH 1/2] staging: erofs: add the missing break in z_erofs_map_blocks_iter

2018-08-01 Thread Gao Xiang
Hi Dan, On 2018/8/1 17:02, Dan Carpenter wrote: > On Wed, Aug 01, 2018 at 02:38:30PM +0800, Gao Xiang wrote: >> diff --git a/drivers/staging/erofs/unzip_vle.c >> b/drivers/staging/erofs/unzip_vle.c >> index bd2d7a8..6d3ab31 100644 >> --- a/drivers/staging/erofs/unzip_vle.c >> +++ b/drivers/stagin

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

2018-08-01 Thread Quentin Perret
On Wednesday 01 Aug 2018 at 10:35:32 (+0200), Rafael J. Wysocki wrote: > On Wed, Aug 1, 2018 at 10:23 AM, Quentin Perret > wrote: > > On Wednesday 01 Aug 2018 at 09:32:49 (+0200), Rafael J. Wysocki wrote: > >> On Tue, Jul 31, 2018 at 9:31 PM, wrote: > >> >> On Monday 30 Jul 2018 at 12:35:27 (-0

Re: [PATCH v2 2/5] regulator: rk808: add RK809 and RK817 support.

2018-08-01 Thread Mark Brown
On Tue, Jul 31, 2018 at 03:57:27PM +0800, Tony Xie wrote: > + default: > + pr_warn("%s ramp_delay: %d not supported, setting 1\n", > + rdev->desc->name, ramp_delay); > + } This looks mostly good but I notice that most of the prints in the driver are pr_

Re: [PATCH char-misc 1/1] Drivers: hv: vmbus: Make synic_initialized flag per-cpu

2018-08-01 Thread Vitaly Kuznetsov
"Michael Kelley (EOSG)" writes: > From: Vitaly Kuznetsov Sent: Tuesday, July 31, 2018 > 4:20 AM >> >> Alternatively, we can get rid of synic_initialized flag altogether: >> hv_synic_init() never fails in the first place but we can always >> implement something like: >> >> int hv_synic_is_init

Re: [PATCH V4 5/7] mmc: sdhci: add Auto CMD Auto Select support

2018-08-01 Thread Chunyan Zhang
On 31 July 2018 at 17:36, Adrian Hunter wrote: > On 31/07/18 12:20, Chunyan Zhang wrote: >> On 31 July 2018 at 16:56, Adrian Hunter wrote: >>> On 31/07/18 11:36, Chunyan Zhang wrote: On 31 July 2018 at 16:05, Adrian Hunter wrote: > On 31/07/18 10:04, Chunyan Zhang wrote: >> Hi Adria

[PATCH 10/14] mmc: mmci: add dma_release callback

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch adds dma_release callback at mmci_host_ops to allow to call specific variant. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 13 - drivers/mmc/host/mmci.h | 2 ++ drivers/mmc/host/mmci_qcom_dml.c | 1 + 3 files changed,

[PATCH 04/14] mmc: mmci: introduce dma_priv pointer to mmci_host

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch introduces dma_priv pointer to define specific needs for each dma engine. This patch is needed to prepare sdmmc variant with internal dma which not use dmaengine API. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 165

[PATCH 12/14] mmc: mmci: add dma_finalize callback

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch adds dma_finalize callback at mmci_host_ops to allow to call specific variant. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 14 -- drivers/mmc/host/mmci.h | 2 ++ drivers/mmc/host/mmci_qcom_dml.c | 1 + 3 files change

[PATCH 07/14] mmc: mmci: add prepare/unprepare_data callbacks

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch adds prepare/unprepare callbacks to mmci_host_ops. Like this mmci_pre/post_request can be generic, mmci_prepare_data and mmci_unprepare_data provide common next_cookie management. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 118 +++

[PATCH 09/14] mmc: mmci: modify dma_setup callback

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch creates a generic mmci_dma_setup which calls dma_setup callback and manages common next_cookie. This patch is needed for sdmmc variant which has a different dma settings. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 25 +

[PATCH 03/14] mmc: mmci: internalize dma_inprogress into mmci dma functions

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch internalizes the dma_inprogress into mmci dma interfaces. This allows to simplify and prepare the next dma callbacks for mmci host ops. __dma_inprogress is called in mmci_dma_data_error and mmci_dma_finalize. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci

[PATCH 06/14] mmc: mmci: merge prepare data functions

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch merges the prepare data functions. This allows to define a single access to prepare data service. This prepares integration for mmci host ops. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 22 +- 1 file changed, 9 insertions(+), 1

[PATCH 02/14] mmc: mmci: internalize dma map/unmap into mmci dma functions

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch internalizes the management of dma map/unmap into mmci dma interfaces. This allows to simplify and prepare the next dma callbacks for mmci host ops. mmci_dma_unmap was called in mmci_data_irq & mmci_cmd_irq functions and can be integrated in mmci_dma_data_error. Si

maybe resource leak in security/selinux/selinuxfs.c

2018-08-01 Thread Nixiaoming
advisory: 1 After creating dentry in d_alloc_name, should I call dput to release resources before the exception exit? 2 After calling the new_inode to create an inode, should the inode resource be released before the exception exit? If the dentry and inode resources need to be actively released,

[PATCH 13/14] mmc: mmci: add dma_error callback

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch adds dma_error callback at mmci_host_ops to allow to call specific variant. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 20 +++- drivers/mmc/host/mmci.h | 2 ++ drivers/mmc/host/mmci_qcom_dml.c | 1 + 3 files cha

[PATCH 11/14] mmc: mmci: add dma_start callback

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch adds dma_start callback to mmci_host_ops. Create a generic mmci_dma_start function which regroup common action between variant. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 63 +++- drivers/mmc/host/mmci.

[PATCH 14/14] mmc: mmci: add validate_data callback

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch adds validate_data callback at mmci_host_ops to check specific constraints of variant. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 39 +-- drivers/mmc/host/mmci.h | 1 + 2 files changed, 22 insertions(+), 18 del

[PATCH 08/14] mmc: mmci: add get_next_data callback

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch adds get_next_data callback to mmci_host_ops. Generic mmci_get_next_data factorizes next_cookie check and the host ops call. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 16 ++-- drivers/mmc/host/mmci.h | 2 ++ drivers

[PATCH 01/14] mmc: mmci: fix qcom dma issue during mmci init with new dma_setup callback

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch fixes qcom dma issue during mmci init. Like init callback of qcom variant is not set, the qcom dma is not correctly initialized and fail while dma transfer ("buggy DMA detected. Taking evasive action"). Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 1

[PATCH 00/14] mmc: mmci: prepare dma callbacks with mmci_host_ops

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch series prepares and adds callbacks for dma transfert at mmci_host_ops. This series is composed of 3 parts: -Internalize specific needs of legacy dmaengine. -Create and setup dma_priv pointer -Create generic callbacks which share some features (like cookie...) and c

[PATCH 05/14] mmc: mmci: move mmci next cookie to mci host

2018-08-01 Thread Ludovic Barre
From: Ludovic Barre This patch moves next cookie to mmci host structure to share same cookie management between all variants. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 10 -- drivers/mmc/host/mmci.h | 2 ++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git

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

2018-08-01 Thread Rafael J. Wysocki
On Wed, Aug 1, 2018 at 11:23 AM, Quentin Perret wrote: > On Wednesday 01 Aug 2018 at 10:35:32 (+0200), Rafael J. Wysocki wrote: >> On Wed, Aug 1, 2018 at 10:23 AM, Quentin Perret >> wrote: >> > On Wednesday 01 Aug 2018 at 09:32:49 (+0200), Rafael J. Wysocki wrote: >> >> On Tue, Jul 31, 2018 at 9

Re: [PATCH] mmc: mxcmmc: Fix missing parentheses and brace

2018-08-01 Thread Ulf Hansson
On 31 July 2018 at 22:27, Kees Cook wrote: > On Mon, Jul 16, 2018 at 3:11 AM, Ulf Hansson wrote: >> On 12 July 2018 at 21:59, Kees Cook wrote: >>> Looks like the adjusted syntax wasn't fully build tested. This fixes >>> failures with powerpc builds: >>> >>> drivers/mmc/host/mxcmmc.c: In function

[PATCH] staging: mt29f_spinand: fix memory leak while programming pages

2018-08-01 Thread Jheng-Jhong Wu
In spinand_program_page(), it uses devm_kzalloc() to allocate memory to wbuf dynamically if internal ECC is on, but it doesn't free memory allocated to wbuf at the end of this function. This leads to a memory leak issue when internal ECC is on. Signed-off-by: Jheng-Jhong Wu --- drivers/staging/m

[PATCH 3/5] meson: pinctrl-gxbb: add support for TEST_N pin

2018-08-01 Thread Neil Armstrong
The Amlogic Meson GXBB SoCs needs a Secure Monitor call to set the TEST_N direction, add a special bank to support this pin. Signed-off-by: Neil Armstrong --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gx

  1   2   3   4   5   6   7   8   9   10   >