[PATCH 1/2] mfd: arizona: Use irq_find_mapping when appropriate

2016-10-28 Thread Charles Keepax
No need to use irq_create_mapping (although there is no issue with doing so) when we are only looking up an existing mapping. Just to streamline things a little and make the code a little more clear change some calls from irq_create_mapping to irq_find_mapping. Signed-off-by: Charles Keepax

[PATCH 2/2] mfd: arizona: Correctly clean up after IRQs

2016-10-28 Thread Charles Keepax
Currently we leak a lot of things when tearing down the IRQs this patch fixes this cleaning up both the IRQ mappings and the IRQ domain itself. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-irq.c | 54 +++

[PATCH] regmap: Rename ret variable in regmap_read_poll_timeout

2016-10-28 Thread Charles Keepax
As almost all of the callers of the regmap_read_poll_timeout macro will include a local ret variable we will always get a Sparse warning about the duplication of the ret variable: warning: symbol 'ret' shadows an earlier one Simply rename the ret variable in the marco to pollret to make this

Re: [PATCH] drm/mediatek: fix null pointer dereference

2016-10-28 Thread Matthias Brugger
On 10/28/2016 10:34 AM, CK Hu wrote: Hi, Matthias: Even though OVL HW would not be enabled before component_add() in current design, your patch would be safe for any situation. Maybe the FW I use left an interrupt pending before loading the kernel and this leads to the case where we enter

Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-28 Thread Borislav Petkov
On Fri, Oct 28, 2016 at 12:17:02PM +0200, Paolo Bonzini wrote: > Otherwise, if you add a cpuid_count_edx function to processor.h then one > can do: > > entry_>edx &= cpuid_count_edx(7, 0); > > which is decent too. If you think of iterating over the cpuid_bits[] array and recreating the

Re: [RFC][PATCH] arm64: Add support for CONFIG_DEBUG_VIRTUAL

2016-10-28 Thread Mark Rutland
On Fri, Oct 28, 2016 at 08:52:50AM +0100, Ard Biesheuvel wrote: > Hi Laura, > > On 28 October 2016 at 01:18, Laura Abbott wrote: > > x86 has an option CONFIG_DEBUG_VIRTUAL to do additional checks > > on virt_to_phys calls. The goal is to catch users who are calling > >

[PATCH] IBcore/CM: Issue DREQ when receiving REQ/REP for stale QP

2016-10-28 Thread Hans Westgaard Ry
from "InfiBand Architecture Specifications Volume 1": A QP is said to have a stale connection when only one side has connection information. A stale connection may result if the remote CM had dropped the connection and sent a DREQ but the DREQ was never received by the local CM.

Re: [REGRESSION 4.9-rc2] "c83ed4c - ubifs: Abort readdir upon error" breaks mount

2016-10-28 Thread Ralph Sennhauser
Richard On Fri, 28 Oct 2016 11:38:55 +0200 Richard Weinberger wrote: > Ralph, > > On 28.10.2016 11:37, Ralph Sennhauser wrote: > > Dear Richard, dear list > > > > When testing 4.9-rc2 the device wouldn't boot, as it turns out > > commit c83ed4c9dbb358b9e7707486e167e940d48bfeed

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-28 Thread Pavel Machek
Hi! > I missed the original, so I've lost some context. You can read it on lkml, but I guess you did not lose anything important. > Has this been tested on a system vulnerable to rowhammer, and if so, was > it reliable in mitigating the issue? > > Which particular attack codebase was it tested

Re: [PATCH v2 02/16] scsi: don't use fc_bsg_job::request and fc_bsg_job::reply directly

2016-10-28 Thread Hannes Reinecke
On 10/28/2016 11:53 AM, Steffen Maier wrote: > > > On 10/13/2016 06:24 PM, Johannes Thumshirn wrote: >> On Thu, Oct 13, 2016 at 05:15:25PM +0200, Steffen Maier wrote: >>> I'm puzzled. >>> >>> $ git bisect start fc_bsg master > 3087864ce3d7282f59021245d8a5f83ef1caef18 is the first bad

[PATCH] pinctrl: generic: Parse pinmux init nodes if node status is okay

2016-10-28 Thread Laxman Dewangan
During pinmux registration, pinmux table is parsed from DT for making the pinmux table configuration of pins. Parse the only those node whose status is not disabled. This will help on reusing the pin configuration table across platform and disabling the node by status property if that node is not

Re: [PATCH] netfilter: ip_vs_sync: fix bogus maybe-uninitialized warning

2016-10-28 Thread Simon Horman
On Fri, Oct 28, 2016 at 11:34:22AM +0200, Pablo Neira Ayuso wrote: > On Mon, Oct 24, 2016 at 10:47:54PM +0300, Julian Anastasov wrote: > > > > Hello, > > > > On Mon, 24 Oct 2016, Arnd Bergmann wrote: > > > > > Building the ip_vs_sync code with CONFIG_OPTIMIZE_INLINING on x86 > > > confuses

Re: [PATCH -v4 RESEND 8/9] mm, THP, swap: Support to split THP in swap cache

2016-10-28 Thread Hillf Danton
On Friday, October 28, 2016 1:56 PM Huang, Ying wrote: > @@ -2016,10 +2021,12 @@ int page_trans_huge_mapcount(struct page *page, int > *total_mapcount) > /* Racy check whether the huge page can be split */ > bool can_split_huge_page(struct page *page) > { > - int extra_pins = 0; > +

Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes

2016-10-28 Thread Leo Yan
On Fri, Oct 28, 2016 at 06:54:58PM +0900, Jaehoon Chung wrote: [...] > >>> Could you share the log? Is there any log about failure? > >> > >> Sure, please see below log: > > > > It's related with -EPROBE_DEFER..I'm not sure but if > > CONFIG_RESET_CONTROLLER is enabled, it's searching for

Re: [PATCH v7, 0/8] Add MediaTek USB3 DRD Driver

2016-10-28 Thread Matthias Brugger
Hi Chunfeng, On 10/19/2016 04:28 AM, Chunfeng Yun wrote: These patches introduce the MediaTek USB3 dual-role controller driver. The driver can be configured as Dual-Role Device (DRD), Peripheral Only and Host Only (xHCI) modes. It works well with Mass Storage, RNDIS and g_zero on FS/HS and SS.

Re: [PATCH] crypto: acomp: export all scomp interfaces

2016-10-28 Thread Arnd Bergmann
On Thursday, October 27, 2016 10:03:29 PM CEST Giovanni Cabiddu wrote: > Hi Arnd, > > On Thu, Oct 27, 2016 at 04:09:49PM +0200, Arnd Bergmann wrote: > > The newly added scomp/acomp interface has a couple of functions > > that should be exported to allow linking the two drivers > > as loadable

Re: Build regressions/improvements in v4.9-rc1

2016-10-28 Thread Arnd Bergmann
On Thursday, October 27, 2016 10:21:16 AM CEST Vineet Gupta wrote: > > On 10/27/2016 02:39 AM, Alexey Brodkin wrote: > > > > And these are functions required by U-Boot (most probably the same is > > applied to kernel): > > 1) so-called millicode, stuff like __ld_rX_to_rY, __st_rX_to_rX > > This

Re: [PATCH 3/3] thread_info: include for THREAD_INFO_IN_TASK

2016-10-28 Thread Mark Rutland
On Thu, Oct 27, 2016 at 04:13:49PM -0700, Andy Lutomirski wrote: > On Wed, Oct 19, 2016 at 11:28 AM, Mark Rutland wrote: > > When CONFIG_THREAD_INFO_IN_TASK is selected, the current_thread_info() > > macro relies on current having been defined prior to its use. However, > >

Re: [v15, 6/7] base: soc: introduce soc_device_match() interface

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 2:50:17 PM CEST Yangbo Lu wrote: > + > +static int soc_device_match_one(struct device *dev, void *arg) > +{ > + struct soc_device *soc_dev = container_of(dev, struct soc_device, > dev); > + const struct soc_device_attribute *match = arg; > + > + if

Re: [v15, 3/7] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 2:50:14 PM CEST Yangbo Lu wrote: > Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common > header file. This SVR numberspace is used on some ARM chips as well as > PPC, and even to check for a PPC SVR multi-arch drivers would otherwise > need to ifdef

Re: [PATCH v6] tty/serial: at91: fix hardware handshake on Atmel platforms

2016-10-28 Thread Richard Genoud
2016-10-28 11:51 GMT+02:00 Uwe Kleine-König : > On Fri, Oct 28, 2016 at 01:13:31AM +0200, Alexandre Belloni wrote: >> On 27/10/2016 at 20:02:29 +0200, Uwe Kleine-König wrote : >> > Hello Richard, >> > >> > On Thu, Oct 27, 2016 at 06:04:06PM +0200, Richard Genoud

Re: [PATCH v2] irqchip/bcm2836: Prevent spurious interrupts

2016-10-28 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Eric Anholt wrote: > From: Phil Elwell > > The old arch-specific IRQ macros included a dsb to ensure the > write to clear the mailbox interrupt completed before returning > from the interrupt. The BCM2836 irqchip driver needs the same > precaution to

Vacancy!Vacancy!!Vacancy!!! Apply Now

2016-10-28 Thread Yokohama Rubber Company
We are Glad to inform you that our Company Yokohama Rubber Company has Vacancy for the post of a collection representative from locations of North America, as part time job offer to you.if interested in making extra income for yourself as an Individual or a firm do get back to us for more

kernel/rcu/tree.c:3026:1: warning: the frame size of 1040 bytes is larger than 1024 bytes

2016-10-28 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 14970f204b1993af7459d5bd34aaff38dfee6670 commit: 0766f788eb727e2e330d55d30545db65bcf2623f latent_entropy: Mark functions with __latent_entropy date: 3 weeks ago config: i386-randconfig-b0-10281653

Re: [RFC v1 06/14] bus1: util - queue utility library

2016-10-28 Thread Tom Gundersen
On Thu, Oct 27, 2016 at 6:43 PM, Peter Zijlstra wrote: > On Wed, Oct 26, 2016 at 09:18:02PM +0200, David Herrmann wrote: > >> A bus1 message queue is a FIFO, i.e., messages are linearly ordered by >> the time they were sent. Moreover, atomic delivery of messages to >>

[PATCH v12 RESEND 3/4] tee: add OP-TEE driver

2016-10-28 Thread Jens Wiklander
Adds a OP-TEE driver which also can be compiled as a loadable module. * Targets ARM and ARM64 * Supports using reserved memory from OP-TEE as shared memory * Probes OP-TEE version using SMCs * Accepts requests on privileged and unprivileged device * Uses OPTEE message protocol version 2 to

[PATCH] mac80211: fils_aead: fix encrypt error handling

2016-10-28 Thread Arnd Bergmann
gcc -Wmaybe-uninitialized reports a bug in aes_siv_encryp: net/mac80211/fils_aead.c: In function ‘aes_siv_encrypt.constprop’: net/mac80211/fils_aead.c:84:26: error: ‘tfm2’ may be used uninitialized in this function [-Werror=maybe-uninitialized] At the time that the memory allocation fails,

Re: [PATCH 2/2] serial: 8250_dw: Add support for IrDA SIR mode

2016-10-28 Thread Andy Shevchenko
On Fri, 2016-10-28 at 11:20 +0300, Heikki Krogerus wrote: > Hi Andy, > > On Thu, Oct 27, 2016 at 07:56:10PM +0300, Andy Shevchenko wrote: > > P.S. Use -n when prepare patches to link them if you consider them > > dependent. > > These are numbered? Or do you mean that please prefer sending >

Re: [RFC v2 0/8] SchedTune: central, scheduler-driven, power-perfomance control

2016-10-28 Thread Patrick Bellasi
On 27-Oct 22:58, Peter Zijlstra wrote: > On Thu, Oct 27, 2016 at 06:41:00PM +0100, Patrick Bellasi wrote: > > > > This RFC is an update to the initial SchedTune proposal [1] for a central > > scheduler-driven power-performance control. > > The posting is being made ahead of the LPC to facilitate

Re: [v15, 0/7] Fix eSDHC host version register bug

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 2:50:11 PM CEST Yangbo Lu wrote: > This patchset is used to fix a host version register bug in the > T4240-R1.0-R2.0 > eSDHC controller. To match the SoC version and revision, 10 previous version > patchsets had tried many methods but all of them were rejected by

Re: [PATCH] mac80211: fils_aead: fix encrypt error handling

2016-10-28 Thread Johannes Berg
On Fri, 2016-10-28 at 12:25 +0200, Arnd Bergmann wrote: > gcc -Wmaybe-uninitialized reports a bug in aes_siv_encryp: > > net/mac80211/fils_aead.c: In function ‘aes_siv_encrypt.constprop’: > net/mac80211/fils_aead.c:84:26: error: ‘tfm2’ may be used > uninitialized in this function

Re: rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-28 Thread Pavel Machek
Hi! > > I agree this needs to be tunable (and with the other suggestions). But > > this is actually not the most important tunable: the detection > > threshold (rh_attr.sample_period) should be way more important. > > So being totally ignorant of the detail of how rowhammer abuses the DDR >

Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106

2016-10-28 Thread Deepa Dinamani
On Fri, Oct 28, 2016 at 5:43 AM, Arnd Bergmann wrote: > On Monday, October 17, 2016 8:27:32 PM CEST Deepa Dinamani wrote: >> @@ -55,24 +60,24 @@ struct ff_effect_compat { >> >> static inline size_t input_event_size(void) >> { >> - return (in_compat_syscall() &&

Re: [net-next PATCH 00/27] Add support for DMA writable pages being writable by the network stack

2016-10-28 Thread Alexander Duyck
On Tue, Oct 25, 2016 at 8:36 AM, Alexander Duyck wrote: > The first 22 patches in the set add support for the DMA attribute > DMA_ATTR_SKIP_CPU_SYNC on multiple platforms/architectures. This is needed > so that we can flag the calls to dma_map/unmap_page so that we

[PATCH 2/2] mmc: sdhci: Use sdhci-caps-mask and sdhci-caps to change the caps read during __sdhci_read_caps

2016-10-28 Thread Zach Brown
The sdhci capabilities register can be incorrect. The sdhci-caps-mask and sdhci-caps dt properties specify which bits of the register are incorrect and what their values should be. This patch makes the sdhci driver use those properties to correct the caps during __sdhci_read_caps. During

[PATCH 1/2] kthread: make struct kthread kmalloc'ed

2016-10-28 Thread Oleg Nesterov
I still think we should kill struct kthread in its current form, but this needs cleanups outside of kthread.c. So make it kmalloc'ed for now to avoid the problems with stack corruption, for example the crashed kthread will likely OOPS again because its .exited was destroyed by

Re: [PATCH] ubifs: Fix regression in ubifs_readdir()

2016-10-28 Thread Jörg Krause
Hi, On Fri, 2016-10-28 at 11:53 +0200, Richard Weinberger wrote: > Commit c83ed4c9dbb35 ("ubifs: Abort readdir upon error") broke > overlayfs support because the fix exposed an internal error > code to VFS. > > Reported-by: Peter Rosin > Tested-by: Peter Rosin

Re: [PATCH] fpga: zynq-fpga: Delete not needed variable

2016-10-28 Thread Matthias Brugger
On 28/10/16 13:27, Matthias Brugger wrote: Variable count is never changed in the write path, we don't need to save it for freeing the dma memory. Signed-off-by: Matthias Brugger This is obsolete, as Jason already has this in his patch [1]. Sorry for the noise. [1]

[PATCH 3/4] platform/chrome: cros_ec_lightbar - Add userspace lightbar control bit to EC

2016-10-28 Thread Enric Balletbo i Serra
From: Eric Caruso Some devices might want to turn off the lightbar if e.g. the system turns the screen off due to idleness. This prevents the kernel from going through its normal suspend/resume pathways. Signed-off-by: Eric Caruso Signed-off-by:

[PATCH v2 2/5] doc: dt: add cyclone-spi binding document

2016-10-28 Thread Joshua Clayton
Describe a cyclonei-ps-spi devicetree entry, required features Signed-off-by: Joshua Clayton --- .../bindings/fpga/cyclone-ps-spi-fpga-mgr.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644

[PATCH v2 3/5] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-10-28 Thread Joshua Clayton
cyclone-ps-spi loads FPGA firmware over spi, using the "passive serial" interface on Altera Cyclone FPGAS. This is one of the simpler ways to set up an FPGA at runtime. The signal interface is close to unidirectional spi with lsb first. Signed-off-by: Joshua Clayton

[PATCH v2 4/5] ARM: dts: imx6q-evi: support cyclonespi

2016-10-28 Thread Joshua Clayton
Add support for Altera cyclone V FPGA connected to an spi port Signed-off-by: Joshua Clayton --- arch/arm/boot/dts/imx6q-evi.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-evi.dts b/arch/arm/boot/dts/imx6q-evi.dts

[PATCH 1/4] platform/chrome: cros_ec_lightbar - Add lightbar program feature to sysfs

2016-10-28 Thread Enric Balletbo i Serra
From: Eric Caruso Add a program feature so we can upload and run programs for lightbar sequences. We should be able to use this to shift sequences out of the EC and save space there. $ cat > /sys/devices/.../cros_ec/program $ echo program >

Re: [PATCH v2 1/2] x86/AMD: Fix cpu_llc_id for AMD Fam17h systems

2016-10-28 Thread Borislav Petkov
On Fri, Oct 28, 2016 at 10:51:57AM -0500, Yazen Ghannam wrote: > The current Fam17h cpu_llc_id derivation has an underflow bug when ^ (Last Level Cache ID) Let's write it out the first time. > extracting the socket_id value. The socket_id

Re: [PATCH v6 4/5] ARM: DTS: da850: Add cfgchip syscon node

2016-10-28 Thread David Lechner
On 10/28/2016 12:08 PM, Kevin Hilman wrote: Sekhar Nori writes: On Wednesday 26 October 2016 09:38 PM, David Lechner wrote: On 10/25/2016 10:06 PM, David Lechner wrote: Add a syscon node for the SoC CFGCHIPn registers. This is needed for the new usb phy driver.

Re: modules: begin maintainer transition

2016-10-28 Thread Jessica Yu
+++ Linus Torvalds [27/10/16 16:29 -0700]: On Thu, Oct 27, 2016 at 4:00 PM, Rusty Russell wrote: Well, I don't know her, I just know her work. But I'll figure it out. I see a module implementation trivia game in my future! It's fine, and I certainly don't require

Re: [net-next PATCH 03/27] swiotlb: Add support for DMA_ATTR_SKIP_CPU_SYNC

2016-10-28 Thread Konrad Rzeszutek Wilk
On Tue, Oct 25, 2016 at 11:37:03AM -0400, Alexander Duyck wrote: > As a first step to making DMA_ATTR_SKIP_CPU_SYNC apply to architectures > beyond just ARM I need to make it so that the swiotlb will respect the > flag. In order to do that I also need to update the swiotlb-xen since it > heavily

[tip:perf/core] perf hist browser: Fix hierarchy column counts

2016-10-28 Thread tip-bot for Namhyung Kim
Commit-ID: 8a06b0be6507f97f3aa92ca814335b8b65fd3de2 Gitweb: http://git.kernel.org/tip/8a06b0be6507f97f3aa92ca814335b8b65fd3de2 Author: Namhyung Kim AuthorDate: Tue, 25 Oct 2016 01:21:10 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25

[tip:perf/core] tools lib subcmd: Suppport cascading options

2016-10-28 Thread tip-bot for Namhyung Kim
Commit-ID: 369a2478973a416a2c42a37a8cf7031872a6d926 Gitweb: http://git.kernel.org/tip/369a2478973a416a2c42a37a8cf7031872a6d926 Author: Namhyung Kim AuthorDate: Mon, 24 Oct 2016 12:00:02 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25

Re: [PATCH v10 10/19] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-10-28 Thread Kirti Wankhede
On 10/28/2016 6:10 PM, Alex Williamson wrote: > On Fri, 28 Oct 2016 15:33:58 +0800 > Jike Song wrote: > >> On 10/27/2016 05:29 AM, Kirti Wankhede wrote: >>> Added blocking notifier to IOMMU TYPE1 driver to notify vendor drivers >>> about DMA_UNMAP. >>> Exported two APIs

[RFC] v4l2 support for thermopile devices

2016-10-28 Thread Matt Ranostay
So want to toss a few thoughts on adding support for thermopile devices (could be used for FLIR Lepton as well) that output pixel data. These typically aren't DMA'able devices since they are low speed (partly to limiting the functionality to be in compliance with ITAR) and data is piped over

Re: [PATCH v2 3/5] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-10-28 Thread kbuild test robot
Hi Joshua, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc2 next-20161028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to rec

[PATCH V6 1/3] ACPI: Retry IRQ conversion if it failed previously

2016-10-28 Thread Agustin Vega-Frias
This allows probe deferral to work properly when a dependent device fails to get a valid IRQ because the IRQ domain was not registered at the time the resources were added to the platform_device. Signed-off-by: Agustin Vega-Frias --- drivers/acpi/resource.c | 59

[PATCH v7] soc: qcom: add l2 cache perf events driver

2016-10-28 Thread Neil Leeder
Adds perf events support for L2 cache PMU. The L2 cache PMU driver is named 'l2cache_0' and can be used with perf events to profile L2 events such as cache hits and misses on Qualcomm Technologies processors. Signed-off-by: Neil Leeder --- v7: Move to drivers/perf

[PATCH v2 2/6] net: phy: broadcom: Add BCM54810 PHY entry

2016-10-28 Thread Jon Mason
The BCM54810 PHY requires some semi-unique configuration, which results in some additional configuration in addition to the standard config. Also, some users of the BCM54810 require the PHY lanes to be swapped. Since there is no way to detect this, add a device tree query to see if it is

[PATCH v2 0/6] add NS2 support to bgmac

2016-10-28 Thread Jon Mason
Changes in v2: * Remove the PHY power-on (per Andrew Lunn) * Misc PHY clean-ups regarding comments and #defines (per Andrew Lunn)   This results on none of the original PHY code from Vikas being present.  So, I'm removing him as an author and giving him "Inspired-by" credit. * Move PHY lane

Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes

2016-10-28 Thread John Stultz
On Fri, Oct 28, 2016 at 5:34 AM, Leo Yan wrote: > On Fri, Oct 28, 2016 at 08:52:49PM +0900, Jaehoon Chung wrote: > > [...] > >> >> Could you check the below thing.. >> >> >> >> /* find reset controller when exist */ >> >> - pdata->rstc =

Re: [4.1 backport trouble] Re: BUGreport: fix minor infoleak in get_user_ex()

2016-10-28 Thread Greg KH
On Fri, Oct 28, 2016 at 08:49:58PM +0100, Al Viro wrote: > On Fri, Oct 28, 2016 at 11:21:24AM -0700, Linus Torvalds wrote: > > > End result: either commit 1c109fabbd51 shouldn't be backported (it's > > really not that important - if people properly check the exception > > error results it

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-28 Thread Paolo Valente
> Il giorno 26 ott 2016, alle ore 18:12, Jens Axboe ha > scritto: > > On 10/26/2016 10:04 AM, Paolo Valente wrote: >> >>> Il giorno 26 ott 2016, alle ore 17:32, Jens Axboe ha >>> scritto: >>> >>> On 10/26/2016 09:29 AM, Christoph Hellwig wrote: On

[ANNOUNCE] Multiple Queue Skiplist Scheduler version 0.120

2016-10-28 Thread Con Kolivas
This is to announce the first major ~stable public release of MuQSS (pronounced mux), the Multiple Queue Skiplist Scheduler. MuQSS for linux 4.8: http://ck.kolivas.org/patches/muqss/4.0/4.8/4.8-sched-MuQSS_120.patch MuQSS for linux 4.7:

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-28 Thread Andrew Morton
On Thu, 27 Oct 2016 09:28:24 +0200 Sebastian Andrzej Siewior wrote: > > Building with gcc 3.3 is apparently still possible, although it produces > > tons of warnings and a modpost section mismatch. Still, requiring gcc > > 4.1 or newer would not be unreasonable, I think

[PATCH] usb: gadget: mv_u3d: add check for dma mapping error

2016-10-28 Thread Alexey Khoroshilov
mv_u3d_req_to_trb() does not check for dma mapping errors. By the way, the patch improves readability of mv_u3d_start_queue() by rearranging its code with two semantic modifications: - assignment zero to ep->processing if usb_gadget_map_request() fails; - propagation of error code from

Re: [PATCH] lpfc: use %zd format string for size_t

2016-10-28 Thread Vineet Gupta
On 10/28/2016 03:03 PM, Arnd Bergmann wrote: > On Friday, October 28, 2016 2:58:33 PM CEST Vineet Gupta wrote: >> On 10/28/2016 02:52 PM, Vineet Gupta wrote: >>> On 10/28/2016 02:44 PM, Vineet Gupta wrote: This is configuration specific, and something caused your compiler to > be built

Re: [PATCH] [v2 netfilter-next] netfilter: nf_tables: fib warnings

2016-10-28 Thread Florian Westphal
Arnd Bergmann wrote: > The newly added nft fib code produces two warnings: > > net/ipv4/netfilter/nft_fib_ipv4.c: In function 'nft_fib4_eval': > net/ipv4/netfilter/nft_fib_ipv4.c:80:6: error: unused variable 'i' > [-Werror=unused-variable] > net/ipv4/netfilter/nft_fib_ipv4.c: In

Re: [PATCH 09/10] scripts/basic/fixdep: Complete error handling in print_cmdline()

2016-10-28 Thread Jim Davis
On Fri, Oct 28, 2016 at 1:40 AM, SF Markus Elfring wrote: > + if (printf("cmd_%s := %s\n\n", target, cmdline) < 10) { Rather than scatter fragile magic numbers, like 10, throughout the code, if you're hell-bent on checking for printf errors you could write a

[PATCH 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency

2016-10-28 Thread Sarangdhar Joshi
Core, iface and bus clocks are not required to be voted from SCM driver for some of the Qualcomm chipsets. Remove dependency on these clocks from driver. Suggested-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi ---

[PATCH 1/3] dt-bindings: firmware: scm: Add MSM8996 DT bindings

2016-10-28 Thread Sarangdhar Joshi
Add SCM DT bindings for Qualcomm's MSM8996 platform. Signed-off-by: Sarangdhar Joshi --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt

Re: [PATCH v2] NFSv4: replace seqcount_t with a seqlock_t

2016-10-28 Thread Trond Myklebust
> On Oct 28, 2016, at 17:05, Sebastian Andrzej Siewior > wrote: > > The raw_write_seqcount_begin() in nfs4_reclaim_open_state() bugs me > because it maps to preempt_disable() in -RT which I can't have at this > point. So I took a look at the code. > It the lockdep part

Re: [PATCH] Staging: ks7010: ks7010_stio: Fixed several coding style issues

2016-10-28 Thread Greg KH
On Sat, Oct 29, 2016 at 03:48:17AM +0530, Manoj Sawai wrote: > Fixed all the "errors" reported by checkpath.pl in ks7010_stio.c "all"? Please break this up into one-patch-per-thing series of patches. And no, as my patchbot told you earlier today, "all coding style issues" is not one thing.

[PATCH 3/6] Input: gpio_keys - annotate PM methods as __maybe_unused

2016-10-28 Thread Dmitry Torokhov
Instead of using #ifdef, let's mark suspend and resume methods as __maybe_unused to provide better compile coverage. Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/gpio_keys.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: /dev/mem and PCI memory = EFAULT (regression?)

2016-10-28 Thread Linus Torvalds
On Fri, Oct 28, 2016 at 2:36 PM, Stas Sergeev wrote: On Fri, Oct 28, 2016 at 2:03 PM, Stas Sergeev wrote: > > Hello. > > For the long time dosemu used /dev/mem for vga pass-through. > Now it appears /dev/mem has this check: >

Re: /dev/mem and PCI memory = EFAULT (regression?)

2016-10-28 Thread Stas Sergeev
29.10.2016 02:26, Linus Torvalds пишет: On Fri, Oct 28, 2016 at 2:36 PM, Stas Sergeev wrote: On Fri, Oct 28, 2016 at 2:03 PM, Stas Sergeev wrote: Hello. For the long time dosemu used /dev/mem for vga pass-through. Now it appears /dev/mem has this check:

[GIT PULL] ARC updates for 4.9-rc3

2016-10-28 Thread Vineet Gupta
Hi Linus, Please pull Thx, -Vineet --> The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ tags/arc-4.9-rc3 for

[PATCH 3/3] firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails

2016-10-28 Thread Sarangdhar Joshi
When devm_clk_get fails for core clock, the failure was ignored and the core_clk was explicitly set to NULL so that other remaining clocks can be queried. However, now that we have a clean way of expressing the clock dependency, return failure when devm_clk_get fails for core clock.

[PATCH 0/3] Remove clocks dependency from SCM driver

2016-10-28 Thread Sarangdhar Joshi
On earlier chiptsets (APQ8064, MSM8660, MSM8690, MSM8916, APQ8084, MSM8974) crypto operations of TZ were depends on crypto clocks controlled by users/clients. However on MSM8996 crypto clocks control is handled internally in TZ itself. The current series of patches handle this clock dependency in

[PATCH 1/1] arm64: dts: msm8996: Add SCM DT node

2016-10-28 Thread Sarangdhar Joshi
Add SCM DT node to enable SCM functionality on MSM8996. Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi

Re: [PATCH] ipc/sem: ensure we left shift a ULL rather than a 32 bit integer

2016-10-28 Thread Davidlohr Bueso
On Fri, 28 Oct 2016, Colin King wrote: Thanks.

Re: [PATCH] ubifs: Fix regression in ubifs_readdir()

2016-10-28 Thread Jörg Krause
Richard, On Fri, 2016-10-28 at 19:07 +0200, Richard Weinberger wrote: > Jörg, > > On 28.10.2016 18:19, Jörg Krause wrote: > > Hi, > > > > On Fri, 2016-10-28 at 11:53 +0200, Richard Weinberger wrote: > > > Commit c83ed4c9dbb35 ("ubifs: Abort readdir upon error") broke > > > overlayfs support

Re: [PATCH 01/10] scripts/basic/bin2c: Complete error handling in main()

2016-10-28 Thread Jim Davis
On Fri, Oct 28, 2016 at 1:31 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 27 Oct 2016 16:15:04 +0200 > > Return values were not checked from five calls of the function "printf". > > This issue was detected also by

[PATCH] Staging: ks7010: ks7010_stio: Fixed several coding style issues

2016-10-28 Thread Manoj Sawai
Fixed all the "errors" reported by checkpath.pl in ks7010_stio.c The "TODO" file ask to take the 80 character limit lightly, so the file still has some warnings about character limit. All the errors have been removed. Signed-off-by: Manoj Sawai ---

[PATCH 1/2] block: immediately dispatch big size request

2016-10-28 Thread Shaohua Li
Currently block plug holds up to 16 non-mergeable requests. This makes sense if the request size is small, eg, reduce lock contention. But if request size is big enough, we don't need to worry about lock contention. Holding such request makes no sense and it lows the disk utilization. In

[PATCH 2/2] blk-mq: immediately dispatch big size request

2016-10-28 Thread Shaohua Li
This is corresponding part for blk-mq. Disk with multiple hardware queues doesn't need this as we only hold 1 request at most. Signed-off-by: Shaohua Li --- block/blk-mq.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c

Re: [PATCH v2 0/5] make POSIX timers optional with some Kconfig help

2016-10-28 Thread Paul Bolle
On Tue, 2016-10-25 at 22:28 -0400, Nicolas Pitre wrote: > When POSIX timers are configured out, the PTP clock subsystem should be > left out as well. However a bunch of ethernet drivers currently *select* > the later in their Kconfig entries. Therefore some more work was needed > to break that

[PATCH 5/6] Input: gpio_keys - add support for GPIO descriptors

2016-10-28 Thread Dmitry Torokhov
From: Geert Uytterhoeven GPIO descriptors are the preferred way over legacy GPIO numbers nowadays. Convert the driver to use GPIO descriptors internally but still allow passing legacy GPIO numbers from platform data to support existing platforms. Based on commits

[PATCH 4/6] Input: gpio_keys - fix leaking DT node references

2016-10-28 Thread Dmitry Torokhov
for_each_available_child_of_node(node, pp) takes reference to 'pp' and drops it when attempting next iteration. However if we exit the loop early we need to drop the reference ourselves. Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/gpio_keys.c | 3 +++ 1

[PATCH 6/6] Input: gpio_keys - switch to using generic device properties

2016-10-28 Thread Dmitry Torokhov
Make use of the device property API in this driver so that both OF based systems and ACPI based systems can use this driver. Suggested-by: Geert Uytterhoeven Suggested-by: Mika Westerberg Signed-off-by: Dmitry Torokhov

[PATCH 1/6] Input: gpio_keys_polled - keep button data constant

2016-10-28 Thread Dmitry Torokhov
Commit 633a21d80b4a ("input: gpio_keys_polled: Add support for GPIO descriptors") placed gpio descriptor into gpio_keys_button structure, which is supposed to be part of platform data and not modifiable by the driver. To keep the data constant, let's move the descriptor to gpio_keys_button_data

Re: Linux Foundation Technical Advisory Board Elections updates and location

2016-10-28 Thread Frank Rowand
Hi Chris, It's time for the annual question of: where do I find the TAB minutes? I was sure I had a bookmark of the link, but I seem to have misplaced it. Thanks, Frank On 10/28/16 12:39, Chris Mason wrote: > Hello everyone, > > A few updates about the TAB election. It is scheduled for 5pm

[PATCH 2/6] Input: gpio_keys_polled - always use gpiod_get_value_cansleep

2016-10-28 Thread Dmitry Torokhov
It does not matter if given GPIO may sleep or not when reading state, polling is always done in a non-atomic context, so we should always be able to simply use gpiod_get_value_cansleep(). Also let's note in the logs when we fail to read gpio state. Reviewed-by: Hans de Goede

Re: [PATCHv2] clk: xgene: Don't call __pa on ioremaped address

2016-10-28 Thread Stephen Boyd
On 10/28, Laura Abbott wrote: > ioremaped addresses are not linearly mapped so the physical > address can not be figured out via __pa. More generally, there > is no guarantee that backing value of an ioremapped address > is a physical address at all. The value here is only used > for debugging so

[GIT PULL] Re: [PATCH 08/15] perf tools: Introduce timestamp_in_usec()

2016-10-28 Thread Arnaldo Carvalho de Melo
on, as used > elsewhere in tools/perf (tools/perf/util/annotate.h has several > examples). Ingo, I've just signed a perf-core-for-mingo-20161028 with the only change being the patch below, re-run my tests, I think this doesn't introduce any bugs and addresses Joonwoo's concerns, please cons

Re: [RFC][PATCH] arm64: Add support for CONFIG_DEBUG_VIRTUAL

2016-10-28 Thread Mark Rutland
Hi Laura, On Thu, Oct 27, 2016 at 05:18:12PM -0700, Laura Abbott wrote: > x86 has an option CONFIG_DEBUG_VIRTUAL to do additional checks > on virt_to_phys calls. The goal is to catch users who are calling > virt_to_phys on non-linear addresses immediately. As features > such as CONFIG_VMAP_STACK

Re: [PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null()

2016-10-28 Thread Masahiro Yamada
Hello Felipe, If this series looks good, can you pick it up please? Thanks, 2016-09-19 1:03 GMT+09:00 Masahiro Yamada : > Replace the chain of list_empty() and list_first_entry() > with list_first_entry_or_null(). > > Changes in v2: > - Split into per-driver

Re: [PATCH 1/8] block: add WRITE_BG

2016-10-28 Thread Jens Axboe
On 10/27/2016 12:37 AM, Christoph Hellwig wrote: * non-volatile media on completion. + * WRITE_BGBackground write. This is for background activity like + * the periodic flush and background threshold writeback * */ #define RW_MASK

Re: [PATCH] scripts/checkpatch: Check for Reviewed-by under --strict

2016-10-28 Thread Joe Perches
On Fri, 2016-10-28 at 13:49 +0100, Chris Wilson wrote: > Some subsystem polices have a strict requirement that every patch must > have at least one reviewer before being approved for upstream. Since > encouraging review is good policy (great review is even better policy!) > enforce checking for a

Re: [PATCH v10 01/19] vfio: Mediated device Core driver

2016-10-28 Thread Jike Song
On 10/27/2016 05:29 AM, Kirti Wankhede wrote: > +int mdev_register_device(struct device *dev, const struct parent_ops *ops) > +{ > + int ret; > + struct parent_device *parent; > + > + /* check for mandatory ops */ > + if (!ops || !ops->create || !ops->remove ||

Re: [Xen-devel] [PATCH v6 00/11] implement vcpu preempted check

2016-10-28 Thread Pan Xinhui
在 2016/10/29 03:38, Konrad Rzeszutek Wilk 写道: On Fri, Oct 28, 2016 at 04:11:16AM -0400, Pan Xinhui wrote: change from v5: spilt x86/kvm patch into guest/host part. introduce kvm_write_guest_offset_cached. fix some typos. rebase patch onto 4.9.2 change from v4:

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-28 Thread Jens Axboe
On 10/28/2016 01:59 AM, Jan Kara wrote: On Thu 27-10-16 10:26:18, Jens Axboe wrote: On 10/27/2016 03:26 AM, Jan Kara wrote: On Wed 26-10-16 10:12:38, Jens Axboe wrote: On 10/26/2016 10:04 AM, Paolo Valente wrote: Il giorno 26 ott 2016, alle ore 17:32, Jens Axboe ha

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-28 Thread Jens Axboe
On 10/28/2016 12:36 AM, Ulf Hansson wrote: [...] Moreover, I am still trying to understand what's the big deal to why you say no to BFQ as a legacy scheduler. Ideally it shouldn't cause you any maintenance burden and it doesn't make the removal of the legacy blk layer any more difficult,

Re: [PATCH net-next 5/5] ipv6: Compute multipath hash for forwarded ICMP errors from offending packet

2016-10-28 Thread Tom Herbert
On Fri, Oct 28, 2016 at 1:32 AM, Jakub Sitnicki wrote: > On Thu, Oct 27, 2016 at 10:35 PM GMT, Tom Herbert wrote: >> On Mon, Oct 24, 2016 at 2:28 AM, Jakub Sitnicki wrote: >>> Same as for the transmit path, let's do our best to ensure that received >>> ICMP

<    1   2   3   4   5   6   7   8   9   10   >