Re: [PATCH v3 1/3] kbuild: Add __cc-option macro

2017-06-17 Thread kbuild test robot
Hi Matthias, [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.12-rc5 next-20170616] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Matthias-Kaehlcke/kbuild-Add-__cc-option

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-17 Thread Mike Galbraith
On Sat, 2017-06-17 at 10:14 +0200, Mike Galbraith wrote: > >... the RT workaround in futex.c induces > grumbling in nonrt builds with PREEMPT_COUNT enabled. A trivial way to fix it up is to... futex: Fix migrate_disable/enable workaround for !PREEMPT_RT_FULL The imbalance fixed by aed0f50e58eb

Re: [PATCH v2 10/10] x86/mm: Try to preserve old TLB entries using PCID

2017-06-17 Thread Nadav Amit
> On Jun 13, 2017, at 9:56 PM, Andy Lutomirski wrote: > > PCID is a "process context ID" -- it's what other architectures call > an address space ID. Every non-global TLB entry is tagged with a > PCID, only TLB entries that match the currently selected PCID are > used, and we can switch PGDs wi

Re: [PATCH V3 net-next 0/8] Hisilicon Network Subsystem 3 Ethernet Driver

2017-06-17 Thread Leon Romanovsky
On Sat, Jun 17, 2017 at 06:24:23PM +0100, Salil Mehta wrote: > This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem > 3) > Ethernet driver for hip08 family of SoCs and future upcoming SoCs. > > Hisilicon's new hip08 SoCs have integrated ethernet based on PCI Express and > h

Re: [PATCH 1/1] Fix coding style of driver/staging/ccree/ssi_aead.c

2017-06-17 Thread Gilad Ben-Yossef
Hello Jhin-Ming, Thank your for your patch! On Fri, Jun 16, 2017 at 4:48 PM, Jhih-Ming Hunag wrote: > I fix some coding style errors/warnings of drivers/staging/ccree/ssi_aead.c. > From > total: 54 errors, 109 warnings, 2769 lines checked > to > total: 0 errors, 69 warnings, 2766 lines checked >

Re: [PATCH 2/5] soc: bcm: brcmstb: Add Kconfig entry point for power management

2017-06-17 Thread kbuild test robot
Hi Florian, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc5 next-20170616] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Florian-Fainelli/Broadcom-STB-S2-S3-S5-suppo

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-17 Thread Andy Lutomirski
On Sat, Jun 17, 2017 at 8:15 PM, Dan Williams wrote: > On Sat, Jun 17, 2017 at 4:50 PM, Andy Lutomirski wrote: >> My other objection is that the syscall intentionally leaks a reference >> to the file. This means it needs overflow protection and it probably >> shouldn't ever be allowed to use it

Re: [PATCH 3/5] soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM)

2017-06-17 Thread kbuild test robot
Hi Brian, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc5 next-20170616] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Florian-Fainelli/Broadcom-STB-S2-S3-S5-support

Re: [PATCH v11 5/6] i2c: designware: add SLAVE mode functions

2017-06-17 Thread kbuild test robot
Hi Luis, [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on v4.12-rc5 next-20170616] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Luis-Oliveira/i2c-designware-add-I2C-SLAVE-

[PATCH 11/13] bcache: use kmalloc to allocate bio in bch_data_verify()

2017-06-17 Thread NeilBrown
This function allocates a bio, then a collection of pages. It copes with failure. It currently uses a mempool() to allocate the bio, but alloc_page() to allocate the pages. These fail in different ways, so the usage is inconsistent. Change the bio_clone() to bio_clone_kmalloc() so that no pool

Re: [PATCH 00/13] block: assorted cleanup for bio splitting and cloning.

2017-06-17 Thread NeilBrown
On Fri, Jun 16 2017, Jens Axboe wrote: > On 06/16/2017 01:34 AM, Christoph Hellwig wrote: >> On Fri, Jun 16, 2017 at 05:30:50PM +1000, NeilBrown wrote: >>> I've pushed the new version to the same place. Do you actually want >>> me to re-post all the patches? >> >> I personally prefer to always h

[PATCH 10/13] xen-blkfront: remove bio splitting.

2017-06-17 Thread NeilBrown
bios that are re-submitted will pass through blk_queue_split() when blk_queue_bio() is called, and this will split the bio if necessary. There is no longer any need to do this splitting in xen-blkfront. Acked-by: Roger Pau Monné Reviewed-by: Christoph Hellwig Signed-off-by: NeilBrown --- drive

[PATCH 09/13] lightnvm/pblk-read: use bio_clone_fast()

2017-06-17 Thread NeilBrown
pblk_submit_read() uses bio_clone_bioset() but doesn't change the io_vec, so bio_clone_fast() is a better choice. It also uses fs_bio_set which is intended for filesystems. Using it in a device driver can deadlock. So allocate a new bioset, and and use bio_clone_fast(). Reviewed-by: Christoph He

[PATCH 08/13] pktcdvd: use bio_clone_fast() instead of bio_clone()

2017-06-17 Thread NeilBrown
pktcdvd doesn't change the bi_io_vec of the clone bio, so it is more efficient to use bio_clone_fast(), and not clone the bi_io_vec. This requires providing a bio_set, and it is safest to provide a dedicated bio_set rather than sharing fs_bio_set, which filesytems use. This new bio_set, pkt_bio_set

[PATCH 05/13] block: Improvements to bounce-buffer handling

2017-06-17 Thread NeilBrown
Since commit 23688bf4f830 ("block: ensure to split after potentially bouncing a bio") blk_queue_bounce() is called *before* blk_queue_split(). This means that: 1/ the comments blk_queue_split() about bounce buffers are irrelevant, and 2/ a very large bio (more than BIO_MAX_PAGES) will no long

Re: [PATCH 00/13] block: assorted cleanup for bio splitting and cloning.

2017-06-17 Thread NeilBrown
On Fri, Jun 16 2017, Jens Axboe wrote: > On 06/16/2017 01:34 AM, Christoph Hellwig wrote: >> On Fri, Jun 16, 2017 at 05:30:50PM +1000, NeilBrown wrote: >>> I've pushed the new version to the same place. Do you actually want >>> me to re-post all the patches? >> >> I personally prefer to always h

[PATCH 12/13] block: remove bio_clone() and all references.

2017-06-17 Thread NeilBrown
bio_clone() is no longer used. Only bio_clone_bioset() or bio_clone_fast(). This is for the best, as bio_clone() used fs_bio_set, and filesystems are unlikely to want to use bio_clone(). So remove bio_clone() and all references. This includes a fix to some incorrect documentation. Reviewed-by: Ch

[PATCH 03/13] blk: make the bioset rescue_workqueue optional.

2017-06-17 Thread NeilBrown
This patch converts bioset_create() to not create a workqueue by default, so alloctions will never trigger punt_bios_to_rescuer(). It also introduces a new flag BIOSET_NEED_RESCUER which tells bioset_create() to preserve the old behavior. All callers of bioset_create() that are inside block devic

[PATCH 04/13] blk: use non-rescuing bioset for q->bio_split.

2017-06-17 Thread NeilBrown
A rescuing bioset is only useful if there might be bios from that same bioset on the bio_list_on_stack queue at a time when bio_alloc_bioset() is called. This never applies to q->bio_split. Allocations from q->bio_split are only ever made from blk_queue_split() which is only ever called early in

[PATCH 07/13] drbd: use bio_clone_fast() instead of bio_clone()

2017-06-17 Thread NeilBrown
drbd does not modify the bi_io_vec of the cloned bio, so there is no need to clone that part. So bio_clone_fast() is the better choice. For bio_clone_fast() we need to specify a bio_set. We could use fs_bio_set, which bio_clone() uses, or drbd_md_io_bio_set, which drbd uses for metadata, but it is

[PATCH 13/13] block: don't check for BIO_MAX_PAGES in blk_bio_segment_split()

2017-06-17 Thread NeilBrown
blk_bio_segment_split() makes sure bios have no more than BIO_MAX_PAGES entries in the bi_io_vec. This was done because bio_clone_bioset() (when given a mempool bioset) could not handle larger io_vecs. No driver uses bio_clone_bioset() any more, they all use bio_clone_fast() if anything, and bio_c

[PATCH 06/13] rbd: use bio_clone_fast() instead of bio_clone()

2017-06-17 Thread NeilBrown
bio_clone() makes a copy of the bi_io_vec, but rbd never changes that, so there is no need for a copy. bio_clone_fast() can be used instead, which avoids making the copy. This requires that we provide a bio_set. bio_clone() uses fs_bio_set, but it isn't, in general, safe to use the same bio_set a

[PATCH 00/13] block: assorted cleanup for bio splitting and cloning.

2017-06-17 Thread NeilBrown
This is a resend of my series of patches working towards removing the bioset work queues. This set is based on for-4.13/block. It incorporates the revised versions of all the patches that were resent following feedback on the last set. It also includes a minor grammatic improvement to a comment,

[PATCH 02/13] blk: replace bioset_create_nobvec() with a flags arg to bioset_create()

2017-06-17 Thread NeilBrown
"flags" arguments are often seen as good API design as they allow easy extensibility. bioset_create_nobvec() is implemented internally as a variation in flags passed to __bioset_create(). To support future extension, make the internal structure part of the API. i.e. add a 'flags' argument to biose

[PATCH 01/13] blk: remove bio_set arg from blk_queue_split()

2017-06-17 Thread NeilBrown
blk_queue_split() is always called with the last arg being q->bio_split, where 'q' is the first arg. Also blk_queue_split() sometimes uses the passed-in 'bs' and sometimes uses q->bio_split. This is inconsistent and unnecessary. Remove the last arg and always use q->bio_split inside blk_queue_sp

Re: [PATCH 0/2] Two fixes for loop devices

2017-06-17 Thread NeilBrown
On Fri, Jun 16 2017, Jens Axboe wrote: > On 06/15/2017 11:02 PM, NeilBrown wrote: >> Hi Jens, >> one of these is a resend of a patch I sent a while back. >> The other is new - loop closes files differently from close() >> and in a way that can confuse NFS. > > Are you wanting to get these into

Re: [PATCH 1/2] loop: use filp_close() rather than fput()

2017-06-17 Thread NeilBrown
On Sat, Jun 17 2017, Al Viro wrote: > On Fri, Jun 16, 2017 at 03:02:09PM +1000, NeilBrown wrote: >> When a loop device is being shutdown the backing file is >> closed with fput(). This is different from how close(2) >> closes files - it uses filp_close(). >> >> The difference is important for fi

Dear From Mr Majd

2017-06-17 Thread Mr.Firas Majd
Good Day, May you permit me to express that I have interest to set up a Joint investment and partnership with you in your country.My names are Firas Majd,The Finance Manager,Cham Bank Syria.Aleppo Branch. In clarity, I am willing to enter into any possible discussion that will bring about a busi

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-17 Thread Dan Williams
On Sat, Jun 17, 2017 at 4:50 PM, Andy Lutomirski wrote: > On Sat, Jun 17, 2017 at 2:52 PM, Dan Williams > wrote: >> On Sat, Jun 17, 2017 at 9:25 AM, Andy Lutomirski wrote: >>> >>> Can you remind those of us who haven't played with DAX in a while what >>> the problem is with mmapping a DAX file

[PATCH net-next 01/10] net: dsa: mv88e6xxx: add irl_init_all op

2017-06-17 Thread Vivien Didelot
Some Marvell chips have an Ingress Rate Limit unit. But the command values slightly differs between models: 88E6352 use 3-bit for operations while 88E6390 use different 2-bit operations. This commit kills the IRL flags in favor of a new operation implementing the "Init all resources to the initial

[PATCH net-next 10/10] net: dsa: mv88e6xxx: prefix Global 2 remaining macros

2017-06-17 Thread Vivien Didelot
Prefix and document the remaining Global 2 registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 27 --- drivers/net/dsa/mv88e6xxx/global2.h | 65 + 2 files changed, 57 insertions(+), 35 deletions(-) diff --git

[PATCH net-next 08/10] net: dsa: mv88e6xxx: prefix Global 2 Switch MAC macros

2017-06-17 Thread Vivien Didelot
Prefix and document the Global 2 Switch MAC registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 2 +- drivers/net/dsa/mv88e6xxx/global2.h | 7 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx/global2.c b/drive

[PATCH net-next 07/10] net: dsa: mv88e6xxx: prefix Global 2 EEPROM macros

2017-06-17 Thread Vivien Didelot
Prefix and document the Global 2 EEPROM registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 32 +--- drivers/net/dsa/mv88e6xxx/global2.h | 31 +-- 2 files changed, 38 insertions(+), 25 deletions(-) dif

[PATCH net-next 05/10] net: dsa: mv88e6xxx: prefix Global 2 MGMT macros

2017-06-17 Thread Vivien Didelot
Prefix and document the Global 2 MGMT registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 11 ++- drivers/net/dsa/mv88e6xxx/global2.h | 23 +++ 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/drivers/net/dsa/mv88e

[PATCH net-next 04/10] net: dsa: mv88e6xxx: prefix Global 2 Device Mapping macros

2017-06-17 Thread Vivien Didelot
Prefix and document the Global 2 Device Mapping macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 2 +- drivers/net/dsa/mv88e6xxx/global2.h | 10 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx/global2.c b/driver

[PATCH net-next 09/10] net: dsa: mv88e6xxx: prefix Global 2 Watchdog macros

2017-06-17 Thread Vivien Didelot
The Marvell 88E6352 family has a Global 2 register dedicated to the watchdog setup. But the 88E6390 turned it into an indirect table. Prefix and document that. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 48 +++-- drivers/net/dsa/mv88e

[PATCH net-next 00/10] net: dsa: Global 2 cosmetics

2017-06-17 Thread Vivien Didelot
Similarly to what has been done for the Port and Global 1 registers, this patch series prefixes and documents the macros of Global 2. It brings no functional changes except for 1/10 which fixes the IRL init for 88E6390 family. Vivien Didelot (10): net: dsa: mv88e6xxx: add irl_init_all op net:

[PATCH net-next 06/10] net: dsa: mv88e6xxx: prefix Global 2 PVT macros

2017-06-17 Thread Vivien Didelot
Prefix and document the Global 2 Cross-chip Port VLAN registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 14 -- drivers/net/dsa/mv88e6xxx/global2.h | 19 +-- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/driver

[PATCH net-next] net: dsa: mv88e6xxx: better IEEE Prio Mapping Table description

2017-06-17 Thread Vivien Didelot
Kill the remaining shift macro in favor of calculating at compile time its value from the more descriptive mask, which gives us a better representation of the register layout. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/port.c | 11 +-- drivers/net/dsa/mv88e6xxx/port.h |

[PATCH net-next 03/10] net: dsa: mv88e6xxx: prefix Global 2 Trunk macros

2017-06-17 Thread Vivien Didelot
Prefix and document the Global 2 Trunk registers macros. At the same time, fix the hask -> hash typo and use the mv88e6xxx_port_mask helper. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 13 ++--- drivers/net/dsa/mv88e6xxx/global2.h | 18 +++--- 2 fi

[PATCH net-next 02/10] net: dsa: mv88e6xxx: clarify SMI PHY functions

2017-06-17 Thread Vivien Didelot
Marvell chips with an SMI PHY access in Global 2 registers handle both Clause 22 and Clause 45 of IEEE 802.3. The 88E6390 family has addition bits to target the internal or external PHYs connected to the device, and a Setup function in addition to the default (register) Access function. Prefix th

Re: [PATCH 3/3] selftest/net/Makefile: Specify output with $(OUTPUT)

2017-06-17 Thread David Miller
From: SeongJae Park Date: Sun, 18 Jun 2017 09:56:04 +0900 > After commit a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT"), > net selftest build fails because it points output file without $(OUTPUT) > yet. This commit fixes the error. > > Signed-off-by: SeongJae Park > Fixes: a8ba798bc8ec

Re: [PATCH 03/15] spi: qup: Add completion timeout for dma mode

2017-06-17 Thread kbuild test robot
Hi Varadarajan, [auto build test ERROR on spi/for-next] [also build test ERROR on v4.12-rc5 next-20170616] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Varadarajan-Narayanan/spi-qup-Fixes-and-

Re: [PATCH 07/15] spi: qup: Fix transaction done signaling

2017-06-17 Thread kbuild test robot
Hi Varadarajan, [auto build test ERROR on spi/for-next] [also build test ERROR on v4.12-rc5 next-20170616] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Varadarajan-Narayanan/spi-qup-Fixes-and-

[PATCH V1 9/9] arm64: dts: add ccu for SC9860

2017-06-17 Thread Chunyan Zhang
Now we have clock driver, so add clock dt for SC9860 platform. This patch also removed "ext-26m" from whale2.dtsi since it is described in sc9860-ccu.dtsi. Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/sc9860-ccu.dtsi | 67 arch/arm64/boot/dts/sprd/sc

[PATCH V1 6/9] clk: sprd: add composite clock support

2017-06-17 Thread Chunyan Zhang
This patch introduced composite driver whose functions are simply consisted of divider and mux clocks. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile| 2 +- drivers/clk/sprd/ccu_composite.c | 62 drivers/c

[PATCH V1 7/9] clk: sprd: add adjustable pll support

2017-06-17 Thread Chunyan Zhang
Introduced a common adjustable pll clock driver for Spreadtrum SoCs. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 2 +- drivers/clk/sprd/ccu_pll.c | 241 + drivers/clk/sprd/ccu_pll.h | 123 +++

[PATCH V1 8/9] clk: sprd: add clocks support for SC9860

2017-06-17 Thread Chunyan Zhang
Add the list of clocks in SC9860 CCU. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile |1 + drivers/clk/sprd/ccu-sc9860.c | 1742 drivers/clk/sprd/ccu-sc9860.h | 379 +++ include/dt-b

[PATCH V1 5/9] clk: sprd: add divider clock support

2017-06-17 Thread Chunyan Zhang
This is a feature that can also be found in sprd composite clocks, provide a bunch of helpers that can be reused later on. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 2 +- drivers/clk/sprd/ccu_div.c | 93 +++

[PATCH V1 4/9] clk: sprd: add mux clock support

2017-06-17 Thread Chunyan Zhang
This is a feature that can also be found in sprd composite clocks, provide two helpers that can be reused later on. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 2 +- drivers/clk/sprd/ccu_mux.c | 82 ++ dr

[PATCH V1 3/9] clk: sprd: add gate clock support

2017-06-17 Thread Chunyan Zhang
Some clocks on the Spreadtrum's SoCs are just simple gates. Add support for those clocks. Also, some gate clocks are orphan, so this patch also added registration code for those. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 2 +- drivers/clk/sprd/ccu_gate.c | 102 +++

[PATCH V1 0/9] add clock driver for Spreadtrum platforms

2017-06-17 Thread Chunyan Zhang
In the last cycle, the patches support Whale2 sc9860 mobile chip have been merged. This patchset adds clock driver which is used on almost all Spreadtrum SoCs. This is a rewrite of Spreadtrum's original clock driver[1] according to the comments[2] from Stephen Boyd. This series also adds Spreadtr

[PATCH V1 2/9] clk: sprd: Add common infrastructure

2017-06-17 Thread Chunyan Zhang
Added Spreadtrum's clock driver common structure and registration code. Signed-off-by: Chunyan Zhang --- drivers/clk/Makefile | 1 + drivers/clk/sprd/Makefile | 3 ++ drivers/clk/sprd/ccu_common.c | 78 + drivers/clk/sprd/ccu_common.h | 90 +

[PATCH V1 1/9] dt-bindings: Add Spreadtrum CCU binding documentation

2017-06-17 Thread Chunyan Zhang
Introduce a new binding with its documentation for Spreadtrum clock sub-framework. Signed-off-by: Chunyan Zhang --- .../devicetree/bindings/clock/sprd-ccu.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/sprd-cc

Re: [PATCH] PCI: Move test of INTx masking to pci_setup_device

2017-06-17 Thread Bjorn Helgaas
On Sat, Jun 17, 2017 at 06:45:44PM +0100, Piotr Gregor wrote: > Hi Bjorn, > > The pci_cfg_access_lock is most likely not needed there. > The assignment by return type is indeed preferred in this case. > > However, you have changed the meaning of returned boolean information > by pci_intx_mask_bro

Re: [git pull] first batch of ufs fixes

2017-06-17 Thread Al Viro
On Sat, Jun 17, 2017 at 03:15:48AM +0100, Al Viro wrote: > On Fri, Jun 16, 2017 at 07:29:00AM -0700, Richard Narron wrote: > > > The 8 patches in the ufs-fixes group were applied to Linux 4.12-rc5. > > They seem to work fine with the simple testing that I do. > > > > I tested all 3 BSDs, FreeBSD

[PATCH 0/3] selftest: Fix build errors

2017-06-17 Thread SeongJae Park
This patchset fixes build errors in selftest. SeongJae Park (3): selftest/memfd/Makefile: Fix build error selftest/intel_pstate/aperf: Use LDLIBS instead of LDFLAGS selftest/net/Makefile: Specify output with $(OUTPUT) tools/testing/selftests/intel_pstate/Makefile | 2 +- tools/testing/self

[PATCH 1/3] selftest/memfd/Makefile: Fix build error

2017-06-17 Thread SeongJae Park
Selftest for memfd shows build error as below: ``` gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/fuse_mnt.c -o /home/sjpark/linux/tools/testing/selftests/memfd/fuse_mnt /tmp/cc6NHdwJ.o: In function `main': fuse_mnt.c:(.text+0x249): un

[PATCH 3/3] selftest/net/Makefile: Specify output with $(OUTPUT)

2017-06-17 Thread SeongJae Park
After commit a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT"), net selftest build fails because it points output file without $(OUTPUT) yet. This commit fixes the error. Signed-off-by: SeongJae Park Fixes: a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT") --- tools/testing/selftests/

[PATCH 2/3] selftest/intel_pstate/aperf: Use LDLIBS instead of LDFLAGS

2017-06-17 Thread SeongJae Park
Build of aperf fails as below: ``` gcc -Wall -D_GNU_SOURCE -lm aperf.c -o /tools/testing/selftests/intel_pstate/aperf /tmp/ccKf3GF6.o: In function `main': aperf.c:(.text+0x278): undefined reference to `sqrt' collect2: error: ld returned 1 exit status ``` The faulure occurs because -lm was de

Re: [RFC PATCH 06/13] switchtec_ntb: initialize hardware for memory windows

2017-06-17 Thread Greg Kroah-Hartman
On Sat, Jun 17, 2017 at 10:39:35AM -0600, Logan Gunthorpe wrote: > > > On 16/06/17 11:16 PM, Greg Kroah-Hartman wrote: > >> +#ifndef ioread64 > >> +#ifdef readq > >> +#define ioread64 readq > >> +#else > >> +#define ioread64 _ioread64 > >> +static inline u64 _ioread64(void __iomem *mmio) > >> +{

Re: [PATCH v2 3/5] arm64: dts: Add ufs dts node

2017-06-17 Thread kbuild test robot
Hi Bu, [auto build test ERROR on mkp-scsi/for-next] [also build test ERROR on v4.12-rc5 next-20170616] [cannot apply to robh/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Bu-Tao/scsi-

Re: [PATCH] sysfs: add devm_sysfs_create_group() and friends

2017-06-17 Thread Greg Kroah-Hartman
On Wed, Jun 07, 2017 at 10:12:08AM -0700, Dmitry Torokhov wrote: > On Fri, Nov 06, 2015 at 11:23:37PM -0800, Dmitry Torokhov wrote: > > On Fri, Nov 06, 2015 at 04:24:07PM -0800, Greg Kroah-Hartman wrote: > > > On Fri, Oct 30, 2015 at 08:13:11AM -0700, Dmitry Torokhov wrote: > > > > On Fri, Oct 30,

Re: [PATCH 2/2] sysfs: add devm_sysfs_create_group() and friends

2017-06-17 Thread Greg Kroah-Hartman
On Wed, Jun 07, 2017 at 10:04:45AM -0700, Dmitry Torokhov wrote: > On Mon, Mar 27, 2017 at 09:35:45PM +0200, Greg Kroah-Hartman wrote: > > On Mon, Mar 27, 2017 at 10:53:59AM -0700, Dmitry Torokhov wrote: > > > On Sun, Feb 12, 2017 at 04:36:19PM -0800, Dmitry Torokhov wrote: > > > > Many drivers cre

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-17 Thread Greg KH
On Tue, Jun 13, 2017 at 09:40:11PM +0200, Luis R. Rodriguez wrote: > On Tue, Jun 13, 2017 at 11:05:48AM +0200, Greg KH wrote: > > On Mon, Jun 05, 2017 at 02:39:33PM -0700, Luis R. Rodriguez wrote: > > > As the firmware API evolves we keep extending functions with more > > > arguments. > > > Stop t

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-17 Thread Andy Lutomirski
On Sat, Jun 17, 2017 at 2:52 PM, Dan Williams wrote: > On Sat, Jun 17, 2017 at 9:25 AM, Andy Lutomirski wrote: >> >> Can you remind those of us who haven't played with DAX in a while what >> the problem is with mmapping a DAX file without this patchset? If >> there's some bookkkeeping needed to

Re: [PATCH 1/8] genirq: allow assigning affinity to present but not online CPUs

2017-06-17 Thread Thomas Gleixner
On Sat, 3 Jun 2017, Christoph Hellwig wrote: > This will allow us to spread MSI/MSI-X affinity over all present CPUs and > thus better deal with systems where cpus are take on and offline all the > time. > > Signed-off-by: Christoph Hellwig > --- > kernel/irq/manage.c | 6 +++--- > 1 file chang

Re: [PATCH 3/8] genirq/affinity: factor out a irq_affinity_set helper

2017-06-17 Thread Thomas Gleixner
On Sat, 3 Jun 2017, Christoph Hellwig wrote: > + > +bool irq_affinity_set(int irq, struct irq_desc *desc, const cpumask_t *mask) > +{ > + struct irq_data *data = irq_desc_get_irq_data(desc); > + struct irq_chip *chip = irq_data_get_irq_chip(data); > + bool ret = false; > + > + if (!

[*Working with you |18.2*]

2017-06-17 Thread VS - .41
[*Hello and good day. I am looking to work with a reputable individual/firm to engage in a profit oriented ventures in your country and perhaps with your assistance, we could get low tax rates. I have the directive of Mr. Mikhail Khodorkovsky to source for partner abroad who can accommodate an

[PATCH for v4.9 LTS 04/86] net: phy: add an option to disable EEE advertisement

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: jbrunet [ Upstream commit d853d145ea3e63387a2ac759aa41d5e43876e561 ] This patch adds an option to disable EEE advertisement in the generic PHY by providing a mask of prohibited modes corresponding to the value found in the MDIO_AN_EEE_ADV register. On some platforms, PHY Low power idle se

[PATCH for v4.9 LTS 05/86] dt-bindings: net: add EEE capability constants

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: jbrunet [ Upstream commit 1fc31357ad194fb98691f3d122bcd47e59239e83 ] Signed-off-by: Jerome Brunet Tested-by: Yegor Yefremov Tested-by: Andreas Färber Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- include/dt-bindings/net/mdio.h | 19 +++ 1 file changed,

[PATCH for v4.9 LTS 08/86] dt: bindings: net: use boolean dt properties for eee broken modes

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: jbrunet [ Upstream commit 308d3165d8b2b98d3dc3d97d6662062735daea67 ] The patches regarding eee-broken-modes was merged before all people involved could find an agreement on the best way to move forward. While we agreed on having a DT property to mark particular modes as broken, the value

[PATCH for v4.9 LTS 12/86] perf/x86/intel: Handle exclusive threadid correctly on CPU hotplug

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Zhou Chengming [ Upstream commit 4e71de7986386d5fd3765458f27d612931f27f5e ] The CPU hotplug function intel_pmu_cpu_starting() sets cpu_hw_events.excl_thread_id unconditionally to 1 when the shared exclusive counters data structure is already availabe for the sibling thread. This works dur

[PATCH for v4.9 LTS 13/86] ubifs: allow encryption ioctls in compat mode

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Eric Biggers [ Upstream commit a75467d910135905de60b3af3f11b3693625781e ] The ubifs encryption ioctls did not work when called by a 32-bit program on a 64-bit kernel. Since 'struct fscrypt_policy' is not affected by the word size, ubifs just needs to allow these ioctls through, like what

[PATCH for v4.9 LTS 15/86] scsi: sd: Fix wrong DPOFUA disable in sd_read_cache_type

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Damien Le Moal [ Upstream commit 26f2819772af891dee2843e1f8662c58e5129d5f ] Zoned block devices force the use of READ/WRITE(16) commands by setting sdkp->use_16_for_rw and clearing sdkp->use_10_for_rw. This result in DPOFUA always being disabled for these drives as the assumed use of the d

[PATCH for v4.9 LTS 09/86] ARM64: dts: amlogic: Add Meson GX dtsi from GXBB

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Neil Armstrong [ Upstream commit c328666d58aac4880bf0934eb915f9c5d1801360 ] Move all non-gxbb specific nodes to a common GX dtsi. Signed-off-by: Neil Armstrong Signed-off-by: Kevin Hilman Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 200 +++ arch/ar

[PATCH for v4.9 LTS 23/86] powerpc/eeh: Enable IO path on permanent error

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Gavin Shan [ Upstream commit 387bbc974f6adf91aa635090f73434ed10edd915 ] We give up recovery on permanent error, simply shutdown the affected devices and remove them. If the devices can't be put into quiet state, they spew more traffic that is likely to cause another unexpected EEH error. T

[PATCH for v4.9 LTS 18/86] qla2xxx: Terminate exchange if corrupted

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Quinn Tran [ Upstream commit 5f35509db179ca7ed1feaa4b14f841adb06ed220 ] Corrupted ATIO is defined as length of fcp_header & fcp_cmd payload is less than 0x38. It's the minimum size for a frame to carry 8..16 bytes SCSI CDB. The exchange will be dropped or terminated if corrupted. Signed-o

[PATCH for v4.9 LTS 06/86] net: phy: fix sign type error in genphy_config_eee_advert

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: jbrunet [ Upstream commit 3bb9ab63276696988d8224f52db20e87194deb4b ] In genphy_config_eee_advert, the return value of phy_read_mmd_indirect is checked to know if the register could be accessed but the result is assigned to a 'u32'. Changing to 'int' to correctly get errors from phy_read_mm

[PATCH for v4.9 LTS 07/86] net: phy: use boolean dt properties for eee broken modes

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: jbrunet [ Upstream commit 57f3986231bb2c69a55ccab1d2b30a00818027ac ] The patches regarding eee-broken-modes was merged before all people involved could find an agreement on the best way to move forward. While we agreed on having a DT property to mark particular modes as broken, the value

[PATCH for v4.9 LTS 19/86] qla2xxx: Fix erroneous invalid handle message

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Quinn Tran [ Upstream commit 4f060736f29a960aba8e781a88837464756200a8 ] Termination of Immediate Notify IOCB was using wrong IOCB handle. IOCB completion code was unable to find appropriate code path due to wrong handle. Following message is seen in the logs. "Error entry - invalid handl

[PATCH for v4.9 LTS 26/86] xen-netback: protect resource cleaning on XenBus disconnect

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Igor Druzhinin [ Upstream commit f16f1df65f1cf139ff9e9f84661e6573d6bb27fc ] vif->lock is used to protect statistics gathering agents from using the queue structure during cleaning. Signed-off-by: Igor Druzhinin Acked-by: Wei Liu Reviewed-by: Paul Durrant Signed-off-by: David S. Miller

[PATCH for v4.9 LTS 11/86] ARM64: dts: meson-gxbb-odroidc2: fix GbE tx link breakage

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Jerome Brunet [ Upstream commit feb3cbea0946c67060e2d5bcb7499b0a6f6700fe ] OdroidC2 GbE link breaks under heavy tx transfer. This happens even if the MAC does not enable Energy Efficient Ethernet (No Low Power state Idle on the Tx path). The problem seems to come from the phy Rx path, ente

[PATCH for v4.9 LTS 16/86] stmmac: add missing of_node_put

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Julia Lawall [ Upstream commit a249708bc2aa1fe3ddf15dfac22bee519d15996b ] The function stmmac_dt_phy provides several possibilities for initializing plat->mdio_node, all of which have the effect of increasing the reference count of the assigned value. This field is not updated elsewhere,

[PATCH for v4.9 LTS 25/86] xen-netback: fix memory leaks on XenBus disconnect

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Igor Druzhinin [ Upstream commit 9a6cdf52b85ea5fb21d2bb31e4a7bc61b79923a7 ] Eliminate memory leaks introduced several years ago by cleaning the queue resources which are allocated on XenBus connection event. Namely, queue structure array and pages used for IO rings. Signed-off-by: Igor Dr

[PATCH for v4.9 LTS 24/86] net: ethtool: Initialize buffer when querying device channel settings

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Eran Ben Elisha [ Upstream commit 31a86d137219373c3222ca5f4f912e9a4d8065bb ] Ethtool channels respond struct was uninitialized when querying device channel boundaries settings. As a result, unreported fields by the driver hold garbage. This may cause sending unsupported params to driver.

[PATCH for v4.9 LTS 10/86] ARM64: dts: meson-gx: Add firmware reserved memory zones

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Neil Armstrong [ Upstream commit bba8e3f42736cf7f974968a818e53b128286ad1d ] The Amlogic Meson GXBB/GXL/GXM secure monitor uses part of the memory space, this patch adds these reserved zones. Without such reserved memory zones, running the following stress command : $ stress-ng --vm 16 --v

[PATCH for v4.9 LTS 27/86] bnxt_en: Fix "uninitialized variable" bug in TPA code path.

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Michael Chan [ Upstream commit 719ca8111402aa6157bd83a3c966d184db0d8956 ] In the TPA GRO code path, initialize the tcp_opt_len variable to 0 so that it will be correct for packets without TCP timestamps. The bug caused the SKB fields to be incorrectly set up for packets without TCP timest

[PATCH for v4.9 LTS 03/86] net: ethtool: add support for 2500BaseT and 5000BaseT link modes

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Pavel Belous [ Upstream commit 94842b4fc4d6b1691cfc86c6f5251f299d27f4ba ] This patch introduce support for 2500BaseT and 5000BaseT link modes. These modes are included in the new IEEE 802.3bz standard. Signed-off-by: Pavel Belous Signed-off-by: David S. Miller Signed-off-by: Sasha Levin

[PATCH for v4.9 LTS 14/86] KVM: x86: fix fixing of hypercalls

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Dmitry Vyukov [ Upstream commit ce2e852ecc9a42e4b8dabb46025cfef63209234a ] emulator_fix_hypercall() replaces hypercall with vmcall instruction, but it does not handle GP exception properly when writes the new instruction. It can return X86EMUL_PROPAGATE_FAULT without setting exception info

[PATCH for v4.9 LTS 28/86] bpf: don't trigger OOM killer under pressure with map alloc

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Daniel Borkmann [ Upstream commit d407bd25a204bd66b7346dde24bd3d37ef0e0b05 ] This patch adds two helpers, bpf_map_area_alloc() and bpf_map_area_free(), that are to be used for map allocations. Using kmalloc() for very large allocations can cause excessive work within the page allocator, so

[PATCH for v4.9 LTS 31/86] Btrfs: Fix deadlock between direct IO and fast fsync

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Chandan Rajendra [ Upstream commit 97dcdea076ecef41ea4aaa23d4397c2f622e4265 ] The following deadlock is seen when executing generic/113 test, -+ Direct I/O task

[PATCH for v4.9 LTS 30/86] gianfar: Do not reuse pages from emergency reserve

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Eric Dumazet [ Upstream commit 69fed99baac186013840ced3524562841296034f ] A driver using dev_alloc_page() must not reuse a page that had to use emergency memory reserve. Otherwise all packets using this page will be immediately dropped, unless for very specific sockets having SOCK_MEMALLO

[PATCH for v4.9 LTS 29/86] objtool: Fix IRET's opcode

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Jiri Slaby [ Upstream commit b5b46c4740aed1538544f0fa849c5b76c7823469 ] The IRET opcode is 0xcf according to the Intel manual and also to objdump of my vmlinux: 1ea8: 48 cf iretq Fix the opcode in arch_decode_instruction(). The previous value (0xc5) seems to

Re: [PATCH] net/phy: micrel: configure intterupts after autoneg workaround

2017-06-17 Thread Andrew Lunn
On Fri, Jun 16, 2017 at 12:20:07PM -0500, Zach Brown wrote: > The commit ("net/phy: micrel: Add workaround for bad autoneg") fixes > an autoneg failure case by resetting the hardware. This turns off > intterupts. Things will work themselves out if the phy > polls, as it will figure out it's state d

[PATCH for v4.9 LTS 37/86] scsi: virtio_scsi: Reject commands when virtqueue is broken

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Eric Farman [ Upstream commit 773c7220e22d193e5667c352fcbf8d47eefc817f ] In the case of a graceful set of detaches, where the virtio-scsi-ccw disk is removed from the guest prior to the controller, the guest behaves quite normally. Specifically, the detach gets us into sd_sync_cache to is

[PATCH for v4.9 LTS 21/86] drm/amdgpu: add support for new hainan variants

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Alex Deucher [ Upstream commit 17324b6add82d6c0bf119f1d1944baef392a4e39 ] New hainan parts require updated smc firmware. Cc: Sonny Jiang Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 8 +--- 1 file changed, 5 insertions(+), 3 dele

[PATCH for v4.9 LTS 33/86] virtio_console: fix a crash in config_work_handler

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: "G. Campana" [ Upstream commit 8379cadf71c3ee8173a1c6fc1ea7762a9638c047 ] Using control_work instead of config_work as the 3rd argument to container_of results in an invalid portdev pointer. Indeed, the work structure is initialized as below: INIT_WORK(&portdev->config_work, &config_w

[PATCH for v4.9 LTS 35/86] net: sctp: fix array overrun read on sctp_timer_tbl

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Colin Ian King [ Upstream commit 0e73fc9a56f22f2eec4d2b2910c649f7af67b74d ] The comparison on the timeout can lead to an array overrun read on sctp_timer_tbl because of an off-by-one error. Fix this by using < instead of <= and also compare to the array size rather than SCTP_EVENT_TIMEOUT_

[PATCH for v4.9 LTS 38/86] iwlwifi: fix kernel crash when unregistering thermal zone

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Jens Axboe [ Upstream commit 92549cdc288f47f3a98cf80ac5890c91f5876a06 ] A recent firmware change seems to have enabled thermal zones on the iwlwifi driver. Unfortunately, my device fails when registering the thermal zone. This doesn't stop the driver from attempting to unregister the therm

  1   2   3   4   >