Re: [PATCH 05/10] dt-bindings: PCI: tegra: Add device tree support for T194

2019-03-27 Thread Vidya Sagar
On 3/27/2019 3:40 PM, Jon Hunter wrote: On 26/03/2019 15:13, Vidya Sagar wrote: Add support for Tegra194 PCIe controllers. These controllers are based on Synopsys DesignWare core IP. Signed-off-by: Vidya Sagar --- .../bindings/pci/nvidia,tegra194-pcie.txt | 209

Re: [PATCH V4 4/5] mmc: mmci: stm32: define get_dctrl_cfg

2019-03-27 Thread Ulf Hansson
On Wed, 27 Mar 2019 at 10:05, Ludovic Barre wrote: > > From: Ludovic Barre > > This patch defines get_dctrl_cfg callback for sdmmc variant. > sdmmc variant has specific stm32 transfer modes. > sdmmc data transfer mode selection could be: > -Block data transfer ending on block count. > -SDIO multi

Re: [PATCH v2] arch_topology: Make cpu_capacity sysfs node as ready-only

2019-03-27 Thread Quentin Perret
Hi, On Friday 08 Mar 2019 at 18:08:48 (+0530), Lingutla Chandrasekhar wrote: > If user updates any cpu's cpu_capacity, then the new value is going to > be applied to all its online sibling cpus. But this need not to be correct > always, as sibling cpus (in ARM, same micro architecture cpus) would

Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-27 Thread Harald Freudenberger
On 26.03.19 21:45, Tony Krowiak wrote: > On 3/22/19 10:43 AM, Pierre Morel wrote: >> The AP interruptions are assigned on a queue basis and >> the GISA structure is handled on a VM basis, so that >> we need to add a structure we can retrieve from both side > > s/side/sides/ > >> holding the informa

Re: [PATCH v2 1/2] bus: tegra-aconnect: use devm_clk_*() helpers

2019-03-27 Thread Sameer Pujar
Hi Reviewers, Request for review and approval. Thanks, Sameer. On 3/13/2019 10:11 AM, Sameer Pujar wrote: aconnect bus driver is using pm_clk_*() interface for managing clocks. With this, clocks seem to be always ON. This happens on Tegra devices which use BPMP co-processor to manage clock res

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Borislav Petkov
On Wed, Mar 27, 2019 at 12:50:24PM +0200, Leon Romanovsky wrote: > It is how we are internally running verification and development, > with KERN_DEBUG level, we need it to catch bugs. And what is the big deal with seeing those messages? Why are *exactly* those two such a big problem and the gazill

Re: [PATCH v2 1/4] ARM: davinci: fix cpufreq registration on da850-evm

2019-03-27 Thread Sekhar Nori
Hi Bart, On 26/03/19 11:21 PM, Bartosz Golaszewski wrote: > wt., 26 mar 2019 o 15:00 Adam Ford napisał(a): >> >> On Fri, Mar 22, 2019 at 8:31 AM Bartosz Golaszewski wrote: >>> >>> From: Bartosz Golaszewski >>> >>> The system_rev variable is never set on davinci and is always 0, so >>> we're usi

Re: [PATCH v4 2/2] mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning

2019-03-27 Thread Adrian Hunter
On 26/03/19 1:00 PM, Faiz Abbas wrote: > commit 5b0d62108b46 ("mmc: sdhci-omap: Add platform specific reset > callback") skips data resets during tuning operation. Because of this, > a data error or data finish interrupt might still arrive after a command > error has been handled and the mrq ended.

From: Dr Rhama David Benson,

2019-03-27 Thread Mr David Benson
From: Dr Rhama David Benson, Please read carefully, This message might meet you in utmost surprise. However, it's just my urgent need for foreign partner that made me to contact you for this transaction. I got your contact from yahoo tourist search while I was searching for a foreign partner. I am

Re: [PATCH] ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock for SDMA

2019-03-27 Thread Fabio Estevam
Hi Andrey, On Tue, Mar 26, 2019 at 11:52 PM Andrey Smirnov wrote: > I think it is worth fixing in DT, regardless if we do anything about > SDMA driver or not. I'll add fixes for 6SX and 7D in v2. What about imx25, imx31, imx50, imx51, imx53, imx6sl, imx6ul, imx6sll, imx6ull, etc? If we plan to

Re: [PATCH v2] PCI: al: Add Amazon Annapurna Labs PCIe host controller driver

2019-03-27 Thread Lorenzo Pieralisi
On Wed, Mar 27, 2019 at 09:52:15AM +, David Woodhouse wrote: > On Tue, 2019-03-26 at 15:58 +, Lorenzo Pieralisi wrote: > > > We did that internally. You really don't want me telling engineers to > > > post to the list *first* without running things by me to get the basics > > > right. Not t

Re: [RFC PATCH 1/4] vfs: Create fs_context-aware mount_bdev() replacement

2019-03-27 Thread David Howells
Andrew Price wrote: > > + up_write(&s->s_umount); > > + blkdev_put(bdev, fc->bdev_mode); > > + down_write(&s->s_umount); > > fc->bdev should be NULLed here (or, on the way out of sget_fc() might be more > appropriate) otherwise we get a double-blkdev_put() leading t

Re: [RFC PATCH v2 1/3] resource: Request IO port regions from children of ioport_resource

2019-03-27 Thread John Garry
On 26/03/2019 22:48, Bjorn Helgaas wrote: [+cc Catalin, Will, linux-arm-kernel] From my checking, the f71882fg hwmon is accessed via the super-io interface on the PCH on x86. The super-io interface is at fixed addresses, those being 0x2e and 0x4e. Please see the following: https://git.kernel.

Re: [PATCH] RISC-V: Implement ASID allocator

2019-03-27 Thread Gary Guo
Hi Anup, This won't work in an actual hardware with ASID support. There're more interactions with TLB flushes that need to be considered. You won't see this on both QEMU and SiFive board, as QEMU does not have ASID, so it pretends that ASID is supported by just flushing its TLB everytime you c

Re: [PATCH v4] kmemleak: survive in a low-memory situation

2019-03-27 Thread Qian Cai
On 3/27/19 4:44 AM, Michal Hocko wrote: >> diff --git a/mm/kmemleak.c b/mm/kmemleak.c >> index a2d894d3de07..7f4545ab1f84 100644 >> --- a/mm/kmemleak.c >> +++ b/mm/kmemleak.c >> @@ -580,7 +580,16 @@ static struct kmemleak_object *create_object(unsigned >> long ptr, size_t size, >> struct rb_n

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Leon Romanovsky
On Wed, Mar 27, 2019 at 12:14:52PM +0100, Borislav Petkov wrote: > On Wed, Mar 27, 2019 at 12:50:24PM +0200, Leon Romanovsky wrote: > > It is how we are internally running verification and development, > > with KERN_DEBUG level, we need it to catch bugs. > > And what is the big deal with seeing tho

Re: [PATCH v2] PCI: al: Add Amazon Annapurna Labs PCIe host controller driver

2019-03-27 Thread Lorenzo Pieralisi
On Wed, Mar 27, 2019 at 09:43:26AM +, David Woodhouse wrote: > On Tue, 2019-03-26 at 12:17 +, Lorenzo Pieralisi wrote: > > This code is basically identical to (apart from the string matching > > the DBI resource) > > > > drivers/pci/controller/pcie-hisi.c > > > > because, as you said, tha

Re: [PATCH v2] PCI: al: Add Amazon Annapurna Labs PCIe host controller driver

2019-03-27 Thread David Woodhouse
On Wed, 2019-03-27 at 11:20 +, Lorenzo Pieralisi wrote: > On Wed, Mar 27, 2019 at 09:52:15AM +, David Woodhouse wrote: > > On Tue, 2019-03-26 at 15:58 +, Lorenzo Pieralisi wrote: > > > > We did that internally. You really don't want me telling engineers to > > > > post to the list *firs

Re: [PATCH] RISC-V: Implement ASID allocator

2019-03-27 Thread Anup Patel
On Wed, Mar 27, 2019 at 4:57 PM Gary Guo wrote: > > Hi Anup, > > This won't work in an actual hardware with ASID support. There're more Can you elaborate why? This implementation is based on Linux ARM64 ASID allocator which is tested for large number of CPUs on real HW. > interactions with TLB

Re: [PATCH 08/25] coresight: tmc: Clean up device specific data

2019-03-27 Thread Suzuki K Poulose
On 03/26/2019 09:53 PM, Mathieu Poirier wrote: Hi Suzuki, On Wed, Mar 20, 2019 at 06:49:25PM +, Suzuki K Poulose wrote: In preparation to use a consistent device naming scheme, clean up the device link tracking in replicator driver. Use the "coresight" device instead of the "real" parent de

Re: [PATCH v4] kmemleak: survive in a low-memory situation

2019-03-27 Thread Michal Hocko
On Wed 27-03-19 07:34:32, Qian Cai wrote: > On 3/27/19 4:44 AM, Michal Hocko wrote: > >> diff --git a/mm/kmemleak.c b/mm/kmemleak.c > >> index a2d894d3de07..7f4545ab1f84 100644 > >> --- a/mm/kmemleak.c > >> +++ b/mm/kmemleak.c > >> @@ -580,7 +580,16 @@ static struct kmemleak_object *create_object(u

Re: [PATCH v4 2/2] mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning

2019-03-27 Thread Faiz Abbas
Hi Adrian, On 27/03/19 4:45 PM, Adrian Hunter wrote: > On 26/03/19 1:00 PM, Faiz Abbas wrote: >> commit 5b0d62108b46 ("mmc: sdhci-omap: Add platform specific reset >> callback") skips data resets during tuning operation. Because of this, >> a data error or data finish interrupt might still arrive

[PATCH] ASoC: sprd: Add Spreadtrum audio compress offload support

2019-03-27 Thread Baolin Wang
We use 2-stage DMA mode to support Spreadtrum audio compress offload, which means we use one DMA source channel to transfer data from IRAM buffer to the DSP fifo to do decoding/encoding, once IRAM buffer is empty by transferring done, another DMA destination channel will be triggered automatically

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Borislav Petkov
On Wed, Mar 27, 2019 at 01:36:28PM +0200, Leon Romanovsky wrote: > At the end, it is reduced to our usage, we are running QEMU inside > docker to test kernel changes with limitation on number of CPUs to use. > The systems are optimized to boot kernel as soon as possible in order > to run tests and

Re: [PATCH 10/25] coresight: tpiu: Clean up device specific data

2019-03-27 Thread Suzuki K Poulose
On 03/26/2019 09:54 PM, Mathieu Poirier wrote: On Wed, Mar 20, 2019 at 06:49:27PM +, Suzuki K Poulose wrote: Switch to using the coresight device instead of the parent amba device. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-tpiu.c | 12

[PATCH] regulator: rc5t583: Get rid of struct rc5t583_regulator

2019-03-27 Thread Axel Lin
The struct rc5t583_regulator only has 2 members, the *rdev is no longer used because this driver is using devm_regulator_register now. After remove *rdev, only *reg_info left. We can use struct rc5t583_regulator_info directly, so remove struct rc5t583_regulator. Signed-off-by: Axel Lin --- drive

[PATCH v2] arch_topology: Make cpu_capacity sysfs node as ready-only

2019-03-27 Thread Lingutla Chandrasekhar
If user updates any cpu's cpu_capacity, then the new value is going to be applied to all its online sibling cpus. But this need not to be correct always, as sibling cpus (in ARM, same micro architecture cpus) would have different cpu_capacity with different performance characteristics. So updating

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

2019-03-27 Thread Mark Brown
On Wed, Mar 27, 2019 at 03:29:55PM +1100, Michael Ellerman wrote: > Mark Brown writes: > > Hrm, seems PowerPC is still not using the common clock API - is there > > any plan for that? There are some ASoC PowerPC uses so it's going to be > > a bit of an issue as we expand our use of the clock API

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Leon Romanovsky
On Wed, Mar 27, 2019 at 12:49:17PM +0100, Borislav Petkov wrote: > On Wed, Mar 27, 2019 at 01:36:28PM +0200, Leon Romanovsky wrote: > > At the end, it is reduced to our usage, we are running QEMU inside > > docker to test kernel changes with limitation on number of CPUs to use. > > The systems are

Re: [PATCH] staging: pi433: Fix rf69_set_tx_cfg() logic

2019-03-27 Thread Dan Carpenter
On Wed, Mar 27, 2019 at 08:11:20AM +, Sidong Yang wrote: > Moved code to configure sync to where check enable_sync option before. > There is no need to check enable_sync twice. Configuring sync should be > executed immediately after enabling sync. > > Signed-off-by: Sidong Yang > --- > drive

Re: [PATCH v2] arm64: dts: rockchip: add rk3399 UART DMAs

2019-03-27 Thread Heiko Stuebner
Hi, Am Dienstag, 26. März 2019, 14:49:16 CET schrieb Katsuhiro Suzuki: > Hello Robin, > > Sorry for inconvenience. Since I don't adhere enabling DMA for UARTs, > please revert my patch if you need. I've dropped the patch from my queue now. > BTW, there are DMA properties in RK3328 device-tree l

[PATCH v2] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-27 Thread Josh Poimboeuf
Make the /sys/devices/system/cpu/smt/* files available on all arches, so user space has a consistent way to detect whether SMT is enabled. The 'control' file now shows 'notimplemented' for architectures which don't yet have CONFIG_HOTPLUG_SMT. Signed-off-by: Josh Poimboeuf --- v2: add "notimplem

Re: [PATCH v2] PCI: al: Add Amazon Annapurna Labs PCIe host controller driver

2019-03-27 Thread David Woodhouse
On Wed, 2019-03-27 at 11:39 +, Lorenzo Pieralisi wrote: > I just want to keep MCFG ECAM quirks as simple as possible, code as it > stands is horrible enough and I wish I could remove the mechanism in > the future rather than adding more to it, hopefully we are getting > there. Obviously I cann

Re: [PATCH v2] platform/chrome: mfd/cros_ec_sysfs: Add sysfs entry to retrieve EC uptime.

2019-03-27 Thread Enric Balletbo i Serra
Hi Tim, On 25/3/19 18:02, twawrzync...@chromium.org wrote: > From: Tim Wawrzynczak > > The new sysfs entry 'uptime' is being made available to userspace so that > a userspace daemon can synchronize EC logs with host time. > > Signed-off-by: Tim Wawrzynczak > --- > Enric, the use case for this

[PATCH] arm64: dts: rockchip: fix IO domain voltage setting of APIO5

2019-03-27 Thread Katsuhiro Suzuki
This patch fixes IO domain voltage setting that is related to audio_gpio3d4a_ms (bit 1) of GRF_IO_VSEL. This is because RockPro64 schematics P.16 says that regulator supplies 3.0V power to APIO5_VDD. So audio_gpio3d4a_ms bit should be clear (means 3.0V). Power domain map is saying different thing

Re: [PATCH] sh:mach-dreamcast/irq.c : Remove duplicate header

2019-03-27 Thread Mukesh Ojha
On 3/23/2019 2:32 AM, jagdsh.li...@gmail.com wrote: From: Jagadeesh Pagadala Remove duplicate header which is included twice. Signed-off-by: Jagadeesh Pagadala Reviewed-by: Mukesh Ojha --- arch/sh/boards/mach-dreamcast/irq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/s

Re: [PATCH v2] arm64: dts: rockchip: add rk3399 UART DMAs

2019-03-27 Thread Robin Murphy
On 26/03/2019 13:49, Katsuhiro Suzuki wrote: Hello Robin, Sorry for inconvenience. Since I don't adhere enabling DMA for UARTs, please revert my patch if you need. I found a little time to fire up the board again this morning, so I gave this another try to double-check - in fact this time I o

Re: [PATCH] infiniband: cxgb4: fix a potential NULL pointer dereference

2019-03-27 Thread Mukesh Ojha
On 3/9/2019 10:49 AM, Kangjie Lu wrote: get_skb may fail and return NULL. The fix returns "ENOMEM" when it fails to avoid NULL dereference. Signed-off-by: Kangjie Lu Reviewed-by: Mukesh Ojha --- drivers/infiniband/hw/cxgb4/cm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/d

Re: [PATCH] infiniband: cxgb4: fix a potential NULL pointer dereference

2019-03-27 Thread Mukesh Ojha
On 3/9/2019 10:49 AM, Kangjie Lu wrote: get_skb may fail and return NULL. The fix returns "ENOMEM" when it fails to avoid NULL dereference. Signed-off-by: Kangjie Lu Reviewed-by: Mukesh OJha --- drivers/infiniband/hw/cxgb4/cm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/d

[tip:ras/core] x86/mce: Handle varying MCA bank counts

2019-03-27 Thread tip-bot for Yazen Ghannam
Commit-ID: 006c077041dc73b9490fffc4c6af5befe0687110 Gitweb: https://git.kernel.org/tip/006c077041dc73b9490fffc4c6af5befe0687110 Author: Yazen Ghannam AuthorDate: Fri, 27 Jul 2018 16:40:09 -0500 Committer: Borislav Petkov CommitDate: Wed, 27 Mar 2019 13:12:49 +0100 x86/mce: Handle varyi

Re: [PATCH] Correct zone boundary handling when resetting pageblock skip hints

2019-03-27 Thread Anshuman Khandual
On 03/27/2019 02:24 PM, Mel Gorman wrote: > Mikhail Gavrilo reported the following bug being triggered in a Fedora > kernel based on 5.1-rc1 but it is relevant to a vanilla kernel. > > kernel: page dumped because: VM_BUG_ON_PAGE(PagePoisoned(p)) > kernel: [ cut here ]

Re: [PATCH v2 1/2] dt-bindings: ARM: dts: rockchip: Add bindings for rk3288-veyron-mighty

2019-03-27 Thread Heiko Stuebner
Am Montag, 25. März 2019, 17:20:04 CET schrieb Douglas Anderson: > Mighty is basically the same Chromebook as Jaq but it has a full-sized > SD slot and some different (slightly more rugged) plastics around it. > Like Jaq, Mighty may show up with various different brandings but all > of them have th

Re: [PATCH v3 3/3] arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.

2019-03-27 Thread Heiko Stuebner
Am Montag, 25. März 2019, 14:27:26 CET schrieb Ulf Hansson: > On Fri, 22 Mar 2019 at 12:39, Christoph Muellner > wrote: > > > > When using direct commands (DCMDs) on an RK3399, we get spurious > > CQE completion interrupts for the DCMD transaction slot (#31): > > > > [ 931.196520] [ c

[PATCH] dmaengine: stm32-dma: fix residue calculation in stm32-dma

2019-03-27 Thread Arnaud Pouliquen
During residue calculation. the DMA can switch to the next sg. When this race condition occurs, the residue returned value is not valid. Indeed the position in the sg returned by the hardware is the position of the next sg, not the current sg. Solution is to check the sg after the calculation to ve

Re: [PATCH] drivers/acpi: Clear status of an event before enabling it

2019-03-27 Thread Rafael J. Wysocki
On Thu, Mar 21, 2019 at 3:16 AM Furquan Shaikh wrote: > > On Wed, Mar 20, 2019 at 5:11 PM Rafael J. Wysocki wrote: > > > > On Wed, Mar 20, 2019 at 11:34 PM Furquan Shaikh wrote: > > > > > > Commit 18996f2db918 ("ACPICA: Events: Stop unconditionally > > > clearing ACPI IRQs during suspend/resume"

Re: [PATCH v2 1/6] device property: Add functions for accessing node's parents

2019-03-27 Thread Petr Mladek
On Tue 2019-03-26 14:41:01, Sakari Ailus wrote: > Add two convenience functions for accessing node's parents: > > fwnode_count_parents() returns the number of parent nodes a given node > has. fwnode_get_nth_parent() returns node's parent at a given distance > from the node itself. > > Also reorde

Re: [PATCH 10/10] arm64: Add Tegra194 PCIe driver to defconfig

2019-03-27 Thread Jon Hunter
On 27/03/2019 10:12, Vidya Sagar wrote: > On 3/27/2019 3:38 PM, Jon Hunter wrote: >> >> On 26/03/2019 15:13, Vidya Sagar wrote: >>> Add PCIe host controller driver for DesignWare core based >>> PCIe controller IP present in Tegra194. >>> >>> Signed-off-by: Vidya Sagar >>> --- >>>   arch/arm64/co

[PATCH] mm/page-flags: Check enforce parameter in PF_ONLY_HEAD()

2019-03-27 Thread Anshuman Khandual
Just check for enforce parameter in PF_ONLY_HEAD() wrapper before calling VM_BUG_ON_PGFLAGS() for tail pages. Fixes: 62906027091f ("mm: add PageWaiters indicating tasks are waiting for a page bit") Signed-off-by: Anshuman Khandual --- include/linux/page-flags.h | 2 +- 1 file changed, 1 inserti

[PATCH v6 1/2] Bluetooth: hci_qca: Added support for WCN3998

2019-03-27 Thread Harish Bandi
Added new compatible for WCN3998 and corresponding voltage and current values to WCN3998 compatible. Changed driver code to support WCN3998 Signed-off-by: Harish Bandi --- Changes in V6: - changed return value to false in the qca_is_wcn399x()stub --- drivers/bluetooth/btqca.c | 13 +++-

[PATCH v6 0/2] Enable Bluetooth functionality for WCN3998.

2019-03-27 Thread Harish Bandi
This patch series we add support for WCN3998 BT chip set. This new chip set is based from the WCN3990 with minimal power numbers. So here in this patch The major difference between wcn3990 and WCN3998 is only power numbers. where as init process and fw download is same with wcn3990. So we add new c

[PATCH v6 2/2] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip WCN3998

2019-03-27 Thread Harish Bandi
This patch enables regulators for the Qualcomm Bluetooth WCN3998 controller. Signed-off-by: Harish Bandi --- Changes in V6: - no changes --- Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicet

Re: [PATCH v13 01/11] bitops: Introduce the for_each_set_clump8 macro

2019-03-27 Thread Andy Shevchenko
On Wed, Mar 27, 2019 at 01:58:45PM +0900, William Breathitt Gray wrote: > This macro iterates for each 8-bit group of bits (clump) with set bits, > within a bitmap memory region. For each iteration, "start" is set to the > bit offset of the found clump, while the respective clump value is > stored

Re: [PATCH v4 0/2] Add IPROC PCIe new features

2019-03-27 Thread Lorenzo Pieralisi
On Wed, Mar 27, 2019 at 02:08:46PM +0530, Srinath Mannam wrote: > Hi Lorenzo/Bjorn, > > Could you please help to review this patch series when you have time? > I believe I have addressed all your review comments. I will shortly keeping in mind that you should really ask HW designers to get to gri

Re: [PATCH v13 10/11] gpio: 74x164: Utilize the for_each_set_clump8 macro

2019-03-27 Thread Andy Shevchenko
On Wed, Mar 27, 2019 at 02:02:39PM +0900, William Breathitt Gray wrote: > Replace verbose implementation in set_multiple callback with > for_each_set_clump8 macro to simplify code and improve clarity. > + for_each_set_clump8(offset, bankmask, mask, chip->registers * 8) { > + bank

Re: [PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-27 Thread Petr Mladek
On Tue 2019-03-26 15:32:48, Sakari Ailus wrote: > Hi Andy, > > On Tue, Mar 26, 2019 at 03:16:26PM +0200, Andy Shevchenko wrote: > > On Tue, Mar 26, 2019 at 02:41:03PM +0200, Sakari Ailus wrote: > > > The prefix is used for printing purpose before a node, and it also works > > > as a separator betw

[PATCH v3 0/9] RPMPD for QCS404 and MSM8998

2019-03-27 Thread Sibi Sankar
Re-worked the macros of the rpmpd driver. Add power domains support for QCS404 and MSM8998. V3: * always send level updates to vfc and vfl in set_performance state * fixup commit messages [Rajendra] * fixup s-o-b ordering V2: * Add rpmpd support for msm8998 * fixup corner/vfc with vlfl/vfl Bjorn

[PATCH v3 1/9] soc: qcom: rpmpd: fixup rpmpd set performance state

2019-03-27 Thread Sibi Sankar
Remoteproc q6v5-mss does set_performace_state with INT_MAX on rpmpd. This is currently ignored since it is greater than the max supported state. Fixup rpmpd state to max if the required state is greater than all the supported states. Fixes: 075d3db8d10d ("Add support for the .set_performace_state(

[PATCH v3 2/9] soc: qcom: rpmpd: Add support to set rpmpd state to max

2019-03-27 Thread Sibi Sankar
rpmpd max state varies across SoCs and SoC families, add support in the driver to make it SoC/SoC family specific Signed-off-by: Sibi Sankar --- drivers/soc/qcom/rpmpd.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/soc/qcom/rpmpd.c b/drivers/soc/qcom/rpm

[PATCH v3 5/9] soc: qcom: rpmpd: Add QCS404 power-domains

2019-03-27 Thread Sibi Sankar
From: Bjorn Andersson Add the shared cx/mx and the low-power-island's cx and mx power-domains found on QCS404. Signed-off-by: Bjorn Andersson [sibi: Fixup corner/vfc with vlfl/vfl] Signed-off-by: Sibi Sankar --- drivers/soc/qcom/rpmpd.c | 52 +++- 1 file ch

[PATCH v3 3/9] soc: qcom: rpmpd: Modify corner defining macros

2019-03-27 Thread Sibi Sankar
From: Bjorn Andersson QCS404 uses individual resource type magic for each power-domain, so adjust the macros slightly to make them reusable for this. Signed-off-by: Bjorn Andersson [sibi: Extend rpmpd corner pair to a generic rpmpd pair] Signed-off-by: Sibi Sankar --- drivers/soc/qcom/rpmpd.c

Re: [PATCH 1/3] media: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B Compatible

2019-03-27 Thread Hans Verkuil
On 3/25/19 6:34 PM, Neil Armstrong wrote: > The Amlogic G12A embeds a second CEC controller named AO-CEC-B, and > the other one is AO-CEC-A described by the current bindings. > > The registers interface is very close but the internal architecture registers -> register > is totally different. >

[PATCH v3 6/9] arm64: dts: qcom: qcs404: Add rpmpd node

2019-03-27 Thread Sibi Sankar
From: Bjorn Andersson Add the rpmpd node on the qcs404 and define the available levels. Signed-off-by: Bjorn Andersson [sibis: fixup available levels] Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 55 1 file changed, 55 insertions(+) diff

[PATCH v3 8/9] soc: qcom: rpmpd: Add MSM8998 power-domains

2019-03-27 Thread Sibi Sankar
Add the shared cx/mx and sensor sub-system's cx and mx power-domains found on MSM8998. Signed-off-by: Sibi Sankar --- drivers/soc/qcom/rpmpd.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/soc/qcom/rpmpd.c b/drivers/soc/qcom/rpmpd.c index 238a9

[PATCH v3 4/9] dt-bindings: power: Add rpm power domain bindings for qcs404

2019-03-27 Thread Sibi Sankar
From: Bjorn Andersson Add RPM power domain bindings for the qcs404 family of SoC Signed-off-by: Bjorn Andersson [sibis: Add supported rpmpd states for qcs404] Signed-off-by: Sibi Sankar --- skip adding Rob's R-b due to some additional changes https://lore.kernel.org/lkml/20190325223343.GA2738

[PATCH v3 9/9] arm64: dts: qcom: msm8998: Add rpmpd node

2019-03-27 Thread Sibi Sankar
Add the rpmpd node on the msm8998 and define the available levels. Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 51 +++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi

[PATCH v3 7/9] dt-bindings: power: Add rpm power domain bindings for msm8998

2019-03-27 Thread Sibi Sankar
Add RPM power domain bindings for the msm8998 family of SoC Signed-off-by: Sibi Sankar --- .../devicetree/bindings/power/qcom,rpmpd.txt | 1 + include/dt-bindings/power/qcom-rpmpd.h | 12 2 files changed, 13 insertions(+) diff --git a/Documentation/devicetree

My Greeting

2019-03-27 Thread Mr.David Keller
My Greeting, Did you receive the letter i sent to you.Please answer me. Best Regard, Mr.David Keller.

Re: [PATCH] Yama: mark local symbols as static

2019-03-27 Thread Mukesh Ojha
On 3/27/2019 4:38 AM, Jann Horn wrote: sparse complains that Yama defines functions and a variable as non-static even though they don't exist in any header. Fix it by making them static. Signed-off-by: Jann Horn Reviewed-by: Mukesh Ojha --- security/yama/yama_lsm.c | 6 +++--- 1 file

Re: [PATCH] Correct zone boundary handling when resetting pageblock skip hints

2019-03-27 Thread Mel Gorman
On Wed, Mar 27, 2019 at 05:47:06PM +0530, Anshuman Khandual wrote: > > @@ -267,20 +268,26 @@ __reset_isolation_pfn(struct zone *zone, unsigned > > long pfn, bool check_source, > > get_pageblock_migratetype(page) != MIGRATE_MOVABLE) > > return false; > > > > + /* Ensure the

Re: [PATCH] platform/x86: intel_pmc_core: Mark local function static

2019-03-27 Thread Bhardwaj, Rajneesh
On 27-Mar-19 1:59 AM, Guenter Roeck wrote: 0day reports: drivers/platform/x86/intel_pmc_core.c:833:5: sparse: symbol 'quirk_xtal_ignore' was not declared. Should it be static? Looks good to me. Mark the function static since it is indeed only called locally. Cc: Rajneesh Bhardwaj

Re: [PATCH v3 3/4] arm64: dts: rockchip: Define drive-impedance-ohm for RK3399's emmc-phy.

2019-03-27 Thread Heiko Stuebner
Am Freitag, 22. März 2019, 12:34:52 CET schrieb Christoph Muellner: > A previous patch introduced the property 'drive-impedance-ohm' > for the RK3399's emmc phy node. This patch sets this value > explicitly to the default value of 50 Ohm. > > Signed-off-by: Christoph Muellner > Signed-off-by: Phi

Re: [PATCH] iio: adc: stm32: fix sleep inside atomic section when using DMA

2019-03-27 Thread Mukesh Ojha
On 3/26/2019 6:14 PM, Fabrice Gasnier wrote: Enabling CONFIG_DEBUG_ATOMIC_SLEEP=y triggers this BUG message: BUG: sleeping function called from invalid context at kernel/irq/chip.c... Call stack is as follows: - __might_sleep - handle_nested_irq <-- Expects threaded irq - iio_trigger_

Re: [PATCH 4/5] lib/vsprintf: Make use of fwnode API to obtain node names and separators

2019-03-27 Thread Petr Mladek
On Fri 2019-03-22 17:29:29, Sakari Ailus wrote: > Instead of implementing our own means of discovering parent nodes, node > names or counting how many parents a node has, use the newly added > functions in the fwnode API to obtain that information. > > Signed-off-by: Sakari Ailus > --- > lib/vsp

Re: [PATCH v4] kmemleak: survive in a low-memory situation

2019-03-27 Thread Qian Cai
On 3/27/19 7:44 AM, Michal Hocko wrote> What? Normal spin lock implementation doesn't disable interrupts. So > either I misunderstand what you are saying or you seem to be confused. > the thing is that in_atomic relies on preempt_count to work properly and > if you have CONFIG_PREEMPT_COUNT=n then

[PATCH 06/42] docs/zh_CN: add 2.Process.rst for development-process

2019-03-27 Thread Alex Shi
New it's done. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- .../translations/zh_CN/process/2.Process.rst | 355 ++ 1 file changed, 355 insertions(+) create mode 100644 Documentation/translations/z

[PATCH 18/42] docs/zh_CN: add 8.Conclusion.rst in development-process

2019-03-27 Thread Alex Shi
Now, the full developmen-process doc appears in 'make htmldocs' in Chinese. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- .../zh_CN/process/8.Conclusion.rst| 58 +++ 1 file changed, 58 in

[PATCH 25/42] docs/zh_CN: add disclaimer and transtlator info in submit-checklist

2019-03-27 Thread Alex Shi
Credit the translator and get a way for people to complain. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- .../translations/zh_CN/process/submit-checklist.rst | 5 + 1 file changed, 5 insertions(+) diff

[PATCH 05/42] docs/zh_CN: add disclaimer and translator info into 1.Intro

2019-03-27 Thread Alex Shi
So people know where to complain if the transolation isn't good. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- Documentation/translations/zh_CN/process/1.Intro.rst | 5 + 1 file changed, 5 insertions(+) diff --

Re: [PATCH 06/10] mm: vmscan: demote anon DRAM pages to PMEM node

2019-03-27 Thread Keith Busch
On Tue, Mar 26, 2019 at 08:41:15PM -0700, Yang Shi wrote: > On 3/26/19 5:35 PM, Keith Busch wrote: > > migration nodes have higher free capacity than source nodes. And since > > your attempting THP's without ever splitting them, that also requires > > lower fragmentation for a successful migration.

Re: [PATCH] regulator: max77650: Convert MAX77651 SBB1 to pickable linear range

2019-03-27 Thread Bartosz Golaszewski
śr., 27 mar 2019 o 11:17 Axel Lin napisał(a): > > > Hi, > > > > what tree is this patch based on, because it doesn't apply on top of > > v5.1-rc2. > Hi Bart, > You can use linux-next or regulator tree. > However, due to build dependency you need to manually apply max77650 > mfd drvier manually

Re: [PATCH 1/2] dt-bindings: arm: fsl: Add support for ZII i.MX7 RPU2 board

2019-03-27 Thread Rob Herring
On Wed, Mar 27, 2019 at 1:41 AM Andrey Smirnov wrote: > > Add support for ZII i.MX7 RPU2 board. > > Signed-off-by: Andrey Smirnov > Cc: Shawn Guo > Cc: Chris Healy > Cc: Andrew Lunn > Cc: Fabio Estevam > Cc: Rob Herring > Cc: linux-kernel@vger.kernel.org > Cc: devicet...@vger.kernel.org > --

Re: [PATCH v2] devantech-srf04.yaml: transform DT binding to YAML

2019-03-27 Thread Rob Herring
On Tue, Mar 26, 2019 at 8:40 AM Andreas Klinger wrote: > > devantech-srf04.yaml: yaml devicetree binding for iio ultrasonic > proximity driver of devantech srf04 > > use devantech-srf04.txt, transform binding into yaml and remove the > outdated DT documentation > > Signed-off-by: Andreas Klinger

Re: [PATCH] mm/page-flags: Check enforce parameter in PF_ONLY_HEAD()

2019-03-27 Thread Michal Hocko
[Cc Nick] On Wed 27-03-19 17:57:52, Anshuman Khandual wrote: > Just check for enforce parameter in PF_ONLY_HEAD() wrapper before calling > VM_BUG_ON_PGFLAGS() for tail pages. Why is this an actual fix? Only TESTPAGEFLAG doesn't enforce the check but I suspect that Nick just wanted the check to be

Re: [PATCH] x86/uaccess: Remove unused __addr_ok() macro

2019-03-27 Thread Borislav Petkov
On Sun, Mar 03, 2019 at 10:47:00PM -0800, Christian Kujau wrote: > If so, would simly removing it do the trick or is there more magic > involved? I don't have that many cross-compilers though and it's not even > build-tested: There are cross compilers here: https://www.kernel.org/pub/tools/cros

[tip:x86/urgent] x86/boot: Fix incorrect ifdeffery scope

2019-03-27 Thread tip-bot for Baoquan He
Commit-ID: 0f02daed4e089c7a380a0ffdc9d93a5989043cf4 Gitweb: https://git.kernel.org/tip/0f02daed4e089c7a380a0ffdc9d93a5989043cf4 Author: Baoquan He AuthorDate: Mon, 4 Mar 2019 13:55:46 +0800 Committer: Borislav Petkov CommitDate: Wed, 27 Mar 2019 14:00:51 +0100 x86/boot: Fix incorrect i

Re: [PATCH v4] kmemleak: survive in a low-memory situation

2019-03-27 Thread Michal Hocko
On Wed 27-03-19 09:05:31, Qian Cai wrote: > On 3/27/19 7:44 AM, Michal Hocko wrote> What? Normal spin lock implementation > doesn't disable interrupts. So > > either I misunderstand what you are saying or you seem to be confused. > > the thing is that in_atomic relies on preempt_count to work prope

Re: [PATCH] HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630

2019-03-27 Thread Jiri Kosina
On Tue, 26 Mar 2019, Jeffrey Hugo wrote: > Similar to commit edfc3722cfef ("HID: quirks: Fix keyboard + touchpad on > Toshiba Click Mini not working"), the Lenovo Miix 630 has a combo > keyboard/touchpad device with vid:pid of 04F3:0400, which is shared with > Elan touchpads. The combo on the Mii

Re: [PATCH v2 1/2] bus: tegra-aconnect: use devm_clk_*() helpers

2019-03-27 Thread Jon Hunter
On 27/03/2019 11:10, Sameer Pujar wrote: > Hi Reviewers, > > Request for review and approval. Fine with me. I think you have my reviewed/acked-by. If there are any changes we need to make, we could also use the clk_bulk APIs here too. However, not critical. Cheers Jon -- nvpublic

Re: [PATCH v2] infiniband: i40iw: fix potential NULL pointer dereferences

2019-03-27 Thread Jason Gunthorpe
On Fri, Mar 15, 2019 at 01:57:14AM -0500, Kangjie Lu wrote: > alloc_ordered_workqueue may fail and return NULL. > The fix captures the failure and handles it properly to avoid > potential NULL pointer dereferences. > > Signed-off-by: Kangjie Lu > --- > V2: add return value to capture the error co

[RFC 6/7] cpuidle-arm: Add arm64 wake helper for cpu_poke op

2019-03-27 Thread Abel Vesa
When the arm_poke_idle_state gets called, the poking cpu_ops of the current core gets called, passing on the the index of the core to be poked. Signed-off-by: Abel Vesa --- arch/arm64/include/asm/cpuidle.h | 6 ++ arch/arm64/kernel/cpuidle.c | 8 drivers/cpuidle/cpuidle-arm.c

[RFC 0/7] cpuidle: Add poking mechanism to support non-IPI wakeup

2019-03-27 Thread Abel Vesa
This work is a workaround I'm looking into (more as a background task) in order to add support for cpuidle on i.MX8MQ based platforms. The main idea here is getting around the missing GIC wake_request signal (due to integration design issue) by waking up a each individual core through some dedicat

[RFC 1/7] sched: idle: Add sched get idle state helper

2019-03-27 Thread Abel Vesa
This helper is useful in order to get the idle state of a specific cpu. Signed-off-by: Abel Vesa --- include/linux/cpuidle.h | 1 + kernel/sched/idle.c | 11 +++ 2 files changed, 12 insertions(+) diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 3b39472..88a9119

[RFC 4/7] psci: Add cpu_poke ops to support core poking

2019-03-27 Thread Abel Vesa
There can be platforms that need a dedicated work to be done in TF-A before the specified core can be woken up through an IPI. Allow those platforms to call into the TF-A to do that work by making use of the cpu_poke operation. Signed-off-by: Abel Vesa --- arch/arm64/include/asm/cpu_ops.h | 1 +

[RFC 2/7] cpuidle: Add cpu poke support

2019-03-27 Thread Abel Vesa
Having a poke operation per state, allows each cpuidle driver to implement, for each state, different ways of waking up (poking) cores. Signed-off-by: Abel Vesa --- drivers/cpuidle/cpuidle.c | 34 ++ include/linux/cpuidle.h | 6 ++ 2 files changed, 40 inser

Re: [PATCH] IB/iser: remove uninitialized variable len

2019-03-27 Thread Jason Gunthorpe
On Sat, Mar 16, 2019 at 11:05:12PM +, Colin King wrote: > From: Colin Ian King > > The variable len is not being inintialized and the uninitialized > value is being returned. However, this return path is never reached > because the default case in the switch statement returns -ENOSYS. > Clean

[RFC 5/7] cpuidle-arm: Add ops to support poke alonside enter

2019-03-27 Thread Abel Vesa
In order to support poking alongside the enter operation, the cpuidle_dt_ops are added. On each state initialization, if the state has the property "local-wakeup-poke" set, then gets to have the poking mechanims enabled. For now, the arm_poke_idle_state doesn't do anything. Signed-off-by: Abel Ves

[RFC 7/7] arm64: dts: imx8mq: Add cpu-sleep state with poke wake-up enabled

2019-03-27 Thread Abel Vesa
Add the idle state cpu-sleep to each core. This idle state makes use of 'local-wakeup-poke' property which basically tells the cpuidle-arm driver to enable the poking for this state. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 20 1 file changed,

[RFC 3/7] smp: Poke the cores before requesting IPI

2019-03-27 Thread Abel Vesa
Try poking the specified core(s) every time before requesting IPI, this way allowing the cpuidle driver to do its magic for the current idle state of the specified core(s), if there is such a need. Signed-off-by: Abel Vesa --- kernel/irq_work.c| 19 --- kernel/sched/c

Re: [PATCH] iio: adc: stm32: fix sleep inside atomic section when using DMA

2019-03-27 Thread Mukesh Ojha
On 3/27/2019 6:21 PM, Mukesh Ojha wrote: On 3/26/2019 6:14 PM, Fabrice Gasnier wrote: Enabling CONFIG_DEBUG_ATOMIC_SLEEP=y triggers this BUG message: BUG: sleeping function called from invalid context at kernel/irq/chip.c... Call stack is as follows: - __might_sleep - handle_nested_irq

[PATCH] MIPS: KGDB: fix kgdb support for SMP platforms.

2019-03-27 Thread qiaochong
KGDB_call_nmi_hook is called by other cpu through smp call. MIPS smp call is processed in ipi irq handler and regs is saved in handle_int. So kgdb_call_nmi_hook get regs by get_irq_regs and regs will be passed to kgdb_cpu_enter. Signed-off-by: qiaochong --- arch/mips/kernel/kgdb.c | 2 +- 1 fi

<    1   2   3   4   5   6   7   8   9   10   >