[PATCH 4.2.y-ckt 17/98] usb: chipidea: otg: change workqueue ci_otg as freezable

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Chen commit d144dfea8af7108f613139623e63952ed7e69c0c upstream. If we use USB ID pin as wakeup source, and there is a USB block devi

[PATCH 4.2.y-ckt 20/98] Fix directory hardlinks from deleted directories

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Woodhouse commit be629c62a603e5935f8177fd8a19e014100a259e upstream. When a directory is deleted, we don't take too much care about

[PATCH 4.2.y-ckt 08/98] mac80211: minstrel: Change expected throughput unit back to Kbps

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Sven Eckelmann commit 212c5a5e6ba61678be6b5fee576e38bccb50b613 upstream. The change from cur_tp to the function minstrel_get_tp_avg/minst

[PATCH 4.2.y-ckt 10/98] iwlwifi: mvm: inc pending frames counter also when txing non-sta

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Liad Kaufman commit fb896c44f88a75843a072cd6961b1615732f7811 upstream. Until this patch, when TXing non-sta the pending_frames counter wa

[PATCH 4.2.y-ckt 14/98] Adding Intel Lewisburg device IDs for SATA

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexandra Yates commit f5bdd66c705484b4bc77eb914be15c1b7881fae7 upstream. This patch complements the list of device IDs previously added

[PATCH 4.2.y-ckt 13/98] ahci: Order SATA device IDs for codename Lewisburg

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexandra Yates commit 4d92f0099a06ef0e36c7673f7c090f1a448b2d1b upstream. This change was to preserve the ascending order of device IDs.

[PATCH 4.2.y-ckt 02/98] tipc: fix nullptr crash during subscription cancel

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Parthasarathy Bhuvaragan commit 4de13d7ed6ffdcbb34317acaa9236f121176f5f8 upstream. commit 4d5cfcba2f6e ('tipc: fix connection abort durin

[PATCH 4.2.y-ckt 01/98] tipc: fix connection abort during subscription cancel

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Parthasarathy Bhuvaragan [ Upstream commit 4d5cfcba2f6ec494d8810b9e3c0a7b06255c8067 ] In 'commit 7fe8097cef5f ("tipc: fix nullpointer bug

[PATCH 4.2.y-ckt 07/98] mac80211: fix use of uninitialised values in RX aggregation

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Chris Bainbridge commit f39ea2690bd61efec97622c48323f40ed6e16317 upstream. Use kzalloc instead of kmalloc for struct tid_ampdu_rx to init

[PATCH 4.2.y-ckt 04/98] Input: aiptek - fix crash on detecting device without endpoints

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Vladis Dronov commit 8e20cf2bce122ce9262d6034ee5d5b76fbb92f96 upstream. The aiptek driver crashes in aiptek_probe() when a specially craf

[PATCH 4.2.y-ckt 09/98] libata: fix HDIO_GET_32BIT ioctl

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Arnd Bergmann commit 287e6611ab1eac76c2c5ebf6e345e04c80ca9c61 upstream. As reported by Soohoon Lee, the HDIO_GET_32BIT ioctl does not wor

linux-next: build failure after merge of the kbuild tree

2016-03-15 Thread Stephen Rothwell
Hi Michal, After merging the kbuild tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/gma500/mdfld_dsi_output.c:407:39: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .dpms = /*drm_helper_connector_dpms*/mdfld_dsi_

[PATCH 4.2.y-ckt 06/98] cfg80211/wext: fix message ordering

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Johannes Berg commit cb150b9d23be6ee7f3a0fff29784f1c5b5ac514d upstream. Since cfg80211 frequently takes actions from its netdev notifier

[PATCH 4.2.y-ckt 05/98] wext: fix message delay/ordering

2016-03-15 Thread Kamal Mostafa
4.2.8-ckt6 -stable review patch. If anyone has any objections, please let me know. ---8< From: Johannes Berg commit 8bf862739a7786ae72409220914df960a0aa80d8 upstream. Beniamino reported that he was getting an RTM_NEWLINK message for

[PATCH] MAINTAINERS: pinctrl: samsung: Add two new maintainers

2016-03-15 Thread Krzysztof Kozlowski
Extend the list of maintainers for Samsung pinctrl driver with Sylwester and Krzysztof. Cc: Tomasz Figa Cc: Kukjin Kim Cc: Sylwester Nawrocki Cc: Marek Szyprowski Cc: Linus Walleij Signed-off-by: Krzysztof Kozlowski --- Tomasz Figa still has the time for this driver (and, as the most recen

Re: [PATCH 0/8] schedutil enhancements

2016-03-15 Thread Rafael J. Wysocki
Hi Mike, On Sunday, March 13, 2016 10:22:04 PM Michael Turquette wrote: > I'm happy that scheduler-driven cpu frequency selection is getting some > attention. Rafael's recent schedutil governor is a step in the right > direction. Thanks! > This series builds on top of Rafael's schedutil governo

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-15 Thread Linus Torvalds
On Tue, Mar 15, 2016 at 4:52 PM, Dave Chinner wrote: > > It is pretty clear that the onus is on the patch submitter to > provide justification for inclusion, not for the reviewer/Maintainer > to have to prove that the solution is unworkable. I agree, but quite frankly, performance is a good justi

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-15 Thread Dave Chinner
On Tue, Mar 15, 2016 at 04:14:32PM -0700, Linus Torvalds wrote: > On Tue, Mar 15, 2016 at 4:06 PM, Linus Torvalds > wrote: > > > > And yes, "keep the patch entirely inside google" is obviously one good > > way to limit the interface. But if there are really other groups that > > want to explore th

Re: [PATCHv2 2/3] thermal: rework core to allow emul_temp to be treated as regular temp

2016-03-15 Thread Pandruvada, Srinivas
On Thu, 2015-12-17 at 11:13 -0800, Eduardo Valentin wrote: > Change the way we handle emul_temp. This is to allow > emul_temp to be used as input to exercise thermal core > properly. Now, even if .get_temp is not available, > the emul_temp can be used to emulate temperature. > > Cc: Zhang Rui > C

Re: [PATCHv2 3/3] thermal: improve hot trip handling

2016-03-15 Thread Pandruvada, Srinivas
On Thu, 2015-12-17 at 11:13 -0800, Eduardo Valentin wrote: > The idea is to add the choice to be notified only when temperature > crosses trip points. The trip points affected are the non-passive > trip points. > > It will check last temperature and current temperature against > the trip point tem

Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

2016-03-15 Thread Guenter Roeck
On Tue, Mar 15, 2016 at 09:55:06PM +, Qais Yousef wrote: > Hi Guenter, > > On 15/03/2016 05:26, Guenter Roeck wrote: > >On Mon, Mar 14, 2016 at 07:37:29AM -0700, Guenter Roeck wrote: > >>On Mon, Mar 14, 2016 at 05:40:37PM +1100, Stephen Rothwell wrote: > >>>Hi all, > >>> > >>>Changes since 201

Re: [PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-15 Thread Jens Axboe
On 03/15/2016 03:15 PM, NeilBrown wrote: On Tue, Mar 15 2016, Ross Zwisler wrote: On Thu, Mar 10, 2016 at 08:59:28AM +1100, NeilBrown wrote: When alloc_disk(0) is used, the ->major number is ignored and irrelevant. Yet several drivers register a major number anyway. This series of patches re

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-15 Thread Eric Sandeen
On 3/15/16 7:06 PM, Linus Torvalds wrote: > On Tue, Mar 15, 2016 at 4:52 PM, Dave Chinner wrote: >> > >> > It is pretty clear that the onus is on the patch submitter to >> > provide justification for inclusion, not for the reviewer/Maintainer >> > to have to prove that the solution is unworkable.

Re: [tpmdd-devel] [PATCH] tpm_crb: drop struct resource res from struct crb_priv

2016-03-15 Thread Stefan Berger
On 03/15/2016 05:36 PM, Jarkko Sakkinen wrote: The iomem resource is needed only temporarily so it is better to pass it on instead of storing it permanently. Named the variable as io_res so that the code better documents itself. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --

[PATCH for-4.6] cgroup: ignore css_sets associated with dead cgroups during migration

2016-03-15 Thread Tejun Heo
Before 2e91fa7f6d45 ("cgroup: keep zombies associated with their original cgroups"), all dead tasks were associated with init_css_set. If a zombie task is requested for migration, while migration prep operations would still be performed on init_css_set, the actual migration would ignore zombie task

[PATCH 0/2] pinctrl: sh-pfc: tidyup IPSR/MOD_SEL/GPSR settings order

2016-03-15 Thread Kuninori Morimoto
Hi Geert, Laurent Gen2 / Gen3 next datasheet will has below note. Our current PFC settings order is MOD_SEL -> GPSR -> IPSR But, this fixes it to MOD_SEL -> IPSR -> GPSR IPSRx and MOD_SELx registers shall be set before setting GPSRx registers in case that they need t

[PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug

2016-03-15 Thread Kuninori Morimoto
From: Kuninori Morimoto Current sh_pfc can't indicate GPSR/IPSR/MOD_SEL name for debug. Of course we can get it from indicated register address, but it is not convenient. This patch enables to indicate these. Signed-off-by: Kuninori Morimoto --- drivers/pinctrl/sh-pfc/core.c | 3 ++- drivers

[PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx

2016-03-15 Thread Kuninori Morimoto
From: Kuninori Morimoto Gen2 / Gen3 datasheet will have below note in next version. This patch follows this note. IPSRx and MOD_SELx registers shall be set before setting GPSRx registers in case that they need to be configured. MOD_SELx registers can be set either earlier or later than setting I

Re: [PATCH] cpufreq: Do not schedule policy update work in cpufreq_resume()

2016-03-15 Thread Rafael J. Wysocki
On Tue, Mar 15, 2016 at 1:11 PM, Rafael J. Wysocki wrote: > On Tue, Mar 15, 2016 at 7:10 AM, Viresh Kumar wrote: >> On 12-03-16, 03:05, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>> cpufreq_resume() attempts to resync the current frequency with >>> policy->cur for the first online

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-15 Thread Chris Mason
On Tue, Mar 15, 2016 at 07:30:14PM -0500, Eric Sandeen wrote: > On 3/15/16 7:06 PM, Linus Torvalds wrote: > > On Tue, Mar 15, 2016 at 4:52 PM, Dave Chinner wrote: > >> > > >> > It is pretty clear that the onus is on the patch submitter to > >> > provide justification for inclusion, not for the rev

Re: [PATCH] watchdog: add driver for StreamLabs USB watchdog device

2016-03-15 Thread Alexey Klimov
Hi Oliver, On Thu, Mar 10, 2016 at 9:23 AM, Oliver Neukum wrote: > On Thu, 2016-03-10 at 02:29 +, Alexey Klimov wrote: >> This patch creates new driver that supports StreamLabs usb watchdog >> device. This device plugs into 9-pin usb header and connects to >> reset pin and reset button on com

Re: wireless-drivers: random cleanup patches piling up

2016-03-15 Thread Julian Calaby
Hi Kalle, On Mon, Feb 1, 2016 at 7:21 PM, Kalle Valo wrote: > Sudip Mukherjee writes: > >> Sure, I am starting that way. I checked in patchwork and I do not see >> any checkpatch related patch pending (except staging, which Greg will >> handle). I think you must have cleared all of them. > > The

linux-next: manual merge of the rdma tree with the net-next tree

2016-03-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the rdma tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/fs_core.c between commit: 60ab4584f5bf ("net/mlx5_core: Set flow steering dest only for forward rules") from the net-next tree and commit: b3638e1a7664 ("net/mlx5_core: Introduce

Re: [PATCH] watchdog: add driver for StreamLabs USB watchdog device

2016-03-15 Thread Alexey Klimov
Hi Guenter, On Tue, Mar 15, 2016 at 2:24 AM, Guenter Roeck wrote: > Hi Alexey, > > > On 03/14/2016 06:02 PM, Alexey Klimov wrote: >> >> Hi Guenter, >> >> On Thu, Mar 10, 2016 at 3:54 AM, Guenter Roeck wrote: >>> >>> On 03/09/2016 06:29 PM, Alexey Klimov wrote: This patch creates n

Re: [PATCH 08/18] ARM: clk: add WKPU unit

2016-03-15 Thread Stephen Boyd
On 03/09, Stefan Agner wrote: > Signed-off-by: Stefan Agner > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

linux-next: build failure after merge of the rdma tree

2016-03-15 Thread Stephen Rothwell
adb3a94 ("i40iw: add puda code") 4e9042e647ff ("i40iw: add hw and utils files") (at least) from the rdma tree. Its a bit of a pain finding these conflicts now - it would have been better a few weeks ago. For now, all I can do is to use the rdma tree from next-20160315 fo

RE: [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-15 Thread Li, Liang Z
> > > > > > I'm just catching back up on this thread; so without > > > > > > reference to any particular previous mail in the thread. > > > > > > > > > > > > 1) How many of the free pages do we tell the host about? > > > > > > Your main change is telling the host about all the > > > > > >

Re: [PATCH 0/7] dmaengine: xilinx_vdma: AXI DMA's enhancments

2016-03-15 Thread Moritz Fischer
Hi, On Tue, Mar 15, 2016 at 10:23 AM, Kedareswara rao Appana wrote: > This patch series does some enhancments to the VDMA driver > which includes > --> Adding support for AXI DMA IP. > --> Adding support for AXI CDMA IP. > --> Fixing checkpatch warnings. > > Kedareswara rao Appana (7): > dmaeng

Re: [PATCH 5/7] dmaengine: xilinx_vdma: Remove unnecessary axi dma device-tree binding doc

2016-03-15 Thread Moritz Fischer
Hi there, On Tue, Mar 15, 2016 at 10:23 AM, Kedareswara rao Appana wrote: > AXI DMA support is added to the existing AXI VDMA driver. > The binding doc for AXI DMA should also be updated in the > VDMA device-tree binding doc. > > Signed-off-by: Kedareswara rao Appana > --- > .../devicetree/bind

Re: Overlapping ioremap() calls, set_memory_*() semantics

2016-03-15 Thread Luis R. Rodriguez
On Fri, Mar 11, 2016 at 03:13:52PM -0700, Toshi Kani wrote: > Hi Ingo, > > My apology for the delay... > > On Wed, 2016-03-09 at 10:15 +0100, Ingo Molnar wrote: > > * Toshi Kani wrote: > > > > > On Tue, 2016-03-08 at 13:16 +0100, Ingo Molnar wrote: > > > > * Toshi Kani wrote: > > > > > > > >

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-15 Thread Alexey Kardashevskiy
On 03/16/2016 02:29 AM, Christoph Hellwig wrote: On Tue, Mar 15, 2016 at 04:23:33PM +0200, Or Gerlitz wrote: Let us check. I was under (the maybe wrong) impression, that before this patch both PF/VF drivers were not operative on some systems, so on those systems it's fair to require the VF drive

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-15 Thread Darrick J. Wong
On Tue, Mar 15, 2016 at 06:52:24PM -0400, Theodore Ts'o wrote: > On Wed, Mar 16, 2016 at 09:33:13AM +1100, Dave Chinner wrote: > > > > Stale data escaping containment is a security issue. Enabling > > generic kernel mechanisms to *enable containment escape* is > > fundamentally wrong, and relying

Re: [PATCH 1/1] arm64/dma-mapping: remove an unnecessary conversion

2016-03-15 Thread Leizhen (ThunderTown)
On 2016/3/15 23:37, Catalin Marinas wrote: > On Tue, Mar 15, 2016 at 10:12:11AM +0800, Zhen Lei wrote: >> 1. In swiotlb_alloc_coherent, the branch of __get_free_pages. Directly >>return vaddr on success, and pass vaddr to free_pages on failure. >> 2. So, we can directly transparent pass vaddr

Re: [RFC][PATCH v4 1/2] printk: Make printk() completely async

2016-03-15 Thread Sergey Senozhatsky
Hello Petr, On (03/15/16 16:58), Petr Mladek wrote: [..] > > +static bool __read_mostly printk_sync = !IS_ENABLED(CONFIG_SMP); > > +module_param_named(synchronous, printk_sync, bool, S_IRUGO | S_IWUSR); > > If we make it writtable, we also need to handle the situation that > it gets disabled at r

Re: Possible race at user mode helper in request_firmware

2016-03-15 Thread Ming Lei
On Tue, Mar 15, 2016 at 11:09 PM, Ming Lei wrote: > Hi, > > On Mon, Mar 14, 2016 at 8:00 PM, wrote: >> Hello, >> >> I see possible race in _request_firmware_load function, on which I wanted to >> take your opinion. >> >> When system is going to low power mode, device_cache_fw_images() is called

Re: [PATCH v6 2/2] printk: Make printing of spin_dump() deferred to avoid a deadlock

2016-03-15 Thread Byungchul Park
On Mon, Mar 14, 2016 at 01:17:48PM +0900, Byungchul Park wrote: > On Mon, Mar 14, 2016 at 11:40:55AM +0900, Sergey Senozhatsky wrote: > > Hi, > > > > On (03/14/16 11:30), Byungchul Park wrote: > > [..] > > > > so can it be > > > > > > > > vprintk_emit() > > > > __spin_dump_deferred() > > > > v

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-15 Thread Alexey Kardashevskiy
On 03/15/2016 09:40 PM, Or Gerlitz wrote: On Tue, Mar 15, 2016 at 12:19 PM, Alexey Kardashevskiy wrote: This reverts commit 85743f1eb34548ba4b056d2f184a3d107a3b8917. Without this revert, POWER "pseries" KVM guests with a VF passed to a guest using VFIO fail to bring the driver up: mlx4_core:

Re: [RFC][PATCH v4 1/2] printk: Make printk() completely async

2016-03-15 Thread Byungchul Park
On Wed, Mar 16, 2016 at 11:01:15AM +0900, Sergey Senozhatsky wrote: > Hello Petr, > > On (03/15/16 16:58), Petr Mladek wrote: > [..] > > > +static bool __read_mostly printk_sync = !IS_ENABLED(CONFIG_SMP); > > > +module_param_named(synchronous, printk_sync, bool, S_IRUGO | S_IWUSR); > > > > If we

Re: [RFC][PATCH v4 1/2] printk: Make printk() completely async

2016-03-15 Thread Sergey Senozhatsky
On (03/16/16 11:10), Byungchul Park wrote: > > > What about this? > > > > > > int need_flush_console; > > > > > > while(1) { > > > set_current_state(TASK_INTERRUPTIBLE); > > > if (!need_flush_console) > > > schedule(); > > else // This shou

Re: [ANNOUNCE] 3.14.64-rt67

2016-03-15 Thread Paul Gortmaker
On Tue, Mar 15, 2016 at 7:25 PM, Paul Gortmaker wrote: > On Tue, Mar 15, 2016 at 5:45 PM, Paul Gortmaker > wrote: >> On Mon, Mar 14, 2016 at 11:49 AM, Steven Rostedt wrote: >>> >>> Dear RT Folks, >>> >>> 3.14 release on PI(E) Day! >>> >>> I'm pleased to announce the 3.14.64-rt67 stable release.

Re: [PATCH 2/8] sched/fair: add margin to utilization update

2016-03-15 Thread Steve Muckle
On 03/13/2016 10:22 PM, Michael Turquette wrote: > +unsigned long cfs_capacity_margin = CAPACITY_MARGIN_DEFAULT; > + > #ifdef CONFIG_CFS_BANDWIDTH > /* > * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool > @@ -2840,6 +2853,8 @@ static inline void update_load_avg(struct

Re: [PATCH] net: smc911x: convert pxa dma to dmaengine

2016-03-15 Thread David Miller
From: Robert Jarzmik Date: Tue, 15 Mar 2016 23:56:58 +0100 > Robert Jarzmik writes: > >> Fabio Estevam writes: >>> Tested-by: Fabio Estevam >> >> Thanks Fabio for the test. >> >> I also tried with a different different approach. >> >> I built the different platforms (imx v6, etc ...) : >> -

Re: [PATCH 0/7] dmaengine: xilinx_vdma: AXI DMA's enhancments

2016-03-15 Thread Vinod Koul
On Tue, Mar 15, 2016 at 06:29:38PM -0700, Moritz Fischer wrote: > Hi, > > On Tue, Mar 15, 2016 at 10:23 AM, Kedareswara rao Appana > wrote: > > This patch series does some enhancments to the VDMA driver > > which includes > > --> Adding support for AXI DMA IP. > > --> Adding support for AXI CDMA

Re: [PATCH 3.10 00/18] 3.10.101-stable review

2016-03-15 Thread Guenter Roeck
On 03/14/2016 10:52 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.101 release. There are 18 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Hi Greg, The proj

Re: [PATCH 2/7] dmaengine: xilinx_vdma: Add quirks support to differentiate differnet IP cores

2016-03-15 Thread Vinod Koul
On Tue, Mar 15, 2016 at 10:53:07PM +0530, Kedareswara rao Appana wrote: > This patch adds quirks support in the driver to differentiate differnet IP > cores. Wouldn't it help to explain why quirks are needed for these cores in changelog? Also limit your changelogs properly. Am sure checkpatch wo

Re: [PATCH 4/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Direct Memory Access Engine

2016-03-15 Thread Vinod Koul
On Tue, Mar 15, 2016 at 10:53:09PM +0530, Kedareswara rao Appana wrote: > This patch updates the device-tree binding doc for > adding support for AXI DMA. Binding patch should precced the driver. and the title doesn't tell me its a binding patch and might get ignore by folks. Pls cc device tree M

RE: [lkp] [ALSA] ca53fbf3a6: WARNING: CPU: 0 PID: 151 at sound/hda/hdac_i915.c:129 pin2port+0x2a/0x40 [snd_hda_core]()

2016-03-15 Thread Lin, Mengdong
+ Jim and Jani from gfx team. Thanks Mengdong > -Original Message- > From: Lin, Mengdong > Sent: Wednesday, March 16, 2016 12:11 AM > To: Takashi Iwai > Cc: Yang, Libin; kernel test robot; l...@01.org; LKML; Wu, Fengguang > Subject: RE: [lkp] [ALSA] ca53fbf3a6: WARNING: CPU: 0 PID: 151 at

Re: [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-15 Thread Vinod Koul
On Mon, Mar 14, 2016 at 12:46:41PM +0100, Maxime Ripard wrote: > On Fri, Mar 11, 2016 at 04:48:26PM +0530, Vinod Koul wrote: > > > > But this nees to be property for clients and not driver. Client can then > > > > program these > > > > > > Yes, totally. The question here is how the clients give th

Re: [PATCH v18 00/22] Richacls (Core and Ext4)

2016-03-15 Thread Steve French
On Tue, Mar 15, 2016 at 3:17 PM, Volker Lendecke wrote: > On Tue, Mar 15, 2016 at 08:45:14AM -0700, Jeremy Allison wrote: >> On Tue, Mar 15, 2016 at 12:11:03AM -0700, Christoph Hellwig wrote: >> > People have long learned that we only have 'alloc' permissions. Any >> > model that mixes allow and

[PATCH v2 02/22] ncr5380: Remove FLAG_NO_PSEUDO_DMA where possible

2016-03-15 Thread Finn Thain
Drivers that define PSEUDO_DMA also define NCR5380_dma_xfer_len. The core driver must call NCR5380_dma_xfer_len which means FLAG_NO_PSEUDO_DMA can be eradicated from the core driver. dmx3191d doesn't define PSEUDO_DMA and has no use for FLAG_NO_PSEUDO_DMA, so remove it there also. Signed-off-by:

[PATCH v2 19/22] ncr5380: Update usage documentation

2016-03-15 Thread Finn Thain
Update kernel parameter documentation for atari_scsi, mac_scsi and g_NCR5380 drivers. Remove duplication. Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke --- Documentation/scsi/g_NCR5380.txt | 17 ++- Documentation/scsi/scsi-parameters.txt | 11 +++--- drivers/

[PATCH v2 17/22] ncr5380: Remove remaining register storage qualifiers

2016-03-15 Thread Finn Thain
Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke --- drivers/scsi/NCR5380.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: linux/drivers/scsi/NCR5380.c === --- linux.orig/drivers/scsi/NCR5380.c 2016-

[PATCH v2 15/22] dmx3191d: Drop max_sectors limit

2016-03-15 Thread Finn Thain
The dmx3191d driver is not capable of DMA or PDMA so all transfers use PIO. Now that large slow PIO transfers periodically stop and call cond_resched(), the max_sectors limit can go away. Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke --- drivers/scsi/dmx3191d.c |1 - 1 file change

[PATCH v2 16/22] ncr5380: Fix register decoding for debugging

2016-03-15 Thread Finn Thain
Decode all bits in the chip registers. They are all useful at times. Fix printk severity so that this output can be suppressed along with the other debugging output. Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke --- drivers/scsi/NCR5380.c | 42 +--

[PATCH v2 20/22] atari_scsi: Set a reasonable default for cmd_per_lun

2016-03-15 Thread Finn Thain
This setting does not need to be conditional on Atari ST or TT. Signed-off-by: Finn Thain --- Changed since v1: - Set the default cmd_per_lun to 4 based on test results. --- drivers/scsi/atari_scsi.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: linux/drivers/scsi/atari_s

[PATCH v2 21/22] atari_scsi: Allow can_queue to be increased for Falcon

2016-03-15 Thread Finn Thain
The benefit of limiting can_queue to 1 is that atari_scsi shares the ST DMA chip more fairly with other drivers (e.g. falcon-ide). Unfortunately, this can limit SCSI bus utilization. On systems without IDE, atari_scsi should issue SCSI commands whenever it can arbitrate for the bus. Make that poss

[PATCH v2 04/22] atari_NCR5380: Remove DMA_MIN_SIZE macro

2016-03-15 Thread Finn Thain
Only the atari_scsi and sun3_scsi drivers define DMA_MIN_SIZE. Both drivers also define NCR5380_dma_xfer_len, which means DMA_MIN_SIZE can be removed from the core driver. This removes another discrepancy between the two core drivers. Signed-off-by: Finn Thain --- Changes since v1: - Retain MI

[PATCH v2 00/22] ncr5380: Eliminate macros, reduce code duplication, fix bugs etc

2016-03-15 Thread Finn Thain
This patch series has more macro elimination and some tweaks to the DMA hooks so that all the wrapper drivers can share the same core DMA algorithm. This resolves the major discrepancies between the two core drivers, which relate to code conditional on the REAL_DMA and PSEUDO_DMA macros. After al

[PATCH v2 18/22] ncr5380: Remove DONT_USE_INTR and AUTOPROBE_IRQ macros

2016-03-15 Thread Finn Thain
Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke --- drivers/scsi/NCR5380.c | 12 +--- drivers/scsi/NCR5380.h |4 drivers/scsi/arm/oak.c |2 -- drivers/scsi/dmx3191d.c |2 -- drivers/scsi/dtc.c | 12 +++- drivers/scsi/g_NCR5380.c |2 --

[PATCH v2 13/22] ncr5380: Remove disused atari_NCR5380.c core driver

2016-03-15 Thread Finn Thain
Now that atari_scsi and sun3_scsi have been converted to use the NCR5380.c core driver, remove atari_NCR5380.c. Also remove the last vestiges of its Tagged Command Queueing implementation from the wrapper drivers. The TCQ support in atari_NCR5380.c is abandoned by this patch. It is not merged into

[PATCH v2 22/22] mac_scsi: Fix pseudo DMA implementation

2016-03-15 Thread Finn Thain
Fix various issues: Comments about bus errors are incorrect. The PDMA asm must return the size of the memory access that faulted so the transfer count can be adjusted accordingly. A phase change may cause a bus error but should not be treated as failure. A bus error does not always imply a phase ch

[PATCH v2 14/22] ncr5380: Reduce max_lun limit

2016-03-15 Thread Finn Thain
The driver has a limit of eight LUs because of the byte-sized bitfield that is used for busy flags. That means the maximum LUN is 7. The default is 8. Signed-off-by: Finn Thain --- Changed since v1: - Reduce shost->max_lun limit instead of adding 'MAX_LUN' limit. --- drivers/scsi/NCR5380.c |

[PATCH v2 09/22] ncr5380: Adopt uniform DMA setup convention

2016-03-15 Thread Finn Thain
Standardize the DMA setup hooks so that the DMA implementation in atari_NCR5380.c can be reconciled with pseudo DMA implementation in NCR5380.c. Calls to NCR5380_dma_recv_setup() and NCR5380_dma_send_setup() return a negative value on failure, zero on PDMA transfer success and a positive byte coun

[PATCH v2 12/22] sun3_scsi: Adopt NCR5380.c core driver

2016-03-15 Thread Finn Thain
Add support for the custom Sun 3 DMA logic to the NCR5380.c core driver. This code is copied from atari_NCR5380.c. Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke --- The Sun 3 DMA code is still configured by macros. I have simplified things slightly but I have avoided more ambitious re

[PATCH v2 07/22] ncr5380: Remove BOARD_REQUIRES_NO_DELAY macro

2016-03-15 Thread Finn Thain
The io_recovery_delay macro is intended to insert a microsecond delay between the chip register accesses that begin a DMA operation. This is reportedly needed for some ISA boards. Reverse the sense of the macro test so that in the common case, where no delay is required, drivers need not define th

[PATCH v2 11/22] atari_scsi: Adopt NCR5380.c core driver

2016-03-15 Thread Finn Thain
Add support for the Atari ST DMA chip to the NCR5380.c core driver. This code is copied from atari_NCR5380.c. Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke --- drivers/scsi/NCR5380.c| 32 drivers/scsi/atari_scsi.c |6 +++--- 2 files changed,

[PATCH v2 10/22] ncr5380: Merge DMA implementation from atari_NCR5380 core driver

2016-03-15 Thread Finn Thain
Adopt the DMA implementation from atari_NCR5380.c. This means that atari_scsi and sun3_scsi can make use of the NCR5380.c core driver and the atari_NCR5380.c driver fork can be made redundant. Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke --- drivers/scsi/NCR5380.c | 170 +++

[PATCH v2 08/22] ncr5380: Use DMA hooks for PDMA

2016-03-15 Thread Finn Thain
Those wrapper drivers which use DMA define the REAL_DMA macro and those which use pseudo DMA define PSEUDO_DMA. These macros need to be removed for a number of reasons, not least of which is to have drivers share more code. Redefine the PDMA send and receive hooks as DMA setup hooks, so that the D

Re: [PATCH 4/8] cpufreq/schedutil: sysfs capacity margin tunable

2016-03-15 Thread Steve Muckle
On 03/15/2016 03:37 PM, Michael Turquette wrote: Yuck sysfs.. I would really rather we did not expose this per default. > > > And certainly not in this weird form. >>> > > >>> > > I'm happy to change capacity_margin to up_threshold and use a >>> > > percentage. >>> > > >>> > > The sysfs

[PATCH v2 01/22] g_ncr5380: Remove CONFIG_SCSI_GENERIC_NCR53C400

2016-03-15 Thread Finn Thain
This change brings a number of improvements: fewer macros, better test coverage, simpler code and sane Kconfig options. The downside is a small chance of incompatibility (which seems unavoidable). CONFIG_SCSI_GENERIC_NCR53C400 exists to enable or inhibit pseudo DMA transfers when the driver is use

[PATCH v2 03/22] ncr5380: Remove REAL_DMA and REAL_DMA_POLL macros

2016-03-15 Thread Finn Thain
For the NCR5380.c core driver, these macros are never used. If REAL_DMA were to be defined, compilation would fail. For the atari_NCR5380.c core driver, REAL_DMA is always defined. Hence these macros are pointless. Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke --- drivers/scsi/NCR53

[PATCH v2 05/22] ncr5380: Disable the DMA errata workaround flag by default

2016-03-15 Thread Finn Thain
The only chip that needs the workarounds enabled is an early NMOS device. That means that the common case is to disable them. Unfortunately the sense of the flag is such that it has to be set for the common case. Rename the flag so that zero can be used to mean "no errata workarounds needed". Thi

[PATCH v2 06/22] ncr5380: Remove PSEUDO_DMA macro

2016-03-15 Thread Finn Thain
For those wrapper drivers which only implement Programmed IO, have NCR5380_dma_xfer_len() evaluate to zero. That allows PDMA to be easily disabled at run-time and so the PSEUDO_DMA macro is no longer needed. Also remove the spin counters used for debugging pseudo DMA drivers. Signed-off-by: Finn

Re: [PATCH v18 00/22] Richacls (Core and Ext4)

2016-03-15 Thread Steve French
On Tue, Mar 15, 2016 at 2:14 AM, Christoph Hellwig wrote: > On Fri, Mar 11, 2016 at 02:05:16PM -0600, Steve French wrote: >> A loosely related question is what can be done for tools around existing >> interfaces for ACLs. I recently found out NTFS-3g has this xattr: >> >> static const char nf

Re: [PATCH 0/1] KVM: x86: using the fpu in interrupt context with a guest's xcr0

2016-03-15 Thread Xiao Guangrong
On 03/16/2016 03:01 AM, David Matlack wrote: On Mon, Mar 14, 2016 at 12:46 AM, Xiao Guangrong wrote: On 03/12/2016 04:47 AM, David Matlack wrote: I have not been able to trigger this bug on Linux 4.3, and suspect it is due to this commit from Linux 4.2: 653f52c kvm,x86: load guest FPU co

Re: [PATCH 3/5] ARM: davinci: da8xx: add cfgchip2 to resources

2016-03-15 Thread David Lechner
On 03/15/2016 05:45 PM, Sergei Shtylyov wrote: No, this register is shared b/w MUSB and OHCI. The proper thing to do is to write the PHY driver and let it control this shared register. OK. I've started working on this. I am looking at using struct usb_phy, however, enum usb_phy_type only

Re: [PATCH V7 03/12] thermal: tegra: get rid of PDIV/HOTSPOT hack

2016-03-15 Thread Wei Ni
On 2016年03月16日 03:56, Eduardo Valentin wrote: > * PGP Signed by an unknown key > > On Tue, Mar 15, 2016 at 02:21:53PM +0800, Wei Ni wrote: >> >> >> On 2016年03月15日 04:05, Eduardo Valentin wrote: Old Signed by an unknown key >>> >>> On Fri, Mar 11, 2016 at 11:09:14AM +0800, Wei Ni wrote:

Re: [PATCH 0/1] KVM: x86: using the fpu in interrupt context with a guest's xcr0

2016-03-15 Thread Andy Lutomirski
On Tue, Mar 15, 2016 at 8:43 PM, Xiao Guangrong wrote: > > > On 03/16/2016 03:01 AM, David Matlack wrote: >> >> On Mon, Mar 14, 2016 at 12:46 AM, Xiao Guangrong >> wrote: >>> >>> >>> >>> On 03/12/2016 04:47 AM, David Matlack wrote: >>> I have not been able to trigger this bug on Linux 4.3, a

Re: [PATCH 1/1] KVM: don't allow irq_fpu_usable when the VCPU's XCR0 is loaded

2016-03-15 Thread Xiao Guangrong
On 03/16/2016 03:32 AM, Paolo Bonzini wrote: On 15/03/2016 19:27, Andy Lutomirski wrote: On Mon, Mar 14, 2016 at 6:17 AM, Paolo Bonzini wrote: On 11/03/2016 22:33, David Matlack wrote: Is this better than just always keeping the host's XCR0 loaded outside if the KVM interrupts-disabled

Re: [PATCH 5/8] sched/cpufreq: pass sched class into cpufreq_update_util

2016-03-15 Thread Steve Muckle
Hi Mike, On 03/15/2016 03:06 PM, Michael Turquette wrote: >>> > > void cpufreq_set_freq_update_hook(int cpu, struct freq_update_hook >>> > > *hook, >>> > > + void (*func)(struct freq_update_hook *hook, >>> > > + enum sched_class_util sched_cla

Re: [PATCH 3.10 00/18] 3.10.101-stable review

2016-03-15 Thread Greg Kroah-Hartman
On Tue, Mar 15, 2016 at 08:08:09PM -0700, Guenter Roeck wrote: > On 03/14/2016 10:52 AM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.10.101 release. > >There are 18 patches in this series, all will be posted as a response > >to this one. If anyone has any is

[WTF] utterly tasteless ABI in hfi1 (around ->write()/->write_iter())

2016-03-15 Thread Al Viro
Folks, we'd discussed that kind of crap already; why, in name of everything unholy, is that kind of garbage brought back in a new driver? Having both ->write() and ->write_iter() *AND* having entirely unrelated interpretation of user input on those two on the same device is bogus,

Re: [WTF] utterly tasteless ABI in hfi1 (around ->write()/->write_iter())

2016-03-15 Thread Linus Torvalds
On Tue, Mar 15, 2016 at 9:17 PM, Al Viro wrote: > > Take a look at drivers/staging/rdma/hfi1/file_ops.c in -next and > compare hfi1_write_iter() with hfi1_file_write(). Folks, this ABI is too > ugly to live, let alone to be allowed breeding. > > It's also brittle as hell - trivial

Re: [PATCH V2 2/3] vfio, platform: make reset driver a requirement

2016-03-15 Thread Eric Auger
Hi Sinan, On 03/13/2016 06:25 PM, Sinan Kaya wrote: > On 3/11/2016 11:54 AM, Sinan Kaya wrote: >> The code was allowing platform devices to be used without a supporting VFIO >> reset driver. The hardware can be left in some inconsistent state after a >> guest machine abort. >> >> The reset driver w

Re: kernel OOPS in MM(?)

2016-03-15 Thread Evgenii Lepikhin
Hello, On 2016-03-10 12:31, Evgenii Lepikhin wrote: > We need help to understand the source of the problem and may be to create a > bugreport. Here is crash report: > > Mar 10 04:03:51 l28 kernel: [2075560.434445] BUG: unable to handle kernel > paging request at 40008021 > Mar 10 04:03:

Re: [PATCH] cpufreq: Do not schedule policy update work in cpufreq_resume()

2016-03-15 Thread Viresh Kumar
On 15-03-16, 13:11, Rafael J. Wysocki wrote: > On Tue, Mar 15, 2016 at 7:10 AM, Viresh Kumar wrote: > > On 12-03-16, 03:05, Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki > >> > >> cpufreq_resume() attempts to resync the current frequency with > >> policy->cur for the first online CPU, but

Re: [RESEND PATCH v2] ARM64: ACPI: Update documentation for latest specification version

2016-03-15 Thread Vikas Sajjan
Hi Al Stone, On Wed, Mar 16, 2016 at 1:58 AM, Al Stone wrote: > The ACPI 6.1 specification was recently released at the end of January 2016, > but the arm64 kernel documentation for the use of ACPI was written for the > 5.1 version of the spec. There were significant additions to the spec that >

Re: [PATCH] cpufreq: Do not schedule policy update work in cpufreq_resume()

2016-03-15 Thread Viresh Kumar
On 16-03-16, 01:51, Rafael J. Wysocki wrote: > OK, so the problem with doing that in syscore ops is that the I2C bus > needed for it may not be available at that point, which is fair > enough. Not just that. We wouldn't call syscore-ops for the boot-cpu. It never went away. > Still, though, the w

Re: [PATCH] cpufreq: acpi: Allow new dynamics attributes to be added to acpi_cpufreq_attr

2016-03-15 Thread Viresh Kumar
On 09-03-16, 14:13, Rafael J. Wysocki wrote: > On Wed, Mar 9, 2016 at 10:41 AM, Viresh Kumar wrote: > > On 03-03-16, 18:29, Rafael J. Wysocki wrote: > >> Srinivas, can you please take this and rebase your patch on top of it? > >> Or if you prefer, I can take it into my linux-next branch. > > > >

Re: [PATCH] nouveau: fix nv40_perfctr_next() cleanup regression

2016-03-15 Thread Ben Skeggs
On 03/15/2016 12:24 AM, Arnd Bergmann wrote: > gcc-6 warns about code in the nouveau driver that is obviously silly: > > drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c: In function > 'nv40_perfctr_next': > drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c:62:19: warning: self-comparison > always eval

<    2   3   4   5   6   7   8   >