[PATCH 2/3] mm: overload get_user_pages() functions

2016-02-10 Thread Dave Hansen
From: Dave Hansen The concept here was a suggestion from Ingo. The implementation horrors are all mine. This allows get_user_pages(), get_user_pages_unlocked(), and get_user_pages_locked() to be called with or without the leading tsk/mm arguments. We will give a compile-time warning about the

Re: [PATCH] irq_work: unhide irq_work_queue_on declaration on non-SMP

2016-02-10 Thread Mark Brown
On Wed, Feb 10, 2016 at 04:27:42PM +0100, Rafael J. Wysocki wrote: > > +#else > > +static inline bool irq_work_queue_on(struct irq_work *work, int cpu) > > +{ > > + return irq_work_queue(work); > > +} > > #endif > I was thinking about this too, but then cpufreq will be the only user of it.

[PATCH 3/3] mm, gup: switch callers of get_user_pages() to not pass tsk/mm

2016-02-10 Thread Dave Hansen
From: Dave Hansen We will soon modify the vanilla get_user_pages() so it can no longer be used on mm/tasks other than 'current/current->mm', which is by far the most common way it is called. For now, we allow the old-style calls, but warn when they are used. (implemented in previous patch) Thi

Re: [PATCH] arm64: use raw_smp_processor_id in stack backtrace dump

2016-02-10 Thread Shi, Yang
On 2/10/2016 4:10 AM, Will Deacon wrote: On Wed, Feb 10, 2016 at 11:52:31AM +, James Morse wrote: On 10/02/16 10:29, Will Deacon wrote: On Tue, Feb 09, 2016 at 01:26:22PM -0800, Yang Shi wrote: dump_backtrace may be called in kthread context, which is not bound to a single cpu, i.e. khungt

Re: [PATCH 1/2] serial: 8250: fix building mediatek with SERIAL_8250=m

2016-02-10 Thread Matthias Brugger
On 08/02/16 13:51, Arnd Bergmann wrote: The Mediatek 8250 driver has a 'bool' Kconfig symbol, but that breaks when SERIAL_8250 is a loadable module: drivers/tty/built-in.o: In function `mtk8250_set_termios': 8250_ingenic.c:(.text+0x1bee8): undefined reference to `serial8250_do_set_termios' 82

Re: [PATCH v8] SATA: OCTEON: support SATA on OCTEON platform

2016-02-10 Thread David Daney
On 02/10/2016 08:02 AM, Tejun Heo wrote: On Tue, Feb 09, 2016 at 12:04:29PM +, Zubair Lutfullah Kakakhel wrote: ... .../devicetree/bindings/ata/ahci-platform.txt | 1 + .../devicetree/bindings/mips/cavium/sata-uctl.txt | 42 + arch/mips/include/asm/octeon/cvmx.h

Re: computing drop-able caches

2016-02-10 Thread Dave Hansen
On 02/10/2016 10:04 AM, Daniel Walker wrote: >> [Linux_0:/]$ echo 3 > /proc/sys/vm/drop_caches >> [Linux_0:/]$ cat /proc/meminfo >> MemTotal:3977836 kB >> MemFree: 1095012 kB >> MemAvailable:1434148 kB > > I suspect MemAvailable takes into account more than just the droppable >

Re: [PATCH] arm64: Add workaround for Cavium erratum 27456

2016-02-10 Thread Will Deacon
On Wed, Feb 10, 2016 at 10:08:17AM -0800, David Daney wrote: > On 02/10/2016 01:28 AM, Will Deacon wrote: > >On Tue, Feb 09, 2016 at 11:29:16AM -0800, David Daney wrote: > >>From: Andrew Pinski > >> > >>On ThunderX T88 pass 1.x through 2.1 parts, broadcast TLBI > >>instructions may cause the icach

Re: [PATCH 3/5] net/mlx4: fix some error handling in mlx4_multi_func_init()

2016-02-10 Thread Rasmus Villemoes
On Wed, Feb 10 2016, Yishai Hadas wrote: >> @@ -2429,7 +2429,7 @@ err_thread: >> flush_workqueue(priv->mfunc.master.comm_wq); >> destroy_workqueue(priv->mfunc.master.comm_wq); >> err_slaves: >> -while (--i) { >> +while (i--) { > > This fix is wrong as it hits the case that i a

Re: [PATCH v8] SATA: OCTEON: support SATA on OCTEON platform

2016-02-10 Thread Tejun Heo
On Wed, Feb 10, 2016 at 10:12:52AM -0800, David Daney wrote: > On 02/10/2016 08:02 AM, Tejun Heo wrote: > >On Tue, Feb 09, 2016 at 12:04:29PM +, Zubair Lutfullah Kakakhel wrote: > >... > >> .../devicetree/bindings/ata/ahci-platform.txt | 1 + > >> .../devicetree/bindings/mips/cavium/sat

[PATCH v1] ARM: RX51: Set system_rev from ATAGS

2016-02-10 Thread Ivaylo Dimitrov
This fixed a regression with DT boot compared to legacy boot. Signed-off-by: Ivaylo Dimitrov --- arch/arm/mach-omap2/board-generic.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic

Re: [PATCH] clk: clk_register: Correctly initialize enable_count

2016-02-10 Thread Rhyland Klein
On 2/9/2016 9:56 PM, Emilio López wrote: > Hi, > > El 09/02/16 a las 19:48, Rhyland Klein escribió: >> When clocks are registered, they could be enabled already in >> hardware. As of now, the enable count will start at 0. When this >> happens, it means a clock is enabled and the framework doesn't

Re: [PATCH 01/14] mfd: intel_quark_i2c_gpio: Use clkdev_create()

2016-02-10 Thread Stephen Boyd
On 02/10, Lee Jones wrote: > On Mon, 08 Feb 2016, Stephen Boyd wrote: > > > Convert this driver to use clkdev_create() instead of > > clk_register_clkdevs(). The latter API is only used by this driver, > > although this driver only allocates one clk to add anyway. > > Furthermore, this driver allo

Re: [PATCH] arm64: Add workaround for Cavium erratum 27456

2016-02-10 Thread David Daney
On 02/10/2016 10:15 AM, Will Deacon wrote: On Wed, Feb 10, 2016 at 10:08:17AM -0800, David Daney wrote: On 02/10/2016 01:28 AM, Will Deacon wrote: On Tue, Feb 09, 2016 at 11:29:16AM -0800, David Daney wrote: From: Andrew Pinski On ThunderX T88 pass 1.x through 2.1 parts, broadcast TLBI instr

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-10 Thread Stephen Boyd
On 02/10, Georgi Djakov wrote: > Hi Lina, > Thanks for reviewing. > > On 02/10/2016 12:21 AM, Lina Iyer wrote: > > On Tue, Feb 09 2016 at 06:13 -0700, Georgi Djakov wrote: > [..] > >> +#defineSPM_REG_STS_10x10 > >> +#defineSPM_REG_VCTL0x14 > >> +#defineSPM_REG_P

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-10 Thread Mark Brown
On Wed, Feb 10, 2016 at 10:36:51AM -0800, Stephen Boyd wrote: > On 02/10, Georgi Djakov wrote: > > The purpose of this patch it to add support for 8064. Supporting other > > SoCs requires just read/writing at different offsets. To handle this we > > can convert the above defines to a table contai

Re: [PATCH v2 7/9] Staging: rts5208: rtsx_transport.c: Remove unnecessary parentheses

2016-02-10 Thread Shaun Ren
On Tue 2016-02-09 at 21:26 (-0800), Sudip Mukherjee wrote: > On Mon, Feb 08, 2016 at 05:31:23PM -0800, Shaun Ren wrote: >> This patch removes all unnecessary parentheses found by checkpatch.pl. >> >> Signed-off-by: Shaun Ren > > This will not apply anymore because of some other changes done by:

Re: [PATCH V3 1/5] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-02-10 Thread Suravee Suthikulpanit
Hi Boris, On 2/10/16 23:41, Borislav Petkov wrote: On Tue, Feb 09, 2016 at 04:53:51PM -0600, Suravee Suthikulpanit wrote: >This patch consolidates "arch/x86/kernel/cpu/perf_event_amd_iommu.h" and >"drivers/iommu/amd_iommu_proto.h", which contain duplicate function >declarations, into "include/l

Re: [PATCH] regulator: vexpress: rename vexpress regulator implementation

2016-02-10 Thread Sudeep Holla
Hi Mark, On 29/01/16 17:37, Sudeep Holla wrote: The vexpress regulator implementation is currently just called vexpress. This is a problem because it clashes with another module with the same name in hardware monitors. This patch renames the vexpress regulator implementation to vexpress-regulat

Re: [PATCH V3 1/5] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-02-10 Thread Borislav Petkov
On Thu, Feb 11, 2016 at 01:42:52AM +0700, Suravee Suthikulpanit wrote: > The reason I picked this location to place the header file is because > there is already an existing include/linux/perf/arm_pmu.h file there. I don't think anything arch-specific belongs in generic kernel header paths. > So,

Re: [GIT PULL] bcm2835 DT changes for 4.6

2016-02-10 Thread Eric Anholt
Martin Sperl writes: >> On 09.02.2016, at 01:32, Eric Anholt wrote: >> >> Hi Florian. Here's the first set of patches for bcm2835 for 4.6. >> We've got more DT patches that are going to happen for new boards, >> too, but they're still getting polished. >> >> The following changes since commit

Re: [PATCH] cifs: fix erroneous return value

2016-02-10 Thread Anton Protopopov
2016-02-10 12:59 GMT-05:00 Joe Perches : > On Wed, 2016-02-10 at 12:50 -0500, Anton Protopopov wrote: >> The setup_ntlmv2_rsp() function may return positive value ENOMEM instead >> of -ENOMEM in case of kmalloc failure. > > How have you verified this change is correct? Yes, this is the only case i

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-10 Thread Mark Brown
On Wed, Feb 10, 2016 at 09:42:23AM -0700, Lina Iyer wrote: > The offsets are the simple part. On other QCOM SoCs the voltage is > regulated by the SAW attached to the L2 cache controller. They have a > single rail that supplies power to all the cores and the L2, with > ability to change the number

Re: [PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-10 Thread Jonathan Cameron
On 10/02/16 02:19, William Breathitt Gray wrote: > On Tue, Feb 09, 2016 at 10:37:09PM +, Jonathan Cameron wrote: >> My only real question is on the naming of the module parameter. >> Is it the equivalent of the io address that a load of ISA >> radio drivers seem to use? (fed to me by grepping

Re: [PATCH V3 1/5] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-02-10 Thread Suravee Suthikulpanit
Hi, On 2/11/16 01:51, Borislav Petkov wrote: So, I thought it might be alright to put the perf_event_amd_iommu.h >here. > >Having the information in the file arch/x86/events/amd/iommu.h seems >strange for having to specify ../../arch/x86/events/amd/iommu.h in the >IOMMU driver. > >So, you think

Re: [PATCH v2 3/3] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2016-02-10 Thread Andrew Morton
On Wed, 10 Feb 2016 14:42:57 +0100 Vlastimil Babka wrote: > > --- a/mm/memory_hotplug.c > > +++ b/mm/memory_hotplug.c > > @@ -509,6 +509,8 @@ int __ref __add_pages(int nid, struct zone *zone, > > unsigned long phys_start_pfn, > > int start_sec, end_sec; > > struct vmem_altmap *altmap; >

Re: [PATCH V3 1/5] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-02-10 Thread Borislav Petkov
On Thu, Feb 11, 2016 at 01:56:43AM +0700, Suravee Suthikulpanit wrote: > Ah.. agree then ;) So, I should branch off that tree of yours with the file > already moved. Could you point me to it? Not my tree, tip/master: http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git, the master branch. Jus

Re: [PATCH v5] mmc: OCTEON: Add host driver for OCTEON MMC controller

2016-02-10 Thread Ulf Hansson
On 10 February 2016 at 18:36, Matt Redfearn wrote: > From: Aleksey Makarov > > The OCTEON MMC controller is currently found on cn61XX and cnf71XX > devices. Device parameters are configured from device tree data. > > eMMC, MMC and SD devices are supported. > > Tested-by: Aaro Koskinen > Signed-

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-10 Thread Stephen Boyd
On 02/10, Mark Brown wrote: > On Wed, Feb 10, 2016 at 10:36:51AM -0800, Stephen Boyd wrote: > > On 02/10, Georgi Djakov wrote: > > > In some designs we have to talk to the PMIC with SPMI > > transactions to change the mode depending on the voltages. How do > > we plan to handle that case where the

Re: [GIT PULL] workqueue fixes for v4.5-rc3

2016-02-10 Thread Linus Torvalds
On Wed, Feb 10, 2016 at 9:25 AM, Tejun Heo wrote: > > * Officially break local execution guarantee of unbound work items and > add a debug feature to flush out usages which depend on it. Btw, should we try to do this for timers too? A debug option to make a regular "add_timer()" explicitly sche

[PATCH v2] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
Simple patch that changes the return value of kernfs_name_locked and kernfs_name to size_t which alignes these functions with kernfs_path_len which also returns size_t. Patch was made against for-4.5 branch of Tejun's cgroup tree. (As per Tejun's request, ccing gre...@linuxfoundation.org and linu

[PATCH v2] let kernfs_name_locked & kernfs_name return size_t

2016-02-10 Thread Christian Brauner
They return the length of kn->parent or kn->name and should be aligned with kernfs_path_len which also returns size_t. Signed-off-by: Christian Brauner --- Changelog: 20150210: - Change return type of kernfs_name in kernfs.h as well. - Build tested against Tejun's for-4.

Re: computing drop-able caches

2016-02-10 Thread Daniel Walker
On 02/10/2016 10:13 AM, Dave Hansen wrote: On 02/10/2016 10:04 AM, Daniel Walker wrote: [Linux_0:/]$ echo 3 > /proc/sys/vm/drop_caches [Linux_0:/]$ cat /proc/meminfo MemTotal:3977836 kB MemFree: 1095012 kB MemAvailable:1434148 kB I suspect MemAvailable takes into account mor

Re: [RFC PATCH 18/20] IMA: Use the system blacklist keyring [ver #2]

2016-02-10 Thread Mimi Zohar
Hi David, On Tue, 2016-01-19 at 11:32 +, David Howells wrote: > @@ -145,10 +165,10 @@ static int __init blacklist_init(void) > current_cred(), > (KEY_POS_ALL & ~KEY_POS_SETATTR) | > KEY_USR_VIEW | KEY_USR_READ

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-10 Thread Mark Brown
On Wed, Feb 10, 2016 at 11:04:36AM -0800, Stephen Boyd wrote: > I don't follow the rest of your mail though. Are you suggesting > that in this case we put the regulator control into the PMIC > regulator driver (qcom_spmi-regulator.c) and then use a > syscon/regmap there to change the voltages insi

[PATCHv10 1/4] EDAC, altera: Add Altera L2 Cache and OCRAM EDAC Support

2016-02-10 Thread tthayer
From: Thor Thayer Adding L2 Cache and On-Chip RAM EDAC support for the Altera SoCs using the EDAC device model. The SDRAM controller is using the Memory Controller model. Each type of ECC is individually configurable. Signed-off-by: Thor Thayer --- v10: Changes noted by maintainer included: F

[PATCHv10 2/4] ARM: dts: Add Altera L2 Cache and OCRAM EDAC entries

2016-02-10 Thread tthayer
From: Thor Thayer Adding the device tree entries and bindings needed to support the Altera L2 cache and On-Chip RAM EDAC. This patch relies upon an earlier patch to declare and setup On-chip RAM properly. http://www.spinics.net/lists/devicetree/msg51117.html Signed-off-by: Thor Thayer Acked-by:

[PATCHv10 3/4] ARM: socfpga: enable L2 cache ECC on startup

2016-02-10 Thread tthayer
From: Thor Thayer This patch enables the ECC for L2 cache on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer Acked-by: Dinh Nguyen --- v10: No change v9: Improve node put handling. v8: Address communi

[PATCHv10 4/4] ARM: socfpga: Enable OCRAM ECC on startup

2016-02-10 Thread tthayer
From: Thor Thayer This patch enables the ECC for On-Chip RAM on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer Acked-by: Dinh Nguyen --- v10: No change v9: Improve node release handling. v8: Address

Re: [PATCH v10 4/4] x86: Create a new synthetic cpu capability for machine check recovery

2016-02-10 Thread Luck, Tony
On Wed, Feb 10, 2016 at 12:06:03PM +0100, Borislav Petkov wrote: > What about MSR_IA32_PLATFORM_ID or some other MSR or register, for > example? Bits 52:50 give us "information concerning the intended platform for the processor" ... but we don't seem to decode that vague statement into anything th

[PATCH v6 0/2] Atmel AT93C46D and GPIO 'select' support for eeprom_93xx46.

2016-02-10 Thread Cory Tusar
This series of patches extends recently accepted devicetree bindings in the eeprom_93xx46 driver to include support for a specific Atmel device in this family, and also to support GPIO-based selection of the device (e.g. for use with an SPI bus mux). Changes since v5: - Dropped patches 1-3 which

[PATCH v6 2/2] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2016-02-10 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar Tested-by: Chris Healy Reviewed-by: Vladimir Zapolskiy --- drivers/misc/eeprom/eeprom_93xx46.c | 35 +++

[PATCH v6 1/2] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2016-02-10 Thread Cory Tusar
Atmel devices in this family have some quirks not found in other similar chips - they do not support a sequential read of the entire EEPROM contents, and the control word sent at the start of each operation varies in bit length. This commit adds quirk support to the driver and modifies the read im

Re: richacl(7) man page review comments

2016-02-10 Thread J. Bruce Fields
On Sun, Feb 07, 2016 at 05:35:46PM +0100, Michael Kerrisk (man-pages) wrote: > > This permission is always implicitly granted. > > .HP > > .B write_attributes > > .RB ( A ): > > Change the times associated with a file or directory to an arbitrary value. > > This permission is always implicitly gran

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-10 Thread Andreas Herrmann
On Tue, Feb 09, 2016 at 06:41:56PM +0100, Markus Trippelsdorf wrote: > On 2016.02.09 at 18:12 +0100, Andreas Herrmann wrote: > > [CC-ing linux-block and linux-scsi and adding some comments] > > > > On Mon, Feb 01, 2016 at 11:43:40PM +0100, Andreas Herrmann wrote: > > > This introduces a new blk_mq

Re: [PATCH v10 3/4] x86, mce: Add __mcsafe_copy()

2016-02-10 Thread Luck, Tony
On Wed, Feb 10, 2016 at 11:58:43AM +0100, Borislav Petkov wrote: > But one could take out that function do some microbenchmarking with > different sizes and once with the current version and once with the > pushes and pops of r1[2-5] to see where the breakeven is. On a 4K page copy from a source a

[git pull] Input updates for 4.5-rc3

2016-02-10 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Just small driver fixups... Changelog: - Amitoj Kaur Chawla (1): Input: cap11xx - add missing of_node_put Arnd Bergmann (2):

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-10 Thread Markus Trippelsdorf
On 2016.02.10 at 20:34 +0100, Andreas Herrmann wrote: > On Tue, Feb 09, 2016 at 06:41:56PM +0100, Markus Trippelsdorf wrote: > > > Recently Johannes sent a patch to enable scsi-mq per driver, see > > > http://marc.info/?l=linux-scsi&m=145347009631192&w=2 > > > > > > Probably that is a good solutio

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-10 Thread Steve Muckle
On 02/09/2016 07:09 PM, Rafael J. Wysocki wrote: >>> >> I think additional hooks such as enqueue/dequeue would be needed in >>> >> RT/DL. The task tick callbacks will only run if a task in that class is >>> >> executing at the time of the tick. There could be intermittent RT/DL >>> >> task activity

Re: undefined reference to `efi_call'

2016-02-10 Thread Andrew Morton
On Wed, 10 Feb 2016 16:48:28 +0800 kbuild test robot wrote: > Hi Johannes, > > It's probably a bug fix that unveils the link errors. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 2178cbc68f3602dc0b5949b9be2c8383ad3d93ef > commit: 489c2a20a41

Re: [PATCH 1/2] serial: 8250: fix building mediatek with SERIAL_8250=m

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 19:06:27 Matthias Brugger wrote: > > --- > > I tried this with: > commit 2178cbc68f3602dc0b5949b9be2c8383ad3d93ef > > $ grep 8250 .config > CONFIG_SERIAL_8250=m > # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set > CONFIG_SERIAL_8250_PCI=m > CONFIG_SERIAL_8250_NR_UA

Re: linux-next: build failure after merge of the akpm-current tree

2016-02-10 Thread Andrew Morton
On Wed, 10 Feb 2016 16:55:14 +1100 Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from arch/x86/include/asm/bug.h:35:0, > from include/linux/bug.h:4, >

Re: undefined reference to `efi_call'

2016-02-10 Thread H. Peter Anvin
On 02/10/16 11:52, Andrew Morton wrote: > On Wed, 10 Feb 2016 16:48:28 +0800 kbuild test robot > wrote: > >> Hi Johannes, >> >> It's probably a bug fix that unveils the link errors. >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> master >> head: 2178cbc68f3

compat_ioctl question/problem

2016-02-10 Thread Soohoon pho
Hi, following is the code in question. +static int compat_hdio_ioctl(struct inode *inode, struct file *file, + struct gendisk *disk, unsigned int cmd, unsigned long arg) +{ + mm_segment_t old_fs = get_fs(); + unsigned long kval; + unsigned int __use

Re: [PATCH v5] mmc: OCTEON: Add host driver for OCTEON MMC controller

2016-02-10 Thread David Daney
On 02/10/2016 11:01 AM, Ulf Hansson wrote: On 10 February 2016 at 18:36, Matt Redfearn wrote: From: Aleksey Makarov The OCTEON MMC controller is currently found on cn61XX and cnf71XX devices. Device parameters are configured from device tree data. eMMC, MMC and SD devices are supported. Te

Re: [PATCH v6 4/7] clk: mediatek: Add MT2701 clock support

2016-02-10 Thread Michael Turquette
Quoting James Liao (2016-02-05 01:37:27) > +CLK_OF_DECLARE(mtk_topckgen, "mediatek,mt2701-topckgen", mtk_topckgen_init); > +CLK_OF_DECLARE(mtk_infrasys, "mediatek,mt2701-infracfg", mtk_infrasys_init); > +CLK_OF_DECLARE(mtk_pericfg, "mediatek,mt2701-pericfg", mtk_pericfg_init); > +CLK_OF_DECLARE(mtk

Re: [PATCH v1 13/14] ASoC: qcom: add mic support

2016-02-10 Thread Kenneth Westfield
On Wed, Feb 10, 2016 at 02:20:03AM -0800, Srinivas Kandagatla wrote: > diff --git a/sound/soc/qcom/lpass-platform.c > b/sound/soc/qcom/lpass-platform.c > index 26a046a..574aa33 100644 > --- a/sound/soc/qcom/lpass-platform.c > +++ b/sound/soc/qcom/lpass-platform.c ... > @@ -92,7 +93,13 @@ static i

Re: [PATCH v1 00/14] ASoC: qcom: Add capture support.

2016-02-10 Thread Kenneth Westfield
On Wed, Feb 10, 2016 at 02:16:58AM -0800, Srinivas Kandagatla wrote: > LPASS IP on QCOM SOC supports both Playback and capture > via I2S, but this feature is missing in existing code. > This patchset aims at adding capture support to lpass IP. > First few patches in this series does cleanup the dr

Re: [PATCH] Doc: DocBook: Fix a typo in device-drivers.tmpl

2016-02-10 Thread Jonathan Corbet
On Mon, 8 Feb 2016 21:02:43 +0900 Masanari Iida wrote: > This patch fix a spelling typo in device-drivers.tmpl. Applied to the docs tree, thanks. jon

Re: [PATCH] Doc: i2c: Fix typo in Documentation/i2c

2016-02-10 Thread Jonathan Corbet
On Tue, 2 Feb 2016 20:41:25 +0900 Masanari Iida wrote: > This path fix spelling typos found in Documentation/i2c. Applied to the docs tree, thanks. jon

Re: [PATCH 1/2] Documentation: dt: mailbox: Add TI Message Manager

2016-02-10 Thread Suman Anna
Hi Nishanth, On 02/09/2016 12:10 PM, Menon, Nishanth wrote: > On 09:43-20160209, Nishanth Menon wrote: >> On Tue, Feb 9, 2016 at 8:54 AM, Jassi Brar wrote: > [..] >> Let me prototype this as part of of_xlate and see if I can pull the >> qinst data back out.. obviously one negative will be that I

Re: [PATCH] hpet: drop stale link

2016-02-10 Thread Jonathan Corbet
On Mon, 1 Feb 2016 13:32:56 +0200 "Michael S. Tsirkin" wrote: > Looks like the HPET spec at intel.com got moved. > It isn't hard to find so drop the link, just mention > the revision assumed. Hmm...what I see suggests this patch doesn't do that... > - * http://www.intel.com/hardwaredesign/hpets

Re: [PATCH] Doc: ja_JP: Fix a typo in HOWTO

2016-02-10 Thread Jonathan Corbet
On Mon, 1 Feb 2016 13:03:27 +0900 Masanari Iida wrote: > This patch fix a typo witin HOWTO, which was translated in Japanese. > Replace a word "kernlehacker" with "kernelhacker". Wouldn't want to misspell Mr. Kernelhacker's name! Applied, thanks. jon

Re: Another proposal for DAX fault locking

2016-02-10 Thread Dan Williams
On Wed, Feb 10, 2016 at 2:32 AM, Jan Kara wrote: > On Tue 09-02-16 10:18:53, Dan Williams wrote: >> On Tue, Feb 9, 2016 at 9:24 AM, Jan Kara wrote: >> > Hello, >> > >> > I was thinking about current issues with DAX fault locking [1] (data >> > corruption due to racing faults allocating blocks) an

Re: [PATCH] regulator: ltc3589: Make IRQ optional

2016-02-10 Thread Bernhard Walle
Hi, thanks for the review! Am 10.02.2016 10:44, schrieb Philipp Zabel: + IRQF_TRIGGER_LOW | IRQF_ONESHOT, + client->name, ltc3589); + if (ret) { + dev_err(dev, "Fail

Re: [PATCH V3 3/5] PCI: xilinx: Modifying AXI PCIe Host Bridge driver to work on both Zynq and Microblaze

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 09:27:07 Paul Burton wrote: > On Wed, Feb 10, 2016 at 05:55:51AM +, Bharat Kumar Gogada wrote: > > > On Tue, Feb 09, 2016 at 04:11:56PM +0530, Bharat Kumar Gogada wrote: > > > > Modifying Xilinx AXI PCIe Host Bridge Soft IP driver to work on both > > > > Zynq and M

Re: [RFC] A first shot at asciidoc-based formatted docs

2016-02-10 Thread Jonathan Corbet
On Wed, 10 Feb 2016 09:07:22 +0100 Daniel Vetter wrote: > I think for 4.6 it'd be best to go with the hybrid asciidoc->docbook > toolchain, since that's less disruptive. And with that we can also > fully concentrating on the frontend, and how it'll look and behave. That can be fine, I'd just lik

[PATCH v2 2/2] dax: move writeback calls into the filesystems

2016-02-10 Thread Ross Zwisler
Previously calls to dax_writeback_mapping_range() for all DAX filesystems (ext2, ext4 & xfs) were centralized in filemap_write_and_wait_range(). dax_writeback_mapping_range() needs a struct block_device, and it used to get that from inode->i_sb->s_bdev. This is correct for normal inodes mounted on

[PATCH v2 1/2] dax: supply DAX clearing code with correct bdev

2016-02-10 Thread Ross Zwisler
dax_clear_blocks() needs a valid struct block_device and previously it was using inode->i_sb->s_bdev in all cases. This is correct for normal inodes on mounted ext2, ext4 and XFS filesystems, but is incorrect for DAX raw block devices and for XFS real-time devices. Instead, rename dax_clear_block

[PATCH v2 0/2] DAX bdev fixes - move flushing calls to FS

2016-02-10 Thread Ross Zwisler
During testing of raw block devices + DAX I noticed that the struct block_device that we were using for DAX operations was incorrect. For the fault handlers, etc. we can just get the correct bdev via get_block(), which is passed in as a function pointer, but for the *sync code and for sector zeroi

Re: [PATCH v10 3/4] x86, mce: Add __mcsafe_copy()

2016-02-10 Thread Borislav Petkov
On Wed, Feb 10, 2016 at 11:39:05AM -0800, Luck, Tony wrote: > On Wed, Feb 10, 2016 at 11:58:43AM +0100, Borislav Petkov wrote: > > But one could take out that function do some microbenchmarking with > > different sizes and once with the current version and once with the > > pushes and pops of r1[2-

Re: [PATCH v6 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 16:06:13 Joao Pinto wrote: > This patch has the goal to add support for DesignWare UFS Controller > specific operations and to add specific platform and pci drivers. > > Signed-off-by: Joao Pinto > Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + > MAINTAI

Re: linux-next: build failure after merge of the akpm-current tree

2016-02-10 Thread Stephen Rothwell
Hi Andrew, On Wed, 10 Feb 2016 11:55:07 -0800 Andrew Morton wrote: > > On Wed, 10 Feb 2016 16:55:14 +1100 Stephen Rothwell > wrote: > > > Hi Andrew, > > > > After merging the akpm-current tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > In file included fro

Re: [PATCH 1/2] Documentation: dt: mailbox: Add TI Message Manager

2016-02-10 Thread Nishanth Menon
On Wed, Feb 10, 2016 at 2:13 PM, Suman Anna wrote: > Hi Nishanth, > > On 02/09/2016 12:10 PM, Menon, Nishanth wrote: >> On 09:43-20160209, Nishanth Menon wrote: >>> On Tue, Feb 9, 2016 at 8:54 AM, Jassi Brar wrote: >> [..] >>> Let me prototype this as part of of_xlate and see if I can pull the >>

Re: [RFC] A first shot at asciidoc-based formatted docs

2016-02-10 Thread Jonathan Corbet
On Wed, 10 Feb 2016 16:03:38 +0200 Jani Nikula wrote: > I'd like to clarify the end goal a bit more before deciding what to do > next. In particular, is the aim to have asciidoc->HTML only or dual > asciidoc->HTML and asciidoc->XML->whatever? Or independent > asciidoc->HTML first, with the existi

Re: [PATCH v3] err.h: allow IS_ERR_VALUE to handle properly more types

2016-02-10 Thread Arnd Bergmann
On Tuesday 09 February 2016 09:42:26 Andrzej Hajda wrote: > +cc Rasmus Villemoes, I forgot to add him earlier. > > On 02/08/2016 01:01 PM, Arnd Bergmann wrote: > > On Monday 08 February 2016 09:45:55 Andrzej Hajda wrote: > >> On 02/05/2016 11:52 AM, Arnd Bergmann wrote: > >>> On Thursday 04 Februa

Re: [PATCH v11 3/4] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2016-02-10 Thread Suravee Suthikulpanit
Hi Fu Wei, On 2/10/16 00:00, fu@linaro.org wrote: From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Signed-off-by: Suravee Suthikulpanit Signed-off-by: Fu Wei ---

Re: kernel pruning script..

2016-02-10 Thread David Rientjes
On Mon, 8 Feb 2016, Linus Torvalds wrote: > > I run this by hand every now and then. I'm probably doing it all wrong. > > > > --b. > > > > #!/bin/bash > > > > # because I use CONFIG_LOCALVERSION_AUTO, not the same version again and > > # again, /boot and /lib/modules/ eventually fill up. > > # Du

Re: [PATCH V4 11/23] pci, acpi: Move ACPI host bridge device companion assignment to core code.

2016-02-10 Thread Tomasz Nowicki
On 02/09/2016 07:02 PM, Lorenzo Pieralisi wrote: On Thu, Feb 04, 2016 at 06:28:49PM +0100, Tomasz Nowicki wrote: Currently we have two platforms (x86 & ia64) capable of PCI ACPI host bridge initialization. They both use sysdata to pass down parent device reference and both rely on NULL parent in

[PATCH v2] Staging: fix coding style in rtl8188eu/core

2016-02-10 Thread Colin Vidal
Set constant operand on right of test, and refactor the code in a more compact and readable way. Signed-off-by: Colin Vidal --- drivers/staging/rtl8188eu/core/rtw_iol.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_iol.c b/d

Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption

2016-02-10 Thread Aaro Koskinen
Hi, On Mon, Feb 08, 2016 at 11:36:45AM -0800, Tony Lindgren wrote: > * Ivaylo Dimitrov [160205 06:38]: > > Commit ("ARM: OMAP2+: Fix > > onenand rate detection to avoid filesystem corruption") partially fixed > > onenand configuration when GPMC module is reset. Finish the job by also > > providi

Re: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree

2016-02-10 Thread Suravee Suthikulpanit
Hi Arnd, On 2/9/16 21:57, Arnd Bergmann wrote: On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote: From: Suravee Suthikulpanit Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC. Signed-off-by: Suravee Suthikulpanit This could use a changelog text to explain why it's

Re: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree

2016-02-10 Thread Arnd Bergmann
On Thursday 11 February 2016 04:13:50 Suravee Suthikulpanit wrote: > > On 2/9/16 21:57, Arnd Bergmann wrote: > > On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote: > >> From: Suravee Suthikulpanit > >> > >> Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC. > >> > >> Signed-

Re: [PATCH V4 12/23] x86, ia64, pci: Remove ACPI companion device from platform specific data.

2016-02-10 Thread Tomasz Nowicki
On 02/09/2016 06:28 PM, Lorenzo Pieralisi wrote: This patch has to be squashed with the previous one otherwise it has bisectability issues (ie the previous patch passes the parent to the pci_create_root_bus() call so, without this patch applied, the companion initialization would fail). I do not

Re: [PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-10 Thread William Breathitt Gray
On Wed, Feb 10, 2016 at 06:55:45PM +, Jonathan Cameron wrote: >On 10/02/16 02:19, William Breathitt Gray wrote: >> On Tue, Feb 09, 2016 at 10:37:09PM +, Jonathan Cameron wrote: >>> My only real question is on the naming of the module parameter. >>> Is it the equivalent of the io address tha

[PATCH v2] regulator: ltc3589: Make IRQ optional

2016-02-10 Thread Bernhard Walle
It's perfectly valid to use the LTC3589 without an interrupt pin connected to it. Currently, the driver probing fails when client->irq is 0 (which means "no interrupt"). Don't register the interrupt handler in that case but successfully finish the device probing instead. Signed-off-by: Bernhard Wa

Re: [RFC PATCH 3/3] mm: increase scalability of global memory commitment accounting

2016-02-10 Thread Andrew Morton
On Wed, 10 Feb 2016 10:00:53 -0800 Tim Chen wrote: > On Wed, 2016-02-10 at 17:52 +0300, Andrey Ryabinin wrote: > > Currently we use percpu_counter for accounting committed memory. Change > > of committed memory on more than vm_committed_as_batch pages leads to > > grab of counter's spinlock. The

Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend

2016-02-10 Thread Diego Viola
On Wed, Feb 10, 2016 at 2:19 AM, Diego Viola wrote: > Hi Guo, > > I have an x86 computer with this network card: > > 02:00.0 Ethernet controller: JMicron Technology Corp. JMC260 PCI > Express Fast Ethernet Controller (rev 03) > > Every time I initiate a suspend (systemctl suspend) the machine hang

[3.13.y-ckt stable] Linux 3.13.11-ckt35 stable review

2016-02-10 Thread Kamal Mostafa
This is the start of the review cycle for the Linux 3.13.11-ckt35 stable kernel. This version contains 30 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.13.y-

[PATCH 3.13.y-ckt 04/30] tty: Fix unsafe ldisc reference via ioctl(TIOCGETD)

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Hurley commit 5c17c861a357e9458001f021a7afa7aab9937439 upstream. ioctl(TIOCGETD) retrieves the line discipline id directly from

[PATCH 3.13.y-ckt 21/30] ALSA: compress: Disable GET_CODEC_CAPS ioctl for some architectures

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 462b3f161beb62eeb290f4ec52f5ead29a2f8ac7 upstream. Some architectures like PowerPC can handle the maximum struct s

[PATCH 3.13.y-ckt 18/30] ALSA: seq: Degrade the error message for too many opens

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit da10816e3d923565b470fec78a674baba794ed33 upstream. ALSA OSS sequencer spews a kernel error message ("ALSA: seq_oss

[PATCH 3.13.y-ckt 30/30] powerpc/perf: Remove PPMU_HAS_SSLOT flag for Power8

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Madhavan Srinivasan commit 370f06c88528b3988fe24a372c10e1303bb94cf6 upstream. Commit 7a7868326d77 ("powerpc/perf: Add an explict flag

[PATCH 3.13.y-ckt 29/30] perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Markus Trippelsdorf commit d4913cbd05bab685e49c8174896e563b2487d054 upstream. The issue was pointed out by gcc-6's -Wmisleading-indent

[PATCH 3.13.y-ckt 27/30] drm/vmwgfx: respect 'nomodeset'

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Rob Clark commit 96c5d076f0a5e2023ecdb44d8261f87641ee71e0 upstream. Signed-off-by: Rob Clark Reviewed-by: Thomas Hellstrom . Signed-o

[PATCH 3.13.y-ckt 23/30] arm64: errata: Add -mpc-relative-literal-loads to build flags

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: dann frazier commit 67dfa1751ce71e629aad7c438e1678ad41054677 upstream. GCC6 (and Linaro's 2015.12 snapshot of GCC5) has a new default

[PATCH 3.13.y-ckt 28/30] x86/mm/pat: Avoid truncation when converting cpa->numpages to address

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Matt Fleming commit 742563777e8da62197d6cb4b99f4027f59454735 upstream. There are a couple of nasty truncation bugs lurking in the page

[PATCH 3.13.y-ckt 26/30] ALSA: dummy: Disable switching timer backend via sysfs

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 7ee96216c31aabe1eb42fb91ff50dae9fcd014b2 upstream. ALSA dummy driver can switch the timer backend between system t

[PATCH 3.13.y-ckt 22/30] ALSA: usb-audio: Fix TEAC UD-501/UD-503/NT-503 usb delay

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Guillaume Fougnies commit 5a4ff9ec8d6edd2ab1cfe8ce6a080d6e57cbea9a upstream. TEAC UD-501/UD-503/NT-503 fail to switch properly between

[PATCH 3.13.y-ckt 25/30] n_tty: Fix unsafe reference to "other" ldisc

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Hurley commit 6d27a63caad3f13e96cf065d2d96828c2006be6b upstream. Although n_tty_check_unthrottle() has a valid ldisc reference (

<    1   2   3   4   5   6   7   8   9   >