[PATCH V2 1/4] dt-bindings: thermal: add binding doc for i.MX system controller thermal driver

2018-11-27 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and thermal sensors etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get temperature from thermal sensors, th

[PATCH V2 4/4] ARM64: dts: imx: add i.MX8QXP thermal support

2018-11-27 Thread Anson Huang
Add i.MX8QXP CPU thermal zone support. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index 5e8b554

[PATCH V2 3/4] defconfig: arm64: add i.MX system controller thermal support

2018-11-27 Thread Anson Huang
This patch enables CONFIG_IMX_SC_THERMAL as module. Signed-off-by: Anson Huang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index abd80c5..9f12324 100644 --- a/arch/arm64/configs/defconfig +++ b/a

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-27 Thread Jiri Kosina
On Tue, 27 Nov 2018, Thomas Gleixner wrote: > > Does it really have to? > > > > We need this special handling only if the next task has TIF_SPEC_UPDATE > > set, which is one-off event globally (when seccomp marks all its threads > > so due to seccomp filter change), and once all the TIF_SPEC_U

Re: [PATCH] lzo: fix ip overrun during compress.

2018-11-27 Thread Yueyi Li
Hi Willy, On 2018/11/28 12:08, Willy Tarreau wrote: > Hi Yueyi, > > On Tue, Nov 27, 2018 at 10:34:26AM +, Yueyi Li wrote: >> It`s possible ip overrun in lzo1x_1_do_compress() when compressed page is >> point to the end of memory and which virtual address is 0xf000. >> Leading to a

RE: [PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-27 Thread Chanho Min
> > > > Hrm, converting unconditionally with msleep() looks too drastic. > > Yes, it looks drastic. But, IMHO, I can't say busy-spin is not non-drastic. Fix typo in this comment: I can't say busy-spin is not drastic. Thanks Chanho

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-11-27 Thread Michal Hocko
On Tue 27-11-18 14:50:05, Linus Torvalds wrote: > On Tue, Nov 27, 2018 at 12:57 PM Andrea Arcangeli wrote: > > > > This difference can only happen with defrag=always, and that's not the > > current upstream default. > > Ok, thanks. That makes it a bit less critical. > > > That MADV_HUGEPAGE caus

Re: [PATCH] Little memset_explicit optimisation

2018-11-27 Thread David CARLIER
Bad entrance with bad idea I m afraid :-) sorry for the noise.

Re: [PATCH] arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks

2018-11-27 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-11-21 23:30:43) > On Wed 21 Nov 01:01 PST 2018, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2018-11-05 21:50:13) > > > As of v4.20-rc1 probing the GCC driver on a SDM845 device with the > > > standard security implementation causes an access violation and an >

Re: [PATCH] Little memset_explicit optimisation

2018-11-27 Thread Joey Pabalinas
On Wed, Nov 28, 2018 at 06:32:27AM +, David CARLIER wrote: > Bad entrance with bad idea I m afraid :-) sorry for the noise. We all start somewhere, no worries :) -- Cheers, Joey Pabalinas signature.asc Description: PGP signature

Re: [PATCH] sis5513: fix potential use after free

2018-11-27 Thread Christoph Hellwig
On Wed, Nov 28, 2018 at 08:55:26AM +0800, Pan Bian wrote: > The function sis_find_family drops lpc_bridge reference via pci_dev_put, > however, after that, field lpc_bridge->revision is read. This may result > in a use after free bug. The patch moves the put operation after the > condition check. >

Re: [PATCH] ata: read ->revision before dropping pci_device reference

2018-11-27 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH v3 2/3] perf annotate: Create a annotate2 flag in struct symbol

2018-11-27 Thread Jin Yao
We often use the symbol__annotate2() to annotate a specified symbol. While annotating may take some time, so in order to avoid annotating the same symbol repeatedly, the patch creates a new flag to indicate the symbol has been annotated. Signed-off-by: Jin Yao --- tools/perf/util/annotate.c | 1

[PATCH v3 0/3] perf report/annotate: Support average IPC and IPC coverage for function

2018-11-27 Thread Jin Yao
Add supporting of displaying the average IPC and IPC coverage percentage per function. For example, $ perf record -b ... $ perf report -s symbol or perf report -s symbol --stdio Overhead Symbol IPC [IPC Coverage] 39.60% [.] __random 2.30 [ 5

[PATCH v3 3/3] perf report: Display average IPC and IPC coverage per symbol

2018-11-27 Thread Jin Yao
Support displaying the average IPC and IPC coverage per symbol in perf report TUI and stdio modes. For example, $ perf record -b ... $ perf report -s symbol Overhead Symbol IPC [IPC Coverage] 39.60% [.] __random 2.30 [ 54.8%] 18.02% [.] mai

[PATCH v3 1/3] perf annotate: Compute average IPC and IPC coverage per symbol

2018-11-27 Thread Jin Yao
Add support to perf report annotate view or perf annotate --stdio2 to aggregate the IPC derived from timed LBRs per symbol. We compute the average IPC and the IPC coverage percentage. For example, $ perf annotate --stdio2 Percent IPC Cycle (Average IPC: 2.30, IPC Coverage: 54.8%)

[PATCH] sound/soc/rockchip: add RT5640 codec option

2018-11-27 Thread Max Kellermann
The Firefly-RK3399 DeviceTree (`arch/arm64/boot/dts/rockchip/rk3399-firefly.dts`) defines a `simple-audio-card` device which selects a `realtek,rt5640` codec. This codec however is inaccessible in the kernel configuration (`SND_SOC_RT5640`) and thus cannot be used. This patch adds a new configurat

[PATCH v2] lzo: fix ip overrun during compress.

2018-11-27 Thread Yueyi Li
It`s possible ip overrun in lzo1x_1_do_compress() when compressed page is point to the end of memory and which virtual address is 0xf000. Leading to a NULL pointer access during the get_unaligned_le32(ip). Fix this panic: [ 2738.034508] Unable to handle kernel NULL pointer dereference

Re: [PATCH v2 00/12] tracing: Unifying dynamic event interface

2018-11-27 Thread Masami Hiramatsu
Ping? Hi Tom, This series, especially [09/12] tracing: Remove unneeded synth_event_mutex will effect your current working series. Please tell me your opinion. Thank you, On Mon, 5 Nov 2018 17:59:46 +0900 Masami Hiramatsu wrote: > Hi, > > This is v2 series of unifying dynamic event interface

[PATCH v3] spi: mediatek: Add bindings for mediatek MT7629 soc platform

2018-11-27 Thread Leilk Liu
This patch adds a DT binding documentation for the MT7629 soc. Signed-off-by: Leilk Liu --- v3: remove cover-letter. v2: remove "mediatek,mt7629-spi" compatible according Matthias's advice. v1: This series are based on 4.20-rc1 and provide two patches to support mt7629 IC. --- .../devicetree/b

Re: [PATCH v5 2/7] tpm: remove definition of TPM2_ACTIVE_PCR_BANKS

2018-11-27 Thread Roberto Sassu
On 11/16/2018 2:38 PM, Jarkko Sakkinen wrote: On Wed, Nov 14, 2018 at 04:31:03PM +0100, Roberto Sassu wrote: tcg_efi_specid_event and tcg_pcr_event2 declaration contains static arrays for a list of hash algorithms used for event logs and event log digests. However, according to TCG EFI Protocol

Re: [PATCH] mtd: spi-nor: parse SFDP 4-byte Address Instruction Table

2018-11-27 Thread Boris Brezillon
On Tue, 20 Nov 2018 11:55:21 + wrote: > + > + /* > + * We set nor->addr_width here to skip spi_nor_set_4byte_opcodes() > + * later because this latest function implements a legacy quirk for > + * the erase size of Spansion memory. However this quirk is no longer > + *

<    3   4   5   6   7   8