[PATCH v2] clk: mediatek: Fix all warnings for missing struct clk_onecell_data

2017-12-25 Thread sean.wang
From: Sean Wang Even though the header file linux/clk-provider.h is already being properly included in clk-mtk.h, the definition of struct clk_onecell_data still must depend on CONFIG_COMMON_CLK defined and thus it's possible that below build warnings occur when CONFIG_COMMON_CLK is not being sel

Re: [PATCH] KVM/Eventfd: Avoid crash when assign and deassign same eventfd in parallel.

2017-12-25 Thread Peter Xu
On Mon, Dec 18, 2017 at 09:50:04AM +0100, Paolo Bonzini wrote: > On 18/12/2017 09:30, David Hildenbrand wrote: > > The ugly thing in kvm_irqfd_assign() is that we access irqfd without > > holding a lock. I think that should rather be fixed than working around > > that issue. (e.g. lock() -> lookup

[RFC PATCH] workqueue: Introduce a way to set percpu worker_pool's scheduler

2017-12-25 Thread Wen Yang
When pinning RT threads to specific cores using CPU affinity, the kworkers on the same CPU would starve, which may lead to some kind of priority inversion. In that case, the RT threads would also suffer high performance impact. The priority inversion looks like, CPU 0: libvirtd acquired cgroup_mu

Re: [PATCH v2 00/12] drm: add check if io_mem_pfn is NULL and cleanup

2017-12-25 Thread Christian König
Series is Reviewed-by: Christian König . I'm going to pick that up for 4.16. Thanks for the cleanup, Christian. Am 25.12.2017 um 04:43 schrieb Tan Xiaojun: I found an OOPS when I used the mainline kernel for graphical tests in Hisilicon D05, I do not know how to solve this problem until I saw

[PATCH 1/2] clk: mediatek: update clock data for MT7622 audsys

2017-12-25 Thread Ryder Lee
Add missing clock gate "CLK_AUDIO_AFE_CONN" for MT7622 audsys. Signed-off-by: Ryder Lee --- drivers/clk/mediatek/clk-mt7622-aud.c | 1 + include/dt-bindings/clock/mt7622-clk.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/mediatek/clk-mt7622-aud.c b/drivers

[PATCH 2/2] clk: mediatek: add audsys for MT2701 SoC

2017-12-25 Thread Ryder Lee
Add clock driver support for MT2701 audio subsystem. Signed-off-by: Ryder Lee --- drivers/clk/mediatek/Kconfig | 6 + drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt2701-aud.c | 204 ++ 3 files changed, 211 insertions(+) crea

[PATCH 1/4] ASoC: mediatek: fix error handling in mt2701_afe_pcm_dev_probe()

2017-12-25 Thread Ryder Lee
Fix unbalanced error handling path which will get incorrect counts if probe failed. The .remove() should be adjusted accordingly. Signed-off-by: Ryder Lee --- sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/

[PATCH 2/4] ASoC: mediatek: rework clock functions for MT2701

2017-12-25 Thread Ryder Lee
Reworks mt2701-afe-clock* to make it more reasonable and flexible. Hence current changes are: - Replace regmap operations by CCF APIs. Doing so, we just need to handle the child/element clocks - we can also get accurate information via CCF. - Rename clock names to make them more generic just in

[PATCH 3/4] ASoC: mediatek: cleanup audio driver for MT2701

2017-12-25 Thread Ryder Lee
Cleanup unused code such as 'i2s_num' guard, headers, indentation and some defines. Signed-off-by: Ryder Lee --- sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 14 +--- sound/soc/mediatek/mt2701/mt2701-afe-common.h | 20 + sound/soc/mediatek/mt2701/mt2701-afe-pcm.c| 96 -

[PATCH 4/4] ASoC: mediatek: update clock properties for mt2701

2017-12-25 Thread Ryder Lee
Add 'assigned-clocks*' properties which are used to initialize default domain sources of audio system. we could configure different sets of input clocks through DTS now - depends on the platform design. Hence driver no longer cares about that. Also we change some 'clock-names' to make them more ge

Re: [PATCH v2 00/12] drm: add check if io_mem_pfn is NULL and cleanup

2017-12-25 Thread Tan Xiaojun
On 2017/12/25 16:18, Christian König wrote: > Series is Reviewed-by: Christian König . > > I'm going to pick that up for 4.16. > > Thanks for the cleanup, > Christian. > Thank you very much. Xiaojun. > Am 25.12.2017 um 04:43 schrieb Tan Xiaojun: >> I found an OOPS when I used the mainline kern

[PATCH] clk: mediatek: remove unnecessary include header from reset.c

2017-12-25 Thread sean.wang
From: Sean Wang In fact, the clk-mtk.h header is indeed not needed for reset.c and thus it's safe and good change to remove it from the file. Signed-off-by: Sean Wang Reviewed-by: Jean Delvare Cc: Jean Delvare --- drivers/clk/mediatek/reset.c | 2 -- 1 file changed, 2 deletions(-) diff --gi

[PATCH v1 0/9] ufs: sysfs: read-only access to device descriptors, attributes and flags

2017-12-25 Thread Stanislav Nijnikov
This patch introduces sysfs entries that will provide read-only access to device management data that could be received with UFS query requests. User-space applications will be able to read UFS device descriptors, flags and attributes. This will allow to get full UFS device configuration and its st

[PATCH v1 1/9] ufs: sysfs: device descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 223 + drivers/scsi/ufs/Makefile | 2 +- drivers/scsi/ufs/ufs-sysfs.c | 154 drivers/scsi/ufs/ufs-sysfs.h | 10 ++ dr

[PATCH v1 8/9] ufs: sysfs: flags

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 65 ++ drivers/scsi/ufs/ufs-sysfs.c | 42 +++ drivers/scsi/ufs/ufs.h | 14 +-- 3 files changed, 118 insertions(+), 3 deletions(-) d

[PATCH v1 9/9] ufs: sysfs: attributes

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 141 - drivers/scsi/ufs/ufs-sysfs.c | 89 ++ drivers/scsi/ufs/ufs-sysfs.h | 1 + drivers/scsi/ufs/ufs.h | 27 +- d

[PATCH v1 2/9] ufs: sysfs: interconnect descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 19 +++ drivers/scsi/ufs/ufs-sysfs.c | 18 ++ drivers/scsi/ufs/ufs.h | 8 3 files changed, 45 insertions(+) diff --git a/Documentation/AB

[PATCH v1 4/9] ufs: sysfs: health descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 28 drivers/scsi/ufs/ufs-sysfs.c | 20 drivers/scsi/ufs/ufs.h | 11 +++ drivers/scsi/ufs/ufshcd.c | 8 ++

[PATCH v1 5/9] ufs: sysfs: power descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 10 +++ drivers/scsi/ufs/ufs-sysfs.c | 121 + 2 files changed, 131 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-driver-ufs b/Documentation/ABI/testing/sysf

[PATCH v1 7/9] ufs: sysfs: unit descriptor

2017-12-25 Thread Stanislav Nijnikov
In addition the patch presents an additional field in the scsi_host_template structure - struct attribute_group **sdev_group. This field allows to define groups of attributes. It will provide an ability to use binary attributes in addition to device attributes and to group them under subfolders if

[PATCH v1 6/9] ufs: sysfs: string descriptors

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 39 drivers/scsi/ufs/ufs-sysfs.c | 58 ++ drivers/scsi/ufs/ufshcd.c | 4 +-- drivers/scsi/ufs/ufshcd.h | 3 ++ 4 fi

[PATCH v1 3/9] ufs: sysfs: geometry descriptor

2017-12-25 Thread Stanislav Nijnikov
Signed-off-by: Stanislav Nijnikov --- Documentation/ABI/testing/sysfs-driver-ufs | 175 - drivers/scsi/ufs/ufs-sysfs.c | 84 ++ drivers/scsi/ufs/ufs.h | 36 ++ 3 files changed, 294 insertions(+), 1 deletion(-) diff -

Re: [regression] Re: Thinkpad T40p: suspend to ram stopped working sometime before 4.14

2017-12-25 Thread Markus Trippelsdorf
On 2017.12.24 at 23:37 +0100, Pavel Machek wrote: > Hi! > > > > > > > 4.15-rcX is broken, but that had other problems so lets not go > > > > > > there. > > > > > > > > > > > > 4.14 is broken. > > > > > > > > > > And what exactly does happen? > > > > > > > > Suspend looks ok. I believe there's

Re: [linux-sunxi] [PATCH v4 0/2] Initial Allwinner V3s CSI Support

2017-12-25 Thread Ondřej Jirman
Hello, On Mon, Dec 25, 2017 at 11:15:26AM +0800, Yong wrote: > Hi, > > On Fri, 22 Dec 2017 14:46:48 +0100 > Ondřej Jirman wrote: > > > Hello, > > > > Yong Deng píše v Pá 22. 12. 2017 v 17:32 +0800: > > > > > > Test input 0: > > > > > > Control ioctls: > > > test VIDIO

[PATCH] clk: mediatek: remove superfluous line including linux/clk-provider.h

2017-12-25 Thread sean.wang
From: Sean Wang clk-mtk.h has already included linux/clk-provider.h inside, so remove the superfluous line including linux/clk-provider.h from these files which also included clk-mtk.h. Signed-off-by: Sean Wang Cc: Jean Delvare --- drivers/clk/mediatek/clk-cpumux.c| 1 - drivers/clk/m

Re: [PATCH 1/1] userfaultfd: clear the vma->vm_userfaultfd_ctx if UFFD_EVENT_FORK fails

2017-12-25 Thread Mike Rapoport
On Sat, Dec 23, 2017 at 01:25:05AM +0100, Andrea Arcangeli wrote: > The previous fix 384632e67e0829deb8015ee6ad916b180049d252 corrected > the refcounting in case of UFFD_EVENT_FORK failure for the fork > userfault paths. That still didn't clear the vma->vm_userfaultfd_ctx > of the vmas that were se

Re: [PATCH 1/2] clk: rename clk_core_get_boundaries() to clk_hw_get_boundaries() and expose

2017-12-25 Thread Alexander Kochetkov
> 21 дек. 2017 г., в 23:07, Stephen Boyd написал(а): > > Can you convert to the determine_rate op instead of round_rate? > That function should tell you the min/max limits so that you > don't need to query that information from the core. I converted rockchip_fractional_approximation() to rockch

Re: [PATCH] f2fs: avoid f2fs_gc dead loop

2017-12-25 Thread Chao Yu
On 2017/12/25 14:15, Yunlong Song wrote: > What if the application starts atomic write but forgets to commit, e.g. > bugs in application or the application > is a malicious software itself? I agree we should consider robustness of f2fs in security aspect, but please consider more scenario of thes

Re: PROBLEM: consolidated IDT invalidation causes kexec to reboot

2017-12-25 Thread Ingo Molnar
* Alexandru Chirvasitu wrote: > The first attachment is the config I initially used last night after > that second patch (removing 'local' etc.). > > As you guessed, all four options are set, hence the name of the file > (ending in '-y'). The other config I'm attaching was treated as you > lay

Re: [regression] Re: Thinkpad T40p: suspend to ram stopped working sometime before 4.14

2017-12-25 Thread Pavel Machek
On Mon 2017-12-25 09:47:48, Markus Trippelsdorf wrote: > On 2017.12.24 at 23:37 +0100, Pavel Machek wrote: > > Hi! > > > > > > > > > 4.15-rcX is broken, but that had other problems so lets not go > > > > > > > there. > > > > > > > > > > > > > > 4.14 is broken. > > > > > > > > > > > > And what e

Re: [PATCH] f2fs: avoid f2fs_gc dead loop

2017-12-25 Thread Yunlong Song
In this case, f2fs_gc will skip all the victims and return with no dead loop. The atomic file will use SSR to OPU, it‘s OK. On 2017/12/25 17:45, Chao Yu wrote: On 2017/12/25 14:15, Yunlong Song wrote: What if the application starts atomic write but forgets to commit, e.g. bugs in application o

Re: [regression] Re: Thinkpad T40p: suspend to ram stopped working sometime before 4.14

2017-12-25 Thread Markus Trippelsdorf
On 2017.12.25 at 10:54 +0100, Pavel Machek wrote: > On Mon 2017-12-25 09:47:48, Markus Trippelsdorf wrote: > > On 2017.12.24 at 23:37 +0100, Pavel Machek wrote: > > > Hi! > > > > > > > > > > > 4.15-rcX is broken, but that had other problems so lets not go > > > > > > > > there. > > > > > > > > >

Re: [PATCH 0/4] KVM: nVMX: prepare_vmcs02 optimizations

2017-12-25 Thread Wanpeng Li
2017-12-21 20:43 GMT+08:00 Paolo Bonzini : > That's about 800-1000 clock cycles more that can be easily peeled, by > saving about 60 VMWRITEs on every exit. > > My numbers so far have been collected on a Haswell system vs. the > Broadwell that Jim used for his KVM Forum talk, and I am now down > fr

Re: [PATCH 0/4] KVM: nVMX: prepare_vmcs02 optimizations

2017-12-25 Thread Wanpeng Li
2017-12-25 18:07 GMT+08:00 Wanpeng Li : > 2017-12-21 20:43 GMT+08:00 Paolo Bonzini : >> That's about 800-1000 clock cycles more that can be easily peeled, by >> saving about 60 VMWRITEs on every exit. >> >> My numbers so far have been collected on a Haswell system vs. the >> Broadwell that Jim used

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-25 Thread Pavel Machek
Hi! > > > > > > > It happened first in -next, now it is in 4.15-rc1. > > > > > > > > > > > > So you meant a possible regression between 4.14 and 4.15-rc1? > > > > > > > > > > Yes. > > > > > > > > Hm, as far as I see, the only significant difference is the commit > > > > 20e3f985bb875fea4f86b04e

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-25 Thread Pavel Machek
Hi! > It's this allocation domain mask hook which has been bypassed by the > offending commit. The existing approach is more robust in the face of > relaxed adherence to destination cpumasks since it's all-inclusive, > whereas the new code is exclusive to a specific cpu. > > Is it possible what

Re: [PATCH v4 2/2] PCI: mediatek: Set up class type and vendor ID for MT7622

2017-12-25 Thread Ryder Lee
On Fri, 2017-12-22 at 13:39 +0800, honghui.zh...@mediatek.com wrote: > From: Honghui Zhang > > The hardware default value of IDs and class type is not correct, > fix that by setup the correct values before start up. > > Signed-off-by: Honghui Zhang > --- > drivers/pci/host/pcie-mediatek.c | 12

Re: [PATCH] f2fs: avoid f2fs_gc dead loop

2017-12-25 Thread Chao Yu
On 2017/12/25 17:56, Yunlong Song wrote: > In this case, f2fs_gc will skip all the victims and return with no dead loop. > The atomic file will > use SSR to OPU, it‘s OK. Nope, SSR trigger condition is limited, don't rely on it. Thanks, > > On 2017/12/25 17:45, Chao Yu wrote: >> On 2017/12/25

[PATCH 1/5] ARM: dts: exynos: Add SPDX license identifier

2017-12-25 Thread Krzysztof Kozlowski
Replace GPL v2.0 license with a SPDX license indentifier. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250-artik5-eval.dts | 5 + arch/arm/boot/dts/exynos3250-artik5.dtsi | 5 + arch/arm/boot/dts/exynos3250-monk.dts | 5 + arch/arm/boot

[PATCH 4/5] ARM: dts: s5pv210: Add SPDX license identifier

2017-12-25 Thread Krzysztof Kozlowski
Replace GPL v2.0 license with a SPDX license indentifier. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s5pv210-aquila.dts | 5 + arch/arm/boot/dts/s5pv210-goni.dts | 5 + arch/arm/boot/dts/s5pv210-pinctrl.dtsi | 5 + arch/arm/boot/dts/s5pv210-smdkc110.dts | 5 +

[PATCH 2/5] ARM: dts: s3c24xx: Add SPDX license identifier

2017-12-25 Thread Krzysztof Kozlowski
Replace GPL v2.0 license with a SPDX license indentifier. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s3c2416-pinctrl.dtsi | 5 + arch/arm/boot/dts/s3c2416-smdk2416.dts | 5 + arch/arm/boot/dts/s3c2416.dtsi | 5 + arch/arm/boot/dts/s3c24xx.dtsi | 5 +

[PATCH 3/5] ARM: dts: s3c64xx: Add SPDX license identifier

2017-12-25 Thread Krzysztof Kozlowski
Replace GPL v2.0 license with a SPDX license indentifier. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s3c6400.dtsi | 7 ++- arch/arm/boot/dts/s3c6410-mini6410.dts | 7 ++- arch/arm/boot/dts/s3c6410-smdk6410.dts | 7 ++- arch/arm/boot/dts/s3c6410.dtsi | 7

[PATCH 5/5] arm64: dts: exynos: Add SPDX license identifier

2017-12-25 Thread Krzysztof Kozlowski
Replace GPL v2.0 license with a SPDX license indentifier. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433-bus.dtsi | 5 + arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi | 5 + arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dt

[PATCH] rtc: Fix overflow when converting time64_t to rtc_time

2017-12-25 Thread Baolin Wang
If we convert one large time values to rtc_time, in the original formula 'days * 86400' can be overflowed in 'unsigned int' type to make the formula get one incorrect remain seconds value. Thus we can use div_s64_rem() function to avoid this situation. Signed-off-by: Baolin Wang --- drivers/rtc/

[PATCH v4 0/2] fs: fat: add ioctl to modify fat filesystem partion volume label

2017-12-25 Thread ChenGuanqiao
The FAT filesystem partition volume label can be read with FAT_IOCTL_GET_VOLUME_LABEL and written with FAT_IOCTL_SET_VOLUME_LABEL. FAT volume label(volume name) is exactly same stored in boot sector and data region (FAT32), root directory (FAT12, FAT16). Thus, the boot sector just needs to be upgr

[PATCH v4 2/2] fs: fat: add ioctl method in fat filesystem driver

2017-12-25 Thread ChenGuanqiao
Signed-off-by: ChenGuanqiao --- fs/fat/file.c | 133 ++ 1 file changed, 133 insertions(+) diff --git a/fs/fat/file.c b/fs/fat/file.c index 4724cc9ad650..238c8e298930 100644 --- a/fs/fat/file.c +++ b/fs/fat/file.c @@ -15,11 +15,23 @@ #inclu

[PATCH v4 1/2] fs: fat: Add fat filesystem partition volume label in local structure

2017-12-25 Thread ChenGuanqiao
Signedat-off-by: ChenGuanqiao --- fs/fat/fat.h | 1 + fs/fat/inode.c| 15 --- include/uapi/linux/msdos_fs.h | 2 ++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/fs/fat/fat.h b/fs/fat/fat.h index 051dac1ce3be..c49ed0223bd8 100644 --

[RFC PATCH v11 1/5] dt-bindings: PCI: Add definition of PCIe WAKE# irq and PCI irq

2017-12-25 Thread Jeffy Chen
We are going to handle PCIe WAKE# pin for PCI devices in the pci core, so add definitions of the optional PCIe WAKE# pin for PCI devices. Also add an definition of the optional PCI interrupt pin for PCI devices to distinguish it from the PCIe WAKE# pin. Signed-off-by: Jeffy Chen --- Changes in

[RFC PATCH v11 2/5] of/irq: Adjust of_pci_irq parsing for multiple interrupts

2017-12-25 Thread Jeffy Chen
Currently we are considering the first irq as the PCI interrupt pin, but a PCI device may have multiple interrupts(e.g. PCIe WAKE# pin). Only parse the PCI interrupt pin when the irq is unnamed or named as "pci". Signed-off-by: Jeffy Chen --- Changes in v11: Address Brian's comments. Changes i

[RFC PATCH v11 4/5] PCI / PM: Add support for the PCIe WAKE# signal for OF

2017-12-25 Thread Jeffy Chen
Add of_pci_setup_wake_irq() and of_pci_teardown_wake_irq() to handle the PCIe WAKE# interrupt. Also use the dedicated wakeirq infrastructure to simplify it. Signed-off-by: Jeffy Chen --- Changes in v11: Only support 1-per-device PCIe WAKE# pin as suggested. Changes in v10: Use device_set_wakeu

[RFC PATCH v11 5/5] arm64: dts: rockchip: Move PCIe WAKE# irq to pcie port for Gru

2017-12-25 Thread Jeffy Chen
Currently we are handling PCIe WAKE# irq in mrvl wifi driver. Move it to rockchip pcie port since we are going to handle it in the pci core. Also avoid this irq been considered as the PCI interrupt pin in the of_irq_parse_pci(). Signed-off-by: Jeffy Chen --- Changes in v11: Move to pcie port a

[PATCH kernel-tests] ignore compiler errors

2017-12-25 Thread Fengguang Wu
This looks more like some odd compiler regression than a kernel one. Linus The original report is: To: Linus Torvalds Cc: LKML Subject: [linus:master] BUILD REGRESSION d1f854ac240ea3928a99294390048e9b2aa6fa0e tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tor

[patch v15 0/4] JTAG driver introduction

2017-12-25 Thread Oleksandr Shamray
When a need raise up to use JTAG interface for system's devices programming or CPU debugging, usually the user layer application implements jtag protocol by bit-bang or using a proprietary connection to vendor hardware. This method can be slow and not generic. We propose to implement general JTA

[patch v15 3/4] Documentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2017-12-25 Thread Oleksandr Shamray
It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Oleksandr Shamray Signed-off-by: Jiri Pirko Acked-by: Rob Herring --- v14->v15 v13->v14 v12->v13 v11->v12 v10->v11 v9->v10 v8->v9 v7->v8 Comments pointed by pointed by Joel

[patch v15 4/4] Documentation: jtag: Add ABI documentation

2017-12-25 Thread Oleksandr Shamray
Added document that describe the ABI for JTAG class drivrer Signed-off-by: Oleksandr Shamray Acked-by: Arnd Bergmann --- v14->v15 v13->v14 v12->v13 v11->v12 Tobias Klauser - rename /Documentation/ABI/testing/jatg-dev -> jtag-dev - Typo: s/interfase/interface v10->v11 v9->v10 Fixes added by Olek

[patch v15 2/4] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2017-12-25 Thread Oleksandr Shamray
Driver adds support of Aspeed 2500/2400 series SOC JTAG master controller. Driver implements the following jtag ops: - freq_get; - freq_set; - status_get; - idle; - xfer; It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Ole

[patch v15 1/4] drivers: jtag: Add JTAG core driver

2017-12-25 Thread Oleksandr Shamray
Initial patch for JTAG driver JTAG class driver provide infrastructure to support hardware/software JTAG platform drivers. It provide user layer API interface for flashing and debugging external devices which equipped with JTAG interface using standard transactions. Driver exposes set of IOCTL to

Re: [linus:master] BUILD REGRESSION d1f854ac240ea3928a99294390048e9b2aa6fa0e

2017-12-25 Thread Fengguang Wu
On Sat, Dec 23, 2017 at 07:33:37PM -0800, Linus Torvalds wrote: On Sat, Dec 23, 2017 at 4:28 PM, kbuild test robot wrote: Regressions in current branch: This looks more like some odd compiler regression than a kernel one. Yeah sorry. We probably should avoid reporting them here. I'll teach

[RFC PATCH v11 3/5] mwifiex: Disable wakeup irq handling for pcie

2017-12-25 Thread Jeffy Chen
We are going to handle the wakeup irq in the pci core. Signed-off-by: Jeffy Chen --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v3: None Changes in v2: None drivers/net/wireless/marvel

[RFC PATCH v11 0/5] PCI: rockchip: Move PCIe WAKE# handling into pci core

2017-12-25 Thread Jeffy Chen
Currently we are handling wake irq in mrvl wifi driver. Move it into pci core. Tested on my chromebook bob(with cros 4.4 kernel and mrvl wifi). Changes in v11: Only add irq definitions for PCI devices and rewrite the commit message. Address Brian's comments. Only support 1-per-device PCIe WAKE#

[PATCH] platform/x86: silead_dmi: Add entry for the Trekstor Primebook C13

2017-12-25 Thread Hans de Goede
Add touchscreen platform data for the Trekstor Primebook C13 laptop. Signed-off-by: Hans de Goede --- drivers/platform/x86/silead_dmi.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c index 09b589

[PATCH 0/1] platform/x86: silead_dmi: Add entry for the Trekstor Primebook C13

2017-12-25 Thread Hans de Goede
Hi All, Note this applies on top of the silead_dmi patches already queued on Andy's review-andy branch. Regards, Hans

Re: [PATCH 11/11] ARM: pxa: constify gpio_led

2017-12-25 Thread arvindY
Hi, Sorry for trouble, I will send updated patch. On Sunday 24 December 2017 11:24 PM, kbuild test robot wrote: Hi Arvind, Thank you for the patch! Yet something to improve: [auto build test ERROR on arm-soc/for-next] [also build test ERROR on v4.15-rc5 next-20171222] [if your patch is applie

[PATCH 0/2] Pinctrl-single: Adjustments for two function implementations

2017-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 25 Dec 2017 14:01:23 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation in pcs_probe() Delete an unnecessary return statement in pcs_irq_chain_handle

[PATCH 1/2] pinctrl: single: Delete an error message for a failed memory allocation in pcs_probe()

2017-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 25 Dec 2017 11:27:55 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/pinctrl/pinctrl-single.c | 5 ++--- 1 file changed, 2 insertio

Re: [PATCH 00/11] constify gpio_led

2017-12-25 Thread arvindY
Hi Ressell, On Saturday 23 December 2017 03:43 PM, Russell King - ARM Linux wrote: On Wed, Dec 20, 2017 at 02:17:41PM +0530, Arvind Yadav wrote: gpio_led are not supposed to change at runtime. struct gpio_led_platform_data working with const gpio_led provided by . So mark the non-const structs

[PATCH 2/2] pinctrl: single: Delete an unnecessary return statement in pcs_irq_chain_handler()

2017-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 25 Dec 2017 11:35:44 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function. Signed-off-by: Markus Elfring --- drivers

Re: [PATCH v2] x86/microcode/intel: Blacklist the specific BDW-EP for late loading

2017-12-25 Thread Borislav Petkov
+ Tony. On Mon, Dec 25, 2017 at 03:49:29PM +0800, Jia Zhang wrote: > Instead of blacklisting all Broadwell processorsi for running a late > loading, only BDW-EP (signature 406f1) with the microcode version > less than 0x0b21 needs to be blacklisted. > > This is documented in the the public do

Re: [PATCH 4.4 00/78] 4.4.108-stable review

2017-12-25 Thread Greg Kroah-Hartman
On Sun, Dec 24, 2017 at 08:52:43AM -0800, Guenter Roeck wrote: > On 12/23/2017 11:43 PM, Greg Kroah-Hartman wrote: > > On Sat, Dec 23, 2017 at 05:30:42PM -0800, Guenter Roeck wrote: > > > On 12/22/2017 12:45 AM, Greg Kroah-Hartman wrote: > > > > This is the start of the stable review cycle for the

Re: [PATCH 4.14 000/159] 4.14.9-stable review

2017-12-25 Thread Greg Kroah-Hartman
On Sat, Dec 23, 2017 at 02:54:35PM -0800, Guenter Roeck wrote: > On 12/22/2017 12:44 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.9 release. > > There are 159 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.9 000/104] 4.9.72-stable review

2017-12-25 Thread Greg Kroah-Hartman
On Sat, Dec 23, 2017 at 02:55:20PM -0800, Guenter Roeck wrote: > On 12/22/2017 12:45 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.72 release. > > There are 104 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.14 000/159] 4.14.9-stable review

2017-12-25 Thread Greg Kroah-Hartman
On Sun, Dec 24, 2017 at 07:37:23PM +, Ivan Kozik wrote: > On Fri, Dec 22, 2017 at 8:44 AM, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.14.9 release. > > There are 159 patches in this series, all will be posted as a response > > to this one. If anyone

Linux 3.18.90

2017-12-25 Thread Greg KH
I'm announcing the release of the 3.18.90 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.108

2017-12-25 Thread Greg KH
I'm announcing the release of the 4.4.108 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.18.90

2017-12-25 Thread Greg KH
diff --git a/Makefile b/Makefile index f959c14c92bf..abbfbbb7a029 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 89 +SUBLEVEL = 90 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evms

Linux 4.9.72

2017-12-25 Thread Greg KH
I'm announcing the release of the 4.9.72 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.72

2017-12-25 Thread Greg KH
diff --git a/Makefile b/Makefile index 5f2736bb4877..78dde51d9d74 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 71 +SUBLEVEL = 72 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evms

Re: Linux 4.4.108

2017-12-25 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 7c77d7edb851..5d593ecadb90 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -2519,6 +2519,8 @@ bytes respectively. Such letter suffixes can also be entirely om

Linux 4.14.9

2017-12-25 Thread Greg KH
I'm announcing the release of the 4.14.9 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] iio: adc: add driver for ti adc081s/adc101s/adc121s

2017-12-25 Thread Philippe Ombredanne
On Sun, Dec 24, 2017 at 8:02 PM, Milan Stevanovic wrote: > On 12/23/2017 03:13 PM, Philippe Ombredanne wrote: >> >> Milan, >> >> On Sat, Dec 23, 2017 at 12:19 AM, Milan Stevanovic >> wrote: >>> >>> Signed-off-by: Milan Stevanovic >> >> >> >> May be it is just me, but you may be missing a commit

Re: [PATCH v3] ARM: sun8i: h2+: add support for Banana Pi M2 Zero board

2017-12-25 Thread Philippe Ombredanne
On Sun, Dec 24, 2017 at 6:40 AM, Icenowy Zheng wrote: > Banana Pi M2 Zero board is a H2+-based board by Sinovoip, with a form > factor and GPIO holes similar to Raspberry Pi Zero. > > It features: > - Allwinner H2+ SoC > - Single-chip (16-bit) 512MiB DDR3 DRAM > - Ampak AP6212 Wi-Fi/Bluetooth modu

Re: [PATCH 2/2] clk: mediatek: add audsys for MT2701 SoC

2017-12-25 Thread Philippe Ombredanne
On Mon, Dec 25, 2017 at 9:27 AM, Ryder Lee wrote: > Add clock driver support for MT2701 audio subsystem. > > Signed-off-by: Ryder Lee > --- > drivers/clk/mediatek/Kconfig | 6 + > drivers/clk/mediatek/Makefile | 1 + > drivers/clk/mediatek/clk-mt2701-aud.c | 204 > +

RE: [PATCH] ASoC: max98373: Added Amplifier Driver

2017-12-25 Thread Ryan Lee
Hi Kuninori Miromoto, >-Original Message- >From: Kuninori Morimoto [mailto:kuninori.morimoto...@renesas.com] >Sent: Thursday, December 21, 2017 6:24 PM >To: Ryan Lee >Cc: lgirdw...@gmail.com; broo...@kernel.org; robh...@kernel.org; >mark.rutl...@arm.com; pe...@perex.cz; ti...@suse.com; a.

RE: [PATCH] ASoC: max98373: Added Amplifier Driver

2017-12-25 Thread Ryan Lee
Hi Philppe Ombredanne, >-Original Message- >From: Philippe Ombredanne [mailto:pombreda...@nexb.com] >Sent: Friday, December 22, 2017 12:39 AM >To: Ryan Lee >Cc: Liam Girdwood ; Mark ; >Rob Herring ; Mark Rutland ; >Jaroslav Kysela ; Takashi Iwai ; Arnd >Bergmann ; a...@ti.com; robert.jarz

Re: [PATCH v2] x86/microcode/intel: Blacklist the specific BDW-EP for late loading

2017-12-25 Thread Jia Zhang
在 2017/12/25 下午9:34, Borislav Petkov 写道: > + Tony. > > On Mon, Dec 25, 2017 at 03:49:29PM +0800, Jia Zhang wrote: >> Instead of blacklisting all Broadwell processorsi for running a late >> loading, only BDW-EP (signature 406f1) with the microcode version >> less than 0x0b21 needs to be black

Temperature limitation heat pipes, to solve the overheating solar system

2017-12-25 Thread Mr.David
Hello, How are you? We would like to work together with all the customers in the world to conquer the tough market, high quality solar system with best price, for example, 30 tubes heat pipe collector,usd268/set. Welcome to our manufacturer in China. PS: 2017 new price list, please check it. S

Re: PROBLEM: consolidated IDT invalidation causes kexec to reboot

2017-12-25 Thread Andy Lutomirski
On Sat, Dec 23, 2017 at 7:30 PM, Linus Torvalds wrote: > On Sat, Dec 23, 2017 at 5:44 PM, Alexandru Chirvasitu > wrote: >> >> For testing purposes, I've altered machine_kexec_32.c making the >> following toy commit. It naively undoes part of e802a51, solely to >> confirm that's where it goes awry

[PATCH] vboxvideo: Fix incorrect type in assignment sparse warning

2017-12-25 Thread Alexander Kapshuk
Sparse emitted the following warning: ../drivers/staging/vboxvideo/vbox_fb.c:173:27: warning: incorrect type in assignment (different address spaces) ../drivers/staging/vboxvideo/vbox_fb.c:173:27:expected char [noderef] *screen_base ../drivers/staging/vboxvideo/vbox_fb.c:173:27:got void *

Re: [PATCH v2] gpio: winbond: add driver

2017-12-25 Thread Maciej S. Szmigiero
On 24.12.2017 23:42, William Breathitt Gray wrote: (..) > By the way, don't hesitate to ask for more information on the ISA > subsystem -- a lot of maintainers are unaware that it even exists since > so few devices nowadays use ISA-style communication -- but I'm always > happy to help. :) It turns

Re: [PATCH v20 4/7] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-12-25 Thread Tetsuo Handa
Wei Wang wrote: > @@ -173,8 +292,15 @@ static unsigned fill_balloon(struct > virtio_balloon *vb, size_t num) > while ((page = balloon_page_pop(&pages))) { > balloon_page_enqueue(&vb->vb_dev_info, page); > +if (use_sg) { > +if (xb_

Re: [PATCH v2] x86/microcode/intel: Blacklist the specific BDW-EP for late loading

2017-12-25 Thread Borislav Petkov
On Mon, Dec 25, 2017 at 10:31:00PM +0800, Jia Zhang wrote: > I used the interface /sys/devices/system/cpu/microcode/reload, not > /dev/cpu/microcode. > > Sound like using c->microcode is already enough. > So I'm not sure why calling collect_cpu_info() is necessary for the > old method. c->microco

[PATCH] pwm: mediatek: fix up PWM4 and PWM5 malfunction on MT7623

2017-12-25 Thread sean.wang
From: Sean Wang Since the offset for both registers, PWMDWIDTH and PWMTHRES, used to control PWM4 or PWM5 are distinct from the other PWMs, whose wrong programming on PWM hardware causes waveform cannot be output as expected. Thus, the patch adds the extra condition for fixing up the weird case t

[PATCH] x86/alternatives: fixup alternative_call_2

2017-12-25 Thread Alexey Dobriyan
The following pattern fails to compile while the same pattern with alternative_call() does. if (...) alternative_call_2(...); else alternative_call_2(...); Signed-off-by: Alexey Dobriyan --- arch/x86/include/asm/alternative.h |4 +--- 1 file

[v2] ASoC: max98373: Added Amplifier Driver

2017-12-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v1: * Removed 'codec' from 'max98373_priv' structure : Now 'max98373_set_clock' function use 'dai->codec.dev' instead of using 'max98373->codec.dev'. * Removed 'max98373_dai_set_sysclk' function : This func

RE: [PATCH v11 0/3] MIPS: Add virtual Ranchu board as a generic-based board

2017-12-25 Thread Aleksandar Markovic
ping From: Aleksandar Markovic [aleksandar.marko...@rt-rk.com] Sent: Friday, December 15, 2017 5:48 PM To: linux-m...@linux-mips.org Cc: Aleksandar Markovic; David S. Miller; Douglas Leung; Goran Ferenc; Greg Kroah-Hartman; James Hogan; linux-kernel@vger.ke

[PATCH] MAINTAINERS: mark arch/blackfin/ and its gubbins as orphaned

2017-12-25 Thread Adam Borowski
The blackfin architecture has seen no maintainer action of any kind since April 2015. No new code, no pull requests, no acks to patches, no response to mails, nothing. The web site has an expired certificate (expiration Sep 2017, issued in 2013), the mailing list sees no answers either, with one

[PATCH v6 2/4] i2c-smbus : Add client discovered ARA support

2017-12-25 Thread Marc CAPDEVILLE
This is from rfc by Alan Cox : https://patchwork.ozlabs.org/patch/381773 The idea is as follows (extract from above rfc) : - If an adapter knows about its ARA and smbus alerts then the adapter creates its own interrupt handler as before - If a client knows it needs smbus alerts it calls i2c_r

[PATCH v6 4/4] iio : cm32181 : cosmetic cleanup

2017-12-25 Thread Marc CAPDEVILLE
Somme cosmetic cleanup suggested by Peter Meerwald-Stadler. Macro name : MLUX_PER_LUX => CM32181_MLUX_PER_LUX Constante name : als_it_bits => cm32181_als_it_bits als_it_value => cm32181_als_it_value Comment : Registers Address => Register Addresses Suggested-by: Peter Meerwald-Stad

[PATCH v6 1/4] i2c-core-acpi : Add i2c_acpi_set_connection

2017-12-25 Thread Marc CAPDEVILLE
Add a methode to allow clients to change their connection address on same adapter. On ACPI enumerated device, when a device support smbus alert protocol, there are two acpi serial bus connection description. The order in which connection is given is not well defined and devices may be enumerated w

[PATCH v6 3/4] iio : Add cm3218 smbus ara and acpi support

2017-12-25 Thread Marc CAPDEVILLE
On asus T100, Capella cm3218 chip is implemented as ambiant light sensor. This chip expose an smbus ARA protocol device on standard address 0x0c. The chip is not functional before all alerts are acknowledged. On asus T100, this device is enumerated on ACPI bus and the description give two I2C conne

  1   2   3   >