Re: [RFC 01/10] iommu: Add IOMMU device registry

2014-06-27 Thread Thierry Reding
On Thu, Jun 26, 2014 at 10:49:41PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Add an IOMMU device registry for drivers to register with and implement > a method for users of the IOMMU API to attach to an IOMMU device. This > allows to support deferred probing and gives the IOMMU API

[PATCH v2] iommu: Constify struct iommu_ops

2014-06-27 Thread Thierry Reding
From: Thierry Reding This structure is read-only data and should never be modified. Signed-off-by: Thierry Reding --- Changes in v2: - add missing hunk from include/device.h drivers/iommu/amd_iommu.c | 4 ++-- drivers/iommu/arm-smmu.c| 2 +- drivers/iommu/exynos-iommu.c|

[PATCH v2 1/3] cgroup: fix mount failure in a corner case

2014-06-27 Thread Li Zefan
# cat test.sh #! /bin/bash mount -t cgroup -o cpu xxx /cgroup umount /cgroup mount -t cgroup -o cpu,cpuacct xxx /cgroup umount /cgroup # ./test.sh mount: xxx already mounted or /mnt busy mount: according to mtab, xxx is already mounted on /mnt It's because the cgroupfs_root of

[PATCH v2 3/3] cgroup: fix a race between cgroup_mount() and cgroup_kill_sb()

2014-06-27 Thread Li Zefan
We've converted cgroup to kernfs so cgroup won't be intertwined with vfs objects and locking, but there are dark areas. Run two instances of this script concurrently: for ((; ;)) { mount -t cgroup -o cpuacct xxx /cgroup umount /cgroup } After a while, I saw two mount

[PATCH v2 2/3] kernfs: introduce kernfs_pin_sb()

2014-06-27 Thread Li Zefan
kernfs_pin_sb() tries to get a refcnt of the superblock. This will be used by cgroupfs. v2: - make kernfs_pin_sb() return pointer to the superblock. - drop kernfs_drop_sb(). Signed-off-by: Li Zefan --- fs/kernfs/mount.c | 27 +++ include/linux/kernfs.h | 1 + 2 fi

RE: [PATCH v2] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-27 Thread Chen, Alvin
> > > The EHCI packet buffer in/out threshold is programmable for Intel > > > Quark X1000 USB host controller, and the default value is 0x20 > > > dwords. The in/out threshold can be programmed to 0x80 dwords, but > > > only when isochronous/interrupt transactions are not initiated by > > > the US

[PATCH] block: fix uint overflow when merging io requests

2014-06-27 Thread Junxiao Bi
This uint overflow will cause req->__data_len < req->bio->bi_size, this will confuse block layer and device driver. I watched a panic caused by this when mkfs.ext4 a volume of a large virtual disk on vm guest, blkdev_issue_discard() issue two bio with a total size over UINT_MAX, but the check in l

Re: [PATCH V7 1/6] power: reset: Add generic SYSCON register mapped reset

2014-06-27 Thread Arnd Bergmann
On Thursday 26 June 2014 09:51:14 Feng Kan wrote: > >> diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig > >> index bdcf517..7035236 100644 > >> --- a/drivers/power/reset/Kconfig > >> +++ b/drivers/power/reset/Kconfig > >> @@ -80,3 +80,9 @@ config POWER_RESET_KEYSTONE > >>

Re: [PATCH RESEND] clk: flatten clk tree in debugfs

2014-06-27 Thread Peter De Schrijver
On Thu, Jun 26, 2014 at 11:36:45PM +0200, Mike Turquette wrote: > Quoting Peter De Schrijver (2014-06-26 09:39:06) > > On Fri, Jun 13, 2014 at 10:02:39AM +0200, Peter De Schrijver wrote: > > > On Fri, May 30, 2014 at 05:03:57PM +0200, Peter De Schrijver wrote: > > > > This patch flattens the clk tr

Re: [PATCH RESEND] clk: flatten clk tree in debugfs

2014-06-27 Thread Peter De Schrijver
On Thu, Jun 26, 2014 at 11:36:45PM +0200, Mike Turquette wrote: > Quoting Peter De Schrijver (2014-06-26 09:39:06) > > On Fri, Jun 13, 2014 at 10:02:39AM +0200, Peter De Schrijver wrote: > > > On Fri, May 30, 2014 at 05:03:57PM +0200, Peter De Schrijver wrote: > > > > This patch flattens the clk tr

Re: [RFC][PATCH 1/5 v2] tracing: Add trace_seq_buffer_ptr() helper function

2014-06-27 Thread Paolo Bonzini
Il 27/06/2014 03:06, Steven Rostedt ha scritto: As this patch is in my 3.17 queue and it touches the kvm and scsi tracepoint code, I figured I should at least do the courtesy of notifying the maintainers of those subsystems. Do you have any issues with this going through my tree? If not, please

Re: [RFC 04/10] memory: Add Tegra124 memory controller support

2014-06-27 Thread Joseph Lo
Hi Thierry, On 06/27/2014 04:49 AM, Thierry Reding wrote: [snip] + +#define MC_INTSTATUS 0x000 +#define MC_INT_DECERR_MTS (1 << 16) +#define MC_INT_SECERR_SEC (1 << 13) +#define MC_INT_DECERR_VPR (1 << 12) +#define MC_INT_INVALID_APB_ASID_UPDATE (1 << 11) +#define MC_INT_INVALID_SMMU_PAGE (

Re: [PATCH v2 1/6] ARM: mm: cache-l2x0: Add base address argument to write_sec callback

2014-06-27 Thread Linus Walleij
On Wed, Jun 25, 2014 at 3:37 PM, Tomasz Figa wrote: > For certain platforms (e.g. Exynos) it is necessary to read back some > values from registers before they can be written (i.e. SMC calls that > set multiple registers per call), so base address of L2C controller is > needed for .write_sec oper

[RFC] squashfs: A possible memory leak in squashfs

2014-06-27 Thread Gioh Kim
Hello, I have been trying to apply CMA feature to my platform, based on ver. 3.10. And I am suffering failures of allocation in CMA area. I made a patch like below (I copied it after kernel log) and found that a buffer-head is not released. As you know the CMA try to migrate movable pages. If any

Re: [PATCH] ring-buffer: Race when writing and swapping cpu buffer in parallel

2014-06-27 Thread Petr Mládek
On Thu 2014-06-26 20:55:00, Steven Rostedt wrote: > On Thu, 26 Jun 2014 09:58:31 -0400 > Steven Rostedt wrote: > > > What we can do is force ring_buffer_swap_cpu() to only work for the CPU > > that it is on. As we have snapshot in per_cpu buffers, to make that > > work, we will need to change the

Re: [PATCH v5 03/14] clk: max77686: Add DT include for MAX77686 PMIC clock

2014-06-27 Thread Andreas Färber
Am 26.06.2014 20:15, schrieb Javier Martinez Canillas: > This patch adds a dt-binding include for Maxim 77686 > PMIC clock IDs that can be to be shared between the "can be shared"? Regards, Andreas > clk-max77686 clock driver and DeviceTree source files. > > Signed-off-by: Javier Martinez Canil

Re: [PATCH v2 1/2] Documentation: Document Hisilicon hix5hd2 sata PHY

2014-06-27 Thread Arnd Bergmann
On Friday 27 June 2014 11:37:18 zhangfei wrote: > > > > Sorry for the confusion. > > The phy is rather an analog controller, without standard register. > Instead, the phy interface is just some pin / analog interface. > The register is in fact hix5hd2 register, controls all the analog > output,

Re: [PATCH v5 12/14] clk: max77802: Add DT binding documentation

2014-06-27 Thread Andreas Färber
Am 26.06.2014 20:15, schrieb Javier Martinez Canillas: > Add Device Tree binding documentation for the clocks > outputs in the Maxim 77802 Power Management IC. > > Signed-off-by: Javier Martinez Canillas > --- > > Changes since v4: None > > Changes since v3: > - Don't use the same clock driver

Re: [PATCH v2 1/2] ARM: at91/dt: describe rgmii ethernet phy connected to sama5d3xek boards

2014-06-27 Thread Nicolas Ferre
On 26/06/2014 22:01, Boris BREZILLON : > Hi Florian, > > On 26/06/2014 20:15, Florian Fainelli wrote: >> Hi Boris, >> >> 2014-06-26 3:13 GMT-07:00 Boris BREZILLON >> : >>> Add ethernet-phy node and specify phy interrupt (connected to pin PB25). >>> >>> The PHY address is not specified here becaus

Re: [PATCH v5 03/14] clk: max77686: Add DT include for MAX77686 PMIC clock

2014-06-27 Thread Javier Martinez Canillas
Hello Andreas, On 06/27/2014 09:48 AM, Andreas Färber wrote: > Am 26.06.2014 20:15, schrieb Javier Martinez Canillas: >> This patch adds a dt-binding include for Maxim 77686 >> PMIC clock IDs that can be to be shared between the > > "can be shared"? > As it should be quite clear right now I'm n

[PATCH] mm:vmscan: update the trace-vmscan-postprocess.pl for event vmscan/mm_vmscan_lru_isolate

2014-06-27 Thread Chen Yucong
When using *trace-vmscan-postprocess.pl* for checking the file/anon rate of scanning, we can find that it can not be performed. At the same time, the following message will be reported. WARNING: Format not as expected for event vmscan/mm_vmscan_lru_isolate 'file' != 'contig_taken' Fewer fields

Re: [PATCH v5 12/14] clk: max77802: Add DT binding documentation

2014-06-27 Thread Javier Martinez Canillas
Hello Andres, Thanks a lot for your feedback. On 06/27/2014 09:52 AM, Andreas Färber wrote: > Am 26.06.2014 20:15, schrieb Javier Martinez Canillas: >> Add Device Tree binding documentation for the clocks >> outputs in the Maxim 77802 Power Management IC. >> >> Signed-off-by: Javier Martinez Can

[RFC 0/5] Per-user clock constraints

2014-06-27 Thread Tomeu Vizoso
Hi, I'm retaking Rabin's patches [0] for splitting the clk API in two: one API for clk consumers and another for providers. The consumer API uses a clk structure that just keeps track of the consumer and has a reference to the actual clk_core struct, which is used internally. I have kept a patch

[RFC 4/5] clk: per-user clock accounting for debug

2014-06-27 Thread Tomeu Vizoso
From: Rabin Vincent When a clock has multiple users, the WARNING on imbalance of enable/disable may not show the guilty party since although they may have commited the error earlier, the warning is emitted later when some other user, presumably innocent, disables the clock. Provide per-user cloc

[RFC 1/5] clk: Add temporary mapping to the existing API

2014-06-27 Thread Tomeu Vizoso
To preserve git-bisectability, add aliases from the future provider API to the existing public API. Signed-off-by: Tomeu Vizoso --- Don't like this much, would be great to hear of alternatives. include/linux/clk-provider.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a

[RFC 5/5] clk: Add floor and ceiling constraints to clock rates

2014-06-27 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance level. Signed-off-by: Tomeu Vizoso --- drivers/clk/clk.c | 105

Re: [PATCH] HID: roccat: Drop cast

2014-06-27 Thread Julia Lawall
On Thu, 26 Jun 2014, Joe Perches wrote: > On Fri, 2014-06-27 at 07:29 +0200, Julia Lawall wrote: > > On Thu, 26 Jun 2014, Joe Perches wrote: > > > The cast of a const void * to a void * was odd. > > > > > > Maybe a mechanism to verify appropriateness of > > > loss of constness for any pointer mi

Re: [PATCH v5 08/14] mfd: max77802: Add DT binding documentation

2014-06-27 Thread Andreas Färber
Am 26.06.2014 20:15, schrieb Javier Martinez Canillas: > Add Device Tree binding documentation for Maxim 77802 PMIC. > > Signed-off-by: Javier Martinez Canillas > --- > > Changes since v4: None > > Changes since v3: None > > Changes since v2: > - Explain better the Dynamic Voltage Scaling (DV

RE: [PATCH v2] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-27 Thread David Laight
From: Jingoo Han ... > /* The maximal threshold value is 0x80, which means 512 bytes */ > #define EHCI_THRESHOLD_512BYTES 0x80 > #define EHCI_THRESHOLD_508BYTES 0x79 It would be better to define these using expressions. So: #define EHCI_THRESHOLD_512BYTES (512u

[PATCH 4/6] ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree

2014-06-27 Thread Mikko Perttunen
This adds the soctherm thermal sensing and management unit to the Tegra124 device tree along with the four thermal zones it exports. Signed-off-by: Mikko Perttunen --- arch/arm/boot/dts/tegra124.dtsi | 48 + 1 file changed, 48 insertions(+) diff --git a/a

[PATCH 6/6] thermal: Add Tegra SOCTHERM thermal management driver

2014-06-27 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports the four thermal zones with hardware-tracked trip points. Signed-off-by: Mikko Perttunen --- drivers/thermal/Kconfig | 7 + drivers/thermal

[PATCH 3/6] ARM: tegra: Add thermal trip points for Jetson TK1

2014-06-27 Thread Mikko Perttunen
This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. Signed-off-by: Mikko Perttunen --- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 32 +++ 1 fi

[PATCH 5/6] clk: tegra: Add soctherm and tsensor clocks to Tegra124 init table

2014-06-27 Thread Mikko Perttunen
This adds the two clocks, soctherm and tsensor, to the T124 initialization table. They are required for soctherm-based thermal sensing. Signed-off-by: Mikko Perttunen --- Peter, one more zero for TSENSOR, please :) drivers/clk/tegra/clk-tegra124.c | 2 ++ 1 file changed, 2 insertions(+) diff -

[PATCH 1/6] thermal: of: Add support for hardware-tracked trip points

2014-06-27 Thread Mikko Perttunen
This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary number of trip points. Whenever the current temperature is updated, the trip points immediately below and above the current temperature are found. A sensor driver cal

[PATCH 0/6] of-thermal hardware trip points + Tegra124 SOCTHERM driver

2014-06-27 Thread Mikko Perttunen
Hi everyone, this series adds support for hardware-tracked thermal trip points for the device tree thermal framework and introduces a new Tegra124 thermal driver that uses them. Hardware-tracked trip points are trip points that do not need to be polled; the hardware gives an interrupt when the tr

[PATCH 2/6] of: Add bindings for nvidia,tegra124-soctherm

2014-06-27 Thread Mikko Perttunen
This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Signed-off-by: Mikko Perttunen --- .../devicetree/bindings/thermal/tegra-soctherm.txt | 32 ++ include/dt-bindings/thermal/tegra124-soctherm.h| 15 ++ 2 files changed, 47 inser

[PATCH 0/5] Improve sequential read throughput v3

2014-06-27 Thread Mel Gorman
Changelog since V2 o Simply fair zone policy cost reduction o Drop CFQ patch Changelog since v1 o Rebase to v3.16-rc2 o Move CFQ patch to end of series where it can be rejected easier if necessary o Introduce page-reclaim related patch related to kswapd/fairzone interactions o Rework fast zone pol

[PATCH 5/5] mm: page_alloc: Reduce cost of dirty zone balancing

2014-06-27 Thread Mel Gorman
When allocating a page cache page for writing the allocator makes an attempt to proportionally distribute dirty pages between populated zones. The call to zone_dirty_ok is more expensive than expected because of the number of vmstats it examines. This patch caches some of that information to reduce

Get a loan in 24 hours at 2% interest rate

2014-06-27 Thread Liu Chang
I am Liu Chang, can you work with me on a business proposal that worth $15Million Dollars? for more info contact me with my email: liuchan...@foxmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH 4/5] mm: page_alloc: Reduce cost of the fair zone allocation policy

2014-06-27 Thread Mel Gorman
The fair zone allocation policy round-robins allocations between zones within a node to avoid age inversion problems during reclaim. If the first allocation fails, the batch counts is reset and a second attempt made before entering the slow path. One assumption made with this scheme is that batche

Re: [RFC 04/10] memory: Add Tegra124 memory controller support

2014-06-27 Thread Thierry Reding
On Fri, Jun 27, 2014 at 03:41:20PM +0800, Joseph Lo wrote: > Hi Thierry, > > On 06/27/2014 04:49 AM, Thierry Reding wrote: > [snip] > >+ > >+#define MC_INTSTATUS 0x000 > >+#define MC_INT_DECERR_MTS (1 << 16) > >+#define MC_INT_SECERR_SEC (1 << 13) > >+#define MC_INT_DECERR_VPR (1 << 12) > >+#de

[PATCH 3/5] mm: vmscan: Do not reclaim from lower zones if they are balanced

2014-06-27 Thread Mel Gorman
Historically kswapd scanned from DMA->Movable in the opposite direction to the page allocator to avoid allocating behind kswapd direction of progress. The fair zone allocation policy altered this in a non-obvious manner. Traditionally, the page allocator prefers to use the highest eligible zone un

Re: [PATCH] mfd: cros_ec_spi: set wakeup capability

2014-06-27 Thread Lee Jones
On Thu, 26 Jun 2014, Olof Johansson wrote: > On Mon, Jun 23, 2014 at 2:26 AM, Lee Jones wrote: > >> Lee (-others), > > > > Re-CC'ing the list. > > > >> On Wed, Jun 18, 2014 at 2:20 AM, Lee Jones wrote: > >> >> From: Prathyush K > >> >> > >> >> Set the device as wakeup capable and register the w

Re: [PATCH v2 1/3] cgroup: fix mount failure in a corner case

2014-06-27 Thread Li Zefan
Oh sorry the cut&paste was incomplete. Here's the complete one: From: Li Zefan Date: Thu, 12 Jun 2014 09:11:00 +0800 Subject: [PATCH v2 1/3] cgroup: fix mount failure in a corner case # cat test.sh #! /bin/bash mount -t cgroup -o cpu xxx /cgroup umount /cgroup mount

[PATCH 1/5] mm: pagemap: Avoid unnecessary overhead when tracepoints are deactivated

2014-06-27 Thread Mel Gorman
The LRU insertion and activate tracepoints take PFN as a parameter forcing the overhead to the caller. Move the overhead to the tracepoint fast-assign method to ensure the cost is only incurred when the tracepoint is active. Signed-off-by: Mel Gorman --- include/trace/events/pagemap.h | 16

Re: [PATCH] iommu: Constify struct iommu_ops

2014-06-27 Thread Thierry Reding
On Thu, Jun 26, 2014 at 09:04:54PM +0200, Thierry Reding wrote: > From: Thierry Reding > > This structure is read-only data and should never be modified. > > Signed-off-by: Thierry Reding > --- > drivers/iommu/amd_iommu.c | 4 ++-- > drivers/iommu/arm-smmu.c| 2 +- > drivers/io

[PATCH 2/5] mm: Rearrange zone fields into read-only, page alloc, statistics and page reclaim lines

2014-06-27 Thread Mel Gorman
The arrangement of struct zone has changed over time and now it has reached the point where there is some inappropriate sharing going on. On x86-64 for example o The zone->node field is shared with the zone lock and zone->node is accessed frequently from the page allocator due to the fair zone a

RE: [PATCH v2] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-27 Thread Chen, Alvin
> -Original Message- > From: David Laight [mailto:david.lai...@aculab.com] > Sent: Friday, June 27, 2014 4:08 PM > ... > > /* The maximal threshold value is 0x80, which means 512 bytes */ > > #define EHCI_THRESHOLD_512BYTES 0x80 > > #define EHCI_THRESHOLD_508BYTES

Re: [PATCH v2 7/9] regulator: palmas: Add palmas_pmic_driver_data structure

2014-06-27 Thread Lee Jones
On Wed, 18 Jun 2014, Keerthy wrote: > Add palmas_pmic_driver_data structure. > > Signed-off-by: Keerthy > --- > include/linux/mfd/palmas.h | 25 + > 1 file changed, 25 insertions(+) > > diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h > index 0136e

Re: [PATCH 07/22] media: Use pci_zalloc_consistent

2014-06-27 Thread Hans Verkuil
Hi Joe, For the media subsystem: Acked-by: Hans Verkuil Regards, Hans On 06/23/2014 03:41 PM, Joe Perches wrote: Remove the now unnecessary memset too. Signed-off-by: Joe Perches --- drivers/media/common/saa7146/saa7146_core.c | 15 ++- drivers/media/common/sa

Re: [PATCH PING] VFS: mount must return EACCES, not EROFS

2014-06-27 Thread Philippe De Muyter
PING Currently, the initial mount of the root file system by the linux kernel fails with a cryptic message instead of being retried with the MS_RDONLY flag set, when the device is read-only and the combination of block driver and filesystem driver yields EROFS. I do not know if POSIX mandates th

[PATCH] HID: usbhid: quirk for PM1610 and PM1640 Touchscreen.

2014-06-27 Thread John Sung
These device needs to be added to the quirks list with HID_QUIRK_NOGET, otherwise they will reset upon receiving the get input report requests. Signed-off-by: John Sung --- drivers/hid/hid-ids.h |2 ++ drivers/hid/usbhid/hid-quirks.c |2 ++ 2 files changed, 4 insertions(+) dif

Re: ext4: total breakdown on USB hdd, 3.0 kernel

2014-06-27 Thread Oliver Neukum
On Thu, 2014-06-26 at 22:20 +0200, Pavel Machek wrote: > Hi! > > Ok, this ext4 filesystem does _not_ have easy life: it is in usb > envelope, I wanted > to use it as a root filesystem, and it is connected to OLPC-1.75, > running some kind > of linux-3.0 kernels. > > So power disconnects are commo

Re: [PATCH v2 8/9] regulator: palmas: add driver data and modularize the probe

2014-06-27 Thread Lee Jones
On Wed, 18 Jun 2014, Keerthy wrote: > add driver data and modularize the probe. Nit: This is a sentence, it should start with a capital letter. > Signed-off-by: Keerthy > --- > > Changes in V2: > > * Fixed the order of variable declarations. > > drivers/mfd/palmas.c | 44

Re: [PATCH v5 03/14] clk: max77686: Add DT include for MAX77686 PMIC clock

2014-06-27 Thread Andreas Färber
Hi Javier, Am 27.06.2014 09:53, schrieb Javier Martinez Canillas: > Hello Andreas, > > On 06/27/2014 09:48 AM, Andreas Färber wrote: >> Am 26.06.2014 20:15, schrieb Javier Martinez Canillas: >>> This patch adds a dt-binding include for Maxim 77686 >>> PMIC clock IDs that can be to be shared betwe

Re: [PATCH 4/5] perf trace: add pagefault statistics

2014-06-27 Thread Stanislav Fomichev
> Where is it? > usleep (19155), 151 events, 84.4%, 0:68 faults, 0.000 msec ^^^ maj:min -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.o

Re: [PATCH] sysctl: Add a feature to drop caches selectively

2014-06-27 Thread Matthias Schniedermeyer
On 26.06.2014 13:57, Luká? Czerner wrote: > > So if the authors want to sell this new interface (in whatever form) to > > the kernel community, they should start with providing a solid use-case, > > with some more details, explore alternatives and show how the > > alternatives do not work for them

Re: [RFC PATCH v6 04/20] iommu/arm-smmu: add capability IOMMU_CAP_INTR_REMAP

2014-06-27 Thread Will Deacon
On Thu, Jun 26, 2014 at 08:36:24PM +0100, Alex Williamson wrote: > On Thu, 2014-06-26 at 19:10 +, Chalamarla, Tirumalesh wrote: > > Thanks for the clarification Alex, That’s exactly my point, why are we > > relying on QEMU or something else to emulate the MSI space when we can > > directly giv

Re: rtc/hctosys.c Problem during kernel boot

2014-06-27 Thread Alexander Holler
Am 23.06.2014 23:36, schrieb John Stultz: On Sat, Jun 21, 2014 at 6:08 AM, Alexander Holler wrote: Am 12.06.2014 01:53, schrieb John Stultz: You can read some of the previous discussion here: https://lkml.org/lkml/2013/6/17/533 I'd be very interested in patches to resolve this! And the si

Re: [PATCH v5 08/14] mfd: max77802: Add DT binding documentation

2014-06-27 Thread Javier Martinez Canillas
Hello Andreas, Thanks a lot for your feedback. On 06/27/2014 10:06 AM, Andreas Färber wrote: > Am 26.06.2014 20:15, schrieb Javier Martinez Canillas: >> Add Device Tree binding documentation for Maxim 77802 PMIC. >> >> Signed-off-by: Javier Martinez Canillas >> --- >> >> Changes since v4: None

Re: [PATCH v5 03/14] clk: max77686: Add DT include for MAX77686 PMIC clock

2014-06-27 Thread Javier Martinez Canillas
Hello Andreas, On 06/27/2014 10:26 AM, Andreas Färber wrote: > Hi Javier, > > Am 27.06.2014 09:53, schrieb Javier Martinez Canillas: >> Hello Andreas, >> >> On 06/27/2014 09:48 AM, Andreas Färber wrote: >>> Am 26.06.2014 20:15, schrieb Javier Martinez Canillas: This patch adds a dt-binding

Re: [PATCH] sysctl: Add a feature to drop caches selectively

2014-06-27 Thread Bernd Schubert
On 06/27/2014 04:55 AM, Dave Chinner wrote: On Thu, Jun 26, 2014 at 02:10:28PM +0200, Bernd Schubert wrote: On 06/26/2014 01:57 PM, Lukáš Czerner wrote: On Thu, 26 Jun 2014, Artem Bityutskiy wrote: On Thu, 2014-06-26 at 12:36 +0200, Bernd Schubert wrote: On 06/26/2014 08:13 AM, Artem Bityutsk

Re: [PATCH net-next] pktgen: Fill the payload optionally with a pattern

2014-06-27 Thread Zoltan Kiss
On 26/06/14 01:54, David Miller wrote: From: Zoltan Kiss Date: Tue, 24 Jun 2014 21:40:15 +0100 Introduces a new flag called PATTERN, which puts a non-periodic, predicatble pattern into the payload. This was useful to reproduce an otherwise intermittent bug in xen-netback [1], where checksum ch

Re: [PATCH] spi: omap-uwire: fix compilation failure

2014-06-27 Thread Mark Brown
On Thu, Jun 26, 2014 at 11:07:38PM -0700, Olof Johansson wrote: > Patch 'spi: omap-uwire: use devm_ functions' (b3f6a57506b8) introduced a > build error due to a missing include file. Add it. A similar patch was applied a few days ago. signature.asc Description: Digital signature

LOAN OFFER

2014-06-27 Thread Stanley Clarke
I am Stanley Clarke a private lender located in USA.I can help you with a loan you are looking for @ 3% interest rate,For Urgent Response Email: stanleyloancla...@gmail.com Stanley Clarke. Email: stanleyloancla...@gmail.com Telephone:(781)-369-5127 -- To unsubscribe from this list: send the line

Re: [PATCH] sysctl: Add a feature to drop caches selectively

2014-06-27 Thread Lukáš Czerner
On Fri, 27 Jun 2014, Matthias Schniedermeyer wrote: > Date: Fri, 27 Jun 2014 10:41:39 +0200 > From: Matthias Schniedermeyer > To: Luká? Czerner > Cc: Artem Bityutskiy , > Bernd Schubert , > Dave Chinner , Thomas Knauth , > David Rientjes , > Maksym Planeta , > Alexander Viro

Re: [PATCH v4 06/13] ARM64 / ACPI: Introduce early_param for "acpi"

2014-06-27 Thread Arnd Bergmann
On Friday 27 June 2014 11:49:29 Hanjun Guo wrote: > + > +static int __init parse_acpi(char *arg) > +{ > + if (!arg) > + return -EINVAL; > + > + /* "acpi=off" disables both ACPI table parsing and interpreter */ > + if (strcmp(arg, "off") == 0) { > + disa

Re: [PATCH] sysctl: Add a feature to drop caches selectively

2014-06-27 Thread Artem Bityutskiy
On Fri, 2014-06-27 at 10:41 +0200, Matthias Schniedermeyer wrote: > On 26.06.2014 13:57, Luká? Czerner wrote: > > > > So if the authors want to sell this new interface (in whatever form) to > > > the kernel community, they should start with providing a solid use-case, > > > with some more details,

Re: [Linaro-acpi] [PATCH v4 12/13] ARM64 / ACPI: if we chose to boot from acpi then disable FDT

2014-06-27 Thread Arnd Bergmann
On Friday 27 June 2014 11:49:35 Hanjun Guo wrote: > From: Graeme Gregory > > If the early boot methods of acpi are happy that we have valid ACPI > tables and acpi=off has not been passed. Then do not unflat devicetree > effectively disabling further hardware probing from DT. > I guess this answ

Re: [PATCH] sysctl: Add a feature to drop caches selectively

2014-06-27 Thread Bityutskiy, Artem
On Fri, 2014-06-27 at 12:08 +0300, Artem Bityutskiy wrote: > To make 100% sure you'd not only need to drop VFS-level caches but also > file-system-level caches. Indeed, file-systems have their own rather Sorry, I wanted to say "rather complex" here > buffers for different indexing data-structures,

Re: mfd: sec-core requires regulators

2014-06-27 Thread Lee Jones
On Tue, 24 Jun 2014, Arnd Bergmann wrote: > The newly added sec-core mfd module calls the regulator_suspend_prepare() > function, which is only available if the regulator API is provided. This > matches the usage of the driver, so we can just add a Kconfig dependency. > > Reported-by: Jim Davis

Re: [PATCH v2 1/3] cgroup: fix mount failure in a corner case

2014-06-27 Thread Li Zefan
Made a mistake again.. :( == From: Li Zefan Subject: [PATCH 1/3] cgroup: fix mount failure in a corner case # cat test.sh #! /bin/bash mount -t cgroup -o cpu xxx /cgroup umount /cgroup mount -t cgroup -o cpu,cpuacct xxx /cgroup umount /cgroup # ./test.sh mount: xx

Re: [PATCH 2/2] mxc_nand: use our own read_page function

2014-06-27 Thread Michael Grzeschik
On Thu, Jun 26, 2014 at 10:42:48PM +0200, Michael Grzeschik wrote: > The current approach of the read_page function is to iterate over all > subpages and call the correct_data function. The correct_data function > currently does the same. It iterates over all subpages and checks for > correctable a

Re: [PATCH] regulator: tps65917: Fix SMPS enable/disable/is_enable

2014-06-27 Thread Keerthy
Hello Nishanth, On Friday 27 June 2014 12:01 AM, Nishanth Menon wrote: We use regmap regulator ops to enable/disable and check if regulator is enabled for various SMPS. However, these depend on valid enable_reg, enable_mask and enable_value in regulator descriptor. So, similar to fix we did in

[PATCH - RESEND] Bluetooth: Keep master role when SCO or eSCO is active

2014-06-27 Thread Kiran Kumar Raparthy
From: "hyungseoung.yoo" Preserve the master role when SCO or eSCO is active as this improves compatability with lots of headset and chipset combinations. This is one of the number of patches from the Android AOSP common.git tree, which is used on almost all Android devices. It looks like it woul

Re: [PATCHv5 2/2] arm: Get rid of meminfo

2014-06-27 Thread Laura Abbott
On 6/24/2014 1:49 AM, Uwe Kleine-König wrote: > Hi Laura, > > On Mon, Jun 23, 2014 at 01:47:55PM -0700, Laura Abbott wrote: >> Thanks for the report. > Thanks for your reply to address it :-) > Are you already aware of the mail with Message-Id: > caga+x85h510fngtxjhgyfqybra2fggg2nycgj8rmjj6te7g...

Re: [PATCH v5 02/14] mfd: max77686: Allow the max77686 rtc to wakeup the system

2014-06-27 Thread Lee Jones
On Thu, 26 Jun 2014, Javier Martinez Canillas wrote: > From: Doug Anderson > > The max77686 includes an RTC that keeps power during suspend. It's > convenient to be able to use it as a wakeup source. > > NOTE: due to wakeup ordering problems this patch alone doesn't work so > well on exynos525

Re: [PATCH v3 4/9] ACPI, x86: Extended error log driver for x86 platform

2014-06-27 Thread Borislav Petkov
On Fri, Jun 27, 2014 at 01:34:45PM +0800, Xie XiuQi wrote: > The call graph is like this, > do_machine_check > -> mce_log > -> atomic_notifier_call_chain(&x86_mce_decoder_chain ...) >-> ... > -> extlog_print > -> print_extlog_rcd > -> __print_extlog_rcd >-> printk > >

Re: [PATCH v5 10/14] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-27 Thread Lee Jones
On Thu, 26 Jun 2014, Javier Martinez Canillas wrote: > The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout > (LDO) regulators. This patch adds support for all these regulators > found on the MAX77802 PMIC and is based on a driver added by Simon > Glass to the Chrome OS kernel 3.8 tree.

RE: [PATCH] scsi: pm8001: pm80xx_hwi.c: Cleaning up variable is set more than once

2014-06-27 Thread Suresh Thiagarajan
On Thu, Jun 26, 2014 at 1:50 PM, Maurizio Lombardi wrote: > On 06/26/2014 10:09 AM, Jack Wang wrote: >> Thanks Rickard, >> >> From my point of view, looks good, but I'd like to get review from Anand >> (cc-ed). > > I would like to add that I noticed that this fields is only set and appears > to

Re: [PATCH v5 02/14] mfd: max77686: Allow the max77686 rtc to wakeup the system

2014-06-27 Thread Javier Martinez Canillas
Hello Lee, On 06/27/2014 11:21 AM, Lee Jones wrote: > On Thu, 26 Jun 2014, Javier Martinez Canillas wrote: > >> From: Doug Anderson >> >> The max77686 includes an RTC that keeps power during suspend. It's >> convenient to be able to use it as a wakeup source. >> >> NOTE: due to wakeup orderin

Re: [PATCH 8/9] ARM: kernel: add support for cpu cache information

2014-06-27 Thread Sudeep Holla
Hi, On 26/06/14 19:45, Stephen Boyd wrote: On 06/26/14 04:36, Sudeep Holla wrote: Hi Stephen, On 26/06/14 01:19, Stephen Boyd wrote: On 06/25/14 10:30, Sudeep Holla wrote: + +/* + * Which cache CCSIDR represents depends on CSSELR value + * Make sure no one else changes CSSELR during this + *

Re: [PATCH v2 8/9] regulator: palmas: add driver data and modularize the probe

2014-06-27 Thread Keerthy
Hi Lee Jones, On Friday 27 June 2014 01:53 PM, Lee Jones wrote: On Wed, 18 Jun 2014, Keerthy wrote: add driver data and modularize the probe. Nit: This is a sentence, it should start with a capital letter. The series is already pulled by Mark. I Can send fixes on top of that patch set. Sig

Re: [PATCH - RESEND] Bluetooth: Keep master role when SCO or eSCO is active

2014-06-27 Thread Marcel Holtmann
Hi Kiran, > Preserve the master role when SCO or eSCO is active > as this improves compatability with lots of > headset and chipset combinations. this comment is pretty much non-sense. If you have an incoming BR/EDR connection, then by default you will be slave. The acceptor is the slave, there

Re: [PATCH v5 10/14] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-27 Thread Javier Martinez Canillas
Hello Lee, Thanks a lot for your feedback. On 06/27/2014 11:26 AM, Lee Jones wrote: > On Thu, 26 Jun 2014, Javier Martinez Canillas wrote: >> The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout >> (LDO) regulators. This patch adds support for all these regulators >> found on the MAX7

Re: [RFC 09/10] drm/tegra: Add IOMMU support

2014-06-27 Thread Hiroshi DOyu
Thierry Reding writes: > From: Thierry Reding > > When an IOMMU device is available on the platform bus, allocate an IOMMU > domain and attach the display controllers to it. The display controllers > can then scan out non-contiguous buffers by mapping them through the > IOMMU. > > Signed-off-by

Re: [RFC 10/10] mmc: sdhci-tegra: Add IOMMU support

2014-06-27 Thread Hiroshi DOyu
Thierry Reding writes: > From: Thierry Reding > > Attach to the device's master interface of the IOMMU at .probe() time. > IOMMU support becomes available via the DMA mapping API interoperation > code, but this explicit attachment is necessary to ensure proper probe > order. > > Signed-off-by:

Re: [RFC 04/10] memory: Add Tegra124 memory controller support

2014-06-27 Thread Hiroshi DOyu
Thierry Reding writes: > From: Thierry Reding > > The memory controller on NVIDIA Tegra124 exposes various knobs that can > be used to tune the behaviour of the clients attached to it. > > Currently this driver sets up the latency allowance registers to the HW > defaults. Eventually an API shou

[PATCH 1/3] staging: cxt1e1: Remove useless OS_phystov() and OS_vtophys()

2014-06-27 Thread Daeseok Youn
OS_phystov()/OS_vtophys() are replaced with __va()/__pa(). Signed-off-by: Daeseok Youn --- drivers/staging/cxt1e1/musycc.c | 16 drivers/staging/cxt1e1/pmcc4_drv.c | 12 ++-- drivers/staging/cxt1e1/sbecom_inline_linux.h | 19 -

[PATCH 3/3] staging: cxt1e1: remove OS_mem_token_xxxx interfaces in sbecom_inline_linux.h

2014-06-27 Thread Daeseok Youn
OS_mem_token_ interfaces are useless, so just replaced with sk_buff related fuctions. Signed-off-by: Daeseok Youn --- drivers/staging/cxt1e1/musycc.c | 45 +- drivers/staging/cxt1e1/pmcc4_drv.c | 11 ++-- drivers/staging/cxt1e1/pmcc4_private.h

[PATCH v2] dma-mapping: Provide write-combine allocations

2014-06-27 Thread Thierry Reding
From: Thierry Reding Provide an implementation for dma_{alloc,free,mmap}_writecombine() when the architecture supports DMA attributes. Signed-off-by: Thierry Reding --- Changes in v2: - Add a generic dma_mmap_writecombine() function arch/arm/include/asm/dma-mapping.h | 16 --

[PATCH 2/3] staging: cxt1e1: count fragmented packet properly.

2014-06-27 Thread Daeseok Youn
OS_mem_token_tlen() is same return value as OS_mem_token_len(). That means packet count is always 1. So OS_mem_token_tlen() must be total length of packet and OS_mem_token_len() has a length of fragmented packet. And then it can count total count of fragmented packets properly. And OS_mem_token_ne

Re: [PATCH 00/13] leds: fix attribute-creation races

2014-06-27 Thread Jiri Kosina
On Thu, 26 Jun 2014, Greg Kroah-Hartman wrote: > > Thanks a lot for driving this. I will applied this patchset into my > > -devel branch. After I got the Ack from Input guys, I will apply it to > > my for-next branch then. > > Series looks good to me, Johan, thanks for doing this work. Yeah, loo

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-27 Thread Chen Gang
On 06/25/2014 08:28 AM, Chen Gang wrote: > On 06/24/2014 10:44 PM, Guenter Roeck wrote: >> On 06/24/2014 06:24 AM, Chen Gang wrote: >>> On 06/23/2014 11:03 AM, Chen Gang wrote: On 06/22/2014 11:02 PM, Guenter Roeck wrote: > On 06/22/2014 07:53 AM, Guenter Roeck wrote: >> I did that, an

weird oops in kernel/sched/core.c

2014-06-27 Thread Arturo Borrero Gonzalez
Hi there! It seems I hit a oops in kernel/sched/core.c This happened in a libvirt/kvm x86_64 virtual machine. I can't get a complete report, and the virt-manager only let me know the message in the screenshot [1]. Is a 3.15 based-kernel. No special workload. I was playing with some Netfilter mod

[PATCH] gpio_flash: fix the CPLB miss bug for gpio expanded flash

2014-06-27 Thread Aaron Wu
In this bug, the address operation range may exceed the window size defined by gpio expanded flash MTD partition. Signed-off-by: Aaron Wu --- drivers/mtd/maps/gpio-addr-flash.c | 34 -- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/m

Re: [PATCH 2/2] rsi: fix memory leaks and error handling in rsi_91x_usb

2014-06-27 Thread Jonas Gorski
On Fri, Jun 27, 2014 at 12:51 AM, Alexey Khoroshilov wrote: > The patch fixes a couple of issues: > - absence of deallocation of rsi_dev->rx_usb_urb[0] in the driver; > - potential NULL pointer dereference because of lack of checks for memory > allocation success in rsi_init_usb_interface(). > >

Re: __schedule #DF splat

2014-06-27 Thread Borislav Petkov
On Wed, Jun 25, 2014 at 10:26:50PM +0200, Borislav Petkov wrote: > On Wed, Jun 25, 2014 at 05:32:28PM +0200, Borislav Petkov wrote: > > Hi guys, > > > > so I'm looking at this splat below when booting current linus+tip/master > > in a kvm guest. Initially I thought this is something related to the

Re: mfd: sec-core requires regulators

2014-06-27 Thread Lee Jones
On Fri, 27 Jun 2014, Lee Jones wrote: > On Tue, 24 Jun 2014, Arnd Bergmann wrote: > > > The newly added sec-core mfd module calls the regulator_suspend_prepare() > > function, which is only available if the regulator API is provided. This > > matches the usage of the driver, so we can just add a

Re: [PATCH v6 net-next 1/4] net: flow_dissector: avoid multiple calls in eBPF

2014-06-27 Thread Daniel Borkmann
On 06/26/2014 12:00 AM, Chema Gonzalez wrote: ... There's still the problem of whether we want to obsolete classic BPF in the kernel before the tools (libpcap mainly) accept eBPF. This can take a lot. Finally, what's the user's CLI interface you have in mind? Right now, tcpdump expressions are v

  1   2   3   4   5   6   >