[PATCH 09/10] mm/oom_debug: Add Enhanced Slab Print Information

2019-08-26 Thread Edward Chron
Add OOM Debug code that prints additional detailed information about each slab entry that has been selected for printing. The information is displayed for each slab enrty selected for print. The extra information is helpful for root cause identification and problem analysis. Configuring Enhanced

[PATCH 07/10] mm/oom_debug: Add Select Process Entries Print

2019-08-26 Thread Edward Chron
Add OOM Debug code to selectively print an entry for each user process that was considered for OOM selection at the time of an OOM event. Limiting the processes to print is done by specifying a minimum amount of memory that must be used to be eligible to be printed. Note: memory usage for oom

[PATCH 10/10] mm/oom_debug: Add Enhanced Process Print Information

2019-08-26 Thread Edward Chron
Add OOM Debug code that prints additional detailed information about users processes that were considered for OOM killing for any print selected processes. The information is displayed for each user process that OOM prints in the output. This supplemental per user process information is very

[PATCH 06/10] mm/oom_debug: Add Select Vmalloc Entries Print

2019-08-26 Thread Edward Chron
Add OOM Debug code to allow select vmalloc entries to be printed output at the time of an OOM event. Listing some portion of the larger vmalloc entries has proven useful in tracking memory usage during an OOM event so the root cause of the event can be determined. Configuring this OOM Debug

[PATCH 04/10] mm/oom_debug: Add ARP and ND Table Summary usage

2019-08-26 Thread Edward Chron
Adds config options and code to support printing ARP Table usage and or Neighbour Discovery Table usage when an OOM event occurs. This summarized information provides the memory usage for each table when configured. Configuring these two OOM Debug Options ---

[PATCH 08/10] mm/oom_debug: Add Slab Select Always Print Enable

2019-08-26 Thread Edward Chron
Config option to always enable slab printing. This option will enable slab entries to be printed even when slab memory usage does not exceed the standard Linux user memory usage print trigger. The Standard OOM event Slab entry print trigger is that slab memory usage exceeds user memory usage. This

[PATCH 05/10] mm/oom_debug: Add Select Slabs Print

2019-08-26 Thread Edward Chron
Add OOM Debug code to allow select slab entries to be printed at the time of an OOM event. Linux has added printing slab entries on an OOM event, if the amount of memory used by slabs exceeds the amount of memory used by user processes. This OOM Debug option allows slab entries of a specified

[PATCH 00/10] OOM Debug print selection and additional information

2019-08-26 Thread Edward Chron
This patch series provides code that works as a debug option through debugfs to provide additional controls to limit how much information gets printed when an OOM event occurs and or optionally print additional information about slab usage, vmalloc allocations, user process memory usage, the

[PATCH 01/10] mm/oom_debug: Add Debug base code

2019-08-26 Thread Edward Chron
OOM Debug code to control/limit information and to provide additional information that is printed when an OOM event occurs. Code is provided to provide some additional information as well as to selectively limit the amount of information produced by an OOM event. Additional information printed at

[PATCH 02/10] mm/oom_debug: Add System State Summary

2019-08-26 Thread Edward Chron
When selected, prints the number of CPUs online at the time of the OOM event. Also prints nodename, domainname, machine type, kernel release and version, system uptime, total memory and swap size. Produces a single line of output holding this information. This information is useful to help

Re: [PATCH] leds: ti-lmu-common: Fix coccinelle issue in TI LMU

2019-08-26 Thread Jacek Anaszewski
Dan, On 8/26/19 4:53 PM, Dan Murphy wrote: > Jacek > > On 8/24/19 10:18 AM, Jacek Anaszewski wrote: >> Hi Dan, >> >> Thank you for the patch. >> >> On 8/23/19 9:55 PM, Dan Murphy wrote: >>> Fix the coccinelle issues found in the TI LMU common code >>> >>>

Re: [RFC PATCH 0/7] Unify SMP stop generic logic to common code

2019-08-26 Thread Cristian Marussi
Hi Christoph thanks for the review. On 8/26/19 4:34 PM, Christoph Hellwig wrote: On Fri, Aug 23, 2019 at 12:57:13PM +0100, Cristian Marussi wrote: An architecture willing to rely on this SMP common logic has to define its own helpers and set CONFIG_ARCH_USE_COMMON_SMP_STOP=y. The series wire

[PATCH] KVM: VMX: Set VMENTER_L1D_FLUSH_NOT_REQUIRED if !X86_BUG_L1TF

2019-08-26 Thread Waiman Long
The l1tf_vmx_mitigation is only set to VMENTER_L1D_FLUSH_NOT_REQUIRED when the ARCH_CAPABILITIES MSR indicates that L1D flush is not required. However, if the CPU is not affected by L1TF, l1tf_vmx_mitigation will still be set to VMENTER_L1D_FLUSH_AUTO. This is certainly not the best option for a

Re: [PATCH v2 02/15] kvm: x86: Introduce KVM APICv state

2019-08-26 Thread Suthikulpanit, Suravee
Alex, On 8/19/2019 4:49 AM, Alexander Graf wrote: > > > On 15.08.19 18:25, Suthikulpanit, Suravee wrote: >> Currently, after a VM boots with APICv enabled, it could go into >> the following states: >>    * activated   = VM is running w/ APICv >>    * deactivated = VM deactivate APICv

Re: [PATCH 8/8] media: cedrus: Add support for V4L2_DEC_CMD_FLUSH

2019-08-26 Thread Boris Brezillon
On Thu, 22 Aug 2019 21:45:00 +0200 Jernej Skrabec wrote: > This command is useful for explicitly flushing last decoded frame. > > Signed-off-by: Jernej Skrabec Reviewed-by: Boris Brezillon > --- > .../staging/media/sunxi/cedrus/cedrus_video.c | 34 +++ > 1 file changed, 34

Re: [alsa-devel] [RESEND PATCH v4 1/4] dt-bindings: soundwire: add slave bindings

2019-08-26 Thread Pierre-Louis Bossart
+title: SoundWire Controller Generic Binding + +maintainers: +  - Srinivas Kandagatla + +description: | +  SoundWire busses can be described with a node for the SoundWire controller +  device and a set of child nodes for each SoundWire slave on the bus. + +properties: +  $nodename: +   

Re: [PATCH v1 net-next] net: phy: mdio_bus: make mdiobus_scan also cover PHY that only talks C45

2019-08-26 Thread Andrew Lunn
On Mon, Aug 26, 2019 at 11:27:53AM -0700, Florian Fainelli wrote: > On 8/26/19 6:52 PM, Voon Weifeng wrote: > > From: Ong Boon Leong > > > > Make mdiobus_scan() to try harder to look for any PHY that only talks C45. > If you are not using Device Tree or ACPI, and you are letting the MDIO > bus

Re: [PATCH 0/2] coresight: Add barrier packet when moving offset forward

2019-08-26 Thread Yabin Cui
> Can I add your Tested-by ? Yes. I just sent a tested-by reply, but not sure if it works. I am not very familar with linux kernel review system.

Re: [PATCH 5/8] media: cedrus: Detect first slice of a frame

2019-08-26 Thread Jernej Škrabec
Dne ponedeljek, 26. avgust 2019 ob 20:28:31 CEST je Boris Brezillon napisal(a): > Hi Jernej, > > On Thu, 22 Aug 2019 21:44:57 +0200 > > Jernej Skrabec wrote: > > When codec supports multiple slices in one frame, VPU has to know when > > first slice of each frame is being processed, presumably

Re: [PATCH v1 net-next] net: stmmac: Add support for MDIO interrupts

2019-08-26 Thread Andrew Lunn
On Tue, Aug 27, 2019 at 09:45:20AM +0800, Voon Weifeng wrote: > From: "Chuah, Kim Tatt" > > DW EQoS v5.xx controllers added capability for interrupt generation > when MDIO interface is done (GMII Busy bit is cleared). > This patch adds support for this interrupt on supported HW to avoid >

Re: [PATCH -next] rtc: pcf2127: Fix build error without CONFIG_WATCHDOG_CORE

2019-08-26 Thread Guenter Roeck
On Mon, Aug 26, 2019 at 08:13:35PM +0200, Bruno Thomsen wrote: > Den man. 26. aug. 2019 kl. 15.20 skrev Guenter Roeck : > > > > On 8/26/19 1:12 AM, Yuehaibing wrote: > > > > > > > > > On 2019/8/23 22:05, Alexandre Belloni wrote: > > >> On 23/08/2019 20:45:53+0800, YueHaibing wrote: > > >>> If

Re: [PATCH v6 4/4] net: phy: realtek: Add LED configuration support for RTL8211E

2019-08-26 Thread Matthias Kaehlcke
On Fri, Aug 23, 2019 at 12:58:09PM -0700, Florian Fainelli wrote: > On 8/16/19 3:39 PM, Doug Anderson wrote: > > Hi, > > > > On Fri, Aug 16, 2019 at 3:12 PM Florian Fainelli > > wrote: > >> > >> On 8/16/19 2:27 PM, Matthias Kaehlcke wrote: > >>> On Fri, Aug 16, 2019 at 10:13:42PM +0200, Pavel

Re: [PATCH 7/8] media: cedrus: Add support for holding capture buffer

2019-08-26 Thread Boris Brezillon
On Thu, 22 Aug 2019 21:44:59 +0200 Jernej Skrabec wrote: > When frame contains multiple slices and driver works in slice mode, it's > more efficient to hold capture buffer in queue until all slices of a > same frame are decoded. > > Add support for that to Cedrus driver by exposing and

Re: [PATCH 2/8] videodev2.h: add V4L2_DEC_CMD_FLUSH

2019-08-26 Thread Boris Brezillon
On Thu, 22 Aug 2019 21:44:54 +0200 Jernej Skrabec wrote: > From: Hans Verkuil > > Add this new V4L2_DEC_CMD_FLUSH decoder command and document it. > > Signed-off-by: Hans Verkuil > Signed-off-by: Jernej Skrabec Reviewed-by: Boris Brezillon > --- >

Re: [PATCH 5/8] media: cedrus: Detect first slice of a frame

2019-08-26 Thread Boris Brezillon
Hi Jernej, On Thu, 22 Aug 2019 21:44:57 +0200 Jernej Skrabec wrote: > When codec supports multiple slices in one frame, VPU has to know when > first slice of each frame is being processed, presumably to correctly > clear/set data in auxiliary buffers. > > Add first_slice field to cedrus_run

Re: [PATCH v1 net-next] net: phy: mdio_bus: make mdiobus_scan also cover PHY that only talks C45

2019-08-26 Thread Florian Fainelli
On 8/26/19 6:52 PM, Voon Weifeng wrote: > From: Ong Boon Leong > > Make mdiobus_scan() to try harder to look for any PHY that only talks C45. If you are not using Device Tree or ACPI, and you are letting the MDIO bus be scanned, it sounds like there should be a way for you to provide a hint as

Re: linux-next: Fixes tag needs some work in the leds tree

2019-08-26 Thread Jacek Anaszewski
Hi Stephen, Thank you for the notification. On 8/25/19 11:19 PM, Stephen Rothwell wrote: > Hi all, > > In commit > > 3f5381c2ba60 ("leds: lm3532: Fixes for the driver for stability") > > Fixes tag > > Fixes: e37a7f8d77e1 ("leds: lm3532: Introduce the lm3532 LED driver") > > has these

[patch V3 28/38] posix-cpu-timers: Restructure expiry array

2019-08-26 Thread Thomas Gleixner
Now that the abused struct task_cputime is gone, it's more natural to bundle the expiry cache and the list head of each clock into a struct and have an array of those structs. Follow the hrtimer naming convention of 'bases' and rename the expiry cache to 'nextevt' and adapt all usage sites.

[PATCH v3] MAINTAINERS: mark simple firmware interface (SFI) obsolete

2019-08-26 Thread Lukas Bulwahn
Len Brown has not been active in this part since around 2010 and confirmed that he is not maintaining this part of the kernel sources anymore and the git log suggests that nobody is actively maintaining it. The referenced git tree does not exist. Instead, I found an sfi branch in Len's kernel git

Re: [patch V2 28/38] posix-cpu-timers: Restructure expiry array

2019-08-26 Thread Thomas Gleixner
On Mon, 26 Aug 2019, Frederic Weisbecker wrote: > On Wed, Aug 21, 2019 at 09:09:15PM +0200, Thomas Gleixner wrote: > > /** > > - * task_cputimers_expired - Compare two task_cputime entities. > > + * task_cputimers_expired - Check whether posix CPU timers are expired > > * > > * @samples:

Re: [PATCH -next] rtc: pcf2127: Fix build error without CONFIG_WATCHDOG_CORE

2019-08-26 Thread Bruno Thomsen
Den man. 26. aug. 2019 kl. 15.20 skrev Guenter Roeck : > > On 8/26/19 1:12 AM, Yuehaibing wrote: > > > > > > On 2019/8/23 22:05, Alexandre Belloni wrote: > >> On 23/08/2019 20:45:53+0800, YueHaibing wrote: > >>> If WATCHDOG_CORE is not set, build fails: > >>> > >>> drivers/rtc/rtc-pcf2127.o: In

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-26 Thread Paul E. McKenney
On Mon, Aug 26, 2019 at 12:49:22PM -0500, Scott Wood wrote: > On Mon, 2019-08-26 at 09:29 -0700, Paul E. McKenney wrote: > > On Mon, Aug 26, 2019 at 05:25:23PM +0200, Sebastian Andrzej Siewior wrote: > > > On 2019-08-23 23:10:14 [-0400], Joel Fernandes wrote: > > > > On Fri, Aug 23, 2019 at

[tip: x86/urgent] x86/apic: Do not initialize LDR and DFR for bigsmp

2019-08-26 Thread tip-bot2 for Bandan Das
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: bae3a8d3308ee69a7dbdf145911b18dfda8ade0d Gitweb: https://git.kernel.org/tip/bae3a8d3308ee69a7dbdf145911b18dfda8ade0d Author:Bandan Das AuthorDate:Mon, 26 Aug 2019 06:15:12 -04:00 Committer:

[tip: x86/urgent] x86/apic: Include the LDR when clearing out APIC registers

2019-08-26 Thread tip-bot2 for Bandan Das
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 558682b5291937a70748d36fd9ba757fb25b99ae Gitweb: https://git.kernel.org/tip/558682b5291937a70748d36fd9ba757fb25b99ae Author:Bandan Das AuthorDate:Mon, 26 Aug 2019 06:15:13 -04:00 Committer:

Re: [PATCH] ARM: imx: Drop imx_anatop_init()

2019-08-26 Thread Andrey Smirnov
On Sat, Aug 24, 2019 at 11:31 AM Shawn Guo wrote: > > On Thu, Aug 22, 2019 at 05:33:13PM +, Leonard Crestez wrote: > > On 31.07.2019 21:01, Andrey Smirnov wrote: > > > With commit b5bbe2235361 ("usb: phy: mxs: Disable external charger > > > detect in mxs_phy_hw_init()") in tree all of the

[PATCH v6 3/3] ASoC: sun4i-i2s: Adjust LRCLK width

2019-08-26 Thread codekipper
From: Marcus Cooper Some codecs such as i2s based HDMI audio and the Pine64 DAC require a different amount of bit clocks per frame than what is calculated by the sample width. Use the values obtained by the tdm slot bindings to adjust the LRCLK width accordingly. Signed-off-by: Marcus Cooper

[PATCH v6 2/3] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2019-08-26 Thread codekipper
From: Marcus Cooper On the newer SoCs such as the H3 and A64 this is set by default to transfer a 0 after each sample in each slot. However the A10 and A20 SoCs that this driver was developed on had a default setting where it padded the audio gain with zeros. This isn't a problem whilst we have

[PATCH v6 1/3] ASoC: sun4i-i2s: incorrect regmap for A83T

2019-08-26 Thread codekipper
From: Marcus Cooper The regmap configuration is set up for the legacy block on the A83T whereas it uses the new block with a larger register map. Fixes: 21faaea1343f ("ASoC: sun4i-i2s: Add support for A83T") Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 2 +- 1 file changed,

[PATCH v6 0/3] ASoC: sun4i-i2s: Updates to the driver

2019-08-26 Thread codekipper
From: Marcus Cooper Hi All, here is a patch series to add some improvements to the sun4i-i2s driver which is enough to get HDMI audio working on the A83T, A64, H3 and H5 platforms. I've dropped a lot of the functionality that was presented earlier in favour of getting initial HDMI audio

Re: [PATCH] vmw_balloon: Fix offline page marking with compaction

2019-08-26 Thread Nadav Amit
> On Aug 21, 2019, at 1:30 AM, David Hildenbrand wrote: > > On 20.08.19 18:01, Nadav Amit wrote: >> The compaction code already marks pages as offline when it enqueues >> pages in the ballooned page list, and removes the mapping when the pages >> are removed from the list. VMware balloon also

Re: [PATCH] ARM: dts: vf610-zii-scu4-aib: Drop "rs485-rts-delay" property

2019-08-26 Thread Andrey Smirnov
On Sat, Aug 24, 2019 at 12:09 PM Shawn Guo wrote: > > On Mon, Aug 19, 2019 at 08:13:01PM -0700, Andrey Smirnov wrote: > > LPUART driver does not support specifying "rs485-rts-delay" > > property. Drop it. > > If so, we need to fix bindings/serial/fsl-lpuart.txt in the meantime? > Yeah, good

Re: [PATCH] ARM: dts: vf610-zii-dev-rev-b: Drop redundant I2C properties

2019-08-26 Thread Andrey Smirnov
On Sat, Aug 24, 2019 at 12:12 PM Shawn Guo wrote: > > On Mon, Aug 19, 2019 at 08:19:52PM -0700, Andrey Smirnov wrote: > > Drop redundant I2C properties that are already specified in > > vf610-zii-dev.dtsi > > > > Signed-off-by: Andrey Smirnov > > Cc: Shawn Guo > > Cc: Chris Healy > > Cc: Fabio

Re: BoF on LPC 2019 : Linux Perf advancements for compute intensive and server systems

2019-08-26 Thread Andi Kleen
> > > > > All those are already merged, after long reviewing phases and lots of > > testing, right? > > Right. These changes now constitute parts of the Linux kernel source tree. Might be better to focus on future areas that haven't been merged yet. -Andi

[PATCH v1 net-next] net: phy: mdio_bus: make mdiobus_scan also cover PHY that only talks C45

2019-08-26 Thread Voon Weifeng
From: Ong Boon Leong Make mdiobus_scan() to try harder to look for any PHY that only talks C45. Signed-off-by: Ong Boon Leong Signed-off-by: Voon Weifeng diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index bd04fe762056..30dbc48b4c7e 100644 ---

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-26 Thread Scott Wood
On Mon, 2019-08-26 at 09:29 -0700, Paul E. McKenney wrote: > On Mon, Aug 26, 2019 at 05:25:23PM +0200, Sebastian Andrzej Siewior wrote: > > On 2019-08-23 23:10:14 [-0400], Joel Fernandes wrote: > > > On Fri, Aug 23, 2019 at 02:28:46PM -0500, Scott Wood wrote: > > > > On Fri, 2019-08-23 at 18:20

[PATCH v1 net-next] net: stmmac: Add support for MDIO interrupts

2019-08-26 Thread Voon Weifeng
From: "Chuah, Kim Tatt" DW EQoS v5.xx controllers added capability for interrupt generation when MDIO interface is done (GMII Busy bit is cleared). This patch adds support for this interrupt on supported HW to avoid polling on GMII Busy bit. stmmac_mdio_read() & stmmac_mdio_write() will sleep

[PATCH v2] arm64: dts: sdm845: Add parent clock for rpmhcc

2019-08-26 Thread Vinod Koul
RPM clock controller has parent as xo, so specify that in DT node for rpmhcc Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index

Re: [PATCH] x86: tpm: Remove a busy bit of the NVS area for supporting AMD's fTPM

2019-08-26 Thread Matthew Garrett
On Mon, Aug 26, 2019 at 1:18 AM Seunghun Han wrote: > To support AMD's fTPM, I removed the busy bit from the ACPI NVS area like > the reserved area so that AMD's fTPM regions could be assigned in it. drivers/acpi/nvs.c saves and restores the contents of NVS regions, and if other drivers use

Re: [PATCH] arm64: dts: qcom: sm8150: Update parent clock for rpmhcc

2019-08-26 Thread Vinod Koul
On 22-08-19, 22:35, Vinod Koul wrote: > Since rphmcc expects the parent clock name as 'xo_board', update the > parent clock name. > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/sm8150.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH v1 net-next 2/4] net: stmmac: add TGL SGMII 1Gbps PCI info and PCI ID

2019-08-26 Thread Voon Weifeng
Added TGL SGMII 1Gbps PCI ID. Different MII and speed will have different PCI ID. Signed-off-by: Voon Weifeng Signed-off-by: Ong Boon Leong --- drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 29 1 file changed, 29 insertions(+) diff --git

[PATCH v1 net-next 3/4] net: stmmac: add EHL RGMII 1Gbps PCI info and PCI ID

2019-08-26 Thread Voon Weifeng
Added EHL RGMII 1Gbps PCI ID. Different MII and speed will have different PCI ID. Signed-off-by: Voon Weifeng Signed-off-by: Ong Boon Leong --- drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH v1 net-next 4/4] net: stmmac: setup higher frequency clk support for EHL & TGL

2019-08-26 Thread Voon Weifeng
EHL DW EQOS is running on a 200MHz clock. Setting up stmmac-clk, ptp clock and ptp_max_adj to 200MHz. Signed-off-by: Voon Weifeng Signed-off-by: Ong Boon Leong --- drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 21 + drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c | 3

[PATCH v1 net-next 0/4] Add EHL and TGL PCI info and PCI ID

2019-08-26 Thread Voon Weifeng
In order to keep PCI info simple and neat, this patch series have introduced a 3 hierarchy of struct. First layer will be the intel_mgbe_common_data struct which keeps all Intel common configuration. Second layer will be xxx_common_data which keeps all the different Intel microarchitecture, e.g

[PATCH v1 net-next 1/4] net: stmmac: add EHL SGMII 1Gbps PCI info and PCI ID

2019-08-26 Thread Voon Weifeng
Added EHL SGMII 1Gbps PCI ID. Different MII and speed will have different PCI ID. Signed-off-by: Voon Weifeng Signed-off-by: Ong Boon Leong --- drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 107 +++ 1 file changed, 107 insertions(+) diff --git

Re: [PATCH] sched/fair: don't assign runtime for throttled cfs_rq

2019-08-26 Thread bsegall
Valentin Schneider writes: > On 23/08/2019 21:00, bseg...@google.com wrote: > [...] >> Could you mention in the message that this a throttled cfs_rq can have >> account_cfs_rq_runtime called on it because it is throttled before >> idle_balance, and the idle_balance calls update_rq_clock to add

Re: reeze while write on external usb 3.0 hard disk [Bug 204095]

2019-08-26 Thread Piergiorgio Sartor
On Tue, Aug 20, 2019 at 06:37:22PM +0200, Piergiorgio Sartor wrote: > On Tue, Aug 20, 2019 at 09:23:26AM +0200, Christoph Hellwig wrote: > > On Mon, Aug 19, 2019 at 10:14:25AM -0400, Alan Stern wrote: > > > Let's bring this to the attention of some more people. > > > > > > It looks like the bug

[PATCH v5 4/4] clk: qcom: clk-rpmh: Add support for SM8150

2019-08-26 Thread Vinod Koul
Add support for rpmh clocks found in SM8150 Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/clk-rpmh.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c index

[PATCH v5 2/4] clk: qcom: clk-rpmh: Convert to parent data scheme

2019-08-26 Thread Vinod Koul
Convert the rpmh clock driver to use the new parent data scheme by specifying the parent data for board clock. Signed-off-by: Vinod Koul --- drivers/clk/qcom/clk-rpmh.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/clk-rpmh.c

[PATCH v5 1/4] dt-bindings: clock: Document the parent clocks

2019-08-26 Thread Vinod Koul
With clock parent data scheme we must specify the parent clocks for the rpmhcc nodes. So describe the parent clock for rpmhcc in the bindings. Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/clock/qcom,rpmh-clk.txt | 3 +++ 1 file changed, 3

[PATCH v5 3/4] dt-bindings: clock: Document SM8150 rpmh-clock compatible

2019-08-26 Thread Vinod Koul
Document the SM8150 rpmh-clock compatible for rpmh clock controller found on SM8150 platforms. Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/clock/qcom,rpmh-clk.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v5 0/4] clk: qcom: Add support for SM8150 rpmh

2019-08-26 Thread Vinod Koul
Add support for rpm clock controller found in SM8150 and while at it update the driver to support parent data clock scheme as suggested by Stephen. Changes since v4: - Fix the .fw_name as xo instead of xo_board (v4 erroneously did for .name) Changes since v3: - Make clock parent name as xo

Re: [PATCH] mips: avoid explicit UB in assignment of mips_io_port_base

2019-08-26 Thread Nick Desaulniers
On Sat, Aug 24, 2019 at 7:12 AM Paul Burton wrote: > > Hi Nick, > > On Fri, Aug 23, 2019 at 10:16:04AM -0700, Nick Desaulniers wrote: > > On Tue, Aug 20, 2019 at 10:15 AM Nick Desaulniers > > wrote: > > > Hi Paul, > > > Bumping this thread; we'd really like to be able to boot test another > > >

Re: [PATCH] mm/migrate: initialize pud_entry in migrate_vma()

2019-08-26 Thread Ralph Campbell
On 8/26/19 8:11 AM, Vlastimil Babka wrote: On 7/20/19 1:32 AM, Ralph Campbell wrote: When CONFIG_MIGRATE_VMA_HELPER is enabled, migrate_vma() calls migrate_vma_collect() which initializes a struct mm_walk but didn't initialize mm_walk.pud_entry. (Found by code inspection) Use a C structure

Re: [PATCH 2/2] coresight: Add barrier packet when moving offset forward

2019-08-26 Thread Yabin Cui
Tested-by: Yabin Cui

Re: [PATCH 2/7] firmware: add offset to request_firmware_into_buf

2019-08-26 Thread Scott Branden
Hi Takashi, On 2019-08-26 10:12 a.m., Takashi Iwai wrote: On Mon, 26 Aug 2019 17:41:40 +0200, Scott Branden wrote: HI Takashi, On 2019-08-26 8:20 a.m., Takashi Iwai wrote: On Fri, 23 Aug 2019 21:44:42 +0200, Scott Branden wrote: Hi Takashi, Thanks for review.  comments below. On

Re: [PATCH] ALSA: usb-audio: Add Hiby R3 to quirks for native DSD support

2019-08-26 Thread Jussi Laako
+ /* ESS Sabre based USB DACs */ + case USB_ID(0xc502, 0x0051): /* Hiby R3 */ + if (fp->altsetting == 4) + return SNDRV_PCM_FMTBIT_DSD_U32_BE; + break; Do you know who's vendor id is this? ESS Sabre is a DAC chip with I2S input, I'm

Re: [RFC PATCH v3 09/16] sched: Introduce sched_class::pick_task()

2019-08-26 Thread mark gross
On Wed, May 29, 2019 at 08:36:45PM +, Vineeth Remanan Pillai wrote: > From: Peter Zijlstra > > Because sched_class::pick_next_task() also implies > sched_class::set_next_task() (and possibly put_prev_task() and > newidle_balance) it is not state invariant. This makes it unsuitable > for

KASAN: slab-out-of-bounds Read in sctp_inq_pop

2019-08-26 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9733a7c6 Add linux-next specific files for 20190823 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=143ec11e60 kernel config: https://syzkaller.appspot.com/x/.config?x=f6c78a1438582bd1

Re: [PATCH 2/7] firmware: add offset to request_firmware_into_buf

2019-08-26 Thread Takashi Iwai
On Mon, 26 Aug 2019 17:41:40 +0200, Scott Branden wrote: > > HI Takashi, > > On 2019-08-26 8:20 a.m., Takashi Iwai wrote: > > On Fri, 23 Aug 2019 21:44:42 +0200, > > Scott Branden wrote: > >> Hi Takashi, > >> > >> Thanks for review.  comments below. > >> > >> On 2019-08-23 3:05 a.m., Takashi

Re: How cma allocation works ?

2019-08-26 Thread Pankaj Suryawanshi
On Mon, Aug 26, 2019 at 12:55 PM Michal Hocko wrote: > > On Fri 23-08-19 00:17:22, Pankaj Suryawanshi wrote: > > On Thu, Aug 22, 2019 at 6:32 PM Michal Hocko wrote: > > > > > > On Wed 21-08-19 22:58:03, Pankaj Suryawanshi wrote: > > > > Hello, > > > > > > > > Hard time to understand cma

Re: [PATCH v7] usbip: Implement SG support to vhci-hcd and stub driver

2019-08-26 Thread Suwan Kim
On Tue, Aug 27, 2019 at 12:00:07AM +0900, Suwan Kim wrote: > There are bugs on vhci with usb 3.0 storage device. In USB, each SG > list entry buffer should be divisible by the bulk max packet size. > But with native SG support, this problem doesn't matter because the > SG buffer is treated as

Re: [PATCH 12/16] arm64: prefer __section from compiler_attributes.h

2019-08-26 Thread Nick Desaulniers
On Sat, Aug 24, 2019 at 5:48 AM Miguel Ojeda wrote: > > On Sat, Aug 24, 2019 at 1:25 PM Will Deacon wrote: > > > > Which bit are you pinging about? This patch (12/16) has been in -next for a > > while and is queued in the arm64 tree for 5.4. The Oops/boot issue is > > addressed in patch 14 which

Re: [RFC PATCH v3 08/16] sched: Rework pick_next_task() slow-path

2019-08-26 Thread mark gross
On Wed, May 29, 2019 at 08:36:44PM +, Vineeth Remanan Pillai wrote: > From: Peter Zijlstra > > Avoid the RETRY_TASK case in the pick_next_task() slow path. > > By doing the put_prev_task() early, we get the rt/deadline pull done, > and by testing rq->nr_running we know if we need

Re: [RFC PATCH v3 01/16] stop_machine: Fix stop_cpus_in_progress ordering

2019-08-26 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 09:19:31AM -0700, mark gross wrote: > On Wed, May 29, 2019 at 08:36:37PM +, Vineeth Remanan Pillai wrote: > > From: Peter Zijlstra > > > > Make sure the entire for loop has stop_cpus_in_progress set. > It is not clear how this commit comment matches the change.

Re: [PATCH 00/12] libperf: Add events to perf/event.h

2019-08-26 Thread Jiri Olsa
On Mon, Aug 26, 2019 at 01:18:49PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > [perfbuilder@490c2c7bdaab ~]$ grep 'printf("lost' > /tmp/build/perf/builtin-sched.i > printf("lost %" "l" "ll""u" " events on cpu %d\n", event->lost.lost, > sample->cpu); > [perfbuilder@490c2c7bdaab ~]$ > > And

Re: [RFC PATCH v3 07/16] sched: Allow put_prev_task() to drop rq->lock

2019-08-26 Thread mark gross
On Wed, May 29, 2019 at 08:36:43PM +, Vineeth Remanan Pillai wrote: > From: Peter Zijlstra > > Currently the pick_next_task() loop is convoluted and ugly because of > how it can drop the rq->lock and needs to restart the picking. > > For the RT/Deadline classes, it is put_prev_task() where

Re: [PATCH v4 00/13] Support CPU frequency scaling on QCS404

2019-08-26 Thread Jorge Ramirez
On 8/26/19 08:54, Jorge Ramirez wrote: > On 7/31/19 22:29, Jorge Ramirez-Ortiz wrote: >> The following patchset enables CPU frequency scaling support on the >> QCS404 (with dynamic voltage scaling). >> >> It is important to notice that this functionality will be superseded >> by Core Power

Re: [PATCH v2] powerpc: Allow flush_(inval_)dcache_range to work across ranges >4GB

2019-08-26 Thread Greg Kroah-Hartman
On Wed, Aug 21, 2019 at 10:19:27AM +1000, Alastair D'Silva wrote: > From: Alastair D'Silva > > The upstream commit: > 22e9c88d486a ("powerpc/64: reuse PPC32 static inline flush_dcache_range()") > has a similar effect, but since it is a rewrite of the assembler to C, is > too invasive for stable.

Re: [PATCH 1/1] netfilter: nf_tables: fib: Drop IPV6 packages if IPv6 is disabled on boot

2019-08-26 Thread Leonardo Bras
Hello Pablo, Florian, I implemented a V2 of this patch with the changes you proposed. Could you please give your feedback on that patch? https://lkml.org/lkml/2019/8/21/527 Thanks! On Wed, 2019-08-21 at 11:58 +0200, Pablo Neira Ayuso wrote: > On Tue, Aug 20, 2019 at 01:15:58PM -0300, Leonardo

[PATCH 3/6] arm64: dts: qcom: qcs404: Add HFPLL node

2019-08-26 Thread Jorge Ramirez-Ortiz
The high frequency pll functionality is required to enable CPU frequency scaling operation. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 9 + 1 file changed, 9

[PATCH 5/6] arm64: dts: qcom: qcs404: Add DVFS support

2019-08-26 Thread Jorge Ramirez-Ortiz
Support dynamic voltage and frequency scaling on qcs404. CPUFreq will soon be superseded by Core Power Reduction (CPR, a form of Adaptive Voltage Scaling found on some Qualcomm SoCs like the qcs404). Due to the CPR upstreaming already being in progress - and some commits already merged - the

[PATCH 6/6] arm64: defconfig: Enable HFPLL

2019-08-26 Thread Jorge Ramirez-Ortiz
The high frequency pll is required on compatible Qualcomm SoCs to support the CPU frequency scaling feature. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1

[PATCH 1/6] dt-bindings: mailbox: qcom: Add clock-name optional property

2019-08-26 Thread Jorge Ramirez-Ortiz
When the APCS clock is registered (platform dependent), it retrieves its parent names from hardcoded values in the driver. The following commit allows the DT node to provide such clock names to the platform data based clock driver therefore avoiding having to explicitly embed those names in the

[PATCH 4/6] arm64: dts: qcom: qcs404: Add the clocks for APCS mux/divider

2019-08-26 Thread Jorge Ramirez-Ortiz
Specify the clocks that feed the APCS mux/divider instead of using default hardcoded values in the source code. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 3 +++ 1 file

[PATCH 2/6] arm64: dts: qcom: msm8916: Add the clocks for the APCS mux/divider

2019-08-26 Thread Jorge Ramirez-Ortiz
Specify the clocks that feed the APCS mux/divider instead of using default hardcoded values in the source code. The driver still supports the previous bindings; however with this update it we allow the msm8916 to access the parent clock names required by the driver operation using the device tree

Re: [PATCH 00/12] libperf: Add events to perf/event.h

2019-08-26 Thread Jiri Olsa
On Mon, Aug 26, 2019 at 12:41:38PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Aug 25, 2019 at 08:17:40PM +0200, Jiri Olsa escreveu: > > hi, > > as a preparation for sampling libperf interface, moving event > > definitions into the library header. Moving just the kernel > > non-AUX events

[PATCH 1/2] mbox: qcom: add APCS child device for QCS404

2019-08-26 Thread Jorge Ramirez-Ortiz
There is clock controller functionality in the APCS hardware block of qcs404 devices similar to msm8916. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 8 +--- 1

[PATCH 2/2] mbox: qcom: replace integer with valid macro

2019-08-26 Thread Jorge Ramirez-Ortiz
Use the correct macro when registering the platform device. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH 1/5] clk: qcom: gcc: limit GPLL0_AO_OUT operating frequency

2019-08-26 Thread Jorge Ramirez-Ortiz
Limit the GPLL0_AO_OUT_MAIN operating frequency as per its hardware specifications. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson Acked-by: Stephen Boyd --- drivers/clk/qcom/clk-alpha-pll.c | 8

[PATCH 5/5] clk: qcom: hfpll: CLK_IGNORE_UNUSED

2019-08-26 Thread Jorge Ramirez-Ortiz
When COMMON_CLK_DISABLED_UNUSED is set, in an effort to save power and to keep the software model of the clock in line with reality, the framework transverses the clock tree and disables those clocks that were enabled by the firmware but have not been enabled by any device driver. If CPUFREQ is

[PATCH 3/5] clk: qcom: hfpll: get parent clock names from DT

2019-08-26 Thread Jorge Ramirez-Ortiz
Allow accessing the parent clock name required for the driver operation using the device tree node. This permits extending the driver to other platforms without having to modify its source code. For backwards compatibility leave the previous value as default. Co-developed-by: Niklas Cassel

[PATCH 2/5] clk: qcom: apcs-msm8916: get parent clock names from DT

2019-08-26 Thread Jorge Ramirez-Ortiz
Allow accessing the parent clock names required for the driver operation by using the device tree node. This permits extending the driver to other platforms without having to modify its source code. For backwards compatibility leave previous values as default. Co-developed-by: Niklas Cassel

[PATCH 4/5] clk: qcom: hfpll: register as clock provider

2019-08-26 Thread Jorge Ramirez-Ortiz
Make the output of the high frequency pll a clock provider. On the QCS404 this PLL controls cpu frequency scaling. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson Acked-by: Stephen Boyd --- drivers/clk/qcom/hfpll.c

Re: [PATCH v2] riscv: add support for SECCOMP and SECCOMP_FILTER

2019-08-26 Thread David Abdurachmanov
On Mon, Aug 26, 2019 at 7:57 AM Tycho Andersen wrote: > > Hi, > > On Fri, Aug 23, 2019 at 05:30:53PM -0700, Paul Walmsley wrote: > > On Thu, 22 Aug 2019, David Abdurachmanov wrote: > > > > > There is one failing kernel selftest: global.user_notification_signal > > > > Also - could you follow up

Re: [RFC PATCH v2 1/3] x86/mm/tlb: Change __flush_tlb_one_user interface

2019-08-26 Thread Nadav Amit
> On Aug 26, 2019, at 12:51 AM, Juergen Gross wrote: > > On 24.08.19 00:52, Nadav Amit wrote: >> __flush_tlb_one_user() currently flushes a single entry, and flushes it >> both in the kernel and user page-tables, when PTI is enabled. >> Change __flush_tlb_one_user() and related interfaces into

Re: [patch V2 28/38] posix-cpu-timers: Restructure expiry array

2019-08-26 Thread Frederic Weisbecker
On Wed, Aug 21, 2019 at 09:09:15PM +0200, Thomas Gleixner wrote: > /** > - * task_cputimers_expired - Compare two task_cputime entities. > + * task_cputimers_expired - Check whether posix CPU timers are expired > * > * @samples: Array of current samples for the CPUCLOCK clocks > - *

[tip:x86/urgent 3/3] arch/x86/kernel/apic/apic.c:1182:6: warning: the address of 'x2apic_enabled' will always evaluate as 'true'

2019-08-26 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tip/tip.git x86/urgent head: cfa16294b1c5b320c0a0e1cac37c784b92366c87 commit: cfa16294b1c5b320c0a0e1cac37c784b92366c87 [3/3] x86/apic: Include the LDR when clearing out APIC registers config: i386-defconfig (attached as .config)

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-26 Thread Paul E. McKenney
On Mon, Aug 26, 2019 at 05:25:23PM +0200, Sebastian Andrzej Siewior wrote: > On 2019-08-23 23:10:14 [-0400], Joel Fernandes wrote: > > On Fri, Aug 23, 2019 at 02:28:46PM -0500, Scott Wood wrote: > > > On Fri, 2019-08-23 at 18:20 +0200, Sebastian Andrzej Siewior wrote: > > > > > > > > this looks

Re: [PATCH v4 1/9] smp: Run functions concurrently in smp_call_function_many()

2019-08-26 Thread Nadav Amit
> On Aug 23, 2019, at 3:41 PM, Nadav Amit wrote: > > Currently, on_each_cpu() and similar functions do not exploit the > potential of concurrency: the function is first executed remotely and > only then it is executed locally. Functions such as TLB flush can take > considerable time, so this

Re: [PATCH] ARM: OMAP2+: Delete an unnecessary kfree() call in omap_hsmmc_pdata_init()

2019-08-26 Thread Tony Lindgren
* Markus Elfring [190826 06:31]: > From: Markus Elfring > Date: Mon, 26 Aug 2019 15:05:31 +0200 > > A null pointer would be passed to a call of the function "kfree" directly > after a call of the function "kzalloc" failed at one place. > Remove this superfluous function call. > > This issue

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