Re: [PATCH v2 1/3] mmc: core: Calculate the discard arg only once

2019-02-06 Thread Ulf Hansson
On Wed, 6 Feb 2019 at 12:28, Avri Altman wrote: > > In MMC, the discard arg is a read-only ext_csd parameter - set it once > on card init. To be consistent, do that for SD as well even though its > discard arg is always 0x0. > > Signed-off-by: Avri Altman Applied for next, thanks! Kind regards

Re: [PATCH v2 3/3] mmc: core: Add discard support to sd

2019-02-06 Thread Ulf Hansson
On Wed, 6 Feb 2019 at 12:29, Avri Altman wrote: > > SD spec v5.1 adds discard support. The flows and commands are similar to > mmc, so just set the discard arg in CMD38. > > Actually, there is no need to check for the spec version like we are > doing, as it is assured that the reserved bits in ear

Re: [PATCH v2 2/3] mmc: core: Indicate SD specs higher than 4.0

2019-02-06 Thread Ulf Hansson
On Wed, 6 Feb 2019 at 12:29, Avri Altman wrote: > > SD specs version 4.x and 5.x have a dedicated slices in the SCR register. > Higher versions will rely on a combination of the existing fields. > > Signed-off-by: Avri Altman Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/co

[PATCH] genirq: introduce irq_chip_mask_ack_parent()

2019-02-06 Thread Linus Walleij
The hierarchical irqchip never before ran into a situation where the parent is not "simple", i.e. does not implement .irq_ack() and .irq_mask() like most, but the qcom-pm8xxx.c happens to implement only .irq_mask_ack(). Since we want to make ssbi-gpio a hierarchical child of this irqchip, it must

Re: [PATCH v2 2/3] mmc: sunxi: Filter out unsupported modes declared in the device tree

2019-02-06 Thread Ulf Hansson
On Tue, 5 Feb 2019 at 16:42, Chen-Yu Tsai wrote: > > The MMC device tree bindings include properties used to signal various > signalling speed modes. Until now the sunxi driver was accepting them > without any further filtering, while the sunxi device trees were not > actually using them. > > Sinc

RE: [PATCH V13 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Sowjanya Komatineni
> Two ";;" at the end. > > > > Good news: DVC I2C works now and tps6586x probes fine! :) Bad news: > atmel-touch still has same problems as in V12 :( > > DMA-only V13: http://dpaste.com/0XJ1Z8G.txt Strangely, there are many transactions to touch and all of them are good except DMA timeout only

Re: [PATCH v3 12/15] habanalabs: add virtual memory and MMU modules

2019-02-06 Thread Mike Rapoport
On Mon, Feb 04, 2019 at 10:32:51PM +0200, Oded Gabbay wrote: > From: Omer Shpigelman > > This patch adds the Virtual Memory and MMU modules. > > Goya has an internal MMU which provides process isolation on the internal > DDR. The internal MMU also performs translations for transactions that go >

Re: [PATCH v2 00/12] btrfs: add zstd compression level support

2019-02-06 Thread David Sterba
On Tue, Feb 05, 2019 at 03:48:48PM -0500, Dennis Zhou wrote: > > Ok great! I'm going to add a v2 for 0012 to add taking the spin_lock > > just to be safe in cleanup. I should have that ready in a few minutes. > > > > Before I run v3, are there any other concerns (pending the changes I > made to a

Re: use generic DMA mapping code in powerpc V4

2019-02-06 Thread Christoph Hellwig
On Wed, Feb 06, 2019 at 02:45:34PM +0100, Christian Zigotzky wrote: > I patched the source code from the Git 'powerpc-dma.6' with your patch > today. Unfortunately the P.A. Semi Ethernet doesn't work with the patched > Git kernel. > > After that I tried it with the patch applied over the working

Re: [PATCH v3 14/15] habanalabs: add debugfs support

2019-02-06 Thread Mike Rapoport
On Mon, Feb 04, 2019 at 10:32:53PM +0200, Oded Gabbay wrote: > This patch adds debugfs support to the driver. It allows the user-space to > display information that is contained in the internal structures of the > driver, such as: > - active command submissions > - active user virtual memory mappin

Re: use generic DMA mapping code in powerpc V4

2019-02-06 Thread Christoph Hellwig
On Wed, Feb 06, 2019 at 04:15:05PM +0100, Christoph Hellwig wrote: > The last good one was 29e7e2287e196f48fe5d2a6e017617723ea979bf > ("dma-direct: we might need GFP_DMA for 32-bit dma masks"), if I > remember correctly. powerpc/dma: use the dma_direct mapping routines > was the one that you said

[PATCH v3 1/3] dt-bindings: phy: Add Stingray USB PHY binding document

2019-02-06 Thread Srinath Mannam
Add DT binding document for Stingray USB PHY. Signed-off-by: Srinath Mannam Reviewed-by: Florian Fainelli Reviewed-by: Scott Branden --- .../bindings/phy/brcm,stingray-usb-phy.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetre

[PATCH v3 2/3] phy: sr-usb: Add Stingray USB PHY driver

2019-02-06 Thread Srinath Mannam
USB PHY driver supports all versions of stingray SS and HS USB PHYs. - Version 1 is a combo PHY contains both SS and HS PHYs. - Version 2 is a single HS PHY. These PHYs support both Generic xHCI host controller driver and BDC Broadcom device controller driver. Signed-off-by: Srinath Mannam Rev

[PATCH v3 3/3] arm64: dts: Add USB DT nodes for Stingray SoC

2019-02-06 Thread Srinath Mannam
Add DT nodes for - Two xHCI host controllers - Two BDC Broadcom USB device controller - Five USB PHY controllers [xHCI0] [BDC0][xHCI1][BDC1] | | | | --- --- |

[PATCH v3 0/3] Stingray USB PHY driver support

2019-02-06 Thread Srinath Mannam
These patches add Stingray USB PHY driver and its corresponding DT nodes with documentation. This patch set is based on Linux-5.0-rc2. Changes from v2: - Addressed Kishon review comments - Updated patchset to Linux-5.0-rc2 Changes from v1: - Addressed Kishon review comments - phy init ca

Re: [PATCH 0/9] qcom: ssbi-gpio: add support for hierarchical IRQ chip

2019-02-06 Thread Linus Walleij
On Fri, Jan 25, 2019 at 5:23 PM Brian Masney wrote: > This patch series adds hierarchical IRQ chip support to ssbi-gpio so > that device tree consumers can request an IRQ directly from the GPIO > block rather than having to request an IRQ from the underlying PMIC. I had to apply the patch I just

[PATCH v2 2/2] arm64: dts: rockchip: add HDMI sound node for rk3328-rock64

2019-02-06 Thread Katsuhiro Suzuki
This patch adds HDMI sound (I2S0) node and remove dma properties from UART2 node for rock64. The DMAC of rk3328 connected to 16 DMA sources. Each sources have ID number that is called 'Req number' in rk3328 TRM. Currently, total 7 sources has been activated as follows: | Req number | Source | Req

[PATCH v2 1/2] arm64: dts: rockchip: add #sound-dai-cells to HDMI of rk3328

2019-02-06 Thread Katsuhiro Suzuki
This patch adds #sound-dai-cells to use HDMI node as audio codec from device tree of rk3328 boards. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/roc

Re: [PATCH] x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting

2019-02-06 Thread Borislav Petkov
On Wed, Feb 06, 2019 at 02:52:53PM +0300, Kirill A. Shutemov wrote: > RDMSR in the trampoline code overrides EDX, but we use the register to > indicate if 5-level paging has to enabled. It leads to failure to boot > on a 5-level paging machine. > > Preserve EDX on the stack while we are dealing wi

Re: [PATCH v2 0/4] livepatch: Followup changes for the atomic replace patchset

2019-02-06 Thread Josh Poimboeuf
On Mon, Feb 04, 2019 at 02:56:49PM +0100, Petr Mladek wrote: > This patchset implements ideas that were mentioned and postponed during > the review of the atomic replace patchset. > > The patches apply on top of livepatching.git, branch > origin/for-5.1/atomic-replace. > > > Changes against v1:

Re: [PATCH V2] drm/vkms: Fix license inconsistent

2019-02-06 Thread Daniel Vetter
On Wed, Feb 06, 2019 at 12:01:16PM -0200, Rodrigo Siqueira wrote: > Fixes license inconsistent related to the VKMS driver and remove the > redundant boilerplate comment. > > Fixes: 854502fa0a38 ("drm/vkms: Add basic CRTC initialization") > > Cc: sta...@vger.kernel.org > Signed-off-by: Rodrigo Siq

Re: [PATCH 03/19] dma-iommu: don't use a scatterlist in iommu_dma_alloc

2019-02-06 Thread Robin Murphy
On 01/02/2019 16:16, Christoph Hellwig wrote: On Fri, Feb 01, 2019 at 03:24:45PM +, Robin Murphy wrote: On 14/01/2019 09:41, Christoph Hellwig wrote: Directly iterating over the pages makes the code a bit simpler and prepares for the following changes. It also defeats the whole purpose of

Re: [PATCH 2/2] x86/boot: increase maximum number of avoided KASLR regions

2019-02-06 Thread Kees Cook
On Wed, Feb 6, 2019 at 2:18 PM Borislav Petkov wrote: > > On Wed, Feb 06, 2019 at 01:50:57PM +0100, Julian Stecklina wrote: > > Because at this point, we are not in a good position to handle an > > unlimited amount of regions. > > We could save only the regions which are ok to kaslr into. And we d

Re: [PATCH] PM / suspend: measure the time of filesystem syncing

2019-02-06 Thread Pan, Harry
> The backdrop is some stress test script of suspend/resume, like > Chrome > OS, is designed to program an expected RTC wake-alarm then issue > suspend command, while in rare case (or buggy software), the > filesystem > sync could cost longer time in seconds, this consumes the alarm > budget > caus

Re: [PATCH v10 0/6] tpm: retrieve digest size of unknown algorithms from TPM

2019-02-06 Thread Jarkko Sakkinen
On Wed, Feb 06, 2019 at 03:25:48PM +0100, Roberto Sassu wrote: > On 2/6/2019 2:54 PM, Jarkko Sakkinen wrote: > > On Wed, Feb 06, 2019 at 02:07:04PM +0100, Roberto Sassu wrote: > > > On 2/6/2019 1:57 PM, Jarkko Sakkinen wrote: > > > > On Wed, Feb 06, 2019 at 11:57:18AM +0100, Roberto Sassu wrote: >

Re: [PATCH v5 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller

2019-02-06 Thread Uwe Kleine-König
On Wed, Feb 06, 2019 at 01:40:55PM +0100, Thierry Reding wrote: > On Wed, Feb 06, 2019 at 12:07:30PM +0100, Uwe Kleine-König wrote: > > On Wed, Feb 06, 2019 at 04:18:47PM +0530, Yash Shah wrote: > > > On Wed, Jan 30, 2019 at 1:44 PM Uwe Kleine-König > > > wrote: > > > > > > > > On Tue, Jan 29, 201

Re: [Linaro-mm-sig] [PATCH 2/4] staging: android: ion: Restrict cache maintenance to dma mapped memory

2019-02-06 Thread Ørjan Eide
On Wed, Jan 30, 2019 at 11:31:23AM +, Brian Starkey wrote: > > On Tue, Jan 29, 2019 at 03:44:53PM -0800, Liam Mark wrote: > > On Fri, 18 Jan 2019, Liam Mark wrote: > > > > > On Fri, 18 Jan 2019, Andrew F. Davis wrote: > > > > > > > On 1/18/19 12:37 PM, Liam Mark wrote: > > > > > The ION begi

Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device"

2019-02-06 Thread Alim Akhtar
On 06/02/19 1:16 AM, Bjorn Andersson wrote: > On Tue 05 Feb 02:52 PST 2019, Alim Akhtar wrote: > >> Hi Bjorn, >> >> On 05/02/19 11:57 AM, Bjorn Andersson wrote: >>> On Mon 04 Feb 20:58 PST 2019, Alim Akhtar wrote: >>> Hi Marc, On 04/02/19 11:12 PM, Marc Gonzalez wrote: > This

Re: [PATCH] mlx4_ib: Increase the timeout for CM cache

2019-02-06 Thread Håkon Bugge
> On 6 Feb 2019, at 09:50, Håkon Bugge wrote: > > > >> On 5 Feb 2019, at 23:36, Jason Gunthorpe wrote: >> >> On Thu, Jan 31, 2019 at 06:09:51PM +0100, Håkon Bugge wrote: >>> Using CX-3 virtual functions, either from a bare-metal machine or >>> pass-through from a VM, MAD packets are proxie

Re: [PATCH] drivers: base: add support to skip power management in device/driver model

2019-02-06 Thread Sudeep Holla
(completely forgot to add people who reported original issue, cc-ing now) On Wed, Feb 06, 2019 at 03:09:35PM +, Sudeep Holla wrote: > All device objects in the driver model contain fields that control the > handling of various power management activities. However, it's not > always useful. The

[PATCH v2] PM / suspend: measure the time of filesystem syncing

2019-02-06 Thread Harry Pan
This patch gives the reader an intuitive metric of the time cost by the kernel issuing a filesystem sync during suspend; although developer can guess by the timestamp of next log or enable the ftrace power event for manual calculation, this manner is easier to read and benefits the automatic script

Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device"

2019-02-06 Thread Alim Akhtar
ailure log, with timestamps: > > [0.00] Booting Linux on physical CPU 0x00 [0x51af8014] > [0.00] Linux version 5.0.0-rc5-next-20190206 (mgonzalez@venus) (gcc > version 7.3.1 20180425 [linaro-7.3-2018.05 revision > d29120a424ecfbc167ef90065c0eeb7f91977701]

Re: [PATCH] ASoC: dapm: Check for NULL widget in dapm_update_dai_unlocked

2019-02-06 Thread Sylwester Nawrocki
On 2/6/19 12:45, Charles Keepax wrote: > Looking through I think this is an unrelated issue. Assuming the > driver in question is (sound/soc/samsung/i2s.c). Inside > i2s_trigger, there is a call to config_setup(i2s), which in turn > will call clk_get_rate if i2s->quirks contains the flag > QUIRK_NO

Re: [PATCH] x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting

2019-02-06 Thread Kirill A. Shutemov
On Wed, Feb 06, 2019 at 03:21:41PM +, Borislav Petkov wrote: > On Wed, Feb 06, 2019 at 02:52:53PM +0300, Kirill A. Shutemov wrote: > > RDMSR in the trampoline code overrides EDX, but we use the register to > > indicate if 5-level paging has to enabled. It leads to failure to boot > > on a 5-lev

Re: [RFC PATCH] clk: sunxi-ng: sun4i: Use CLK_SET_RATE_PARENT for mmc2 clock

2019-02-06 Thread Maxime Ripard
Hi, On Wed, Feb 06, 2019 at 10:03:09AM +, Priit Laes wrote: > > > I'm concerned for other users of the PLL-PERIPH clock. AFAIK > > > all of them, except the HRTIMER, expect the clock rate to stay > > > the same and not change underneath them. And SATA expects it to > > > be at 600 MHz, as the

Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device"

2019-02-06 Thread Marc Gonzalez
On 06/02/2019 16:27, Alim Akhtar wrote: > On 06/02/19 8:29 PM, Marc Gonzalez wrote: > >> [2.405734] regulator_disable: ENTER vdd_l26 >> [2.405958] regulator_disable: EXIT vdd_l26 >> [2.406032] regulator_set_load: vdd_l26 = 0 uA >> [3.930447] ufshcd-qcom 1da4000.ufshc: ufshcd_que

RE: [PATCH V13 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Sowjanya Komatineni
> > Two ";;" at the end. > > > > > > > > Good news: DVC I2C works now and tps6586x probes fine! :) Bad news: > > atmel-touch still has same problems as in V12 :( > > > > DMA-only V13: http://dpaste.com/0XJ1Z8G.txt > > Strangely, there are many transactions to touch and all of them are good >

Re: [PATCH] omap3: give off mode enable a more prominent place

2019-02-06 Thread Tony Lindgren
* Andreas Kemnade [190206 06:38]: > But wait... twl4030-power.c is to a big part about switching regulators > on and off. But how does that connect to hwmods going to ret or off > mode? That is imho slightly another topic. The pmic wiring is what must be configured for the regulators to actually

[PATCH] PM / suspend: measure the time of filesystem syncing

2019-02-06 Thread Harry Pan
This patch gives the reader an intuitive metric of the time cost by the kernel issuing a filesystem sync during suspend; although developer can guess by the timestamp of next log or enable the ftrace power event for manual calculation, this manner is easier to read and benefits the automatic script

[PATCH v03] powerpc/numa: Perform full re-add of CPU for PRRN/VPHN topology update

2019-02-06 Thread Michael Bringmann
On pseries systems, performing changes to a partition's affinity can result in altering the nodes a CPU is assigned to the current system. For example, some systems are subject to resource balancing operations by the operator or control software. In such environments, system CPUs may be in node 1

Re: [PATCH 2/2] staging/vboxvideo: Add TODO

2019-02-06 Thread Daniel Vetter
On Mon, Feb 04, 2019 at 07:54:16PM +0100, Sam Ravnborg wrote: > Hi Daniel > > On Mon, Feb 04, 2019 at 11:31:14AM +0100, Daniel Vetter wrote: > > Noticed why wonder what vboxvideo is using the ->master_set/drop hooks > > for. > Can you improve the gammar a little, I find it hard to read. > > > >

Re: [PATCH V4 8/9] jump_label: Batch updates if arch supports it

2019-02-06 Thread Daniel Bristot de Oliveira
On 2/6/19 7:34 AM, Masami Hiramatsu wrote: > On Mon, 4 Feb 2019 20:59:01 +0100 > Daniel Bristot de Oliveira wrote: > >> --- a/kernel/jump_label.c >> +++ b/kernel/jump_label.c >> @@ -407,6 +407,7 @@ bool jump_label_can_update_check(struct jump_entry >> *entry, bool init) >> return 0; >> }

Re: [PATCH] reset: Don't WARN if trying to get a used reset control

2019-02-06 Thread Thierry Reding
On Wed, Feb 06, 2019 at 03:46:30PM +0100, Philipp Zabel wrote: > Hi Thierry, > > On Wed, 2019-02-06 at 12:38 +0100, Thierry Reding wrote: > [...] > > I see, that's a very good point. So it sounds indeed like we'll need to > > add some sort of implicit acquire to request_exclusive() to make this >

Re: [PATCH 3/5 v10] regulator: fixed/gpio: Update device tree bindings

2019-02-06 Thread Mark Brown
On Tue, Jan 29, 2019 at 11:31:54AM +0100, Linus Walleij wrote: > Deprecate the open drain binding for fixed regulator and indicate > that we prefer this to be passed in the GPIO phandle flags. This doesn't apply against current code, please check and resend. signature.asc Description: PGP signat

Re: [PATCH 4/5] sched/fair: Tune down misfit nohz kicks

2019-02-06 Thread Peter Zijlstra
On Thu, Jan 17, 2019 at 03:34:10PM +, Valentin Schneider wrote: > In > > commmit 3b1baa6496e6 ("sched/fair: Add 'group_misfit_task' load-balance > type") > > we set rq->misfit_task_load whenever the current running task has a > utilization greater than 80% of rq->cpu_capacity. A non-zero v

Re: [PATCHv5 03/10] acpi/hmat: Parse and report heterogeneous memory

2019-02-06 Thread Keith Busch
On Wed, Feb 06, 2019 at 12:28:14PM +, Jonathan Cameron wrote: > On Thu, 24 Jan 2019 16:07:17 -0700 > Keith Busch wrote: > > > + pr_info("HMAT: Locality: Flags:%02x Type:%s Initiator Domains:%d Target > > Domains:%d Base:%lld\n", > > + hmat_loc->flags, hmat_data_type(type), ipds,

Re: [PATCH V13 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Dmitry Osipenko
06.02.2019 18:55, Sowjanya Komatineni пишет: > > >>> Two ";;" at the end. >>> >>> >>> >>> Good news: DVC I2C works now and tps6586x probes fine! :) Bad news: >>> atmel-touch still has same problems as in V12 :( >>> >>> DMA-only V13: http://dpaste.com/0XJ1Z8G.txt >> >> Strangely, there are many t

Re: [PATCH v10 0/6] tpm: retrieve digest size of unknown algorithms from TPM

2019-02-06 Thread Roberto Sassu
On 2/6/2019 4:34 PM, Jarkko Sakkinen wrote: On Wed, Feb 06, 2019 at 03:25:48PM +0100, Roberto Sassu wrote: On 2/6/2019 2:54 PM, Jarkko Sakkinen wrote: On Wed, Feb 06, 2019 at 02:07:04PM +0100, Roberto Sassu wrote: On 2/6/2019 1:57 PM, Jarkko Sakkinen wrote: On Wed, Feb 06, 2019 at 11:57:18AM

Re: [PATCH v6 01/13] spi: atmel-quadspi: cache MR value to avoid a write access

2019-02-06 Thread Mark Brown
On Tue, Feb 05, 2019 at 05:33:06PM +, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > Set the controller by default in Serial Memory Mode (SMM) at probe. > Cache Mode Register (MR) value to avoid write access when setting > the controller in serial memory mode at exec_op(). > >

Re: [PATCHv5 04/10] node: Link memory nodes to their compute nodes

2019-02-06 Thread Keith Busch
On Wed, Feb 06, 2019 at 04:26:35AM -0800, Jonathan Cameron wrote: > On Thu, 24 Jan 2019 16:07:18 -0700 > Keith Busch wrote: > > +What: /sys/devices/system/node/nodeX/accessY/initiators/ > > +Date: December 2018 > > +Contact: Keith Busch > > +Description: > > +

Re: [PATCH 2/2] staging/vboxvideo: Add TODO

2019-02-06 Thread Hans de Goede
Hi, On 06-02-19 16:58, Daniel Vetter wrote: On Mon, Feb 04, 2019 at 07:54:16PM +0100, Sam Ravnborg wrote: Hi Daniel On Mon, Feb 04, 2019 at 11:31:14AM +0100, Daniel Vetter wrote: Noticed why wonder what vboxvideo is using the ->master_set/drop hooks for. Can you improve the gammar a little,

[PATCH 1/2] sched/fair: optimization of update_blocked_averages()

2019-02-06 Thread Vincent Guittot
Removing a cfs_rq from rq->leaf_cfs_rq_list can break the parent/child ordering of the list when it will be added back. In order to remove an empty and fully decayed cfs_rq, we must remove its children too so they will be added back in the right order next time. With a normal decay of pelt, a pare

[PATCH 2/2] sched/fair: Fix O(nr_cgroups) in load balance path

2019-02-06 Thread Vincent Guittot
This reverts: commit c40f7d74c741 ("sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c") Now that cfs_rq can be safely removed/added in the list, we can re-apply commit a9e7f6544b9c ("sched/fair: Fix O(nr_cgroups) in load balance path") Signed-off-by: Vincent

[PATCH 0/2] sched/fair: Fix O(nr_cgroups) in load balance path

2019-02-06 Thread Vincent Guittot
This patchset adds missing pieces in the management of leaf_cfs_rq_list to ensure that cfs_rqs are always correctly ordered before re-enabling ("sched/fair: Fix O(nr_cgroups) in load balance path") Vincent Guittot (2): sched/fair: optimization of update_blocked_averages() sched/fair: Fix O(nr

Re: [PATCH 5/5] sched/fair: Skip LLC nohz logic for asymmetric systems

2019-02-06 Thread Peter Zijlstra
On Thu, Jan 17, 2019 at 03:34:11PM +, Valentin Schneider wrote: > The LLC nohz condition will become true as soon as >=2 CPUs in a > single LLC domain are busy. On big.LITTLE systems, this translates to > two or more CPUs of a "cluster" (big or LITTLE) being busy. > > Issuing a nohz kick in th

[PATCH] USB: serial: cp210x: Add ID for Ingenico 3070

2019-02-06 Thread Ivan Mironov
Here is how this device appears in kernel log: usb 3-1: new full-speed USB device number 18 using xhci_hcd usb 3-1: New USB device found, idVendor=0b00, idProduct=3070 usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 3-1: Product: Ingenico 3070

Re: [PATCH] PM / suspend: measure the time of filesystem syncing

2019-02-06 Thread Pavel Machek
On Wed 2019-02-06 15:08:18, Pan, Harry wrote: > On Tue, 2019-02-05 at 22:23 +0100, Pavel Machek wrote: > > On Sun 2019-02-03 13:20:07, Harry Pan wrote: > > > This patch gives the reader an intuitive metric of the time cost by > > > the kernel issuing a filesystem sync during suspend; although > > >

Re: [PATCH v5 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller

2019-02-06 Thread Thierry Reding
On Wed, Feb 06, 2019 at 04:38:54PM +0100, Uwe Kleine-König wrote: > On Wed, Feb 06, 2019 at 01:40:55PM +0100, Thierry Reding wrote: > > On Wed, Feb 06, 2019 at 12:07:30PM +0100, Uwe Kleine-König wrote: > > > On Wed, Feb 06, 2019 at 04:18:47PM +0530, Yash Shah wrote: > > > > On Wed, Jan 30, 2019 at

Re: [PATCH v6 01/13] spi: atmel-quadspi: cache MR value to avoid a write access

2019-02-06 Thread Boris Brezillon
On Tue, 5 Feb 2019 17:33:06 + wrote: > From: Tudor Ambarus > > Set the controller by default in Serial Memory Mode (SMM) at probe. > Cache Mode Register (MR) value to avoid write access when setting > the controller in serial memory mode at exec_op(). > > Signed-off-by: Tudor Ambarus Add

Re: [PATCH 08/17] x86/ftrace: set trampoline pages as executable

2019-02-06 Thread Steven Rostedt
On Wed, 16 Jan 2019 16:32:50 -0800 Rick Edgecombe wrote: > From: Nadav Amit > > Since alloc_module() will not set the pages as executable soon, we need > to do so for ftrace trampoline pages after they are allocated. > > For the time being, we do not change ftrace to use the text_poke() > inte

Re: [PATCH 0/2] sched/fair: Fix O(nr_cgroups) in load balance path

2019-02-06 Thread Vincent Guittot
On Wed, 6 Feb 2019 at 17:14, Vincent Guittot wrote: > > This patchset adds missing pieces in the management of leaf_cfs_rq_list > to ensure that cfs_rqs are always correctly ordered before > re-enabling ("sched/fair: Fix O(nr_cgroups) in load balance path") I should have mentioned that this patch

Re: [PATCH] genirq: introduce irq_chip_mask_ack_parent()

2019-02-06 Thread Marc Zyngier
On 06/02/2019 15:15, Linus Walleij wrote: > The hierarchical irqchip never before ran into a situation > where the parent is not "simple", i.e. does not implement > .irq_ack() and .irq_mask() like most, but the qcom-pm8xxx.c > happens to implement only .irq_mask_ack(). > > Since we want to make ss

Re: [PATCH 16/17] Plug in new special vfree flag

2019-02-06 Thread Steven Rostedt
On Wed, 16 Jan 2019 16:32:58 -0800 Rick Edgecombe wrote: > Add new flag for handling freeing of special permissioned memory in vmalloc > and remove places where memory was set RW before freeing which is no longer > needed. > > In kprobes, bpf and ftrace this just adds the flag, and removes the n

Re: linux-next: tracebacks in workqueue.c/__flush_work()

2019-02-06 Thread Guenter Roeck
On Wed, Feb 06, 2019 at 11:57:45PM +0900, Tetsuo Handa wrote: > On 2019/02/06 23:36, Guenter Roeck wrote: > > On Wed, Feb 06, 2019 at 03:31:09PM +0900, Tetsuo Handa wrote: > >> (Adding linux-arch ML.) > >> > >> Rusty Russell wrote: > >>> Tetsuo Handa writes: > (Adding Chris Metcalf and Rusty

Re: [PATCH] ring-buffer: Remove unused function ring_buffer_page_len()

2019-02-06 Thread Miroslav Benes
On Fri, 28 Dec 2018, Steven Rostedt wrote: > On Fri, 28 Dec 2018 14:38:47 +0100 > Miroslav Benes wrote: > > > Commit 6b7e633fe9c2 ("tracing: Remove extra zeroing out of the ring > > buffer page") removed the only caller of ring_buffer_page_len(). The > > function is now unused and may be removed

Re: [PATCH] staging: vt6656: Use the correct style for SPDX license Identifier

2019-02-06 Thread Greg Kroah-Hartman
On Tue, Feb 05, 2019 at 10:59:40AM -0800, Joe Perches wrote: > On Tue, 2019-02-05 at 19:44 +0100, Greg Kroah-Hartman wrote: > > On Tue, Feb 05, 2019 at 08:36:24PM +0530, Nishad Kamdar wrote: > > > This patch corrects the style for SPDX license Identifier in mac.h > > > by using "/* */" in place of

Re: [PATCHv5 10/10] doc/mm: New documentation for memory performance

2019-02-06 Thread Keith Busch
On Wed, Feb 06, 2019 at 10:45:52AM +, Jonathan Cameron wrote: > On Thu, 24 Jan 2019 16:07:24 -0700 > Keith Busch wrote: > > + # tree -P "read*|write*" /sys/devices/system/node/nodeY/access0/ > > + /sys/devices/system/node/nodeY/access0/ > > + |-- read_bandwidth > > + |-- read_latency >

[PATCH v10, RESEND 0/6] tpm: retrieve digest size of unknown algorithms from TPM

2019-02-06 Thread Roberto Sassu
Resending after applying the patch set on top of linux-tpmdd/nested (b91bfb7cc947) and some minor fixes. Update This version of the patch set includes three additional patches (4-6/6) that allow users of the TPM driver to provide a digest for each PCR bank to tpm_pcr_extend(). The new patches hav

[PATCH v10, RESEND 1/6] tpm: dynamically allocate the allocated_banks array

2019-02-06 Thread Roberto Sassu
This patch renames active_banks (member of tpm_chip) to allocated_banks, stores the number of allocated PCR banks in nr_allocated_banks (new member of tpm_chip), and replaces the static array with a pointer to a dynamically allocated array. tpm2_get_pcr_allocation() determines if a PCR bank is all

[PATCH v10, RESEND 2/6] tpm: rename and export tpm2_digest and tpm2_algorithms

2019-02-06 Thread Roberto Sassu
Rename tpm2_* to tpm_* and move the definitions to include/linux/tpm.h so that these can be used by other kernel subsystems (e.g. IMA). Also, set the length of the digest array in tpm_digest to a new constant named TPM_MAX_DIGEST_SIZE, equal to SHA512_DIGEST_SIZE. Signed-off-by: Roberto Sassu Re

[PATCH v10, RESEND 3/6] tpm: retrieve digest size of unknown algorithms with PCR read

2019-02-06 Thread Roberto Sassu
Currently, the TPM driver retrieves the digest size from a table mapping TPM algorithms identifiers to identifiers defined by the crypto subsystem. If the algorithm is not defined by the latter, the digest size can be retrieved from the output of the PCR read command. The patch modifies the defini

[PATCH v10, RESEND 4/6] tpm: move tpm_chip definition to include/linux/tpm.h

2019-02-06 Thread Roberto Sassu
The tpm_chip structure contains the list of PCR banks currently allocated in the TPM. When support for crypto agility will be added to the TPM driver, users of the driver have to provide a digest for each allocated bank to tpm_pcr_extend(). With this patch, they can obtain the PCR bank algorithms d

[PATCH v10, RESEND 5/6] KEYS: trusted: explicitly use tpm_chip structure from tpm_default_chip()

2019-02-06 Thread Roberto Sassu
When crypto agility support will be added to the TPM driver, users of the driver have to retrieve the allocated banks from chip->allocated_banks and use this information to prepare the array of tpm_digest structures to be passed to tpm_pcr_extend(). This patch retrieves a tpm_chip pointer from tpm

[PATCH v10, RESEND 6/6] tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()

2019-02-06 Thread Roberto Sassu
Currently, tpm_pcr_extend() accepts as an input only a SHA1 digest. This patch replaces the hash parameter of tpm_pcr_extend() with an array of tpm_digest structures, so that the caller can provide a digest for each PCR bank currently allocated in the TPM. tpm_pcr_extend() will not extend banks f

Re: [PATCH] kernel: workqueue: clarify wq_worker_last_func() caller requirements

2019-02-06 Thread Tejun Heo
On Wed, Feb 06, 2019 at 04:05:28PM +0100, Johannes Weiner wrote: > This function can only be called safely from very specific scheduler > contexts. Document those. > > Suggested-by: Andrew Morton > Signed-off-by: Johannes Weiner Acked-by: Tejun Heo Thanks. -- tejun

Re: [PATCH] include/linux/module.h: mark init/cleanup_module aliases as __cold

2019-02-06 Thread Miguel Ojeda
On Mon, Feb 4, 2019 at 4:08 PM Jessica Yu wrote: > > IMHO I think annotating with __init is more straightforward, instead > of cherry-picking attributes (we wouldn't know at first glance why the > aliases are specifically annotated with __cold without looking at git > history). Plus the actual mod

Re: [PATCH V13 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Dmitry Osipenko
06.02.2019 19:07, Dmitry Osipenko пишет: > 06.02.2019 18:55, Sowjanya Komatineni пишет: >> >> Two ";;" at the end. Good news: DVC I2C works now and tps6586x probes fine! :) Bad news: atmel-touch still has same problems as in V12 :( DMA-only V13: http://dpast

Re: [PATCH 2/3] perf/x86/intel/pt: Inject PMI for KVM guest

2019-02-06 Thread Peter Zijlstra
On Wed, Jan 30, 2019 at 06:02:27PM +0100, Paolo Bonzini wrote: > On 19/01/19 21:04, Luwei Kang wrote: > > static struct pt_pmu pt_pmu; > > > > @@ -1260,6 +1262,14 @@ void intel_pt_interrupt(void) > > struct pt_buffer *buf; > > struct perf_event *event = pt->handle.event; > > > > + if

Re: [PATCH v2] kernfs: Allocating memory for kernfs_iattrs with kmem_cache.

2019-02-06 Thread Tejun Heo
On Wed, Feb 06, 2019 at 10:25:42AM +0530, Ayush Mittal wrote: > Creating a new cache for kernfs_iattrs. > Currently, memory is allocated with kzalloc() which > always gives aligned memory. On ARM, this is 64 byte aligned. > To avoid the wastage of memory in aligning the size requested, > a new cach

Re: [PATCH v5 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller

2019-02-06 Thread Uwe Kleine-König
On Wed, Feb 06, 2019 at 05:16:34PM +0100, Thierry Reding wrote: > On Wed, Feb 06, 2019 at 04:38:54PM +0100, Uwe Kleine-König wrote: > > On Wed, Feb 06, 2019 at 01:40:55PM +0100, Thierry Reding wrote: > > > On Wed, Feb 06, 2019 at 12:07:30PM +0100, Uwe Kleine-König wrote: > > > > On Wed, Feb 06, 201

Re: [PATCH v6 01/13] spi: atmel-quadspi: cache MR value to avoid a write access

2019-02-06 Thread Tudor.Ambarus
On 02/06/2019 06:08 PM, Mark Brown wrote: > On Tue, Feb 05, 2019 at 05:33:06PM +, tudor.amba...@microchip.com wrote: >> From: Tudor Ambarus >> >> Set the controller by default in Serial Memory Mode (SMM) at probe. >> Cache Mode Register (MR) value to avoid write access when setting >> the c

RE: [PATCH V13 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Sowjanya Komatineni
> >> Looking into timestamps and transactions, DMA timeouts after start of DMA > >> for I2C1 to touch during this transaction. > >> While it is waiting for I2C1 DMA transfer, lots of DVC transactions > >> happened thru DMA which are successful > >> > >> What is the I2C1 speed? > > > > 400KHz > >

Re: linux-next: tracebacks in workqueue.c/__flush_work()

2019-02-06 Thread Tetsuo Handa
On 2019/02/07 1:23, Guenter Roeck wrote: > On Wed, Feb 06, 2019 at 11:57:45PM +0900, Tetsuo Handa wrote: >> On 2019/02/06 23:36, Guenter Roeck wrote: >>> On Wed, Feb 06, 2019 at 03:31:09PM +0900, Tetsuo Handa wrote: (Adding linux-arch ML.) Rusty Russell wrote: > Tetsuo Handa wri

Re: [PATCHv5 03/10] acpi/hmat: Parse and report heterogeneous memory

2019-02-06 Thread Jonathan Cameron
... > > > + > > > + return 0; > > > +} > > > + > > > +static int __init hmat_parse_address_range(union acpi_subtable_headers > > > *header, > > > +const unsigned long end) > > > +{ > > > + struct acpi_hmat_address_range *spa = (void *)header; > > > + > > > +

Regression due to "PM-runtime: Switch autosuspend over to using hrtimers"

2019-02-06 Thread Gilad Ben-Yossef
Hi all, A regression was spotted in the ccree driver running on Arm 32 bit causing a kernel panic during the crypto API self test phase (panic messages included with this message) happening in the PM resume callback that was not happening before. I've bisected the change that caused this to commi

Re: [PATCH V13 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Dmitry Osipenko
06.02.2019 19:38, Sowjanya Komatineni пишет: Looking into timestamps and transactions, DMA timeouts after start of DMA for I2C1 to touch during this transaction. While it is waiting for I2C1 DMA transfer, lots of DVC transactions happened thru DMA which are successful >>>

Re: [PATCH V13 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Thierry Reding
On Wed, Feb 06, 2019 at 04:38:55PM +, Sowjanya Komatineni wrote: > > >> Looking into timestamps and transactions, DMA timeouts after start of > > >> DMA for I2C1 to touch during this transaction. > > >> While it is waiting for I2C1 DMA transfer, lots of DVC transactions > > >> happened thru D

Re: [PATCH 1/6] vmw_balloon: bump version number

2019-02-06 Thread Greg Kroah-Hartman
On Tue, Feb 05, 2019 at 09:13:31PM -0800, Nadav Amit wrote: > Following recent changes. > > Signed-off-by: Nadav Amit > --- > drivers/misc/vmw_balloon.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c > index f8240

[GIT PULL] tracing: Small fixes to the uprobe code

2019-02-06 Thread Steven Rostedt
Linus, This has two fixes for uprobe code. - Cut and paste fix to have uprobe printks say "uprobe" and not "kprobe" - Add terminating '\0' byte when copying of function arguments Please pull the latest trace-v5.0-rc3 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kerne

Re: [PATCH] kbuild, LLVMLinux: Don't suppress format warnings

2019-02-06 Thread Nathan Chancellor
On Tue, Feb 05, 2019 at 05:26:05PM +0900, Masahiro Yamada wrote: > On Sat, Feb 2, 2019 at 6:10 AM wrote: > > > > From: Jon Flatley > > > > gcc produces format warnings that clang suppresses. To keep behavior > > consistent between gcc and clang, don't suppress format warnings in > > clang. > > >

Re: [RFC v1 0/3] Address potential user-after-free on module unload

2019-02-06 Thread Greg KH
On Tue, Feb 05, 2019 at 02:12:31PM -0500, Sven Van Asbroeck wrote: > On Tue, Feb 5, 2019 at 1:43 PM Greg KH wrote: > > > > > > It really should happen when the device is removed (if it is a driver > > that binds to a device.) > > Absolutely. That's why I'm advocating adding a devm_init_work(), >

[PATCH] component: Add documentation

2019-02-06 Thread Daniel Vetter
While typing these I think doing an s/component_master/aggregate/ would be useful: - it's shorter :-) - I think component/aggregate is much more meaningful naming than component/puppetmaster or something like that. At least to my English ear "aggregate" emphasizes much more the "assemble a pile

INFO: task hung in tipc_bcast_stop

2019-02-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:c8101f7729da net: dsa: Fix lockdep false positive splat git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=1553f728c0 kernel config: https://syzkaller.appspot.com/x/.config?x=2e0064f906afee10 dashboard li

Re: [PATCHv5 04/10] node: Link memory nodes to their compute nodes

2019-02-06 Thread Jonathan Cameron
On Wed, 6 Feb 2019 09:12:27 -0700 Keith Busch wrote: > On Wed, Feb 06, 2019 at 04:26:35AM -0800, Jonathan Cameron wrote: > > On Thu, 24 Jan 2019 16:07:18 -0700 > > Keith Busch wrote: > > > +What:/sys/devices/system/node/nodeX/accessY/initiators/ > > > +Date:December 201

Re: [PATCH v3 12/12] btrfs: add zstd compression level support

2019-02-06 Thread Dennis Zhou
>From 16b7c3fe05984a95436da1e9e01c80de1fdbba25 Mon Sep 17 00:00:00 2001 From: Dennis Zhou Date: Sat, 19 Jan 2019 18:51:39 -0800 Zstd compression requires different amounts of memory for each level of compression. The prior patches implemented indirection to allow for each compression type to mana

Re: [PATCH v2 09/12] btrfs: change set_level() to bound the level passed in

2019-02-06 Thread Dennis Zhou
>From ef64a8d1f4ec44f52bd13a825288a91667121708 Mon Sep 17 00:00:00 2001 From: Dennis Zhou Date: Thu, 17 Jan 2019 12:13:27 -0800 Currently, the only user of set_level() is zlib which sets an internal workspace parameter. As level is now plumbed into get_workspace(), this can be handled there rathe

Re: [PATCH v2 00/12] btrfs: add zstd compression level support

2019-02-06 Thread Dennis Zhou
On Wed, Feb 06, 2019 at 04:15:52PM +0100, David Sterba wrote: > On Tue, Feb 05, 2019 at 03:48:48PM -0500, Dennis Zhou wrote: > > > Ok great! I'm going to add a v2 for 0012 to add taking the spin_lock > > > just to be safe in cleanup. I should have that ready in a few minutes. > > > > > > > Before

Re: [PATCH] ring-buffer: Remove unused function ring_buffer_page_len()

2019-02-06 Thread Steven Rostedt
On Wed, 6 Feb 2019 17:24:45 +0100 (CET) Miroslav Benes wrote: > > No worries. I'm also in holiday mode. I marked the patch in my INBOX > > and hopefully when I'm back to work it's not buried and lost for months. > > > > Even if it is, I periodically purge my INBOX where I find missing > > patch

RE: [PATCH V13 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Sowjanya Komatineni
> > > >> Looking into timestamps and transactions, DMA timeouts after start of > > > >> DMA for I2C1 to touch during this transaction. > > > >> While it is waiting for I2C1 DMA transfer, lots of DVC > > > >> transactions happened thru DMA which are successful > > > >> > > > >> What is the I2C1 sp

Applied "regulator: gpio: Simplify probe path" to the regulator tree

2019-02-06 Thread Mark Brown
The patch regulator: gpio: Simplify probe path has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

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