Re: [PATCH RESEND] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories

2015-01-14 Thread Nicolas Ferre
Le 14/01/2015 14:20, Peter Rosin a écrit : > From: Peter Rosin > > The DDRSDR controller (on the ATSAMA5D31) fails miserably to put LPDDR1 > memories in self-refresh. Force the controller to think it has DDR2 > memories during the self-refresh period, as the DDR2 self-refresh spec > is equivalent

Re: NBD Maintainer

2015-01-14 Thread Sudip Mukherjee
On Tue, Jan 13, 2015 at 02:26:01PM -0500, Paul Clements wrote: > On Tue, Jan 13, 2015 at 11:14 AM, Andrey Utkin > wrote: > > Hi Paul, > > could you please describe > > > - how wide is NBD usage today (any estimation is ok), > > It depends somewhat on who you consider to be users. There are two >

Re: sysfs topology for arm64 cluster_id

2015-01-14 Thread Don Dutile
On 01/14/2015 06:24 AM, Arnd Bergmann wrote: On Tuesday 13 January 2015 19:47:00 Jon Masters wrote: Hi Folks, TLDR: I would like to consider the value of adding something like "cluster_siblings" or similar in sysfs to describe ARM topology. A quick question on intended data representation in /

[PATCH v5 3/5] x86: pmc-atom: remove unused macro

2015-01-14 Thread Andy Shevchenko
DRIVER_NAME seems unused. This patch just removes it. There is no functional change. Signed-off-by: Andy Shevchenko --- arch/x86/kernel/pmc_atom.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/kernel/pmc_atom.c b/arch/x86/kernel/pmc_atom.c index 1dd6c62..6b62f55 100644 --- a/arch

[PATCH v5 4/5] x86: pmc_atom: clean up init function

2015-01-14 Thread Andy Shevchenko
There is no need to use err variable. Signed-off-by: Andy Shevchenko Acked-by: Aubrey Li --- arch/x86/kernel/pmc_atom.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/pmc_atom.c b/arch/x86/kernel/pmc_atom.c index 6b62f55..f8becc4 100644 --- a/arch

[PATCH v5 1/5] x86: pmc-atom: assign debugfs node as soon as possible

2015-01-14 Thread Andy Shevchenko
pmc_dbgfs_unregister() will be called when pmc->dbgfs_dir is unconditionally NULL on error path in pmc_dbgfs_register(). To prevent this we move an assignment to where is should be. Fixes: f855911c1f48 (x86/pmc_atom: Expose PMC device state and platform sleep state) Reported-by: Thomas Gleixner

[PATCH v5 5/5] x86: pmc_atom: expose contents of PSS

2015-01-14 Thread Andy Shevchenko
The PSS register reflects the power state of each island on SoC. It would be useful to know which of the islands is on or off at the momemnt. Signed-off-by: Andy Shevchenko Acked-by: Aubrey Li --- arch/x86/include/asm/pmc_atom.h | 22 +++ arch/x86/kernel/pmc_atom.c | 61 +++

[PATCH v5 2/5] x86: pmc_atom: don't check for NULL twice

2015-01-14 Thread Andy Shevchenko
debugfs_remove_recursive() is NULL-aware, thus, we may safely remove the check here. There is no need to assing NULL to variable since it will be not used anywhere. Signed-off-by: Andy Shevchenko Acked-by: Aubrey Li --- arch/x86/kernel/pmc_atom.c | 4 1 file changed, 4 deletions(-) diff -

[PATCH v5 0/5] x86: clean ups and feature enhancement in pmc_atom

2015-01-14 Thread Andy Shevchenko
Couple of clean ups and one feature enhancement (expose PSS register in the debug fs). Changes since v4: - address one Thomas' comment (patch 1/5 was added) - rebased on recent linux-next Changes since v3: - rebase on top of recent linux-next - resend to better place for review and push Changes

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2015-01-14 Thread Russell King - ARM Linux
On Fri, Jan 09, 2015 at 08:40:56PM +0800, Wang, Yalin wrote: > Oh, I see, > How about change like this: > + select HAVE_ARCH_BITREVERSE if ((CPU_V7M || CPU_V7) && !CPU_V6 && > !CPU_V6K) > I am not sure if I also need add some older CPU types like !CPU_ARM9TDMI &&  > !CPU_ARM940T ? > > Another

Re: [PATCH 3.14 00/77] 3.14.29-stable review

2015-01-14 Thread Guenter Roeck
On Tue, Jan 13, 2015 at 11:22:40PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.29 release. > There are 77 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

Re: [PATCH v2 2/4] perf tools: Add link argument to dso__find_symbol_by_name()

2015-01-14 Thread David Ahern
On 1/14/15 4:18 AM, Namhyung Kim wrote: @@ -414,10 +414,24 @@ static struct symbol *symbols__find_by_name(struct rb_root *symbols, else if (cmp > 0) n = n->rb_right; else - return &s->sym; + break

Re: [alsa-devel] unload Audio drivers while playback stream is active case kernel crash

2015-01-14 Thread Mark Brown
On Wed, Jan 14, 2015 at 02:01:33PM +0100, Takashi Iwai wrote: > Mark Brown wrote: > > > Above all, disallowing the module unload while using is the common > > > behavior of any other drivers. Why do we have to be a rebel against > > > all civil manner? :) > > That's not true for everything > Hm

Re: Question about kernel interfaces

2015-01-14 Thread One Thousand Gnomes
> Just wanted to point out something :- > > Quoting from makelinux website :- > http://www.makelinux.net/books/lkd2/ch17lev1sec8 > > "The sysfs filesystem is currently the place for implementing > functionality previously reserved for ioctl() calls on device nodes or > the procfs filesystem. The

Re: [PATCH v4 20/20] kbuild: add a new kselftest_install make target to install selftests

2015-01-14 Thread Shuah Khan
On 01/06/2015 12:43 PM, Shuah Khan wrote: > Add a new make target to install to install kernel selftests. > This new target will build and install selftests. kselftest > target now depends on kselftest_install and runs the generated > kselftest script to reduce duplicate work and for common look >

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-14 Thread Darren Hart
On 1/14/15 4:58 AM, Linus Walleij wrote: > On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus > wrote: > >> This makes it possible to assign GPIOs at runtime. The >> motivation for it is because of need to forward GPIOs from >> one device to an other. That feature may be useful for >> example wit

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-14 Thread Darren Hart
Ugh, Samuel actually Cc'd this time... On 1/14/15 4:58 AM, Linus Walleij wrote: > On Thu, Dec 18, 2014 at 9:23 AM, Heikki Krogerus > wrote: > >> This makes it possible to assign GPIOs at runtime. The >> motivation for it is because of need to forward GPIOs from >> one device to an other. That fe

Re: [tpmdd-devel] Question about duplicate definitions of transmit_cmd in tpm-sysfs.c and tmp-interface.c

2015-01-14 Thread Jarkko Sakkinen
On Fri, 2015-01-02 at 01:48 -0500, nick wrote: > Jason, > Just a little nitpick but Jarkoo seems to have missed removing the function > prototype, tpm_transmit as nothing uses this function anymore. tpm-dev.c does. > Regards Nick /Jarkko > > On 2015-01-02 01:36 AM, Jason Gunthorpe wrote: > > O

[PATCH 05/12] usb: gadget: at91_udc: Fix clock names

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon The driver is requesting clock by their global name (those declared in the clk_lookup list), but this only works with !CCF kernels. Now that all SoCs have moved to CCF, fix the driver to use local names (hclk and pclk). Signed-off-by: Boris Brezillon --- drivers/usb/gadg

[PATCH 04/12] mfd: syscon: Add Atmel SMC binding doc

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon The SMC registers are used to configure Atmel EBI (External Bus Interface) to interface with standard memory devices (NAND, NOR, SRAM or specialized devices like FPGAs). Declare this memory region as a syscon, so that different drivers can configure the SMC interface (mostl

Re: [PATCH v2 4/4] perf probe: Fix probing kretprobes

2015-01-14 Thread Jiri Olsa
On Wed, Jan 14, 2015 at 08:18:08PM +0900, Namhyung Kim wrote: > The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address > instead of the symbol name") converts kprobes to use ref_reloc_sym > (i.e. _stext) and offset instead of using symbol's name directly. So > on my system, adding d

[PATCH 03/12] mfd: syscon: Add atmel-smc registers definition

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory Controller) configuration. Expose those registers so that drivers can make use of the smc syscon declared in at91 DTs. Signed-off-by: Boris Brezillon Acked-by: Lee Jones --- include/linux/mfd/syscon/atme

[PATCH 01/12] mfd: syscon: Add atmel-matrix registers definition

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use of the matrix syscon declared in at91 DTs. Signed-off-by: Boris Brezillon Acked-by: Lee Jones --- include/linux/mfd/syscon/atmel-matrix.h | 117

[PATCH 08/12] usb: gadget: at91_udc: Remove non-DT handling code

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon Since non-DT board support has been removed from the at91 architecture we can safely remove non-DT handling code. Signed-off-by: Boris Brezillon --- drivers/usb/gadget/udc/Kconfig| 1 + drivers/usb/gadget/udc/at91_udc.c | 16 ++-- 2 files changed, 3 inser

[PATCH 07/12] usb: gadget: at91_udc: Document DT clocks and clock-names property

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon The at91_udc driver request 2 clocks, and thus need them to be defined in the device tree. Document the clocks and clock-names properties so that everybody use the correct names. Signed-off-by: Boris Brezillon --- Documentation/devicetree/bindings/usb/atmel-usb.txt | 4 ++

[PATCH 06/12] usb: gadget: at91_udc: Drop uclk clock

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon Now that at91 system clocks forward set_rate request to their parent we can remove the uclk clock and directly call clk_set_rate on fclk. Signed-off-by: Boris Brezillon --- drivers/usb/gadget/udc/at91_udc.c | 27 +++ drivers/usb/gadget/udc/at91_udc

[PATCH 09/12] usb: gadget: at91_udc: Simplify probe and remove functions

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon Make use of devm_ functions to simplify probe and remove code. Signed-off-by: Boris Brezillon --- drivers/usb/gadget/udc/at91_udc.c | 116 +- 1 file changed, 39 insertions(+), 77 deletions(-) diff --git a/drivers/usb/gadget/udc/at91_ud

[PATCH 00/12] Atmel matrix, SMC and UDC rework

2015-01-14 Thread Alexandre Belloni
Hi Felipe, The following series replace the previous series sent by Boris named: - [PATCH v5 00/11] memory: add Atmel EBI (External Bus Interface) driver - [PATCH 00/11] usb: gadget: at91_udc: Rework for multi-platform support The patches I left out are less urgent and will be resent later, pro

[PATCH 11/12] usb: gadget: at91_udc: Update DT binding documentation

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon Three compatible strings have been added to the at91_udc driver. Update the documentation accordingly. Signed-off-by: Boris Brezillon --- Documentation/devicetree/bindings/usb/atmel-usb.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documenta

[PATCH 10/12] usb: gadget: at91_udc: Rework for multi-platform kernel support

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon cpu_is_at91xxx are a set of macros defined in mach/cpu.h and are here used to detect the SoC we are booting on. Use compatible string + a caps structure to replace those cpu_is_xxx tests. Remove all mach and asm headers (which are now unused). Signed-off-by: Boris Brezillo

Re: [PATCH v5 00/11] memory: add Atmel EBI (External Bus Interface) driver

2015-01-14 Thread Alexandre Belloni
Hi, On 11/01/2015 at 13:56:15 +0100, Boris Brezillon wrote : > Hi Lee, > > On Wed, 3 Dec 2014 21:44:04 +0100 > Boris Brezillon wrote: > > > The EBI (External Bus Interface) is used to access external peripherals > > (NOR, SRAM, NAND, and other specific devices like ethernet controllers). > >

[PATCH 02/12] mfd: syscon: Add Atmel Matrix bus DT binding documentation

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon The Matrix registers are provided to configure internal bus behavior on at91 SoCs. Some registers might be accessed by several drivers (e.g. to configure external memory bus timings), hence we declare this register set as a syscon device. Signed-off-by: Boris Brezillon Ack

Re: [PATCH v5 0/7] Enable L2 cache support on Exynos4210/4x12 SoCs

2015-01-14 Thread Russell King - ARM Linux
On Wed, Jan 14, 2015 at 04:46:03PM +0100, Alexandre Belloni wrote: > Hi, > > This patch set hasn't moved since while. We actually need patch 4 to > properly configure prefetch on sama5d4. What would be needed to come to > an agreement ? What do you mean "hasn't moved since a while" - there has be

[PATCH 12/12] usb: gadget: at91_udc: Allocate udc instance

2015-01-14 Thread Alexandre Belloni
From: Boris Brezillon Allocate udc structure instead of relying on the statically declared object. Signed-off-by: Boris Brezillon --- drivers/usb/gadget/udc/at91_udc.c | 96 +++ 1 file changed, 26 insertions(+), 70 deletions(-) diff --git a/drivers/usb/gadg

Re: iio: Move buffer registration to the core

2015-01-14 Thread Karol Wrona
Please, ignore that. This one was sent by accident. On 01/14/2015 05:09 PM, Karol Wrona wrote: > From: Lars-Peter Clausen > > Originally device and buffer registration were kept as separate operations > in IIO to allow to register two distinct sets of channels for buffered and > non-buffered op

Re: [patch 2/2] mm: memcontrol: default hierarchy interface for memory

2015-01-14 Thread Michal Hocko
I have overlooked the `none' setting... On Thu 08-01-15 23:15:04, Johannes Weiner wrote: [...] > +static int memory_low_show(struct seq_file *m, void *v) > +{ > + struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m)); > + unsigned long low = ACCESS_ONCE(memcg->low); > + > + if (lo

[PATCH v4 2/5] iio: sensorhub: Add sensorhub bindings

2015-01-14 Thread Karol Wrona
Add sensorhub bindings for sensorhub on Galaxy Gear 2. Signed-off-by: Karol Wrona Acked-by: Kyungmin Park --- .../devicetree/bindings/iio/sensorhub.txt | 25 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/sensorhub.txt

[PATCH v4 3/5] iio: common: ssp_sensors: Add sensorhub iio commons

2015-01-14 Thread Karol Wrona
This patch adds common library for sensorhub iio drivers. Signed-off-by: Karol Wrona Acked-by: Kyungmin Park --- drivers/iio/common/ssp_sensors/ssp_iio.c| 107 +++ drivers/iio/common/ssp_sensors/ssp_iio_sensor.h | 70 +++ 2 files changed, 177 insertion

[PATCH v4 1/5] iio: common: ssp_sensors: Add sensorhub driver

2015-01-14 Thread Karol Wrona
Sensorhub is MCU dedicated to collect data and manage several sensors. Sensorhub is a spi device which provides a layer for IIO devices. It provides some data parsing and common mechanism for sensorhub sensors. Adds common sensorhub library for sensorhub driver and iio drivers which uses sensorhu

Re: [PATCH] clockevents: rockchip: Add rockchip timer for rk3288

2015-01-14 Thread Daniel Lezcano
On 01/13/2015 12:20 AM, Heiko Stübner wrote: Hi Daniel, sorry it took a bit longer to reply. No problem :) Generally it looks good to me, just some minor issues inline below. Thanks for the review. It would also be nice to include the rockchip list (linux- rockc...@lists.infradead.org) f

[PATCH v4 5/5] iio: common: ssp_sensors: Add sensorhub gyroscope sensor

2015-01-14 Thread Karol Wrona
This patch adds gyroscope iio driver which uses sensorhub as data provider. Signed-off-by: Karol Wrona Acked-by: Kyungmin Park --- drivers/iio/gyro/Makefile |2 + drivers/iio/gyro/ssp_gyro_sensor.c | 169 2 files changed, 171 insertions(+) cre

iio: Move buffer registration to the core

2015-01-14 Thread Karol Wrona
From: Lars-Peter Clausen Originally device and buffer registration were kept as separate operations in IIO to allow to register two distinct sets of channels for buffered and non-buffered operations. This has since already been further restricted and the channel set registered for the buffer need

[PATCH v4 0/5] Add sensorhub driver

2015-01-14 Thread Karol Wrona
n manner for iio devices buffers - centralize irq buffer - style fixes - sensors' devices as mfd cells - remove iio_buffer_register from the sensorhub drivers - fix DT binding and remove optional attributes I rebased it on: next-20150114 with: devm kfifo patches and 3e1b6c95b990c93f

[PATCH v4 4/5] iio: common: ssp_sensors: Add sensorhub accelerometer sensor

2015-01-14 Thread Karol Wrona
This patch adds accelerometer iio driver which uses sensorhub as data provider. Signed-off-by: Karol Wrona Acked-by: Kyungmin Park --- drivers/iio/accel/Makefile |1 + drivers/iio/accel/ssp_accel_sensor.c | 170 ++ 2 files changed, 171 insertions(+

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread One Thousand Gnomes
> The request_firmware interface should be for the DT overlay path, and > other schemes shouldn't use it. The name should come from the DT and > no place else. For the static bindings agreed (or ACPI but that's a detail) or other dynamic discovery post boot. > 2) The bootloader starts the kernel

Re: sysfs topology for arm64 cluster_id

2015-01-14 Thread Don Dutile
On 01/13/2015 07:47 PM, Jon Masters wrote: Hi Folks, TLDR: I would like to consider the value of adding something like "cluster_siblings" or similar in sysfs to describe ARM topology. A quick question on intended data representation in /sysfs topology before I ask the team on this end to go dow

Re: [3.19-rc3] tg3: BUG: sleeping function called from invalid context

2015-01-14 Thread Peter Hurley
On 01/12/2015 09:30 PM, Prashant Sreedharan wrote: > On Mon, 2015-01-12 at 19:59 -0500, Peter Hurley wrote: >> On 3.19-rc3, I'm seeing this might_sleep() warning [1] from the tg3_open() >> call stack. Let me know if I need to bisect this. >> >> Regards, >> Peter Hurley >> >> [1] >> >> [ 17.203009

Re: [patch 2/2] mm: memcontrol: default hierarchy interface for memory

2015-01-14 Thread Johannes Weiner
On Tue, Jan 13, 2015 at 03:20:08PM -0800, Greg Thelen wrote: > > On Thu, Jan 08 2015, Johannes Weiner wrote: > > > Introduce the basic control files to account, partition, and limit > > memory using cgroups in default hierarchy mode. > > > > This interface versioning allows us to address fundamen

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-14 Thread Daniel Lezcano
On 01/14/2015 04:51 PM, Kukjin Kim wrote: On 01/14/15 14:33, Chanwoo Choi wrote: Hi, + Doug, Olof This patch adds the support for Exynos 64bit SoC. The delay_timer is only used for Exynos 32bit SoC. Yes, the Exynos MCT(Multi-Core Timer) is 64bit timer and it is available on 64bit exynos SoC

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread One Thousand Gnomes
> Those people have failed to show up and provide input and/or code. That doesn't excuse failing to design the code properly. > > >> It is one thing to context switch a maths algorithm that is built to > >> be stateless, it is quite another to context switch between, say an > >> ethernet core wi

[PATCH] mtd: denali: Disable sub-page writes in Denali NAND driver

2015-01-14 Thread dinguyen
From: Graham Moore The Denali Controller IP does not support sub-page writes. Signed-off-by: Graham Moore Signed-off-by: Dinh Nguyen --- drivers/mtd/nand/denali.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index b3b7ca1..b16b04

Re: [PATCH 6/8] locking/mcs: Better differentiate between mcs variants

2015-01-14 Thread Davidlohr Bueso
Hi Ingo, > x86 defconfig produces: > > kernel/locking/mcs_spinlock.h:81:2: error: implicit declaration of function > ‘ASSIGN_ONCE’ [-Werror=implicit-function-declaration] > > Also, this patch should really be split into three separate (and > tested) patches. These patches were tested, the f

Re: [PATCH 2/2] net/macb: improved ethtool statistics support

2015-01-14 Thread Nicolas Ferre
Le 13/01/2015 23:15, Xander Huff a écrit : > Currently `ethtool -S` simply returns "no stats available". It > would be more useful to see what the various ethtool statistics > registers' values are. This change implements get_ethtool_stats, > get_strings, and get_sset_count functions to accomplish

Re: [Linaro-acpi] [PATCH 2/2] ata: ahci_platform: Add ACPI _CLS matching

2015-01-14 Thread Grant Likely
On Fri, 19 Dec 2014 14:13:08 -0600 , Suravee Suthikulpanit wrote: > This patch adds ACPI supports for AHCI platform driver, which uses _CLS > method to match the device. > > The following is an example of ASL structure in DSDT for a SATA controller, > which contains _CLS package to be matched by

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-14 Thread Kukjin Kim
On 01/14/15 14:33, Chanwoo Choi wrote: Hi, + Doug, Olof > This patch adds the support for Exynos 64bit SoC. The delay_timer is only used > for Exynos 32bit SoC. > Yes, the Exynos MCT(Multi-Core Timer) is 64bit timer and it is available on 64bit exynos SoC such as exynos7. But basically ARMv8 ar

Re: [PATCH 5/5] pstore: selinux: add security in-core xattr support for pstore and debugfs

2015-01-14 Thread Stephen Smalley
On Tue, Jan 13, 2015 at 5:33 PM, Mark Salyzyn wrote: > - add "pstore" and "debugfs" to list of in-core exceptions > - change fstype checks to boolean equation > - change from strncmp to strcmp for checking > > Signed-off-by: Mark Salyzyn Acked-by: Stephen Smalley > --- > security/selinux/hoo

Re: [PATCH] char: Added support for u-blox 6 i2c gps driver

2015-01-14 Thread One Thousand Gnomes
On Tue, 13 Jan 2015 17:16:42 -0800 "Felipe F. Tonello" wrote: > This driver will basically translate serial communication to i2c communication > between the user-space and the GPS module. > > It creates a /dev/ttyS device node. It shouldn't. It should use its own name. (ttyubl or something .. )

[PATCH 0/2] Enable DRM/KMS support for STiH407 and STiH410 boards

2015-01-14 Thread Gabriel FERNANDEZ
This patch-set Enable DRM/KMS support for STiH407-b2120 and STiH410-b2120 boards. This patch-set replace the previous one (PATCH 0/2] Enable DRM/KMS support for STiH407 Family boards) Gabriel Fernandez (2): ARM: DT: STiH407: Add DRM dt nodes ARM: DT: STiH410: Add DRM dt nodes arch/arm/boo

[PATCH 1/2] ARM: DT: STiH407: Add DRM dt nodes

2015-01-14 Thread Gabriel FERNANDEZ
This patch adds the DRM/KMS dt nodes. This node can't be in stih407-family.dtsi file because in the future we will integrate a new stih418-b2199 board. It's a stih407 family board with different drm/kms dt nodes. That is why i created the stih407.dtsi file. Signed-off-by: Gabriel Fernandez --- a

[PATCH 2/2] ARM: DT: STiH410: Add DRM dt nodes

2015-01-14 Thread Gabriel FERNANDEZ
This patch adds the DRM/KMS dt nodes. Signed-off-by: Benjamin Gaignard Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih410.dtsi | 138 + 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.

Re: [PATCH v5 0/7] Enable L2 cache support on Exynos4210/4x12 SoCs

2015-01-14 Thread Alexandre Belloni
Hi, This patch set hasn't moved since while. We actually need patch 4 to properly configure prefetch on sama5d4. What would be needed to come to an agreement ? On 24/09/2014 at 13:05:34 +0200, Marek Szyprowski wrote : > This is an updated patchset, which intends to add support for L2 cache > on E

[PATCH] of: Add missing of_node_put() in of_find_node_by_path()

2015-01-14 Thread Geert Uytterhoeven
When traversing all nodes and moving to a new path component, the old one must be released by calling of_node_put(). Else the refcounts of the parent node(s) will not be decremented. Signed-off-by: Geert Uytterhoeven --- Background. While investigating a reference count imbalance issue with CONF

[PATCH 0/3] ftrace/kprobes/x86:

2015-01-14 Thread Steven Rostedt
Vasily Averin reported that combining jprobes with function tracing resulted in a kernel crash. I first thought this was related to the fentry code and wrote up a few nice (albeit complex) patches that could handle it. But then during my testing I discovered that it also affected non fentry code

[PATCH 2/3] ftrace: Check both notrace and filter for old hash

2015-01-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Using just the filter for checking for trampolines or regs is not enough when updating the code against the records that represent all functions. Both the filter hash and the notrace hash need to be checked. To trigger this bug (using trace-cmd and perf): # per

[PATCH 1/3] ftrace: Fix updating of filters for shared global_ops filters

2015-01-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" As the set_ftrace_filter affects both the function tracer as well as the function graph tracer, the ops that represent each have a shared ftrace_ops_hash structure. This allows both to be updated when the filter files are updated. But if function graph is enabled

[PATCH 3/3] ftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing

2015-01-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" If the function graph tracer traces a jprobe callback, the system will crash. This can easily be demonstrated by compiling the jprobe sample module that is in the kernel tree, loading it and running the function graph tracer. # modprobe jprobe_example.ko # echo

Re: [patch] mm: memcontrol: fold move_anon() and move_file()

2015-01-14 Thread Michal Hocko
On Tue 13-01-15 13:59:52, Johannes Weiner wrote: > Turn the move type enum into flags and give the flags field a shorter > name. Once that is done, move_anon() and move_file() are simple > enough to just fold them into the callsites. > > Signed-off-by: Johannes Weiner Acked-by: Michal Hocko o

Re: [PATCH RESEND 0/4] Small updates to Snow and Peach Pit/Pi DTS

2015-01-14 Thread Javier Martinez Canillas
Hello Kukjin, On 01/14/2015 04:28 PM, Kukjin Kim wrote: >>> >>> I saw that you collected some DTS patches for 3.20 but these are not >>> included. Any comments about this series? >>> >> Yeah, but I don't think I checked all of submitted patches including >> this at that time and I'll have a look a

Re: [RFC PATCH v2 3/9] rtc/test: Update driver to address y2038/y2106 issues

2015-01-14 Thread Alessandro Zummo
On Wed, 14 Jan 2015 23:26:37 +0800 Xunlei Pang wrote: > But on the other hand, we will have no test for set_mmss64(), > because adding the set_mmss64() will make set_mmss() dysfunctional. add a module parameter -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy ht

Re: [PATCH RESEND 1/4] ARM: dts: Add power and lid GPIO keys pinctrl for exynos5250-snow

2015-01-14 Thread Javier Martinez Canillas
Hello Kukjin, On 01/14/2015 04:17 PM, Kukjin Kim wrote: >> >> &pinctrl_0 { >> +power_key_irq: power-key-irq { >> +samsung,pins = "gpx1-3"; >> +samsung,pin-function = <0xf>; > > I think, this setting should be same with exynos5250-spring but different. > > from: arc

Re: [patch 2/2] mm: memcontrol: default hierarchy interface for memory

2015-01-14 Thread Michal Hocko
On Thu 08-01-15 23:15:04, Johannes Weiner wrote: [...] > @@ -2353,6 +2353,22 @@ done_restock: > css_get_many(&memcg->css, batch); > if (batch > nr_pages) > refill_stock(memcg, batch - nr_pages); > + /* > + * If the hierarchy is above the normal consumption range,

Re: [RFC][PATCH] procfs: Add /proc//mapped_files

2015-01-14 Thread Cyrill Gorcunov
On Wed, Jan 14, 2015 at 05:25:01PM +0200, Kirill A. Shutemov wrote: ... > > > > This gives lsof and suchlike a way to determine the pathnames of files > > mapped into a process without incurring the O(N^2) behavior of the > > maps file. > > We already have /proc/PID/map_files/ directory which lis

Re: [PATCH v10 0/2] crypto: AF_ALG: add AEAD and RNG support

2015-01-14 Thread Stephan Mueller
Am Mittwoch, 14. Januar 2015, 22:00:11 schrieb Herbert Xu: Hi Herbert, > On Wed, Jan 14, 2015 at 04:46:31AM -0500, Neil Horman wrote: > > On Wed, Jan 14, 2015 at 04:52:29AM +0100, Stephan Mueller wrote: > > > Hi, > > > > > > This patch set adds AEAD and RNG support to the AF_ALG interface > > >

Re: [PATCH RESEND 0/4] Small updates to Snow and Peach Pit/Pi DTS

2015-01-14 Thread Kukjin Kim
On 01/15/15 00:12, Kukjin Kim wrote: > On 01/12/15 19:41, Javier Martinez Canillas wrote: >> Hello Kukjin, >> > Hi, > >> On 01/02/2015 04:24 PM, Javier Martinez Canillas wrote: >>> >>> This series adds some DTS snippets that were missing in the mainline >>> Snow and Peach Pit/Pi Device Trees but a

Re: [PATCH 3/7] wait.[ch]: Introduce the simple waitqueue (swait) implementation

2015-01-14 Thread Peter Zijlstra
On Wed, Jan 14, 2015 at 10:01:02AM -0500, Steven Rostedt wrote: > Then why even bother with the wake_up_state, and not just call > wake_up_process()? Ah indeed. TASK_NORMAL should be fine for all. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [RESEND PATCH] ARM: EXYNOS: Add exynos3250 suspend-to-ram support

2015-01-14 Thread Kukjin Kim
On 01/12/15 19:39, Chanwoo Choi wrote: > Dear Kukjin, > > On 01/12/2015 06:28 PM, Kukjin Kim wrote: >> On 01/12/15 17:51, Chanwoo Choi wrote: >>> Dear Kukjin, >>> >>> On 01/12/2015 05:44 PM, Kukjin Kim wrote: On 01/08/15 10:50, Chanwoo Choi wrote: > This patch adds the support for suspend

Re: [RFC PATCH v2 3/9] rtc/test: Update driver to address y2038/y2106 issues

2015-01-14 Thread Xunlei Pang
On 14 January 2015 at 23:03, Alessandro Zummo wrote: > On Wed, 14 Jan 2015 22:56:15 +0800 > Xunlei Pang wrote: > >> We want to do away with set_mmss() eventually, time64 is the final version, >> so I think this would be ok. > > We'll get rid of set_mmss() from the test driver later on, > after

Re: [RFC][PATCH] procfs: Add /proc//mapped_files

2015-01-14 Thread Kirill A. Shutemov
On Tue, Jan 13, 2015 at 04:20:29PM -0800, Calvin Owens wrote: > Commit b76437579d1344b6 ("procfs: mark thread stack correctly in > proc//maps") introduced logic to mark thread stacks with the > "[stack:%d]" marker in /proc//maps. > > This causes reading /proc//maps to take O(N^2) time, where N is

[GIT PULL] KVM changes for 3.19-rc5

2015-01-14 Thread Paolo Bonzini
Linus, The following changes since commit b1940cd21c0f4abdce101253e860feff547291b0: Linux 3.19-rc3 (2015-01-05 17:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to 801f6772cecea6cfc7da61aa197716a

Re: [PATCH v2 2/2] task_mmu: Add user-space support for resetting mm->hiwater_rss (peak RSS)

2015-01-14 Thread Petr Cermak
On Wed, Jan 07, 2015 at 07:24:52PM +0200, Kirill A. Shutemov wrote: > And how it's not an ABI break? I don't think this is an ABI break because the current behaviour is not changed unless you write "5" to /proc/pid/clear_refs. If you do, you are explicitly requesting the new functionality. > We ha

Re: [PATCH] dma: coh901318: fix function return types build warnings

2015-01-14 Thread Linus Walleij
On Tue, Jan 13, 2015 at 10:17 PM, Arnd Bergmann wrote: > A recent patch that removed coh901318_control() replaced it > with a number of pointers to existing functions, but those > unfortunately have the wrong return type and need to be > changed to return an 'int' with an error value rather than

Re: [PATCH RESEND 1/4] ARM: dts: Add power and lid GPIO keys pinctrl for exynos5250-snow

2015-01-14 Thread Kukjin Kim
On 01/03/15 00:24, Javier Martinez Canillas wrote: > The Exynos5250 Snow Chromebook has GPIO keys for power and lid > so the SoC I/O pins have to be configured in external interrupt > mode. Currently, this is working without setting the pinctrl > lines but is better to set it explicitly instead of

Re: [PATCH] arm64: allow late use of early_ioremap

2015-01-14 Thread Mark Salter
On Wed, 2015-01-14 at 16:22 +0800, Hanjun Guo wrote: > Hi Mark, > > On 2015年01月13日 03:09, Mark Salter wrote: > > On Mon, 2015-01-12 at 17:25 +, Will Deacon wrote: > >> On Mon, Jan 12, 2015 at 04:55:11PM +, Mark Salter wrote: > >>> Commit 0e63ea48b4d8 (arm64/efi: add missing call to early_i

[PATCH v7 01/17] arm64: allow late use of early_ioremap

2015-01-14 Thread Hanjun Guo
From: Mark Salter Commit 0e63ea48b4d8 (arm64/efi: add missing call to early_ioremap_reset()) added a missing call to early_ioremap_reset(). This triggers a BUG if code tries using early_ioremap() after the early_ioremap_reset(). This is a problem for some ACPI code which needs short-lived tempora

Re: [PATCH] ARM: imx_v6_v7_defconfig: Select CONFIG_FB_MXS

2015-01-14 Thread Fabio Estevam
On Thu, Jan 8, 2015 at 1:15 AM, Liu Ying wrote: > So, similarly, we'll probably have two LCDIF drivers and make the DRM > one enabled by default - finally, CONFIG_FB_MXS is disabled. Yes, agree. Most likely it will take some time to get your new DRM version reviewed/applied, so we could at least

Re: [PATCH RESEND 0/4] Small updates to Snow and Peach Pit/Pi DTS

2015-01-14 Thread Kukjin Kim
On 01/12/15 19:41, Javier Martinez Canillas wrote: > Hello Kukjin, > Hi, > On 01/02/2015 04:24 PM, Javier Martinez Canillas wrote: >> >> This series adds some DTS snippets that were missing in the mainline >> Snow and Peach Pit/Pi Device Trees but are present in the downstream >> ChromeOS kernel.

Re: [PATCH 1/2] net/macb: Adding comments to various #defs to make interpretation easier

2015-01-14 Thread Brad Mouring
On Wed, Jan 14, 2015 at 12:26:09AM -0500, David Miller wrote: > From: Xander Huff > Date: Tue, 13 Jan 2015 16:15:50 -0600 > > > This change is to help improve at-a-glace knowledge of the purpose of the > > various Cadence MACB/GEM registers. Comments are more helpful for human > > readability tha

[PATCH v7 07/17] ARM64 / ACPI: Disable ACPI if FADT revision is less than 5.1

2015-01-14 Thread Hanjun Guo
FADT Major.Minor version was introduced in ACPI 5.1, it is the same as ACPI version. In ACPI 5.1, some major gaps are fixed for ARM, such as updates in MADT table for GIC and SMP init, without those updates, we can not get the MPIDR for SMP init, and GICv2/3 related init information, so we can't b

[PATCH v7 05/17] ARM64 / ACPI: If we chose to boot from acpi then disable FDT

2015-01-14 Thread Hanjun Guo
From: Graeme Gregory If the early boot methods of acpi are happy that we have valid ACPI tables and acpi=force has been passed, then do not unflat devicetree effectively disabling further hardware probing from DT. Tested-by: Suravee Suthikulpanit Tested-by: Yijing Wang Signed-off-by: Graeme Gr

[PATCH v7 02/17] ARM64 / ACPI: Get RSDP and ACPI boot-time tables

2015-01-14 Thread Hanjun Guo
From: Al Stone As we want to get ACPI tables to parse and then use the information for system initialization, we should get the RSDP (Root System Description Pointer) first, it then locates Extended Root Description Table (XSDT) which contains all the 64-bit physical address that pointer to other

Re: [RFC PATCH v2 6/9] rtc/mxc: Modify rtc_update_alarm() not to touch the alarm time

2015-01-14 Thread Xunlei Pang
Cc Fabio Estevam On 13 January 2015 at 23:44, Xunlei Pang wrote: > From: Xunlei Pang > > rtc_class_ops's set_alarm() shouldn't deal with the alarm date, > as this is handled in the rtc core. > > See rtc_dev_ioctl()'s RTC_ALM_SET and RTC_WKALM_SET cases. > > Signed-off-by: Xunlei Pang > --- >

[PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-14 Thread Hanjun Guo
Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI is enabled on ARM64, ACPI core will need some PCI functions to make it functional, so introduce some empty fu

Re: [PATCH 1/2] net/macb: Adding comments to various #defs to make interpretation easier

2015-01-14 Thread Nicolas Ferre
Le 13/01/2015 23:15, Xander Huff a écrit : > This change is to help improve at-a-glace knowledge of the purpose of the > various Cadence MACB/GEM registers. Comments are more helpful for human > readability than short acronyms. > > Describe various #define varibles Cadence MACB/GEM registers as do

[PATCH v7 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig

2015-01-14 Thread Hanjun Guo
From: Graeme Gregory Add Kconfigs to build ACPI on ARM64, and make ACPI available on ARM64. acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR depend on X86 || IA64, and implement it on ARM64 in the future. Reviewed-by: Grant Likely Tested-by: Suravee Suthikulpanit Test

[PATCH v7 17/17] Documentation: ACPI for ARM64

2015-01-14 Thread Hanjun Guo
From: Graeme Gregory Add documentation for the guidelines of how to use ACPI on ARM64. Reviewed-by: Suravee Suthikulpanit Reviewed-by: Yi Li Signed-off-by: Graeme Gregory Signed-off-by: Al Stone Signed-off-by: Hanjun Guo --- Documentation/arm64/arm-acpi.txt | 327 ++

[PATCH v7 15/17] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-01-14 Thread Hanjun Guo
From: Al Stone ACPI reduced hardware mode is disabled by default, but ARM64 can only run properly in ACPI hardware reduced mode, so select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64. Reviewed-by: Grant Likely Tested-by: Suravee Suthikulpanit Tested-by: Yijing Wang Signed-off-by: A

[PATCH v7 14/17] ARM64 / ACPI: Parse GTDT to initialize arch timer

2015-01-14 Thread Hanjun Guo
Using the information presented by GTDT to initialize the arch timer (not memory-mapped). Originally-by: Amit Daniel Kachhap Tested-by: Suravee Suthikulpanit Tested-by: Yijing Wang Signed-off-by: Hanjun Guo --- arch/arm64/kernel/time.c | 7 ++ drivers/clocksource/arm_arch_timer.

[PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-14 Thread Hanjun Guo
From: Tomasz Nowicki ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver initialization function (which is hardware abstraction agnostic). In a similar way, FDT initialize GICv1/2. NOT

[PATCH v7 11/17] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-01-14 Thread Hanjun Guo
Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. MPIDR is the CPU hardware ID as local APIC ID on x86 platform, so we use MPIDR not the GIC CPU interface ID to identify CPUs. Tested-by: Suravee Suthikulpanit Tested-by: Yijin

[PATCH v7 12/17] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-01-14 Thread Hanjun Guo
Introduce ACPI_IRQ_MODEL_GIC which is needed for ARM64 as GIC is used, and then register device's gsi with the core IRQ subsystem. acpi_register_gsi() is similar to DT based irq_of_parse_and_map(), since gsi is unique in the system, so use hwirq number directly for the mapping. Originally-by: Ami

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