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

2019-07-07 Thread Stephen Rothwell
Hi David, On Tue, 2 Jul 2019 12:28:32 +0200 David Sterba wrote: > > On Tue, Jul 02, 2019 at 03:33:02PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > After merging the tip tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > fs/btrfs/ctree.c: In function '_

[PATCH V3 1/2] ASoC: fsl_esai: Wrap some operations to be functions

2019-07-07 Thread shengjiu . wang
From: Shengjiu Wang Extract the operation to be functions, to improve the readability. In this patch, fsl_esai_hw_init, fsl_esai_register_restore, fsl_esai_trigger_start and fsl_esai_trigger_stop are extracted. Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen --- sound/soc/fsl/fsl_esai.c

[PATCH V3 2/2] ASoC: fsl_esai: recover the channel swap after xrun

2019-07-07 Thread shengjiu . wang
From: Shengjiu Wang There is chip errata ERR008000, the reference doc is (https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf), The issue is "While using ESAI transmit or receive and an underrun/overrun happens, channel swap may occur. The only recovery mechanism is to reset the ESAI." This issue e

[PATCH V3 0/2] recover the channel swap after xrun

2019-07-07 Thread shengjiu . wang
From: Shengjiu Wang recover the channel swap after xrun Shengjiu Wang (2): ASoC: fsl_esai: Wrap some operations to be functions ASoC: fsl_esai: recover the channel swap after xrun sound/soc/fsl/fsl_esai.c | 270 --- 1 file changed, 197 insertions(+), 73

Hello,

2019-07-07 Thread Mrs. Madina Abdoul Aziz
Hello, I have a personal Project in which i need your assistance I would like to be sure of your willingness, trustworthiness and commitment to execute this transaction with me. I seek your partnership in transferring this fund {$US6,000,000}. If interested (234ty...@gmail.com ) for more details

[PATCH] r8169: add enable_aspm parameter

2019-07-07 Thread AceLan Kao
We have many commits in the driver which enable and then disable ASPM function over and over again. commit b75bb8a5b755 ("r8169: disable ASPM again") commit 0866cd15029b ("r8169: enable ASPM on RTL8106E") commit 94235460f9ea ("r8169: Align ASPM/CLKREQ setting function with vendor driver")

[PATCH] rtw88/pci: Rearrange the memory usage for skb in RX ISR

2019-07-07 Thread Jian-Hong Pan
Testing with RTL8822BE hardware, when available memory is low, we frequently see a kernel panic and system freeze. First, rtw_pci_rx_isr encounters a memory allocation failure (trimmed): rx routine starvation WARNING: CPU: 7 PID: 9871 at drivers/net/wireless/realtek/rtw88/pci.c:822 rtw_pci_rx_is

Re: [PATCH] mfd: asic3: One function call less in asic3_irq_probe()

2019-07-07 Thread Lee Jones
On Fri, 05 Jul 2019, Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 5 Jul 2019 20:22:26 +0200 > > Avoid an extra function call by using a ternary operator instead of > a conditional statement. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus El

Re: [PATCH] mm/ksm: One function call less in __ksm_enter()

2019-07-07 Thread Kirill Tkhai
On 05.07.2019 17:16, Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 5 Jul 2019 16:02:26 +0200 > > Avoid an extra function call by using a ternary operator instead of > a conditional statement. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elf

Re: [PATCH 04/13] cpufreq: qcom: Refactor the driver to make it easier to extend

2019-07-07 Thread Ilia Lin
Reviewed-by: Ilia Lin On Fri, Jul 5, 2019 at 12:58 PM Niklas Cassel wrote: > > Refactor the driver to make it easier to extend in a later commit. > > Create a driver struct to collect all common resources, in order to make > it easier to free up all common resources. > Create a driver match_data

RE: [PATCH v9 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-07-07 Thread Felipe Balbi
Hi, Pawel Laszczak writes: >>> +void cdns3_role_stop(struct cdns3 *cdns) >> >>not static? Why is it so that _start() is static but _stop() is not? >>Looks fishy > > This function is used in cdns3_role_stop in debugfs.c file so it can't > be static. it's still super fishy. Why don't you need _st

Re: [PATCH 03/13] dt-bindings: cpufreq: qcom-nvmem: Make speedbin related properties optional

2019-07-07 Thread Ilia Lin
Reviewed-by: Ilia Lin On Fri, Jul 5, 2019 at 12:58 PM Niklas Cassel wrote: > > Not all Qualcomm platforms need to care about the speedbin efuse, > nor the value blown into the speedbin efuse. > Therefore, make the nvmem-cells and opp-supported-hw properties > optional. > > Signed-off-by: Niklas

Re: [PATCH 01/13] dt-bindings: cpufreq: Re-organise kryo cpufreq to use it for other nvmem based qcom socs

2019-07-07 Thread Ilia Lin
Reviewed-by: Ilia Lin On Fri, Jul 5, 2019 at 12:57 PM Niklas Cassel wrote: > > From: Sricharan R > > The kryo cpufreq driver reads the nvmem cell and uses that data to > populate the opps. There are other qcom cpufreq socs like krait which > does similar thing. Except for the interpretation of

Re: [PATCH 02/13] cpufreq: qcom: Re-organise kryo cpufreq to use it for other nvmem based qcom socs

2019-07-07 Thread Ilia Lin
Reviewed-by: Ilia Lin On Fri, Jul 5, 2019 at 12:57 PM Niklas Cassel wrote: > > From: Sricharan R > > The kryo cpufreq driver reads the nvmem cell and uses that data to > populate the opps. There are other qcom cpufreq socs like krait which > does similar thing. Except for the interpretation of

Re: [PATCH] cpufreq/pasemi: fix an use-after-free in pas_cpufreq_cpu_init()

2019-07-07 Thread Viresh Kumar
On 08-07-19, 14:19, Wen Yang wrote: > The cpu variable is still being used in the of_get_property() call > after the of_node_put() call, which may result in use-after-free. > > Fixes: a9acc26b75f ("cpufreq/pasemi: fix possible object reference leak") > Signed-off-by: Wen Yang > Cc: "Rafael J. Wys

[PATCH] irqchip: renesas-rza1: fix an use-after-free in rza1_irqc_probe()

2019-07-07 Thread Wen Yang
The gic_node is still being used in the rza1_irqc_parse_map() call after the of_node_put() call, which may result in use-after-free. Fixes: a644ccb819bc ("irqchip: Add Renesas RZ/A1 Interrupt Controller driver") Signed-off-by: Wen Yang Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc:

[PATCH] phy: ti: am654-serdes: fix an use-after-free in serdes_am654_clk_register()

2019-07-07 Thread Wen Yang
The regmap_node variable is still being used in the syscon_node_to_regmap() call after the of_node_put() call, which may result in use-after-free. Fixes: 71e2f5c5c224 ("phy: ti: Add a new SERDES driver for TI's AM654x SoC") Signed-off-by: Wen Yang Cc: Kishon Vijay Abraham I Cc: Roger Quadros Cc

[PATCH] cpufreq/pasemi: fix an use-after-free in pas_cpufreq_cpu_init()

2019-07-07 Thread Wen Yang
The cpu variable is still being used in the of_get_property() call after the of_node_put() call, which may result in use-after-free. Fixes: a9acc26b75f ("cpufreq/pasemi: fix possible object reference leak") Signed-off-by: Wen Yang Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: linuxppc-...@lists.

Re: [PATCH] i2c: designware: Add disable runtime pm quirk

2019-07-07 Thread AceLan Kao
Hi Jarkko, Sorry, I lost track of this thread and didn't understand what you want me to try. I'm willing to try it if you can explain it more. My colleague comes out another solution for this issue https://lkml.org/lkml/2019/7/5/17 and it explains why it takes up to 100ms to wake up. This solu

Re: [RFC v2] vhost: introduce mdev based hardware vhost backend

2019-07-07 Thread Tiwei Bie
On Fri, Jul 05, 2019 at 08:49:46AM -0600, Alex Williamson wrote: > On Thu, 4 Jul 2019 14:21:34 +0800 > Tiwei Bie wrote: > > On Thu, Jul 04, 2019 at 12:31:48PM +0800, Jason Wang wrote: > > > On 2019/7/3 下午9:08, Tiwei Bie wrote: > > > > On Wed, Jul 03, 2019 at 08:16:23PM +0800, Jason Wang wrote:

Re: [PATCH] Input: iforce - Remove empty multiline comments

2019-07-07 Thread Thomas Gleixner
On Mon, 8 Jul 2019, Tim Schumacher wrote: > Those are remnants of the SPDX identifier migration, which haven't been > removed properly. > > Signed-off-by: Tim Schumacher > --- > This is probably the highest level of cosmetic-only that a patch > can achieve, sorry for the noise. > > CCing Thomas

[PATCH] rcu: Make jiffies_till_sched_qs writable

2019-07-07 Thread Byungchul Park
jiffies_till_sched_qs is useless if it's readonly as it is used to set jiffies_to_sched_qs with its value regardless of first/next fqs jiffies. And it should be applied immediately on change through sysfs. The function for setting jiffies_to_sched_qs, adjust_jiffies_till_sched_qs() will be called

Re: [PATCH 1/2] opp: Attach genpds to devices from within OPP core

2019-07-07 Thread Viresh Kumar
On 04-07-19, 11:55, Rajendra Nayak wrote: > > On 5/13/2019 3:54 PM, Viresh Kumar wrote: > > The OPP core requires the virtual device pointers to set performance > > state on behalf of the device, for the multiple power domain case. The > > genpd API (dev_pm_domain_attach_by_name()) has evolved now

Re: [PATCH v1] scsi: Don't select SCSI_PROC_FS by default

2019-07-07 Thread Hannes Reinecke
On 7/5/19 7:53 PM, Douglas Gilbert wrote: > On 2019-07-05 3:22 a.m., Hannes Reinecke wrote: [ .. ] >> As mentioned, rescan-scsi-bus.sh is keeping references to /proc/scsi as >> a fall back only, as it's meant to work kernel independent. Per default >> it'll be using /sys, and will happily work with

[PATCH] opp: Return genpd virtual devices from dev_pm_opp_attach_genpd()

2019-07-07 Thread Viresh Kumar
The cpufreq drivers don't need to do runtime PM operations on the virtual devices returned by dev_pm_domain_attach_by_name() and so the virtual devices weren't shared with the callers of dev_pm_opp_attach_genpd() earlier. But the IO device drivers would want to do that. This patch updates the prot

[PATCH 1/2] perf scripts python: export-to-postgresql.py: Fix DROP VIEW power_events_view

2019-07-07 Thread Adrian Hunter
PostgreSQL can error if power_events_view is not dropped before its dependent tables e.g. Exception: Query failed: ERROR: cannot drop table mwait because other objects depend on it DETAIL: view power_events_view depends on table mwait Signed-off-by: Adrian Hunter Fixes: aba44287a224 ("pe

[PATCH 2/2] perf scripts python: export-to-sqlite.py: Fix DROP VIEW power_events_view

2019-07-07 Thread Adrian Hunter
Drop power_events_view before its dependent tables. SQLite does not seem to mind but the fix was needed for PostgreSQL (export-to-postgresql.py script), so do the same fix for the SQLite. It is more logical and keeps the 2 scripts following the same approach. Signed-off-by: Adrian Hunter Fixes:

[PATCH 0/2] perf scripts python: export-to-postgresql/sqlite.py: Fix DROP VIEW power_events_view

2019-07-07 Thread Adrian Hunter
Hi Here is a small fix to the export-to-postgresql.py script. The export-to-sqlite.py script had the same issue but SQLite did not seem to mind. However I made the fix anyway for good measure. Adrian Hunter (2): perf scripts python: export-to-postgresql.py: Fix DROP VIEW power_events_view

[PATCH v2] gpiolib: fix incorrect IRQ requesting of an active-low lineevent

2019-07-07 Thread Michael Wu
When a pin is active-low, logical trigger edge should be inverted to match the same interrupt opportunity. For example, a button pushed triggers falling edge in ACTIVE_HIGH case; in ACTIVE_LOW case, the button pushed triggers rising edge. For user space the IRQ requesting doesn't need to do any mo

Re: [PATCH] net: hisilicon: Add an tx_desc to adapt HI13X1_GMAC

2019-07-07 Thread David Miller
From: Jiangfeng Xiao Date: Fri, 5 Jul 2019 14:10:03 +0800 > HI13X1 changed the offsets and bitmaps for tx_desc > registers in the same peripheral device on different > models of the hip04_eth. > > Signed-off-by: Jiangfeng Xiao Applied.

Re: [PATCH net-next] hinic: add fw version query

2019-07-07 Thread David Miller
From: Xue Chaojing Date: Fri, 5 Jul 2019 02:40:28 + > This patch adds firmware version query in ethtool -i. > > Signed-off-by: Xue Chaojing Applied, thank you.

[PATCH 2/2] e1000e: disable force K1-off feature

2019-07-07 Thread Kai-Heng Feng
Forwardport from http://mails.dpdk.org/archives/dev/2016-November/050658.html MAC-PHY desync may occur causing misdetection of link up event. Disabling K1-off feature can work around the problem. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204057 Signed-off-by: Kai-Heng Feng --- driv

[PATCH 1/2] e1000e: add workaround for possible stalled packet

2019-07-07 Thread Kai-Heng Feng
Forwardport from http://mails.dpdk.org/archives/dev/2016-November/050657.html This works around a possible stalled packet issue, which may occur due to clock recovery from the PCH being too slow, when the LAN is transitioning from K1 at 1G link speed. Bugzilla: https://bugzilla.kernel.org/show_bu

[RFC 2/2] sched/fair: Optimize the idle CPU search

2019-07-07 Thread Parth Shah
Optimize idle CPUs search by marking already found non idle CPUs during idle core search. This reduces iteration count when searching for idle CPUs, resulting in the lower iteration count. Signed-off-by: Parth Shah --- kernel/sched/core.c | 3 +++ kernel/sched/fair.c | 13 + 2 files

[RFC 0/2] Optimize the idle CPU search

2019-07-07 Thread Parth Shah
When searching for an idle_sibling, scheduler first iterates to search for an idle core and then for an idle CPU. By maintaining the idle CPU mask while iterating through idle cores, we can mark non-idle CPUs for which idle CPU search would not have to iterate through again. This is especially true

[RFC 1/2] sched/fair: Rename select_idle_mask to iterator_mask

2019-07-07 Thread Parth Shah
Per cpu variable 'select_idle_mask' serves the only purpose of an iterator inside select_idle_core method. Also there is an opportunity to optimize the search for an idle CPU for which this mask is required in the subsequent patch. Hence renaming this per_cpu variable to iterator mask which can be

RE: linux-next: build failure after merge of the slave-dma tree

2019-07-07 Thread Robin Gong
On 2019/7/8 12:17 Vinod Koul wrote: > On 08-07-19, 11:06, zhangfei wrote: > > Hi, Robin > > > > On 2019/7/8 上午9:22, Robin Gong wrote: > > > Hi Stephen, > > > That's caused by 'of_irq_count' NOT export to global symbol, and > > > I'm curious why it has been here for so long since Zhangfei found i

RE: linux-next: build failure after merge of the slave-dma tree

2019-07-07 Thread Robin Gong
On 2019/7/8 11:06 AM, zhangfei wrote: > Hi, Robin > > On 2019/7/8 上午9:22, Robin Gong wrote: > > Hi Stephen, > > That's caused by 'of_irq_count' NOT export to global symbol, and I'm > > curious why it has been here for so long since Zhangfei found it in > > 2015. > > https://eur01.safelinks.pr

Re: [RFC 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2019-07-07 Thread Anshuman Khandual
On 07/03/2019 11:22 PM, Catalin Marinas wrote: > On Tue, Jul 02, 2019 at 09:07:28AM +0530, Anshuman Khandual wrote: >> On 06/28/2019 03:50 PM, Catalin Marinas wrote: >>> On Thu, Jun 27, 2019 at 06:18:15PM +0530, Anshuman Khandual wrote: pmd_present() and pmd_trans_huge() are expected to beh

[RFC PATCH linux-next] mfd: bd70528: bit0_offsets[] can be static

2019-07-07 Thread kbuild test robot
Fixes: 21b7c58fc194 ("mfd: bd70528: Support ROHM bd70528 PMIC core") Signed-off-by: kbuild test robot --- rohm-bd70528.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/mfd/rohm-bd70528.c b/drivers/mfd/rohm-bd70528.c index 55599d5..43c859f 100644 -

[linux-next:master 9908/12641] drivers/mfd/rohm-bd70528.c:109:14: sparse: sparse: symbol 'bit0_offsets' was not declared. Should it be static?

2019-07-07 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git master head: 22c45ec32b4a9fa8c48ef4f5bf9b189b307aae12 commit: 21b7c58fc1943f3aa8c18a994ab9bed4ae5aa72d [9908/12641] mfd: bd70528: Support ROHM bd70528 PMIC core reproduce: # apt-get install sparse

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

2019-07-07 Thread Vinod Koul
On 08-07-19, 11:06, zhangfei wrote: > Hi, Robin > > On 2019/7/8 上午9:22, Robin Gong wrote: > > Hi Stephen, > > That's caused by 'of_irq_count' NOT export to global symbol, and I'm > > curious why it has been > > here for so long since Zhangfei found it in 2015. > > https://patchwork.kernel.or

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

2019-07-07 Thread Vinod Koul
On 08-07-19, 02:01, Robin Gong wrote: > On 06-07-19, 22:43, Vinod Koul wrote: > > > That's caused by 'of_irq_count' NOT export to global symbol, and I'm > > > curious why it has been here for so long since Zhangfei found it in > > > 2015. > > > https://eur01.safelinks.protection.outlook.com/?url

Re: [PATCH v4 1/2] sched/isolation: Prefer housekeeping cpu in local node

2019-07-07 Thread Wanpeng Li
Kindly ping for these two patches, :) On Fri, 28 Jun 2019 at 16:51, Wanpeng Li wrote: > > From: Wanpeng Li > > In real product setup, there will be houseeking cpus in each nodes, it > is prefer to do housekeeping from local node, fallback to global online > cpumask if failed to find houseeking cp

[PATCH 3/6] irqchip/irq-pruss-intc: Add support for shared and invalid interrupts

2019-07-07 Thread Suman Anna
The PRUSS INTC has a fixed number of output interrupt lines that are connected to a number of processors or other PRUSS instances or other devices (like DMA) on the SoC. The output interrupt lines 2 through 9 are usually connected to the main ARM host processor and are referred to as host interrupt

[PATCH 1/6] dt-bindings: irqchip: Add PRUSS interrupt controller bindings

2019-07-07 Thread Suman Anna
The Programmable Real-Time Unit Subsystem (PRUSS) contains an interrupt controller (INTC) that can handle various system input events and post interrupts back to the device-level initiators. The INTC can support upto 64 input events on most SoCs with individual control configuration and hardware pr

[PATCH 4/6] irqchip/irq-pruss-intc: Add helper functions to configure internal mapping

2019-07-07 Thread Suman Anna
The PRUSS INTC receives a number of system input interrupt source events and supports individual control configuration and hardware prioritization. These input events can be mapped to some output host interrupts through 2 levels of many-to-one mapping i.e. events to channel mapping and channels to

[PATCH 5/6] irqchip/irq-pruss-intc: Add API to trigger a PRU sysevent

2019-07-07 Thread Suman Anna
From: "Andrew F. Davis" The PRUSS INTC can generate an interrupt to various processor subsystems on the SoC through a set of 64 possible PRU system events. These system events can be used by PRU client drivers or applications for event notifications/signalling between PRUs and MPU or other proces

[PATCH 2/6] irqchip/irq-pruss-intc: Add a PRUSS irqchip driver for PRUSS interrupts

2019-07-07 Thread Suman Anna
From: "Andrew F. Davis" The Programmable Real-Time Unit Subsystem (PRUSS) contains a local interrupt controller (INTC) that can handle various system input events and post interrupts back to the device-level initiators. The INTC can support upto 64 input events with individual control configurati

[PATCH 0/6] Add TI PRUSS Local Interrupt Controller IRQChip driver

2019-07-07 Thread Suman Anna
Hi All, The following series adds an IRQChip driver for the local interrupt controller present within a Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS) present on a number of TI SoCs including OMAP architecture based AM335x, AM437x, AM57xx SoCs, Keystone 2 architectur

[PATCH 6/6] irqchip/irq-pruss-intc: Add support for ICSSG INTC on K3 SoCs

2019-07-07 Thread Suman Anna
The K3 AM65x and J721E SoCs have the next generation of the PRU-ICSS IP, commonly called ICSSG. The PRUSS INTC present within the ICSSG supports more System Events (160 vs 64), more Interrupt Channels and Host Interrupts (20 vs 10) compared to the previous generation PRUSS INTC instances. The first

Re: Linux 5.2

2019-07-07 Thread Bhaskar Chowdhury
Well, thanks a bunch Linus :) On 16:10 Sun 07 Jul , Linus Torvalds wrote: So I was somewhat pre-disposed towards making an rc8, simply because of my travels and being entirely off the internet for a few days last week, and with spotty internet for a few days before that [*]. But there really do

Re: [PATCH] cpufreq: imx-cpufreq-dt: Add i.MX8MN support

2019-07-07 Thread Viresh Kumar
On 08-07-19, 11:03, anson.hu...@nxp.com wrote: > From: Anson Huang > > i.MX8MN is a new SoC of i.MX8M series, it also uses speed > grading and market segment fuses for OPP definitions, add > support for this SoC. > > Signed-off-by: Anson Huang > --- > drivers/cpufreq/imx-cpufreq-dt.c | 3 ++- >

linux-next: manual merge of the gfs2 tree with the vfs tree

2019-07-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gfs2 tree got a conflict in: fs/gfs2/super.c between commit: 000c8e591016 ("gfs2: Convert gfs2 to fs_context") from the vfs tree and commit: 5b3a9f348bc5 ("gfs2: kthread and remount improvements") from the gfs2 tree. I fixed it up (I just used t

Re: [GIT PULL] FSI changes for 5.3

2019-07-07 Thread Joel Stanley
On Thu, 4 Jul 2019 at 21:32, Stephen Rothwell wrote: > > Hi Joel, > > On Thu, 4 Jul 2019 06:03:18 + Joel Stanley wrote: > > Stephen, can you swap out ben's fsi tree in linux-next for this one: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/joel/fsi.git > > > > Branch is 'next'. > > Th

Re: [PATCH] powerpc/hw_breakpoint: move instruction stepping out of hw_breakpoint_handler()

2019-07-07 Thread Ravi Bangoria
On 7/6/19 1:56 PM, Christophe Leroy wrote: > > > Le 03/07/2019 à 08:20, Ravi Bangoria a écrit : >> >> >> On 6/28/19 9:25 PM, Christophe Leroy wrote: >>> On 8xx, breakpoints stop after executing the instruction, so >>> stepping/emulation is not needed. Move it into a sub-function and >>> remove

linux-next: build failure after merge of the netfilter-next tree

2019-07-07 Thread Stephen Rothwell
Hi all, After merging the netfilter-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from : include/net/netfilter/nft_meta.h:6:21: warning: 'key' is narrower than values of its type enum nft_meta_keys key:8; ^~~ include/net/netfi

Re: [PATCH v2] PM / wakeup: show wakeup sources stats in sysfs

2019-07-07 Thread Tri Vo
On Thu, Jul 4, 2019 at 7:31 PM Rafael J. Wysocki wrote: > > On Friday, June 28, 2019 5:10:40 PM CEST Greg KH wrote: > > On Thu, Jun 27, 2019 at 03:53:35PM -0700, Tri Vo wrote: > > > Userspace can use wakeup_sources debugfs node to plot history of suspend > > > blocking wakeup sources over device's

Re: [PATCH] mm/kprobes: Add generic kprobe_fault_handler() fallback definition

2019-07-07 Thread Anshuman Khandual
On 07/05/2019 04:00 PM, Masami Hiramatsu wrote: > Hi Anshuman, Hello Masami, > > On Fri, 5 Jul 2019 11:00:29 +0530 > Anshuman Khandual wrote: > >> Architectures like parisc enable CONFIG_KROBES without having a definition >> for kprobe_fault_handler() which results in a build failure. >

Re: [PATCH RFC 2/9] OPP: Export a number of helpers to prevent code duplication

2019-07-07 Thread Hsin-Yi Wang
On Thu, Mar 28, 2019 at 3:28 PM Sibi Sankar wrote: > + > +/* The caller must call dev_pm_opp_put() after the OPP is used */ > +struct dev_pm_opp *dev_pm_opp_find_opp_of_np(struct opp_table *opp_table, > +struct device_node *opp_np) > +{ > + return

Re: linux-next: manual merge of the mlx5-next tree with the rdma tree

2019-07-07 Thread Stephen Rothwell
Hi all, On Thu, 4 Jul 2019 12:47:38 +1000 Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the mlx5-next tree got a conflict in: > > drivers/infiniband/hw/mlx5/cq.c > > between commit: > > e39afe3d6dbd ("RDMA: Convert CQ allocations to be under core > responsibility")

linux-next: build warning after merge of the net-next tree

2019-07-07 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/bitmap.h:9, from include/linux/cpumask.h:12, from arch/x86/include/asm/cpumask.h:5, from arch/x86/i

[PATCH] cpufreq: imx-cpufreq-dt: Add i.MX8MN support

2019-07-07 Thread Anson . Huang
From: Anson Huang i.MX8MN is a new SoC of i.MX8M series, it also uses speed grading and market segment fuses for OPP definitions, add support for this SoC. Signed-off-by: Anson Huang --- drivers/cpufreq/imx-cpufreq-dt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driv

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

2019-07-07 Thread zhangfei
Hi, Robin On 2019/7/8 上午9:22, Robin Gong wrote: Hi Stephen, That's caused by 'of_irq_count' NOT export to global symbol, and I'm curious why it has been here for so long since Zhangfei found it in 2015. https://patchwork.kernel.org/patch/7404681/ Hi Rob, Is there something I mi

Re: cpufreq notifiers break suspend -- Re: suspend broken in next-20190704 on Thinkpad X60

2019-07-07 Thread Viresh Kumar
On 06-07-19, 22:30, Pavel Machek wrote: > Hi! > > > Anyway, if 5.2-rc7 is OK, something in this branch causes the problem > > to happen for you. > > > > I would try > > > > https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=f012a132824fc870b90980540f727c7

linux-next: build failure after merge of the rdma tree

2019-07-07 Thread Stephen Rothwell
Hi all, After merging the rdma tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/asm-generic/percpu.h:7, from arch/x86/include/asm/percpu.h:544, from arch/x86/include/asm/preempt.h:6, from includ

linux-next: build failure after merge of the rdma tree

2019-07-07 Thread Stephen Rothwell
Hi all, After merging the rdma tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from :32: ./usr/include/rdma/rvt-abi.h:13:10: fatal error: rdma/ib_verbs.h: No such file or directory #include ^ Caused by commits dabac6e460ce (

[PATCH] Input: iforce - Remove empty multiline comments

2019-07-07 Thread Tim Schumacher
Those are remnants of the SPDX identifier migration, which haven't been removed properly. Signed-off-by: Tim Schumacher --- This is probably the highest level of cosmetic-only that a patch can achieve, sorry for the noise. CCing Thomas Gleixner, since the tool (is it a tool?) that makes those SP

[PATCH] usb: roles: Add PM callbacks

2019-07-07 Thread Chen, Hu
On some Broxton NUC, the usb role is lost after S3 (it becomes "none"). Add PM callbacks to address this issue: save the role during suspend and restore usb to that role during resume. Test: Run Android on UC6CAY, a NUC powered by Broxton. Access this NUC via "adb shell" from a host PC. After a su

ATENÇÃO

2019-07-07 Thread Administrador de Sistemas
ATENÇÃO; Sua caixa de correio excedeu o limite de armazenamento, que é de 5 GB como definido pelo administrador, que está atualmente em execução no 10.9GB, você pode não ser capaz de enviar ou receber novas mensagens até que você re-validar a sua caixa de correio. Para revalidar sua caixa de co

[PATCH v2 4/4] numa: introduce numa cling feature

2019-07-07 Thread 王贇
Although we paid so many effort to settle down task on a particular node, there are still chances for a task to leave it's preferred node, that is by wakeup, numa swap migrations or load balance. When we are using cpu cgroup in share way, since all the workloads see all the cpus, it could be reall

Re: [PATCH 6/8] net: nixge: Fix misuse of strlcpy

2019-07-07 Thread David Miller
From: Joe Perches Date: Thu, 4 Jul 2019 16:57:46 -0700 > Probable cut&paste typo - use the correct field size. > > Signed-off-by: Joe Perches Applied.

Re: [PATCH 5/8] net: ethernet: sun4i-emac: Fix misuse of strlcpy

2019-07-07 Thread David Miller
From: Joe Perches Date: Thu, 4 Jul 2019 16:57:45 -0700 > Probable cut&paste typo - use the correct field size. > > Signed-off-by: Joe Perches Applied.

Re: [Problem]testOpenUpgradeLock test failed in nfsv4.0 in 5.2.0-rc7

2019-07-07 Thread Su Yanjun
Ang ping? 在 2019/7/3 9:34, Su Yanjun 写道: Hi Frank We tested the pynfs of NFSv4.0 on the latest version of the kernel (5.2.0-rc7). I encountered a problem while testing st_lock.testOpenUpgradeLock. The problem is now as follows: ** LOCK24 st_loc

[PATCH v7 04/12] KVM/x86: intel_pmu_lbr_enable

2019-07-07 Thread Wei Wang
The lbr stack is architecturally specific, for example, SKX has 32 lbr stack entries while HSW has 16 entries, so a HSW guest running on a SKX machine may not get accurate perf results. Currently, we forbid the guest lbr enabling when the guest and host see different lbr stack entries or the host a

[PATCH v7 12/12] KVM/VMX/vPMU: support to report GLOBAL_STATUS_LBRS_FROZEN

2019-07-07 Thread Wei Wang
This patch enables the LBR related features in Arch v4 in advance, though the current vPMU only has v2 support. Other arch v4 related support will be enabled later in another series. Arch v4 supports streamlined Freeze_LBR_on_PMI. According to the SDM, the LBR_FRZ bit is set to global status when

[PATCH v7 02/12] perf/x86: add a function to get the lbr stack

2019-07-07 Thread Wei Wang
The LBR stack MSRs are architecturally specific. The perf subsystem has already assigned the abstracted MSR values based on the CPU architecture. This patch enables a caller outside the perf subsystem to get the LBR stack info. This is useful for hyperviosrs to prepare the lbr feature for the gues

[PATCH v7 06/12] KVM/x86: expose MSR_IA32_PERF_CAPABILITIES to the guest

2019-07-07 Thread Wei Wang
Bits [0, 5] of MSR_IA32_PERF_CAPABILITIES tell about the format of the addresses stored in the LBR stack. Expose those bits to the guest when the guest lbr feature is enabled. Signed-off-by: Wei Wang Cc: Paolo Bonzini Cc: Andi Kleen --- arch/x86/include/asm/perf_event.h | 2 ++ arch/x86/kvm/c

[PATCH v7 11/12] KVM/x86: remove the common handling of the debugctl msr

2019-07-07 Thread Wei Wang
The debugctl msr is not completely identical on AMD and Intel CPUs, for example, FREEZE_LBRS_ON_PMI is supported by Intel CPUs only. Now, this msr is handled separatedly in svm.c and intel_pmu.c. So remove the common debugctl msr handling code in kvm_get/set_msr_common. Signed-off-by: Wei Wang Cc

[PATCH v7 10/12] KVM/x86/lbr: lazy save the guest lbr stack

2019-07-07 Thread Wei Wang
When the vCPU is scheduled in: - if the lbr feature was used in the last vCPU time slice, set the lbr stack to be interceptible, so that the host can capture whether the lbr feature will be used in this time slice; - if the lbr feature wasn't used in the last vCPU time slice, disable the vCPU

[PATCH v7 09/12] perf/x86: save/restore LBR_SELECT on vCPU switching

2019-07-07 Thread Wei Wang
The vCPU lbr event relies on the host to save/restore all the lbr related MSRs. So add the LBR_SELECT save/restore to the related functions for the vCPU case. Signed-off-by: Wei Wang Cc: Peter Zijlstra Cc: Andi Kleen --- arch/x86/events/intel/lbr.c | 7 +++ arch/x86/events/perf_event.h |

[PATCH v7 07/12] perf/x86: no counter allocation support

2019-07-07 Thread Wei Wang
In some cases, an event may be created without needing a counter allocation. For example, an lbr event may be created by the host only to help save/restore the lbr stack on the vCPU context switching. This patch adds a new interface to allow users to create a perf event without the need of counter

[PATCH v7 01/12] perf/x86: fix the variable type of the LBR MSRs

2019-07-07 Thread Wei Wang
The MSR variable type can be "unsigned int", which uses less memory than the longer unsigned long. The lbr nr won't be a negative number, so make it "unsigned int" as well. Suggested-by: Peter Zijlstra Signed-off-by: Wei Wang Cc: Peter Zijlstra Cc: Andi Kleen --- arch/x86/events/perf_event.h

[PATCH v7 08/12] KVM/x86/vPMU: Add APIs to support host save/restore the guest lbr stack

2019-07-07 Thread Wei Wang
From: Like Xu This patch adds support to enable/disable the host side save/restore for the guest lbr stack on vCPU switching. To enable that, the host creates a perf event for the vCPU, and the event attributes are set to the user callstack mode lbr so that all the conditions are meet in the host

[PATCH v7 03/12] KVM/x86: KVM_CAP_X86_GUEST_LBR

2019-07-07 Thread Wei Wang
Introduce KVM_CAP_X86_GUEST_LBR to allow per-VM enabling of the guest lbr feature. Signed-off-by: Wei Wang Cc: Paolo Bonzini Cc: Andi Kleen Cc: Peter Zijlstra --- arch/x86/include/asm/kvm_host.h | 2 ++ arch/x86/kvm/x86.c | 14 ++ include/uapi/linux/kvm.h| 1

[PATCH v7 00/12] Guest LBR Enabling

2019-07-07 Thread Wei Wang
Last Branch Recording (LBR) is a performance monitor unit (PMU) feature on Intel CPUs that captures branch related info. This patch series enables this feature to KVM guests. Here is a conclusion of the fundamental methods that we use: 1) the LBR feature is enabled per guest via QEMU setting of

[PATCH v7 05/12] KVM/x86/vPMU: tweak kvm_pmu_get_msr

2019-07-07 Thread Wei Wang
This patch changes kvm_pmu_get_msr to get the msr_data struct, because The host_initiated field from the struct could be used by get_msr. This also makes this API be consistent with kvm_pmu_set_msr. Signed-off-by: Wei Wang Cc: Paolo Bonzini Cc: Andi Kleen --- arch/x86/kvm/pmu.c | 4

Re: [RFT][PATCH 2/2] regulator: lm363x: Fix n_voltages setting for lm36274

2019-07-07 Thread Axel Lin
Axel Lin 於 2019年6月27日 週四 上午7:58寫道: > > > > With your current code where LM36274_LDO_VSEL_MAX and n_voltages is 0x34, > > > the maximum voltage will become 40 + 5 * 0x34 = 6.6V which > > > does not match the datasheet. > > > > Not sure how you get 6.6v the LDO max is 6.5v. > > > > After 0x3

Re: [RFT][PATCH 1/2] regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg

2019-07-07 Thread Axel Lin
Axel Lin 於 2019年6月26日 週三 下午11:12寫道: > > Dan Murphy 於 2019年6月26日 週三 下午11:07寫道: > > > > Hello > > > > On 6/26/19 8:26 AM, Axel Lin wrote: > > > According to the datasheet https://www.ti.com/lit/ds/symlink/lm3632a.pdf > > > Table 20. VPOS Bias Register Field Descriptions VPOS[5:0] > > > Sets the Pos

RE: linux-next: build failure after merge of the slave-dma tree

2019-07-07 Thread Robin Gong
On 06-07-19, 22:43, Vinod Koul wrote: > > That's caused by 'of_irq_count' NOT export to global symbol, and I'm > > curious why it has been here for so long since Zhangfei found it in > > 2015. > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc > > > hwork.kernel.org%2Fp

Re: linux-next: manual merge of the akpm-current tree with the pidfd tree

2019-07-07 Thread Stephen Rothwell
Hi all, On Wed, 15 May 2019 13:16:29 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the akpm-current tree got a conflict in: > > include/linux/pid.h > > between commit: > > 51f1b521a515 ("pidfd: add polling support") > > from the pidfd tree and commit: > > c02e28a1bb18

linux-next: manual merge of the jc_docs tree with the vfs tree

2019-07-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the jc_docs tree got a conflict in: Documentation/filesystems/vfs.txt between commit: 51eae7431ded ("vfs: Kill mount_single()") from the vfs tree and commit: af96c1e304f7 ("docs: filesystems: vfs: Convert vfs.txt to RST") from the jc_docs tree. I fi

Re: [PATCH v8 net-next 0/5] net: ethernet: ti: cpsw: Add XDP support

2019-07-07 Thread David Miller
From: David Miller Date: Sun, 07 Jul 2019 18:31:46 -0700 (PDT) > From: Ivan Khoronzhuk > Date: Fri, 5 Jul 2019 18:04:57 +0300 > >> This patchset adds XDP support for TI cpsw driver and base it on >> page_pool allocator. It was verified on af_xdp socket drop, >> af_xdp l2f, ebpf XDP_DROP, XDP_R

Re: [PATCH v8 net-next 0/5] net: ethernet: ti: cpsw: Add XDP support

2019-07-07 Thread David Miller
From: Ivan Khoronzhuk Date: Fri, 5 Jul 2019 18:04:57 +0300 > This patchset adds XDP support for TI cpsw driver and base it on > page_pool allocator. It was verified on af_xdp socket drop, > af_xdp l2f, ebpf XDP_DROP, XDP_REDIRECT, XDP_PASS, XDP_TX. > > It was verified with following configs ena

RE: linux-next: build failure after merge of the slave-dma tree

2019-07-07 Thread Robin Gong
Hi Stephen, That's caused by 'of_irq_count' NOT export to global symbol, and I'm curious why it has been here for so long since Zhangfei found it in 2015. https://patchwork.kernel.org/patch/7404681/ Hi Rob, Is there something I miss so that Zhangfei's patch not accepted finally?

Re: [PATCH v2] powerpc/mm: mark more tlb functions as __always_inline

2019-07-07 Thread Michael Ellerman
On Tue, 2019-05-21 at 13:13:24 UTC, Masahiro Yamada wrote: > With CONFIG_OPTIMIZE_INLINING enabled, Laura Abbott reported error > with gcc 9.1.1: > > arch/powerpc/mm/book3s64/radix_tlb.c: In function '_tlbiel_pid': > arch/powerpc/mm/book3s64/radix_tlb.c:104:2: warning: asm operand 3 probably

Re: [PATCH 1/4] powerpc/64: flush_inval_dcache_range() becomes flush_dcache_range()

2019-07-07 Thread Michael Ellerman
On Tue, 2019-05-14 at 09:05:13 UTC, Christophe Leroy wrote: > On most arches having function flush_dcache_range(), including PPC32, > this function does a writeback and invalidation of the cache bloc. > > On PPC64, flush_dcache_range() only does a writeback while > flush_inval_dcache_range() does

Re: [PATCH] selftests/powerpc: Add missing newline at end of file

2019-07-07 Thread Michael Ellerman
On Mon, 2019-06-17 at 14:52:04 UTC, Geert Uytterhoeven wrote: > "git diff" says: > > \ No newline at end of file > > after modifying the file. > > Signed-off-by: Geert Uytterhoeven Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/7b570361f6f66c91443541b19121038c076e7d64

Re: [PATCH v3 3/5] powerpc: Use the correct style for SPDX License Identifier

2019-07-07 Thread Michael Ellerman
On Tue, 2019-04-16 at 15:28:57 UTC, Nishad Kamdar wrote: > This patch corrects the SPDX License Identifier style > in the powerpc Hardware Architecture related files. > > Suggested-by: Joe Perches > Signed-off-by: Nishad Kamdar > Acked-by: Andrew Donnellan Applied to powerpc next, thanks. htt

Re: [PATCH v3 01/10] powerpc/8xx: move CPM1 related files from sysdev/ to platforms/8xx

2019-07-07 Thread Michael Ellerman
On Fri, 2019-06-14 at 06:41:38 UTC, Christophe Leroy wrote: > Only 8xx selects CPM1 and related CONFIG options are already > in platforms/8xx/Kconfig > > Move the related C files to platforms/8xx/. > > Signed-off-by: Christophe Leroy Series applied to powerpc next, thanks. https://git.kernel.o

  1   2   3   4   >