Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-07-19 Thread Michal Hocko
On Wed 19-07-17 15:20:14, Andrew Morton wrote: > On Mon, 10 Jul 2017 09:48:42 +0200 Michal Hocko wrote: > > > From: Michal Hocko > > > > Tetsuo Handa has reported [1][2][3]that direct reclaimers might get stuck > > in too_many_isolated loop basically for ever because the last few pages > > on t

Re: [PATCH 6/9] mm, page_alloc: simplify zonelist initialization

2017-07-19 Thread Vlastimil Babka
On 07/14/2017 10:00 AM, Michal Hocko wrote: > From: Michal Hocko > > build_zonelists gradually builds zonelists from the nearest to the most > distant node. As we do not know how many populated zones we will have in > each node we rely on the _zoneref to terminate initialized part of the > zoneli

[PATCH net] net: ethernet: mediatek: avoid potential invalid memory access

2017-07-19 Thread sean.wang
From: Sean Wang Potential dangerous invalid memory might be accessed if invalid mac value reflected from the forward port field in rxd4 caused by possible potential hardware defects. So added a simple sanity checker to avoid the kind of situation happening. Signed-off-by: Sean Wang --- drivers

Re: [PATCH V4 0/4]: spmi: pmic-arb: support for V5 HW and bug fixes

2017-07-19 Thread kgunda
On 2017-07-19 03:47, Stephen Boyd wrote: On 07/18, Kiran Gunda wrote: v4: * spmi: pmic-arb: add support for HW version 5 Clean-up as per Stephen's comments v3: * spmi: pmic-arb: add support for HW version 5 Modified #define INVALID (-1) to #define INVALID_EE0xFF.

Re: [PATCH 2/4] gpio: davinci: Handle the return value of davinci_gpio_irq_setup function

2017-07-19 Thread Keerthy
On Wednesday 19 July 2017 04:40 PM, Johan Hovold wrote: > On Tue, Jul 18, 2017 at 04:27:14PM +0530, Keerthy wrote: >> Currently davinci_gpio_irq_setup return value is ignored. Handle the >> return value appropriately. >> >> Signed-off-by: Keerthy >> --- >> drivers/gpio/gpio-davinci.c | 18 +

Re: [PATCH V3 2/5] spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other code cleanup

2017-07-19 Thread kgunda
On 2017-07-19 04:16, Stephen Boyd wrote: On 07/18, Kiran Gunda wrote: This patch cleans up the following. - Rename the "pa" to "pmic_arb". - Rename the spmi_pmic_arb *dev to spmi_pmic_arb *pmic_arb. - Rename the pa_{read,write}_data() functions to pmic_arb_{read,write}_data(). - Rename channe

Re: [RFC v6 27/62] powerpc: helper to validate key-access permissions of a pte

2017-07-19 Thread Aneesh Kumar K.V
Ram Pai writes: > helper function that checks if the read/write/execute is allowed > on the pte. > > Signed-off-by: Ram Pai > --- > arch/powerpc/include/asm/book3s/64/pgtable.h |4 +++ > arch/powerpc/include/asm/pkeys.h | 12 + > arch/powerpc/mm/pkeys.c

Re: Kernel error messages: leds fujitsu::radio_led: Setting an LED's brightness failed

2017-07-19 Thread Michał Kępień
> Hello, Hi! Thank you for the report and sorry about the delay, but I have been at a conference for the past week, having way less spare time than I wish I had. > I found your mail address in https://patchwork.kernel.org/patch/8598801/ > and it seems you are somehow involved in the improvement

Re: [PATCH] zsmalloc: zs_page_migrate: not check inuse if migrate_mode is not MIGRATE_ASYNC

2017-07-19 Thread Hui Zhu
Hi Minchan, I am sorry for answer late. I spent some time on ubuntu 16.04 with mmtests in an old laptop. 2017-07-17 13:39 GMT+08:00 Minchan Kim : > Hello Hui, > > On Fri, Jul 14, 2017 at 03:51:07PM +0800, Hui Zhu wrote: >> Got some -EBUSY from zs_page_migrate that will make migration >> slow (ret

Re: [PATCH v3 1/4] mfd: cros_ec: Get rid of cros_ec_check_features from cros_ec_dev.

2017-07-19 Thread Enric Balletbo Serra
Lee, 2017-07-18 11:19 GMT+02:00 Lee Jones : > On Mon, 17 Jul 2017, Enric Balletbo Serra wrote: > >> Hi Gwendal, >> >> 2017-07-13 22:33 GMT+02:00 Gwendal Grignou : >> > On Wed, Jul 12, 2017 at 3:13 AM, Enric Balletbo i Serra >> > wrote: >> >> The cros_ec_dev driver should be used only to expose th

Re: [RFC v6 26/62] powerpc: Program HPTE key protection bits

2017-07-19 Thread Aneesh Kumar K.V
Ram Pai writes: > Map the PTE protection key bits to the HPTE key protection bits, > while creating HPTE entries. > Reviewed-by: Aneesh Kumar K.V > Signed-off-by: Ram Pai > --- > arch/powerpc/include/asm/book3s/64/mmu-hash.h |5 + > arch/powerpc/include/asm/pkeys.h | 1

Re: [PATCH 7/9] mm, page_alloc: remove stop_machine from build_all_zonelists

2017-07-19 Thread Vlastimil Babka
On 07/14/2017 01:45 PM, Michal Hocko wrote: > On Fri 14-07-17 13:43:21, Michal Hocko wrote: >> On Fri 14-07-17 13:29:14, Vlastimil Babka wrote: >>> On 07/14/2017 10:00 AM, Michal Hocko wrote: From: Michal Hocko build_all_zonelists has been (ab)using stop_machine to make sure that >>

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-19 Thread Boqun Feng
On Wed, Jul 19, 2017 at 10:47:04PM -0700, Paul E. McKenney wrote: [...] > > Hi Paul, > > > > I know the compiler could optimize atomics in very interesting ways, but > > this case is about volatile, so I guess our case is still fine? ;-) > > Hello, Boqun, > > When I asked that question, the answ

Re: [PATCH 5/9] mm, memory_hotplug: remove explicit build_all_zonelists from try_online_node

2017-07-19 Thread Vlastimil Babka
On 07/14/2017 10:00 AM, Michal Hocko wrote: > From: Michal Hocko > > try_online_node calls hotadd_new_pgdat which already calls > build_all_zonelists. So the additional call is redundant. Even though > hotadd_new_pgdat will only initialize zonelists of the new node this is > the right thing to d

Re: [RFC v6 11/62] powerpc: initial pkey plumbing

2017-07-19 Thread Aneesh Kumar K.V
Ram Pai writes: > basic setup to initialize the pkey system. Only 64K kernel in HPT > mode, enables the pkey system. > > Signed-off-by: Ram Pai > --- > arch/powerpc/Kconfig | 16 ++ > arch/powerpc/include/asm/mmu_context.h |5 +++ > arch/powerpc/include/asm/pkeys

Re: [PATCH] drm/i915: Synchronize connectors states when switching from poll to irq

2017-07-19 Thread Manasi Navare
On Tue, Jul 18, 2017 at 03:11:42PM +0300, Paul Kocialkowski wrote: > On Mon, 2017-06-26 at 15:32 +0300, Paul Kocialkowski wrote: > > After detecting an IRQ storm, hotplug detection will switch from > > irq-based detection to poll-based detection. After a short delay or > > when resetting storm dete

Re: [RFC v6 07/62] powerpc: use helper functions in __hash_page_huge() for 64K PTE

2017-07-19 Thread Aneesh Kumar K.V
Ram Pai writes: > replace redundant code in __hash_page_huge() with helper > functions pte_get_hash_gslot() and pte_set_hash_slot() > Can you fold all the helper function usage into one patch ? > Signed-off-by: Ram Pai > --- > arch/powerpc/mm/hugetlbpage-hash64.c | 24 -

Re: [RFC v6 06/62] powerpc: use helper functions in __hash_page_64K() for 64K PTE

2017-07-19 Thread Aneesh Kumar K.V
Ram Pai writes: > replace redundant code in __hash_page_64K() with helper > functions pte_get_hash_gslot() and pte_set_hash_slot() > Reviewed-by: Aneesh Kumar K.V > Signed-off-by: Ram Pai > --- > arch/powerpc/mm/hash64_64k.c | 24 > 1 files changed, 4 insertions(+

[PATCH v4 3/4] perf utils: Add helper function is_pmu_core to detect PMU CORE devices

2017-07-19 Thread Ganapatrao Kulkarni
On some platforms, PMU core devices sysfs name is not cpu. Adding function is_pmu_core to detect as core device using core device specific hints in sysfs. For arm64 platforms, all core devices have file "cpus" in sysfs. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/util/pmu.c | 44 +

[PATCH v4 1/4] perf utils: passing pmu as a parameter to function get_cpuid_str

2017-07-19 Thread Ganapatrao Kulkarni
cpuid string will not be same on all CPUs on heterogeneous platforms like ARM's big.LITTLE, adding provision(using pmu->cpus) to find cpuid string from associated CPUs of PMU CORE device. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/arch/powerpc/util/header.c | 2 +- tools/perf/arch/x86/uti

Re: [RFC v6 03/62] powerpc: introduce pte_set_hash_slot() helper

2017-07-19 Thread Aneesh Kumar K.V
Ram Pai writes: > Introduce pte_set_hash_slot().It sets the (H_PAGE_F_SECOND|H_PAGE_F_GIX) > bits at the appropriate location in the PTE of 4K PTE. For > 64K PTE, it sets the bits in the second part of the PTE. Though > the implementation for the former just needs the s

[PATCH v4 4/4] perf vendor events arm64: Add ThunderX2 implementation defined pmu core events

2017-07-19 Thread Ganapatrao Kulkarni
This is not a full event list, but a short list of useful events. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/pmu-events/arch/arm64/mapfile.csv | 15 ++ .../arm64/thunderx2/implementation-defined.json| 62 ++ 2 files changed, 77 insertions(+) create mode

Re: [RFC v6 04/62] powerpc: introduce pte_get_hash_gslot() helper

2017-07-19 Thread Aneesh Kumar K.V
Ram Pai writes: > Introduce pte_get_hash_gslot()() which returns the slot number of the > HPTE in the global hash table. > > This function will come in handy as we work towards re-arranging the > PTE bits in the later patches. > Reviewed-by: Aneesh Kumar K.V > Signed-off-by: Ram Pai > --- >

[PATCH v4 2/4] perf tools arm64: Add support for get_cpuid_str function.

2017-07-19 Thread Ganapatrao Kulkarni
function get_cpuid_str returns MIDR string of the first online cpu from the range of cpus associated with the pmu core device. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/arch/arm64/util/Build| 1 + tools/perf/arch/arm64/util/header.c | 59 + 2 file

[PATCH v4 0/4] Add support for ThunderX2 pmu events using json files

2017-07-19 Thread Ganapatrao Kulkarni
Extending json/jevent framework for parsing arm64 event files. Adding jevents for ThunderX2 implementation defined PMU events. v4: - Rebased to 4.13-rc1 v3: - Addressed comments from Will Deacon and Jayachandran C. - Rebased to 4.12-rc1 v2: - Updated as per Mark Rutland's suggestions

Re: [RFC v6 05/62] powerpc: capture the PTE format changes in the dump pte report

2017-07-19 Thread Aneesh Kumar K.V
Ram Pai writes: > The H_PAGE_F_SECOND,H_PAGE_F_GIX are not in the 64K main-PTE. > capture these changes in the dump pte report. > Reviewed-by: Aneesh Kumar K.V > Signed-off-by: Ram Pai > --- > arch/powerpc/mm/dump_linuxpagetables.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(

Re: [RFC v6 02/62] powerpc: Free up four 64K PTE bits in 64K backed HPTE pages

2017-07-19 Thread Aneesh Kumar K.V
Ram Pai writes: > Rearrange 64K PTE bits to free up bits 3, 4, 5 and 6 > in the 64K backed HPTE pages. This along with the earlier > patch will entirely free up the four bits from 64K PTE. > The bit numbers are big-endian as defined in the ISA3.0 > > This patch does the following chan

Re: [RFC v6 01/62] powerpc: Free up four 64K PTE bits in 4K backed HPTE pages

2017-07-19 Thread Aneesh Kumar K.V
. > /* > @@ -116,8 +104,8 @@ int __hash_page_4K(unsigned long ea, unsigned long > access, unsigned long vsid, >* On hash insert failure we use old pte value and we don't >* want slot information there if we have a insert failure. >*/ > -

[PATCH] staging: fsl-mc: fix resource_size.cocci warnings

2017-07-19 Thread Julia Lawall
Use resource_size function on resource object instead of explicit computation. Generated by: scripts/coccinelle/api/resource_size.cocci Fixes: a037b7ec2eb7 ("staging: fsl-mc: allow the driver compile multi-arch") CC: Laurentiu Tudor Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu ---

Re: [PATCH] net: tehuti: don't process data if it has not been copied from userspace

2017-07-19 Thread David Miller
From: Colin King Date: Wed, 19 Jul 2017 18:46:59 +0100 > From: Colin Ian King > > The array data is only populated with valid information from userspace > if cmd != SIOCDEVPRIVATE, other cases the array contains garbage on > the stack. The subsequent switch statement acts on a subcommand in > d

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-19 Thread Paul E. McKenney
On Thu, Jul 20, 2017 at 09:31:41AM +0800, Boqun Feng wrote: > On Wed, Jul 19, 2017 at 02:56:02PM -0700, Paul E. McKenney wrote: > > On Thu, Jul 20, 2017 at 06:33:26AM +0900, Akira Yokosawa wrote: > > > On 2017/07/20 2:43, Paul E. McKenney wrote: > > > > On Mon, Jul 17, 2017 at 05:24:42PM +0900, Aki

[PATCH] xhci: fix memleak in xhci_run()

2017-07-19 Thread shuwang
From: Shu Wang Found this issue by kmemleak. xhci_run() did not check return val and free command for xhci_queue_vendor_command() unreferenced object 0x88011c0be500 (size 64): comm "kworker/0:1", pid 58, jiffies 4294670908 (age 50.420s) hex dump (first 32 bytes): backtrace: [] kmem

[PATCH v3 3/8] phy: qcom-qmp: Fix phy pipe clock name

2017-07-19 Thread Varadarajan Narayanan
Presently, the phy pipe clock's name is assumed to be either usb3_phy_pipe_clk_src or pcie_XX_pipe_clk_src (where XX is the phy lane's number). However, this will not work if an SoC has more than one instance of the phy. Hence, instead of assuming the name of the clock, fetch it from the DT. Acked

[PATCH v3 5/8] phy: qcom-qmp: Add support for IPQ8074

2017-07-19 Thread Varadarajan Narayanan
Add definitions required to enable QMP phy support for IPQ8074. Signed-off-by: smuthayy Signed-off-by: Varadarajan Narayanan --- drivers/phy/qualcomm/phy-qcom-qmp.c | 135 1 file changed, 135 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b

[PATCH v3 0/8] Add support for IPQ8074 PCIe phy and controller

2017-07-19 Thread Varadarajan Narayanan
v3: PCI: dwc: qcom: Add support for IPQ8074 PCIe controller Incoporate Stan's feedback:- - Add SoC Wrapper and Synopsys Core IP versions v2: dt-bindings: phy: qmp: Add output-clock-names Added Rob H's Ack dt-bindings: phy: qmp: Add support for QMP phy in IPQ8074

[PATCH v3 6/8] PCI: dwc: qcom: Use block IP version for operations

2017-07-19 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 124 ++-- 1 file c

[PATCH v3 1/8] dt-bindings: phy: qmp: Add output-clock-names

2017-07-19 Thread Varadarajan Narayanan
The phy outputs a clock that will act as the parent for the phy's pipe clock. Add the name of this clock to the lane's DT node. Acked-by: Rob Herring Signed-off-by: Varadarajan Narayanan --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 3 +++ 1 file changed, 3 insertions(+) diff --

Re: [kernel-hardening] Re: [RFC PATCH 6/6] arm64: add VMAP_STACK and detect out-of-bounds SP

2017-07-19 Thread Ard Biesheuvel
On 20 July 2017 at 00:32, Laura Abbott wrote: > On 07/19/2017 01:08 AM, Ard Biesheuvel wrote: >> On 18 July 2017 at 22:53, Laura Abbott wrote: >>> On 07/15/2017 05:03 PM, Ard Biesheuvel wrote: On 14 July 2017 at 22:27, Mark Rutland wrote: > On Fri, Jul 14, 2017 at 03:06:06PM +0100, Mark

[PATCH v3 8/8] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-07-19 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. The core init is the similar to the existing SoC, however the clocks and reset lines differ. S

[PATCH v3 7/8] dt-bindings: pci: qcom: Add support for IPQ8074

2017-07-19 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Signed-off-by: Varadarajan Narayanan --- .../devicetree/bindings/pci/qcom,pcie.txt |

[PATCH v3 4/8] phy: qcom-qmp: Handle unavailable registers

2017-07-19 Thread Varadarajan Narayanan
In some implementations of the QMP phy, some registers might not be present. Provide a way identify such registers and not access those registers. Signed-off-by: Varadarajan Narayanan --- drivers/phy/qualcomm/phy-qcom-qmp.c | 23 ++- 1 file changed, 14 insertions(+), 9 deleti

[PATCH v3 2/8] dt-bindings: phy: qmp: Add support for QMP phy in IPQ8074

2017-07-19 Thread Varadarajan Narayanan
IPQ8074 uses QMP phy controller that provides support to PCIe and USB. Adding dt binding information for the same. Signed-off-by: Varadarajan Narayanan --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/

Re: [PATCH v2 12/25] dt-bindings: qcom_nandc: QPIC NAND documentation

2017-07-19 Thread Abhishek Sahu
On 2017-07-20 01:09, Boris Brezillon wrote: On Wed, 19 Jul 2017 17:18:00 +0530 Abhishek Sahu wrote: 1. QPIC NAND will use compatible string "qcom,qpic-nandc-v1.4.0" 2. QPIC NAND will 3 BAM channels: command, data tx and data rx while EBI2 NAND uses only single ADM channel. 3. CRCI is only r

[PATCH] net: bonding: Fix transmit load balancing in balance-alb mode

2017-07-19 Thread Kosuke Tatsukawa
balance-alb mode used to have transmit dynamic load balancing feature enabled by default. However, transmit dynamic load balancing no longer works in balance-alb after commit 8b426dc54cf4 ("bonding: remove hardcoded value"). Both balance-tlb and balance-alb use the function bond_do_alb_xmit() to

Re: [PATCH v4 01/14] spi: qup: Enable chip select support

2017-07-19 Thread Varadarajan Narayanan
Brown, On Mon, Jul 17, 2017 at 05:01:51PM +0100, Mark Brown wrote: > On Tue, Jun 27, 2017 at 03:15:18PM +0530, Varadarajan Narayanan wrote: > > > the chip select support was removed earlier in commit > > 4a8573abe965115bc5b064401fd669b74e985258. Since the chip > > Please include human readable des

RE: Re: [PATCH] devfreq: Convert to using %pOF instead of full_name

2017-07-19 Thread MyungJoo Ham
> On 2017년 07월 19일 06:42, Rob Herring wrote: > > Now that we have a custom printf format specifier, convert users of > > full_name to use %pOF instead. This is preparation to remove storing > > of the full path string for each node. > > > > Signed-off-by: Rob Herring > > Cc: Chanwoo Choi > > Cc:

Re: [linux-sunxi] [PATCH v4 4/5] ARM: sunxi: h3/h5: switch apb0-related clocks to r_ccu

2017-07-19 Thread icenowy
在 2017-07-20 10:03,icen...@aosc.io 写道: 在 2017-07-20 06:59,Ondřej Jirman 写道: Hi, Icenowy Zheng píše v Út 04. 04. 2017 v 17:50 +0800: From: Icenowy Zheng Now we have driver for the PRCM CCU, switch to use it instead of old-style clock nodes for apb0-related clocks in sunxi-h3-h5.dtsi . The mu

Re: linux-next: build warning after merge of the char-misc tree

2017-07-19 Thread Greg KH
On Thu, Jul 20, 2017 at 02:12:03PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the char-misc tree, yesterday's linux-next build (i386 > defconfig) produced this warning: > > In file included from /home/sfr/next/next/arch/x86/entry/vdso/vma.c:25:0: > /home/sfr/next/next/arch/x86/inc

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-19 Thread Greg Kroah-Hartman
On Wed, Jul 19, 2017 at 05:24:33PM -0700, Dmitry Torokhov wrote: > Many drivers create additional driver-specific device attributes when > binding to the device, and providing managed version of > device_create_group() will simplify unbinding and error handling in probe > path for such drivers. >

Re: [PATCH 4.9 00/72] 4.9.39-stable review

2017-07-19 Thread Greg Kroah-Hartman
On Wed, Jul 19, 2017 at 09:28:58PM +0530, Sumit Semwal wrote: > Hi Greg, > > On 19 July 2017 at 15:53, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.9.39 release. > > There are 72 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 3.18 00/28] 3.18.62-stable review

2017-07-19 Thread Greg Kroah-Hartman
On Wed, Jul 19, 2017 at 05:40:35PM -0600, Shuah Khan wrote: > On 07/19/2017 05:15 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.62 release. > > There are 28 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: [PATCH 4.12 00/84] 4.12.3-stable review

2017-07-19 Thread Greg Kroah-Hartman
On Wed, Jul 19, 2017 at 01:35:59PM -0700, Guenter Roeck wrote: > On Wed, Jul 19, 2017 at 11:43:06AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.12.3 release. > > There are 84 patches in this series, all will be posted as a response > > to this one. I

[RESEND PATCH] unicore32: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - MTD_PARTITIONS: commit 6a8a98b22b10 ("mtd: kill CONFIG_MTD_PARTITIONS"); - MTD_CHAR: commit 660685d9d1b4 ("mtd: merge mtdchar module with mtdcore"); - NETDEV_1000: commit f860b0522f6

[RESEND PATCH] tile: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - CRYPTO_ZLIB: commit 110492183c4b ("crypto: compress - remove unused pcomp interface"); - IP_NF_TARGET_ULOG: commit d4da843e6fad ("netfilter: kill remnants of ulog targets"); Signed-off-by: Krzysztof Kozlowski --- arc

[RESEND PATCH] m32r: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - IP_NF_QUEUE: commit 3dd6664fac7e ("netfilter: remove unused "config IP_NF_QUEUE""); - IP_NF_TARGET_ULOG: commit d4da843e6fad ("netfilter: kill remnants of ulog targets"); - VIDEO_OUT

[RESEND PATCH] x86: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - IP_NF_TARGET_ULOG: commit d4da843e6fad ("netfilter: kill remnants of ulog targets"); - USB_LIBUSUAL: commit f61870ee6f8c ("usb: remove libusual"); Signed-off-by: Krzysztof Kozlowski --

[RESEND PATCH] um: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig option INET_LRO. It is gone since commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"). Signed-off-by: Krzysztof Kozlowski --- arch/um/configs/i386_defconfig | 1 - arch/um/configs/x86_64_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/um/configs/i

[RESEND PATCH] sh: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); - MTD_CONCAT: commit f53fdebcc3e1 ("mtd: drop MTD_CONCAT from Kconfig entirely"); - MTD_PARTITIONS: commit 6a8a98b22b10

[RESEND PATCH] score: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); - MISC_DEVICES: commit 7c5763b8453a ("drivers: misc: Remove MISC_DEVICES config option"); - NETDEV_1000 and NETDEV_1

[RESEND PATCH] sparc: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); - AUTOFS_FS: commit 561c5cf9236a ("staging: Remove autofs3"); - RCU_CPU_STALL_DETECTOR: commit a00e0d714fbd ("rcu: Remove c

[RESEND PATCH] powerpc: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig option USB_LED. It is gone since commit a335aaf3125c ("usb: misc: remove outdated USB LED driver"). Signed-off-by: Krzysztof Kozlowski --- arch/powerpc/configs/c2k_defconfig| 1 - arch/powerpc/configs/ppc6xx_defconfig | 1 - 2 files changed, 2 deletions(-) diff --gi

[RESEND PATCH] parisc: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); - IP_NF_QUEUE: commit 3dd6664fac7e ("netfilter: remove unused "config IP_NF_QUEUE""); - VIDEO_OUTPUT_CONTROL: commit f16

[RESEND PATCH] mn10300: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); - MTD_PARTITIONS: commit 6a8a98b22b10 ("mtd: kill CONFIG_MTD_PARTITIONS"); - MTD_CHAR: commit 660685d9d1b4 ("mtd: merge

[RESEND PATCH] nios2: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig option INET_LRO. It is gone since commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"). Signed-off-by: Krzysztof Kozlowski --- arch/nios2/configs/10m50_defconfig | 1 - arch/nios2/configs/3c120_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/nios2/co

[RESEND PATCH] cris: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); Signed-off-by: Krzysztof Kozlowski --- arch/cris/configs/artpec_3_defconfig | 2 -- arch/cris/configs/dev88_defconfi

[RESEND PATCH] hexagon: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - NETDEV_1000 and NETDEV_1: commit f860b0522f65 ("drivers/net: Kconfig and Makefile cleanup"); NET_ETHERNET should be replaced with just ETHERNET but that is separate change; - HID_

[RESEND PATCH] c6x: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - MISC_DEVICES: commit 7c5763b8453a ("drivers: misc: Remove MISC_DEVICES config option"); Signed-off-by: Krzysztof Kozlowski --- arch/c6x/configs/dsk6455_defconfig | 2 -- arch/c6x/conf

[RESEND PATCH] blackfin: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - EXPERIMENTAL is gone since v3.9; - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); - USB_DEVICE_CLASS: commit 007bab91324e ("USB: remove CONFIG_USB_DEVICE_CLASS"); - HID_SUPPORT: commit 1f41a6a99476 ("HI

[RESEND PATCH] alpha: defconfig: Cleanup from old Kconfig options

2017-07-19 Thread Krzysztof Kozlowski
Remove old, dead Kconfig options (in order appearing in this commit): - IP_NF_QUEUE: commit 3dd6664fac7e ("netfilter: remove unused "config IP_NF_QUEUE""); - AUTOFS_FS: commit 561c5cf9236a ("staging: Remove autofs3"); Signed-off-by: Krzysztof Kozlowski --- arch/alpha/defconfig | 2 -- 1 fil

Re: [PATCH RESEND v4] MAINTAINERS: fix lots of alphabetic ordering

2017-07-19 Thread Linus Torvalds
On Wed, Jul 19, 2017 at 9:43 PM, Joe Perches wrote: > > As a concept I think individual files would be better. > But maybe grouping by subsystem instead of by letter. Yes. Grouped by subsystem would be nice. And maybe we could start with just a few bigger groups, and split them as people step on

Re: [PATCH v3 06/15] commoncap: Refactor to remove bprm_secureexec hook

2017-07-19 Thread Andy Lutomirski
On Tue, Jul 18, 2017 at 6:10 PM, Andy Lutomirski wrote: > On Tue, Jul 18, 2017 at 3:25 PM, Kees Cook wrote: >> The commoncap implementation of the bprm_secureexec hook is the only LSM >> that depends on the final call to its bprm_set_creds hook (since it may >> be called for multiple files, it ig

Re: [PATCH RESEND v4] MAINTAINERS: fix lots of alphabetic ordering

2017-07-19 Thread Linus Torvalds
On Wed, Jul 19, 2017 at 9:36 PM, Theodore Ts'o wrote: >> >> Maybe we can just do the prefix thing and just do 26 files A-Z >> instead? Or maybe go by first word (so all the ARM things would go in >> one place?) > > Is that really going to help with merge conflicts? It might help keep > things mor

Re: [PATCH 0/1] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ

2017-07-19 Thread Borislav Petkov
On Wed, Jul 19, 2017 at 04:05:21PM -0400, Mark Salter wrote: > Yes, I should have included Boris. The last time this came up, Boris > said it was up to you. :) > > http://lists.infradead.org/pipermail/linux-arm-kernel/2016-January/401772.html /me goes back and reads the old emails. So I had some

linux-next: Tree for Jul 20

2017-07-19 Thread Stephen Rothwell
Hi all, Changes since 20170719: The kbuild tree still produces a large number of build warnings so I reverted a commit from it. The drm-misc tree gained conflict a conflict against the drm-intel tree. The userns tree gained a build failure so I used the version from next-20170719. Non-merge

Re:'Funds AED35,623,785 (US$9.7 Milliön) for you, Write to e-mail: sarah.shuh...@activist.com for dètails.

2017-07-19 Thread Janette Borg

Re: [PATCH] efifb: allow user to disable write combined mapping.

2017-07-19 Thread Linus Torvalds
On Wed, Jul 19, 2017 at 9:28 PM, Andy Lutomirski wrote: > > It shouldn't be that hard to hack up efifb to allocate some actual RAM > as "framebuffer", unmap it from the direct map, and ioremap_wc() it as > usual. Then you could see if PCIe is important for it. The thing is, the "actual RAM" case

Re: [PATCH RESEND v4] MAINTAINERS: fix lots of alphabetic ordering

2017-07-19 Thread Joe Perches
On Wed, 2017-07-19 at 21:24 -0700, Linus Torvalds wrote: > On Wed, Jul 19, 2017 at 6:05 PM, Joe Perches wrote: > > > > Just for ease of manipulation and not breaking the script much, > > I'd suggest just having a MAINTAINERS directory and stuffing > > each of the sections into separate files. > >

Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c

2017-07-19 Thread Daniel Micay
> So the fortify_string code has decided that only a single-byte (or > empty) memcpy is ok. > > And that, in turn, seems to be because we're copying from > optprobe_template_entry, which is declared as > > extern __visible kprobe_opcode_t optprobe_template_entry; > > so the fortify code deci

Re: [PATCH RESEND v4] MAINTAINERS: fix lots of alphabetic ordering

2017-07-19 Thread Theodore Ts'o
On Wed, Jul 19, 2017 at 09:24:13PM -0700, Linus Torvalds wrote: > So I don't mind the idea of just making MAINTAINERS a directory, but I > don't think we want to so far as to make one file per entry. That's > what, 1500+ files tiny files or so? Seems a bit excessive. > > Maybe we can just do the p

Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac

2017-07-19 Thread Borislav Petkov
On Wed, Jul 19, 2017 at 04:40:25PM +, Kani, Toshimitsu wrote: > ghes_edac allows to report errors to OS management tools like > rasdaemon in addition to platform- specific managements. So ghes_edac *is* a poor man's driver in the sense that it doesn't do anything fancy but repeat like a parro

[PATCH v2 2/2] vfio: platform: reset: Add Broadcom FlexRM reset module

2017-07-19 Thread Anup Patel
This patch adds Broadcom FlexRM low-level reset for VFIO platform. It will do the following: 1. Disable/Deactivate each FlexRM ring 2. Flush each FlexRM ring The cleanup sequence for FlexRM rings is adapted from Broadcom FlexRM mailbox driver. Signed-off-by: Anup Patel Reviewed-by: Oza Oza Rev

[PATCH v2 1/2] vfio: Allow No-IOMMU mode without checking iommu_present()

2017-07-19 Thread Anup Patel
Not allowing No-IOMMU mode for devices already having iommu_ops on their bus is very conservative. We now have IOMMU (such as ARM SMMU) which can bypass transcations when IOMMU is not configured for a given device. In addition, it is not necessary to have all devices on bus to be upstream to an IO

[PATCH v2 0/2] FlexRM support in VFIO platform

2017-07-19 Thread Anup Patel
This patchset primarily adds Broadcom FlexRM reset module for VFIO platform driver. We also have minor improvments in IOMMU and VFIO driver to allow VFIO no-IOMMU mode access to FlexRM. The patches are based on Linux-4.13-rc1 and can also be found at flexrm-vfio-v2 branch of https://github.com/Bro

Re: [PATCH] livepatch: add (un)patch hooks

2017-07-19 Thread Josh Poimboeuf
On Wed, Jul 19, 2017 at 11:17:23PM -0500, Josh Poimboeuf wrote: > This one was interesting: > > 6f442be2fb22 ("x86_64, traps: Stop using IST for #SS") > > A livepatch patch for it is below. We had something similar for kpatch. > The below patch is completely untested because we don't have > kp

Re: [PATCH] efifb: allow user to disable write combined mapping.

2017-07-19 Thread Andy Lutomirski
On Wed, Jul 19, 2017 at 9:07 PM, Dave Airlie wrote: > > Yes hoping someone can give some insight. > > Scrap the multi-socket it's been seen on a single-socket, but not as > drastic, 2x rather than 10x slowdowns. > > It's starting to seem like the commonality might be the Matrox G200EH > which is p

Re: [PATCH RESEND v4] MAINTAINERS: fix lots of alphabetic ordering

2017-07-19 Thread Linus Torvalds
On Wed, Jul 19, 2017 at 6:05 PM, Joe Perches wrote: > > Just for ease of manipulation and not breaking the script much, > I'd suggest just having a MAINTAINERS directory and stuffing > each of the sections into separate files. > > The script would only need to add $ cat MAINTAINERS/* as input. So

Re: [PATCH] livepatch: add (un)patch hooks

2017-07-19 Thread Josh Poimboeuf
On Wed, Jul 19, 2017 at 11:17:23PM -0500, Josh Poimboeuf wrote: > +static void swapgs_unload_hook(void) > +{ > + if (paravirt_enabled() && strcmp(pv_info.name, "KVM")) > + return; > + > + write_cr0(read_cr0() & ~X86_CR0_WP); > + barrier(); > + > + set_intr_gate_ist(X86_T

Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac

2017-07-19 Thread Borislav Petkov
On Wed, Jul 19, 2017 at 02:55:08PM -0400, Aristeu Rozanski wrote: > That would also need to keep an eye on versions. A newer version of BIOS > on a whitelisted platform might be broken. Yeah, that would be a nasty, back-stabbing SNAFU. So I'm thinking of adding a bunch of FW_ERR sanity checks to

Re: [PATCH] livepatch: add (un)patch hooks

2017-07-19 Thread Josh Poimboeuf
On Wed, Jul 19, 2017 at 03:49:52PM -0500, Josh Poimboeuf wrote: > > I am sorry for the long mail. But I have really troubles to > > understand and describe what can be done with these hooks > > a safe way. > > > > It might help if you share some real-life examples. > > Agreed, we should share som

Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac

2017-07-19 Thread Borislav Petkov
On Wed, Jul 19, 2017 at 04:56:17PM +, Kani, Toshimitsu wrote: > Since ghes_edac has not been used for a long time, I have a feeling > that not so many vendors want to use it. In the case of HPE, we do not > need to update with each platform since "HPE" "Server" will cover all > platforms we ne

linux-next: build warning after merge of the char-misc tree

2017-07-19 Thread Stephen Rothwell
Hi all, After merging the char-misc tree, yesterday's linux-next build (i386 defconfig) produced this warning: In file included from /home/sfr/next/next/arch/x86/entry/vdso/vma.c:25:0: /home/sfr/next/next/arch/x86/include/asm/mshyperv.h:181:15: warning: return type defaults to 'int' [-Wreturn-ty

Re: [PATCH] efifb: allow user to disable write combined mapping.

2017-07-19 Thread Dave Airlie
On 19 July 2017 at 11:15, Linus Torvalds wrote: > On Tue, Jul 18, 2017 at 5:00 PM, Dave Airlie wrote: >> >> More digging: >> Single CPU system: >> Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz >> 01:00.1 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200EH >> >> Now I can't get efifb

RE: [PATCH 3/3] platform/x86: Add Audio domain PG status events

2017-07-19 Thread Chakravarty, Souvik K
> -Original Message- > From: Bhardwaj, Rajneesh > Sent: Wednesday, July 19, 2017 7:08 PM > To: Chakravarty, Souvik K > Cc: platform-driver-...@vger.kernel.org; dvh...@infradead.org; > a...@infradead.org; linux-kernel@vger.kernel.org; Murthy, Shanth > > Subject: Re: [PATCH 3/3] platform/

Re: [PATCH 5/5] vfio: platform: reset: Add Broadcom FlexRM reset module

2017-07-19 Thread Anup Patel
On Wed, Jul 19, 2017 at 10:20 PM, Scott Branden wrote: > Hi Anup, > > NAK - as indicated in internal review please use unmodified Broadcom legal > header in its own comment block. I had addressed your internal review comments and used standard GLPv2 header (also present in other drivers). The onl

Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c

2017-07-19 Thread Linus Torvalds
Hmm. I wonder why the kernel test robot ends up having that annoying line doubling for the dmesg. On Wed, Jul 19, 2017 at 6:42 PM, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: 6974f0c4555e285ab217cee58b6e874f776ff409 ("include/linux/string.h: > add the option of

Re: [PATCH 3/5] iommu/arm-smmu-v3: add IOMMU_CAP_BYPASS to the ARM SMMUv3 driver

2017-07-19 Thread Anup Patel
On Wed, Jul 19, 2017 at 5:23 PM, Will Deacon wrote: > On Wed, Jul 19, 2017 at 05:09:05PM +0530, Anup Patel wrote: >> On Wed, Jul 19, 2017 at 5:03 PM, Will Deacon wrote: >> > On Wed, Jul 19, 2017 at 05:01:11PM +0530, Anup Patel wrote: >> >> On Wed, Jul 19, 2017 at 4:55 PM, Will Deacon wrote: >> >

Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c

2017-07-19 Thread Daniel Micay
> [8.134886] arch_prepare_optimized_kprobe+0xd5/0x171 > [8.134886] arch_prepare_optimized_kprobe+0xd5/0x171 Probably this: /* Copy arch-dep-instance from template */ memcpy(buf, &optprobe_template_entry, TMPL_END_IDX); Not a real bug, just technically undefined because

[PATCH v2 00/10] ARM: sun8i: a83t: Add support for MMC controllers

2017-07-19 Thread Chen-Yu Tsai
Hi everyone, This is v2 of my MMC controller support series. Changes since v1: - Fix patches already applied have been dropped - V2 now exports sunxi-ng mmc timing mode API functions (in case mmc driver is built as a module) - Added stub functions for the timing mode API functions,

[PATCH v2 07/10] ARM: dts: sun8i: a83t: Add MMC controller device nodes

2017-07-19 Thread Chen-Yu Tsai
The A83T has 3 MMC controllers. The third one is a bit special, as it supports a wider 8-bit bus, and a "new timing mode". Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 59 +++ 1 file changed, 59 insertions(+) diff --git a/arch/arm/boot/

[PATCH v2 08/10] ARM: dts: sun8i: a83t: Add pingroup for 8-bit eMMC on mmc2

2017-07-19 Thread Chen-Yu Tsai
mmc2 can support 8-bit eMMC chips, with a dedicated reset line. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 21ab668abfac..d9b4372dbdf3 1

  1   2   3   4   5   6   7   8   9   10   >