Re: [RFC patch 3/7] printk: Use clock MONOTONIC for timestamps

2017-11-15 Thread Sergey Senozhatsky
Hello Thomas, On (11/15/17 19:15), Thomas Gleixner wrote: > local_clock() cannot be reliably correlated to CLOCK_MONOTONIC, which is > used by user space, e.g. systemd, to create correlation timestamps. > > There are multiple reasons: > > - CLOCK_MONOTONIC is NTP adjusted, local_clock() not. De

Re: [PATCH] s390/ap_bus: Convert timers to use timer_setup()

2017-11-15 Thread Kees Cook
On Thu, Nov 2, 2017 at 11:29 PM, Martin Schwidefsky wrote: > On Thu, 2 Nov 2017 16:36:53 -0700 > Kees Cook wrote: > >> On Wed, Oct 25, 2017 at 11:38 PM, Martin Schwidefsky >> wrote: >> > On Wed, 25 Oct 2017 03:27:37 -0700 >> > Kees Cook wrote: >> > >> >> In preparation for unconditionally passi

[PATCH] kbuild: define KBUILD_MODNAME even if multiple modules share objects

2017-11-15 Thread Masahiro Yamada
Currently, KBUILD_MODNAME is defined only when $(modname) contains just one word. If an object is shared between multiple modules, undefined KBUILD_MODNAME causes a build error. A simple test case is as follows: obj-m += foo.o obj-m += bar.o foo-objs := foo-bar-common.o foo-main.o bar-ob

[PATCH 04/10] x86: jailhouse: Enable PMTIMER

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka Jailhouse exposes the PMTIMER as only reference clock to all cells. Pick up its address from the setup data. Allow to enable the Linux support of it by relaxing its strict dependency on ACPI. Signed-off-by: Jan Kiszka --- arch/x86/Kconfig| 1 + arch/x86/kernel/jai

[PATCH 07/10] x86: jailhouse: Silence ACPI warning

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka Jailhouse support does not depend on ACPI, and does not even use it. But if it should be enabled, avoid warning about its absence in the platform. Signed-off-by: Jan Kiszka --- arch/x86/kernel/jailhouse.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/kerne

[PATCH 09/10] x86: jailhouse: Wire up IOAPIC for legacy UART ports

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka The typical I/O interrupts in non-root cells are MSI-based. However, the platform UARTs do not support MSI. In order to run a non-root cell that shall be use one of them, we need to register the standard IOAPIC and set 1:1 routing for IRQ 3 and 4. If an IOAPIC is not available,

[PATCH 05/10] x86: jailhouse: Set up timekeeping

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka Calibrate the TSC and, where necessary, the APIC timer against the TMTIMER. We need our own implementation as neither the PIC nor the HPET are available, and the standard calibration routines try to make use of them. Signed-off-by: Jan Kiszka --- arch/x86/include/asm/tsc.h |

[PATCH 01/10] x86/apic: Install an empty physflat_init_apic_ldr

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka As the comment already stated, there is no need for setting up LDR in physflat mode as it remains unused. flat_init_apic_ldr only served as a placeholder for a nop operation so far, causing no harm. That will change when running over the Jailhouse hypervisor. Here we must not to

[PATCH 03/10] x86: jailhouse: Enable APIC and SMP support

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka Register the APIC which Jailhouse always exposes at 0xfee0 if in xAPIC mode or via MSRs as x2APIC. The latter is only available if it was already activated because there is no virtualization to switch its mode during runtime. Jailhouse requires the APIC to be operated in phy

[PATCH V1 2/4] usb: serial: f81534: add auto RTS direction support

2017-11-15 Thread Ji-Ze Hong (Peter Hong)
The F81532/534 had auto RTS direction support for RS485 mode. We'll read it from internal Flash with address 0x2f01~0x2f04 for 4 ports. There are 4 conditions below: 0: F81534_PORT_CONF_RS232. 1: F81534_PORT_CONF_RS485. 2: value error, default to F81534_PORT_CONF_RS232.

[PATCH 10/10] x86: jailhouse: Initialize PCI support

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka With this change, PCI devices can be detected and used inside a non-root cell. Signed-off-by: Jan Kiszka --- arch/x86/kernel/jailhouse.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/x86/kernel/jailhouse.c b/arch/x86/kernel/jailhouse.c index 05459ea0ecc7

[PATCH V1 4/4] usb: serial: f81534: add H/W disable port support

2017-11-15 Thread Ji-Ze Hong (Peter Hong)
The F81532/534 can be disable port by manufacturer with following H/W design. 1: Connect DCD/DSR/CTS/RI pin to ground. 2: Connect RX pin to ground. In driver, we'll implements some detect method likes following: 1: Read MSR. 2: Turn MCR LOOP bit on, off and read LSR after delay wit

[PATCH V1 1/4] usb: serial: f81534: add high baud rate support

2017-11-15 Thread Ji-Ze Hong (Peter Hong)
The F81532/534 had 4 clocksource 1.846/18.46/14.77/24MHz and baud rates can be up to 1.5Mbits with 24MHz. F81532/534 Clock register (offset +08h) Bit0: UART Enable (always on) Bit2-1: Clock source selector 00: 1.846MHz. 01: 18.46MHz.

[PATCH V1 3/4] usb: serial: f81534: add output pin control

2017-11-15 Thread Ji-Ze Hong (Peter Hong)
The F81532/534 had 3 output pin (M0/SD, M1, M2) with open-drain mode to control transceiver. We'll read it from internal Flash with address 0x2f05~0x2f08 for 4 ports. The value is range from 0 to 7. The M0/SD is MSB of this value. For a examples, If read value is 6, we'll write M0/SD, M1, M2 as 1,

Re: [GIT PULL] usercopy whitelisting for v4.15-rc1

2017-11-15 Thread Kees Cook
On Sun, Nov 12, 2017 at 11:29 PM, Kees Cook wrote: > Please pull these hardened usercopy whitelisting changes for v4.15-rc1. > This significantly narrows the areas of memory that can be copied to/from > userspace in the face of usercopy bugs. Just wanted to make sure this pull request was still o

[PATCH 02/10] x86: jailhouse: Add infrastructure for running in non-root cell

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka The Jailhouse hypervisor is able to statically partition a multicore system into multiple so-called cells. Linux is used as boot loader and continues to run in the root cell after Jailhouse is enabled. Linux can also run in non-root cells. Jailhouse does not emulate usual x86 de

Re: [PATCH] locking/Documentation: Revise Documentation/locking/crossrelease.txt

2017-11-15 Thread Byungchul Park
On 11/16/2017 4:22 PM, Ingo Molnar wrote: * Byungchul Park wrote: On Sat, Nov 11, 2017 at 10:45:24PM +0900, Byungchul Park wrote: This is the big one including all of version 3. You can take only this. Hello Ingo, Could you consider this? Yeah, I'll have a look in a few days, but right

[PATCH 06/10] x86: jailhouse: Avoid access of unsupported platform resources

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka We don't have CMOS access, thus we can't set the warm-reset vectors in do_boot_cpu. There is no RTC, thus also no wall clock. Furthermore, there are no ISA IRQs and no PIC. So fill the platform callbacks accordingly. Signed-off-by: Jan Kiszka --- arch/x86/kernel/jailhouse.c |

[PATCH 00/10] x86: Add support for running as secondary Jailhouse guest

2017-11-15 Thread Jan Kiszka
This series paves the way to run Linux in so-called non-root cells (guest partitions) of the Jailhouse hypervisor. Jailhouse [1] was started 4 years ago as an open-source (GPL) leight- weight hypervisor that statically partitions SMP systems. It's unique in that it uses one Linux instance, the roo

[PATCH 08/10] x86: jailhouse: Halt instead of failing to restart

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka Jailhouse provides no guest-initiated restart. So, do not even try to. Signed-off-by: Jan Kiszka --- arch/x86/kernel/jailhouse.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/x86/kernel/jailhouse.c b/arch/x86/kernel/jailhouse.c index c1ed7fcd7bfa..0bcca1

[current linus git] kernel warning : driver forgot to call drm_crtc_vblank_off()

2017-11-15 Thread Jongman Heo
Hi, I'm running current linus git kernel on VMWare Workstation 12 Pro (Host : windows 10, Guest : Fedora 27). commit e60e1ee60630cafef5e430c2ae364877e061d980 : Merge tag 'drm-for-v4.15' of git://people.freedesktop.org/~airlied/linux) When I login via Gnome GDM login screen, following ker

Re: [RESEND PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC

2017-11-15 Thread Shawn Guo
On Wed, Oct 25, 2017 at 04:00:36PM -0500, Li Yang wrote: > On Tue, Sep 12, 2017 at 1:49 AM, SZ Lin wrote: > > Add QSPI node support, and this function is disabled by default > > This setting could be overwritten in board-level definitions > > Adding Shawn Guo. > > > > > Signed-off-by: SZ Lin >

Re: [PATCH] coccinelle: flags.cocci: reorganize patterns to improve efficiency

2017-11-15 Thread Julia Lawall
On Wed, 15 Nov 2017, Joe Perches wrote: > On Wed, 2017-11-15 at 22:55 +0100, Julia Lawall wrote: > > What version of Coccinelle do you have? > > > I tried 1.0.4 and 1.0.6, > > > but both failed. > > For me, it also fails for 1.0.6. It should be OK for 1.0.7. > > Then likely this patch should no

RE: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devices

2017-11-15 Thread Masaki Ota
Hi, Pali, Aaron, Current code is correct device setting, previous code is wrong. If the trackstick does not work(DUALPOINT flag disable), Device Firmware setting is wrong. But recently I received the same report from Thinkpad L570 user, and I checked this device and found this device Firmware s

Re: [PATCH] arm: Remove unused __readwrite_bug function

2017-11-15 Thread Uwe Kleine-König
On Wed, Nov 15, 2017 at 07:33:22PM +, Corentin Labbe wrote: > The function __readwrite_bug() is not used at all, so this patch remove > it. This function seems unused since 5621caac1d95 ("ARM: kill off __mem_pci"). Adding Rob as author to Cc. Best regards Uwe > Signed-off-by: Corentin Labbe

Re: [PATCH] locking/Documentation: Revise Documentation/locking/crossrelease.txt

2017-11-15 Thread Ingo Molnar
* Byungchul Park wrote: > On Sat, Nov 11, 2017 at 10:45:24PM +0900, Byungchul Park wrote: > > This is the big one including all of version 3. > > > > You can take only this. > > Hello Ingo, > > Could you consider this? Yeah, I'll have a look in a few days, but right now we are in the middle

Re: [PATCH V13 03/10] mmc: block: Add blk-mq support

2017-11-15 Thread Ulf Hansson
On 15 November 2017 at 14:07, Adrian Hunter wrote: > On 15/11/17 12:55, Ulf Hansson wrote: >> Linus, Adrian, >> >> Apologize for sidetracking the discussion, just wanted to add some >> minor comments. >> >> [...] >> >>> > But what I think is nice in doing it around > each request is that s

[PATCH] soc: qcom: smp2p: Access APCS as mailbox client

2017-11-15 Thread Bjorn Andersson
Attempt to acquire the APCS IPC through the mailbox framework and fall back to the old syscon based approach, to allow us to move away from using the syscon. Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/Kconfig | 1 + drivers/soc/qcom/smp2p.c | 38 --

Re: [PATCH] mac80211: mwl8k: Expand non-DFS 5G channels

2017-11-15 Thread Kalle Valo
Weixiao Zhang writes: > Signed-off-by: Weixiao Zhang No empty commit logs, please. And use v2, v3 to clearly mark what's the version of the patch: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#patch_version_missing > drivers/net/wireless/marvell/mwl8k.c | 7

Re: [GIT pull] printk updates for 4.15

2017-11-15 Thread Thomas Gleixner
On Wed, 15 Nov 2017, Linus Torvalds wrote: > On Wed, Nov 15, 2017 at 4:37 PM, Thomas Gleixner wrote: > > > > This broke stuff because the historic behaviour was to not advance on > > resume and the change caused massive timer expiries right after resume > > which confused the hell out of things, b

Re: [ANNOUNCE] Call for Papers - linux.conf.au Kernel Miniconf, Sydney, 22 January 2018

2017-11-15 Thread Andrew Donnellan
On 18/10/17 15:34, Andrew Donnellan wrote: Greetings, * TL;DR     - LCA Kernel Miniconf, Sydney, Australia, 22 Jan 2018     - Submissions by 30 November 2017, 23:59 (AEDT/UTC+11)     - Wanted: anything interesting to kernel hackers! Speakers from   diverse backgrounds encouraged!

[PATCH] rpmsg: qcom_smd: Access APCS through mailbox framework

2017-11-15 Thread Bjorn Andersson
Attempt to acquire the APCS IPC through the mailbox framework and fall back to the old syscon based approach, to allow us to move away from using the syscon. Signed-off-by: Bjorn Andersson --- drivers/rpmsg/qcom_smd.c | 62 +--- 1 file changed, 43 inse

Re: [PATCH v5 1/2] x86/mm: add a function to check if a pfn is UC/UC-

2017-11-15 Thread Haozhong Zhang
On 11/15/17 11:44 +0100, David Hildenbrand wrote: > On 08.11.2017 08:56, Haozhong Zhang wrote: > > It will be used by KVM to check whether a pfn should be > > mapped to guest as UC. > > > > Signed-off-by: Haozhong Zhang > > --- > > arch/x86/include/asm/pat.h | 2 ++ > > arch/x86/mm/pat.c

Re: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-11-15 Thread Shawn Guo
On Tue, Nov 14, 2017 at 08:00:00AM +, Yinbo Zhu wrote: > On Wed, Sep 13, 2017 at 05:10:09PM +0800, yinbo@nxp.com wrote: > > From: "yinbo.zhu" > > > > Fix the issue that usb is not detected on ls1088ardb > > >It's not really about fixing issue but adding support. > > The patch had been t

Re: [project-aspen-dev] Re: [PATCH 1/3] clk: hisilicon: add hisi phase clock support

2017-11-15 Thread Shawn Guo
On Thu, Nov 16, 2017 at 11:40:18AM +0800, Jiancheng Xue wrote: > >> +struct clk_hisi_phase { > >> + struct clk_hw hw; > >> + void __iomem*reg; > >> + u32 *phase_values; > >> + u32 *phase_regs; > >> + u8 phase_num; > > > > I do not think this value-re

RE: [patches] Re: [PATCH v9 05/12] RISC-V: Atomic and Locking Code

2017-11-15 Thread Daniel Lustig
> > In that case, maybe we should just start out having a fence on both > > sides for > > Actually, given your architecture is RCsc rather than RCpc, so I think maybe > you could follow the way that ARM uses(i.e. relaxed load + release store + a > full barrier). You can see the commit log of 8e86f

[PATCH] drivers/perf: arm_pmu: save/restore cpu cycle counter in cpu_pm_pmu_notify

2017-11-15 Thread Jia He
Sometimes userspace need a high resolution cycle counter by reading pmccntr_el0. In commit da4e4f18afe0 ("drivers/perf: arm_pmu: implement CPU_PM notifier"), it resets all the counters even when the pmcr_el0.E and pmcntenset_el0.C are both 1 . That is incorrect. We need to save the registers and

Re: PROBLEM: Asus C201 video mode problems on HDMI hotplug (regression)

2017-11-15 Thread Nick Bowler
Hi, Any ideas on this issue? Are there any additional tests I can perform to help debug this? On 2017-11-05 11:41 -0500, Nick Bowler wrote: > I completed bisecting this issue. See below. > > On 2017-11-02, Nick Bowler wrote: > > ~50% of the time after a hotplug, there is a vertical pink bar o

[PATCH] arm64: defconfig: Select schedutil as default cpufreq governor

2017-11-15 Thread Viresh Kumar
Currently performance governor is getting selected by default, which is surely not a very good choice as its pretty much power hungry. Select schedutil instead. Signed-off-by: Viresh Kumar --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/de

Re: [PATCH] soc: qcom: smsm: fix child-node lookup

2017-11-15 Thread Bjorn Andersson
On Wed 15 Nov 03:07 PST 2017, Johan Hovold wrote: > Fix child-node lookup during probe, which ended up searching the whole > device tree depth-first starting at the parent rather than just matching > on its children. > > Note that the original premature free of the parent node has already > been

[PATCHi v2] dt-bindings: add device tree binding for Arm TrustZone CryptoCell crypto engine

2017-11-15 Thread Gilad Ben-Yossef
The Arm TrustZone CryptoCell is a hardware security engine. This patch adds DT bindings for its Rich Execution Environment crypto engine. A driver supporting this device is already present in the staging tree. Signed-off-by: Gilad Ben-Yossef Acked-by: Rob Herring --- Changes from v1: - Change

Re: [PATCH v5 1/2] x86/mm: add a function to check if a pfn is UC/UC-

2017-11-15 Thread Haozhong Zhang
On 11/15/17 07:17 -0800, Dan Williams wrote: > On Tue, Nov 7, 2017 at 11:56 PM, Haozhong Zhang > wrote: > > It will be used by KVM to check whether a pfn should be > > mapped to guest as UC. > > > > Signed-off-by: Haozhong Zhang > > --- > > arch/x86/include/asm/pat.h | 2 ++ > > arch/x86/mm/pat

[PATCH] rpmsg: qcom: The mbox clients knows_txdone

2017-11-15 Thread Bjorn Andersson
As both the GLINK and SMD drivers are ticking the txdone of the mailbox (to implement the doorbell) they should set knows_txdone. Signed-off-by: Bjorn Andersson --- drivers/rpmsg/qcom_glink_native.c | 1 + drivers/rpmsg/qcom_smd.c | 1 + 2 files changed, 2 insertions(+) diff --git a/dr

Re: [PATCH 2/2] drm/rockchip: vop: add rk3126 vop support

2017-11-15 Thread Mark yao
On 2017年11月14日 19:27, Sandy Huang wrote: RK3126 vop register layout is similar with rk3036, so some feature can reuse with rk3036. RK3126 support two overlay plane and one hwc plane, max output resolution is 1080p. it support IOMMU, and its IOMMU same as rk3288's Signed-off-by: Sandy Huang L

Re: [PATCH 2/2] drm/rockchip: vop: add rk3126 vop support

2017-11-15 Thread Mark yao
On 2017年11月14日 19:27, Sandy Huang wrote: RK3126 vop register layout is similar with rk3036, so some feature can reuse with rk3036. RK3126 support two overlay plane and one hwc plane, max output resolution is 1080p. it support IOMMU, and its IOMMU same as rk3288's Signed-off-by: Sandy Huang L

[PATCH v2] rtc: Add tracepoints for RTC system

2017-11-15 Thread Baolin Wang
It will be more helpful to add some tracepoints to track RTC actions when debugging RTC driver. Below sample is that we set/read the RTC time, then set 2 alarms, so we can see the trace logs: set/read RTC time: kworker/0:1-67 [000] 21.814245: rtc_set_time: 2017-11-10 08:13:00 UTC (1510301580) (0)

Re: [PATCH 1/2] x86,kvm: move qemu/guest FPU switching out to vcpu_run

2017-11-15 Thread Wanpeng Li
2017-11-15 22:40 GMT+08:00 Rik van Riel : > On Wed, 2017-11-15 at 12:33 +0800, Wanpeng Li wrote: >> 2017-11-15 11:03 GMT+08:00 Rik van Riel : >> > On Wed, 2017-11-15 at 08:47 +0800, Wanpeng Li wrote: >> > > 2017-11-15 5:54 GMT+08:00 : >> > > > From: Rik van Riel >> > > > >> > > > Currently, every

HELLO

2017-11-15 Thread mrsareouedraogo
-- Am Mr.Sare Ouedraogo. i work in one of the prime bank here in burkina faso, i want the bank to transfer the money left by our late customer is a foreigner from Korea. can you investment this money and also help the poor' the amount value at $13,300,000.00 (Thirteen Million Three Hundred Th

Re: [PATCH v3 1/5] soc: qcom: Introduce QMI encoder/decoder

2017-11-15 Thread Bjorn Andersson
On Wed 15 Nov 12:10 PST 2017, Bjorn Andersson wrote: > diff --git a/drivers/soc/qcom/qmi_encdec.c b/drivers/soc/qcom/qmi_encdec.c [..] > +void *qmi_encode_message(int type, unsigned int msg_id, size_t *len, > + unsigned int txn_id, struct qmi_elem_info *ei, > +

Re: [PATCH v5 2/4] KVM: X86: Add paravirt remote TLB flush

2017-11-15 Thread Wanpeng Li
2017-11-13 18:01 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > Remote flushing api's does a busy wait which is fine in bare-metal > scenario. But with-in the guest, the vcpus might have been pre-empted > or blocked. In this scenario, the initator vcpu would end up > busy-waiting for a long amount

[PATCH] mailbox: txdone_method shouldn't always be reset

2017-11-15 Thread Bjorn Andersson
A client that knows how to drive txdone would temporarily "upgrade" the method to TXDONE_BY_ACK. But with the introduction of commit 33cd7123ac0ba ("mailbox: reset txdone_method TXDONE_BY_POLL if client knows_txdone") there is no longer a distinction between a channel in "upgraded" state or a chann

Re: [PATCH v7 10/13] dt-bindings: Add qcom slimbus controller bindings

2017-11-15 Thread Rob Herring
On Wed, Nov 15, 2017 at 02:10:40PM +, srinivas.kandaga...@linaro.org wrote: > From: Sagar Dharia > > This patch add device tree bindings for Qualcomm slimbus controller. > > Signed-off-by: Sagar Dharia > Signed-off-by: Srinivas Kandagatla > --- > .../devicetree/bindings/slimbus/slim-qcom-

Re: [PATCH v7 02/13] dt-bindings: Add SLIMbus bindings

2017-11-15 Thread Rob Herring
On Wed, Nov 15, 2017 at 02:10:32PM +, srinivas.kandaga...@linaro.org wrote: > From: Sagar Dharia > > SLIMbus (Serial Low Power Interchip Media Bus) is a specification > developed by MIPI (Mobile Industry Processor Interface) alliance. > SLIMbus is a 2-wire implementation, which is used to com

Re: [PATCH] dt-bindings: add device tree binding for Arm TrustZone CryptoCell crypto engine

2017-11-15 Thread Rob Herring
On Wed, Nov 15, 2017 at 01:05:17PM +, Gilad Ben-Yossef wrote: > The Arm TrustZone CryptoCell is a hardware security engine. This patch > adds DT bindings for its Rich Execution Environment crypto engine. > > A driver supporting this device is already present in the staging tree. > > Signed-of

Re: [PATCH] rtnetlink: fix missing size for IFLA_IF_NETNSID

2017-11-15 Thread Flavio Leitner
On Mon, 6 Nov 2017 16:16:20 +0100 Jiri Benc wrote: > On Mon, 6 Nov 2017 15:04:54 +, Colin King wrote: > > The size for IFLA_IF_NETNSID is missing from the size calculation > > because the proceeding semicolon was not removed. Fix this by removing > > the semicolon. > > Acked-by: Jiri Benc

Re: [PATCH] of/pci: Fix theoretical NULL dereference

2017-11-15 Thread Rob Herring
On Wed, Nov 15, 2017 at 12:50:06PM +, Robin Murphy wrote: > In the (relatively mechanical) process of adapting the RID-mapping code > to put the resulting ID in an output argument rather than the funtion > return value, we ended up with the debug print using the argument > pointer rather than t

Re: [PATCH v3 3/3] DT: leds: Add Qualcomm Light Pulse Generator binding

2017-11-15 Thread Rob Herring
On Tue, Nov 14, 2017 at 11:13:45PM -0800, Bjorn Andersson wrote: > This adds the binding document describing the three hardware blocks > related to the Light Pulse Generator found in a wide range of Qualcomm > PMICs. > > Signed-off-by: Bjorn Andersson > --- > > Changes since v2: > - Squashed all

Re: [PATCH v3 2/8] dt-bindings: pci: Add DT docs for Brcmstb PCIe device

2017-11-15 Thread Rob Herring
On Tue, Nov 14, 2017 at 05:12:06PM -0500, Jim Quinlan wrote: > The DT bindings description of the Brcmstb PCIe device is described. This > node can be used by almost all Broadcom settop box chips, using > ARM, ARM64, or MIPS CPU architectures. > > Signed-off-by: Jim Quinlan > --- > .../devicetr

Re: [PATCH 1/2] x86,kvm: move qemu/guest FPU switching out to vcpu_run

2017-11-15 Thread Quan Xu
On 2017-11-16 12:21, Rik van Riel wrote: On Thu, 2017-11-16 at 10:50 +0800, Quan Xu wrote: On 2017-11-15 22:43, Rik van Riel wrote: Can you explain why you believe that? for example, a vcpu thread is running in kvm mode under cretical condition to stop. QEMU send an IPI to cause a VM-exit to

Re: [git pull] drm for v4.15

2017-11-15 Thread Linus Torvalds
On Wed, Nov 15, 2017 at 6:34 PM, Dave Airlie wrote: > > There is some code touched on sound/soc, but I think the sound tree > should have the same commits from the same base,so this may luck different > if you pulled it as I generated my pull request a couple of days ago. > Otherwise > the highli

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

2017-11-15 Thread Minchan Kim
Hi Stephen, On Thu, Nov 16, 2017 at 02:16:27PM +1100, Stephen Rothwell wrote: > Hi Andrew, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > drivers/block/brd.c > > between commit: > > 7a862fbbdec6 ("brd: remove dax support") > > from the nvdimm tree and commit:

Re: [PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-11-15 Thread Eduardo Valentin
Hey Radim, On Thu, Nov 09, 2017 at 03:17:33PM +0100, Radim Krčmář wrote: > > This is what I'm doubting, because the patch is adding about two > thousand cycles to every spinlock-taken path. > Doesn't this patch yield better results? > > diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm

Re: [PATCH 1/2] mm,vmscan: Kill global shrinker lock.

2017-11-15 Thread Minchan Kim
On Wed, Nov 15, 2017 at 05:41:41PM -0800, Shakeel Butt wrote: > On Wed, Nov 15, 2017 at 4:46 PM, Minchan Kim wrote: > > On Tue, Nov 14, 2017 at 10:28:10PM -0800, Shakeel Butt wrote: > >> On Tue, Nov 14, 2017 at 4:56 PM, Minchan Kim wrote: > >> > On Tue, Nov 14, 2017 at 06:37:42AM +0900, Tetsuo Ha

Re: [PATCH] PM_RUN_CYC_SMT2_MODE event not suported on P9

2017-11-15 Thread Ravi Bangoria
Hi Mamatha, On 10/26/2017 05:10 PM, Mamatha Inamdar wrote: As per the p9 event spreadsheet pm_run_cyc_smt2_mode is not listed. So this patch is to remove pm_run_cyc_smt2_mode from JSON file Signed-off-by: Mamatha Inamdar --- .../perf/pmu-events/arch/powerpc/power9/cache.json |7 +--

Re: [PATCH 2/3] dt-bindings: arm: actions: Add Sparky

2017-11-15 Thread Rob Herring
On Tue, Nov 14, 2017 at 07:01:13PM +0100, Andreas Färber wrote: > Define a binding for Allo.com Sparky SBC. > > Cc: Ioan B. > Signed-off-by: Andreas Färber > --- > Documentation/devicetree/bindings/arm/actions.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: [PATCH 1/3] dt-bindings: Add vendor prefix for Allo.com

2017-11-15 Thread Rob Herring
On Tue, Nov 14, 2017 at 07:01:12PM +0100, Andreas Färber wrote: > ALLO is a Canadian-Indian manufacturer of telecommunications hardware. > > Cc: Ioan B. > Signed-off-by: Andreas Färber > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Acked-b

[PATCH] [media] winbond-cir: Fix pnp_irq's error checking for wbcir_probe

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/media/rc/winbond-cir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir

Re: [RFC PATCH 0/2] apply write hints to select the type of segments

2017-11-15 Thread Hyunchul Lee
On 11/16/2017 12:58 PM, Jaegeuk Kim wrote: > On 11/16, Chao Yu wrote: >> On 2017/11/16 8:56, Hyunchul Lee wrote: >>> >>> On 11/16/2017 01:27 AM, Jaegeuk Kim wrote: On 11/14, Chao Yu wrote: > On 2017/11/14 12:20, Jaegeuk Kim wrote: >> On 11/13, Hyunchul Lee wrote: >>> On 11/13/2017

Re: [PATCH 1/2] dt-bindings: add document for rk3126-vop

2017-11-15 Thread Rob Herring
On Tue, Nov 14, 2017 at 07:27:34PM +0800, Sandy Huang wrote: > Signed-off-by: Sandy Huang > --- > Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: [PATCH v2 6/8] dt-bindings: power: Add Actions Semi S700 SPS

2017-11-15 Thread Rob Herring
On Tue, Nov 14, 2017 at 12:34:25AM +0100, Andreas Färber wrote: > Define power domains for Actions Semi S700 SoC Smart Power System (SPS). > > Signed-off-by: Andreas Färber > --- > v2: New > > .../devicetree/bindings/power/actions,owl-sps.txt| 2 ++ > include/dt-bindings/power/owl-s700-p

[PATCH 2/2 v2] dmaengine: rcar-dmac: use TCRB instead of TCR for residue

2017-11-15 Thread Kuninori Morimoto
From: Kuninori Morimoto SYS/RT/Audio DMAC includes independent data buffers for reading and writing. Therefore, the read transfer counter and write transfer counter have different values. TCR indicates read counter, and TCRB indicates write counter. The relationship is like below.

Re: [PATCH v4 1/3] DT: i2c: W83773G is a trivial device

2017-11-15 Thread Rob Herring
On Mon, Nov 13, 2017 at 11:27:32AM +0800, Lei YU wrote: > Signed-off-by: Lei YU > --- > Documentation/devicetree/bindings/trivial-devices.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/trivial-devices.txt > b/Documentation/devicetree/bindings/triv

Re: [GIT PULL for v4.15-rc1] media updates

2017-11-15 Thread Linus Torvalds
On Wed, Nov 15, 2017 at 4:28 PM, Mauro Carvalho Chehab wrote: > > PS.: This time, there is a merge from staging tree, from the same commit > you pulled on your tree, in order to solve a conflict at the > atomisp driver, as reported by Stephen Rothwell. Please don't do that. I got confl

[PATCH 1/2 v2] dmaengine: rcar-dmac: ensure CHCR DE bit is actually 0 after clear

2017-11-15 Thread Kuninori Morimoto
From: Kuninori Morimoto DMAC reads data from source device, and buffered it until transferable size for shink device. Because of this behavoir, DMAC is including buffered data . Now, CHCR DE bit is controlling DMA transfer enable/disable. If DE bit was cleared during data transferring, or durin

[PATCH 08/12] isdn: hisax: Fix pnp_irq's error checking for setup_isurf

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/isurf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/isurf.c b/drivers/isdn/hisax/isurf.c index 139

[PATCH] staging: comedi: ni_atmio: Handle return value of pnp_*

2017-11-15 Thread Arvind Yadav
pnp_irq() and pnp_port_start() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/staging/comedi/drivers/ni_atmio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/comedi/drivers/ni_atmio.c b/drivers/staging/comedi/drivers/ni_atmio.c

[PATCH 07/12] isdn: hisax: Handle return value of pnp_irq and pnp_port_start

2017-11-15 Thread Arvind Yadav
pnp_irq() and pnp_port_start() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/hisax_fcpcipnp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/isdn/hisax/hisax_fcpcipnp.c b/drivers/isdn/hisax/hisax_fcpcipnp.c index e4f7573..7a7

[PATCH 12/12] isdn: hisax: Fix pnp_irq's error checking for setup_teles3

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/teles3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/teles3.c b/drivers/isdn/hisax/teles3.c index

[PATCH 02/12] isdn: hisax: Fix pnp_irq's error checking for avm_pnp_setup

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/avm_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/avm_pci.c b/drivers/isdn/hisax/avm_pci.c ind

[PATCH 04/12] isdn: hisax: Fix pnp_irq's error checking for setup_elsa_isapnp

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/elsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/elsa.c b/drivers/isdn/hisax/elsa.c index 03bc5d

[PATCH 0/2 v2] dmaengine: rcar-dmac: use TCRB instead of TCR

2017-11-15 Thread Kuninori Morimoto
Hi Vinod Cc Geert, Laurent These are v2 of dmaengine fixup for Renesas SoC. v1 patch solved "sound noise" issue, but breaked "serial input". The reason was that DMAC buffers read data until transferable size to write side. This buffered data will be transfered if <1> it reached to transferable

Re: [PATCH 3/5] media: i2c: Add TDA1997x HDMI receiver driver

2017-11-15 Thread Rob Herring
On Wed, Nov 15, 2017 at 10:31:14AM -0800, Tim Harvey wrote: > On Wed, Nov 15, 2017 at 7:52 AM, Rob Herring wrote: > > On Thu, Nov 09, 2017 at 10:45:34AM -0800, Tim Harvey wrote: > >> Add support for the TDA1997x HDMI receivers. > >> > >> Cc: Hans Verkuil > >> Signed-off-by: Tim Harvey > >> --- >

[PATCH 10/12] isdn: hisax: Fix pnp_irq's error checking for setup_niccy

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/niccy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/niccy.c b/drivers/isdn/hisax/niccy.c index e4c

[PATCH 11/12] isdn: hisax: Fix pnp_irq's error checking for setup_sedlbauer_isapnp

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/sedlbauer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/sedlbauer.c b/drivers/isdn/hisax/sedlbauer

Re: [PATCH 1/2] r8169: reinstate ALDPS for power saving

2017-11-15 Thread Kai Heng Feng
> On 15 Nov 2017, at 6:53 PM, David Miller wrote: > > From: Kai-Heng Feng > Date: Wed, 15 Nov 2017 04:00:18 -0500 > >> Commit ("r8169: enable ALDPS for power saving") caused a regression on >> RTL8168evl/8111evl [1], so it got reverted. >> >> Instead of reverting the whole commit, let's rein

[PATCH 09/12] isdn: hisax: Fix pnp_irq's error checking for setup_ix1micro

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/ix1_micro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/ix1_micro.c b/drivers/isdn/hisax/ix1_micro

[PATCH 06/12] isdn: hisax: Fix pnp_irq's error checking for setup_hfcs

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/hfcscard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/hfcscard.c b/drivers/isdn/hisax/hfcscard.c

[PATCH 05/12] isdn: hisax: Fix pnp_irq's error checking for setup_hfcsx

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/hfc_sx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c index

[PATCH 01/12] isdn: hisax: Fix pnp_irq's error checking for setup_asuscom

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/asuscom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/asuscom.c b/drivers/isdn/hisax/asuscom.c ind

[PATCH 03/12] isdn: hisax: Fix pnp_irq's error checking for setup_diva_isapnp

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- drivers/isdn/hisax/diva.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/diva.c b/drivers/isdn/hisax/diva.c index 3fc94e

[PATCH 00/12] isdn: hisax: Fix pnp_irq's error checking

2017-11-15 Thread Arvind Yadav
The pnp_irq() function returns -1 if an error occurs. pnp_irq() error checking for zero is not correct. Arvind Yadav (12): [PATCH 01/12] isdn: hisax: Fix pnp_irq's error checking for setup_asuscom [PATCH 02/12] isdn: hisax: Fix pnp_irq's error checking for avm_pnp_setup [PATCH 03/12] isdn: h

Re: [PATCH 16/35] perf annotate: Add samples into struct annotation_line

2017-11-15 Thread Ravi Bangoria
Hi Jiri, On 11/15/2017 07:34 PM, Jiri Olsa wrote: On Tue, Nov 14, 2017 at 11:29:54AM +0100, Jiri Olsa wrote: On Tue, Nov 14, 2017 at 03:45:27PM +0530, Ravi Bangoria wrote: Hi Jiri, On 11/14/2017 03:01 PM, Jiri Olsa wrote: On Mon, Nov 13, 2017 at 09:14:38PM +0100, Jiri Olsa wrote: On Mon, N

Re: [PATCH v3 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-11-15 Thread Huacai Chen
Hi, Ralf and James, Why x...@lemote.com is always denied by mail.linux-mips.org? Huacai On Wed, Nov 15, 2017 at 11:11 AM, Jiaxun Yang wrote: > Since lemote-2f/marchtype.c need to get cmdline from loongson.h > this patch simply copy kernel command line from arcs_cmdline > to fix that issue. > >

Re: [PATCH 1/2] x86,kvm: move qemu/guest FPU switching out to vcpu_run

2017-11-15 Thread Rik van Riel
On Thu, 2017-11-16 at 10:50 +0800, Quan Xu wrote: > > On 2017-11-15 22:43, Rik van Riel wrote: > > Can you explain why you believe that? > > for example, a vcpu thread is running in kvm mode under cretical > condition to stop. QEMU send an IPI to cause a VM-exit to happen > immediately, and this

[PATCH net] net/sctp: Always set scope_id in sctp_inet6_skb_msgname

2017-11-15 Thread Eric W. Biederman
Alexandar Potapenko while testing the kernel with KMSAN and syzkaller discovered that in some configurations sctp would leak 4 bytes of kernel stack. Working with his reproducer I discovered that those 4 bytes that are leaked is the scope id of an ipv6 address returned by recvmsg. With a little

RE: [PATCH 4.9 06/87] ARM: dts: imx53-qsb-common: fix FEC pinmux config

2017-11-15 Thread Patrick Brünn
>From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] >Sent: Montag, 13. November 2017 13:55 > >4.9-stable review patch. If anyone has any objections, please let me know. > >-- > >From: Patrick Bruenn > > >[ Upstream commit 8b649e426336d7d4800ff9c82858328f4215ba01 ] > >The

Re: [PATCH] platform/x86: dell-laptop: Allocate buffer before rfkill use

2017-11-15 Thread valdis . kletnieks
On Wed, 15 Nov 2017 14:21:13 -0600, Mario Limonciello said: > On machines using rfkill interface the buffer needs to have been > allocated before the initial use (memset) of it. > > Reported-by: Valdis Kletnieks > Signed-off-by: Mario Limonciello > --- > drivers/platform/x86/dell-laptop.c | 9 ++

Re: [PATCH v18 5/6] vfio: ABI for mdev display dma-buf operation

2017-11-15 Thread Alex Williamson
On Thu, 16 Nov 2017 11:21:56 +0800 Zhenyu Wang wrote: > On 2017.11.15 11:48:42 -0700, Alex Williamson wrote: > > On Wed, 15 Nov 2017 17:11:54 +0800 > > Tina Zhang wrote: > > > > > Add VFIO_DEVICE_QUERY_GFX_PLANE ioctl command to let user query and get > > > a plane and its information. So far

RE: [PATCH 3.18 03/28] ARM: dts: imx53-qsb-common: fix FEC pinmux config

2017-11-15 Thread Patrick Brünn
>From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] >Sent: Montag, 13. November 2017 13:55 > >3.18-stable review patch. If anyone has any objections, please let me know. > >-- > >From: Patrick Bruenn > > >[ Upstream commit 8b649e426336d7d4800ff9c82858328f4215ba01 ] > >Th

[GIT PULL] f2fs update for 4.15-rc1

2017-11-15 Thread Jaegeuk Kim
Hi Linux, Could you please consider this pull request? Thanks, The following changes since commit 7056964a85031f42e2360617b14272593729ce1b: Merge tag 'f2fs-for-4.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs (2017-10-10 11:04:00 -0700) are available in the git repos

  1   2   3   4   5   6   7   8   9   10   >