Re: [PATCH 1/2] radio-shark: Only compile led support when CONFIG_LED_CLASS is set

2012-08-11 Thread Hans de Goede
Hi, On 08/10/2012 10:15 PM, Mauro Carvalho Chehab wrote: Em 10-08-2012 16:58, Hans de Goede escreveu: Reported-by: Dadiv Rientjes Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 02/15] Declaring udp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
> On 08/10/2012 08:31 PM, Jan Ceuleers wrote: >> Two points: >> >> - I haven't seen patch 01/15; > > Correction: I have. > >> - these patches should go to netdev rather than lkml > > But this is still the case; MAINTAINERS would have told you that. Thanks. After reflecting the suggestion from

Re: [Intel-gfx] [PATCH] drm/i915: ingore eDP bpc settings

2012-08-11 Thread Paul Menzel
Am Freitag, den 10.08.2012, 11:10 +0200 schrieb Daniel Vetter: There is a typo in the commit summary: i*gn*ore. > This has originally been introduced to not oversubscribe the dp links > in > > commit 885a5fb5b120a5c7e0b3baad7b0feb5a89f76c18 > Author: Zhenyu Wang > Date: Tue Jan 12 05:38:31 20

Re: [PATCH 1/6] ARM: dove: unify clock setup

2012-08-11 Thread Andrew Lunn
Hi Sebastian > -static void __init clk_init(void) > +static void __init dove_clk_init(void) > { > tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT, > -get_tclk()); > +dove_tclk); > > orion_clkdev_i

[PATCH V5 00/16] MIPS: Add Loongson-3 based machines support.

2012-08-11 Thread Huacai Chen
This patchset is for git repository git://git.linux-mips.org/pub/scm/ ralf/linux. Loongson-3 is a multi-core MIPS family CPU, it is MIPS64R2 compatible and has the same IMP field (0x6300) as Loongson-2. These patches make Linux kernel support Loongson-3 CPU and Loongson-3 based computers (including

[PATCH V5 01/18] MIPS: Loongson: Add basic Loongson-3 definition.

2012-08-11 Thread Huacai Chen
Loongson-3 is a multi-core MIPS family CPU, it support MIPS64R2 fully. Loongson-3 has the same IMP field (0x6300) as Loongson-2. Loongson-3 has a hardware-maintained cache, system software doesn't need to maintain coherency. Loongson-3A is the first revision of Loongson-3, and it is the quad- cor

[PATCH V5 08/18] MIPS: Loongson 3: Add serial port support.

2012-08-11 Thread Huacai Chen
Loongson family machines has three types of serial port: PCI UART, LPC UART and CPU internal UART. Loongson-2E and parts of Loongson-2F based machines use PCI UART; most Loongson-2F based machines use LPC UART; Loongson-2G/3A has both LPC and CPU UART but usually use CPU UART. Port address of UART

[PATCH V5 02/18] MIPS: Loongson: Add basic Loongson-3 CPU support.

2012-08-11 Thread Huacai Chen
Basic Loongson-3 CPU support include: CPU probing, TLB and cache initializing, cache flushing method, etc. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/kernel/Makefile|1 + arch/mips/kernel/cpu-probe.c | 12 - arch/mips/lib/Makefile

[PATCH V5 09/18] MIPS: Loongson: Add swiotlb to support big memory (>4GB).

2012-08-11 Thread Huacai Chen
This is probably a workaround because Loongson doesn't support DMA address above 4GB. If memory is more than 4GB, CONFIG_SWIOTLB and ZONE_DMA32 should be selected. In this way, DMA pages are allocated below 4GB preferably. However, CONFIG_SWIOTLB+ZONE_DMA32 is not enough, so, we provide a platform

[PATCH V5 10/18] MIPS: Loongson: Add Loongson-3 Kconfig options.

2012-08-11 Thread Huacai Chen
Added Kconfig options include: Loongson-3 CPU and machine definition, UEFI-like firmware interface, HT-linked PCI, big memory support, etc. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/Kconfig | 22 ++ arch/mips/loongso

[PATCH V5 11/18] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-11 Thread Huacai Chen
Loongson has SWIOTLB configured, if without this patch kernel compilation fails. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/radeon/radeon_ttm.c |4 1 files changed, 4 insertions(+), 0 deletions

[PATCH V5 12/18] drm: Handle io prot correctly for MIPS.

2012-08-11 Thread Huacai Chen
Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/drm_vm.c |2 +- drivers/gpu/drm/ttm/ttm_bo_util.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_vm.

[PATCH V5 13/18] drm: Define SAREA_MAX for Loongson (PageSize = 16KB).

2012-08-11 Thread Huacai Chen
Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan Cc: dri-de...@lists.freedesktop.org --- include/drm/drm_sarea.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_sarea.h b/include/drm/drm_sarea.h index ee5389d..1d1a858 10064

[PATCH V5 18/18] MIPS: Loongson: Add a Loongson-3 default config file.

2012-08-11 Thread Huacai Chen
Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/configs/loongson3_defconfig | 283 + 1 files changed, 283 insertions(+), 0 deletions(-) create mode 100644 arch/mips/configs/loongson3_defconfig diff --git a/arch/mips

[PATCH V5 04/18] MIPS: Loongson: Make Loongson-3 to use BCD format for RTC.

2012-08-11 Thread Huacai Chen
Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/include/asm/mach-loongson/mc146818rtc.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/mips/include/asm/mach-loongson/mc146818rtc.h b/arch/mips/include/asm/mach-loongs

[PATCH V5 05/18] MIPS: Loongson: Add UEFI-like firmware interface support.

2012-08-11 Thread Huacai Chen
The new UEFI-like firmware interface has 3 advantages: 1, Firmware export a physical memory map which is similar to X86's E820 map, so prom_init_memory() will be more elegant that #ifdef clauses can be removed. 2, Firmware export a pci irq routing table, we no longer need pci irq routing

[PATCH V5 06/18] MIPS: Loongson 3: Add HT-linked PCI support.

2012-08-11 Thread Huacai Chen
Loongson family machines use Hyper-Transport bus for inter-core connection and device connection. The PCI bus is a subordinate linked at HT1. With UEFI-like firmware interface, We don't need fixup for PCI irq routing. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Ya

[PATCH V5 07/18] MIPS: Loongson 3: Add IRQ init and dispatch support.

2012-08-11 Thread Huacai Chen
IRQ routing path of Loongson-3: Devices(most) --> I8259 --> HT Controller --> IRQ Routing Table --> CPU ^ | Device(legacy devices such as UART) --> Bonito ---| IRQ Routing Table route 32 INTs to CPU

[PATCH V5 17/18] MIPS: Fix poweroff failure when HOTPLUG_CPU configured.

2012-08-11 Thread Huacai Chen
When poweroff machine, kernel_power_off() call disable_nonboot_cpus(). And if we have HOTPLUG_CPU configured, disable_nonboot_cpus() is not an empty function but attempt to actually disable the nonboot cpus. Since system state is SYSTEM_POWER_OFF, play_dead() won't be called and thus disable_nonboo

[PATCH V5 16/18] MIPS: Loongson 3: Add CPU hotplug support.

2012-08-11 Thread Huacai Chen
Tips of Loongson's CPU hotplug: 1, To fully shutdown a core in Loongson 3, the target core should go to CKSEG1 and flush all L2 cache entries at first. Then, another core (usually Core 0) can safely disable the clock of the target core. So play_dead() call loongson3_play_dead() via CKSEG1

[PATCH V5 03/18] MIPS: Loongson 3: Add Lemote-3A machtypes definition.

2012-08-11 Thread Huacai Chen
Add four Loongson-3 based machine types: MACH_LEMOTE_A1004/MACH_LEMOTE_A1201 are laptops; MACH_LEMOTE_A1101 is mini-itx; MACH_LEMOTE_A1205 is all-in-one machine. The most significant differrent between A1004/A1201 and A1101/A1205 is the laptops have EC but others don't. Signed-off-by: Huacai Chen

[PATCH V5 15/18] MIPS: Loongson 3: Add Loongson-3 SMP support.

2012-08-11 Thread Huacai Chen
IPI registers of Loongson-3 include IPI_SET, IPI_CLEAR, IPI_STATUS, IPI_EN and IPI_MAILBOX_BUF. Each bit of IPI_STATUS indicate a type of IPI and IPI_EN indicate whether the IPI is enabled. The sender write 1 to IPI_SET bits generate IPIs in IPI_STATUS, and receiver write 1 to bits of IPI_CLEAR to

[PATCH V5 14/18] ALSA: HDA: Make hda sound card usable for Loongson.

2012-08-11 Thread Huacai Chen
Lemote A1004(Laptop) and A1205(All-In-One) use Conexant's hda codec, this patch modify patch_conexant.c to add Lemote specific code. Signed-off-by: Jie Chen Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan Cc: alsa-de...@alsa-project.org --- include/linux/pci_ids

Re: [PATCH 1/6] ARM: dove: unify clock setup

2012-08-11 Thread Sebastian Hesselbarth
On 08/11/2012 11:12 AM, Andrew Lunn wrote: + /* Ensure tclk is always clocked */ + clk_prepare_enable(tclk); } "ticking" would be better than clocked. Since this is a root fixed clock, is it necessary to prepare_enable() it? I think prepare and enable become NOPs in this situatio

Re: [PATCH 14/15] sh: MTU2: Basic runtime PM support

2012-08-11 Thread Geert Uytterhoeven
On Mon, Aug 6, 2012 at 1:49 AM, Rafael J. Wysocki wrote: > @@ -341,8 +346,19 @@ static int __devinit sh_mtu2_probe(struc > if (ret) { > kfree(p); > platform_set_drvdata(pdev, NULL); > + pm_runtime_idle(&pdev->dev); > + return ret;

[PATCH] macvtap: rcu_dereference outside read-lock section

2012-08-11 Thread Denis Efremov
In this case it is not an error. rcu_dereference occurs in update section. Replacement by rcu_dereference_protected (with spinlock) in order to prevent lockdep complaint. Found by Linux Driver Verification project (linuxtesting.org) Signed-off-by: Denis Efremov --- drivers/net/macvtap.c |3

Re: [PATCH 0/3] Documentation : hypercalls

2012-08-11 Thread Raghavendra K T
On 08/10/2012 12:01 AM, Marcelo Tosatti wrote: On Tue, Aug 07, 2012 at 01:09:46PM +0530, Raghavendra K T wrote: This is the hypercall documentation patch series First patch covers KVM specific hypercall information. second patch is has typo fix for vmcall instruction comment in kvm_para.h Thir

Re: [PATCH 2/2] ARM: local timers: add timer support using IO mapped register

2012-08-11 Thread Marc Zyngier
Hi Rohit, On Fri, 10 Aug 2012 14:58:41 -0700, Rohit Vaswani wrote: > The current arch_timer only support accessing through CP15 interface. > Add support for ARM processors that only support IO mapped register > interface This is quite a departure from the current implementation, which raises a c

Re: [PATCH 1/2] ARM: local timers: Unmask interrupt before new TVAL is set

2012-08-11 Thread Marc Zyngier
On Fri, 10 Aug 2012 14:57:34 -0700, Rohit Vaswani wrote: > Level triggered interrupt is deasserted when a new TVAL is written > only when the interrupt is unmasked. Make sure that the interrupt > is unmasked in CTL register before TVAL is written. > If this order is not followed, there are chances

[PATCH 0/4] radio-shark*: Only compile led support when CONFIG_LED_CLA

2012-08-11 Thread Hans de Goede
Hi All, Here is the second revision of my patch-set to fix the build breakage when the radio-shark* drivers are enabled and CONFIG_LED_CLASS is not enabled. This new version introduces 2 new cleanup / preparation patches, and take into account the remarks from Mauro's review of v1. Regards, Han

[PATCH 1/4] radio-shark*: Remove work-around for dangling pointer in usb intfdata

2012-08-11 Thread Hans de Goede
Recent kernels properly clear the usb intfdata pointer when another driver fails to bind (in the radio-shark* case the usbhid driver would try to bind first. Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark.c | 9 - drivers/media/radio/radio-shark2.c | 9 - 2 fil

[PATCH 3/4] radio-shark: Only compile led support when CONFIG_LED_CLASS is set

2012-08-11 Thread Hans de Goede
Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark.c | 135 ++ 1 file changed, 79 insertions(+), 56 deletions(-) diff --git a/drivers/media/radio/radio-shark.c b/drivers/media/radio/radio-shark.c index 05e12bf..e1970bf 100644 --- a/drivers/media

[PATCH 4/4] radio-shark2: Only compile led support when CONFIG_LED_CLASS is set

2012-08-11 Thread Hans de Goede
Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark2.c | 122 ++--- 1 file changed, 73 insertions(+), 49 deletions(-) diff --git a/drivers/media/radio/radio-shark2.c b/drivers/media/radio/radio-shark2.c index 217483c..7b4efdf 100644 --- a/drivers/med

[PATCH 2/4] radio-shark*: Call cancel_work_sync from disconnect rather then release

2012-08-11 Thread Hans de Goede
This removes the need for shark_led_work to take the v4l2 lock. Signed-off-by: Hans de Goede --- drivers/media/radio/radio-shark.c | 13 ++--- drivers/media/radio/radio-shark2.c | 12 ++-- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/drivers/media/radio/radio-

[PATCH v2 0/6] ARM: dove: DT support for Marvell Dove

2012-08-11 Thread Sebastian Hesselbarth
This patch set adds DT support for Marvell Dove SoC and three boards equipped with this SoC. The work is based on device tree support for Marvell Orion based SoCs introduced in 3.6-rc1. The first three patches move mach-dove closer to Marvell Kirkwood's setup code by unifying the clock setup routi

[PATCH v2 2/6] ARM: dove: add clock gating control

2012-08-11 Thread Sebastian Hesselbarth
This patch adds clock gates from the clock gating control register available on dove. All clock gates are hooked up to tclk, except for gigabit ethernet controller (ge) which is a child of gephy to allow both enabled/disabled at the same time. Signed-off-by: Sebastian Hesselbarth --- Cc: Russell

[PATCH v2 4/6] ARM: dove: add device tree based machine descriptor

2012-08-11 Thread Sebastian Hesselbarth
This adds a generic DT_MACHINE for mach-dove. As with other orion based SoCs there still is some glue code required to make all internal devices work, i.e. auxdata is provided to pass clocks to corresponding device drivers. Signed-off-by: Sebastian Hesselbarth --- Cc: Russell King Cc: Jason Coop

[PATCH v2 6/6] ARM: dove: SolidRun CuBox DT

2012-08-11 Thread Sebastian Hesselbarth
This patch adds basic support for the SolidRun CuBox to DT based mach-dove. There are still some issues related to ongoing orion/mvebu development, e.g. gpio-led will not work as there is no DT pinctrl for dove yet and we don't have board specific setup code. Nevertheless, the DT description is alr

[PATCH v2 5/6] ARM: dove: add device tree descriptors

2012-08-11 Thread Sebastian Hesselbarth
This patch adds device tree decriptors for dove SoC and currently supported boards. Signed-off-by: Sebastian Hesselbarth --- Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: Rabeeh Khoury Cc: Ian Molton Cc: Arnd B

[PATCH v2 1/6] ARM: dove: unify clock setup

2012-08-11 Thread Sebastian Hesselbarth
This patch synchronizes the clock setup of dove with other orion-based platforms. In dove_find_tclk there was a note about DOVE_SAMPLE_HI/LO register to detect tclk. While it might be possible to set a different tclk frequency with reset strapping the Dove datasheets don't tell anything about tclk

Re: [PATCH] x86, pci: Fix all early PCI scans to check the vendor ID first

2012-08-11 Thread Andi Kleen
On Fri, Aug 10, 2012 at 04:57:02PM -0700, H. Peter Anvin wrote: > On 08/09/2012 03:34 PM, Betty Dall wrote: > > > > I thought this should be a break instead of a continue since the code > > does a break if the class is 0x. If the function does not have a > > valid VENDOR_ID, then the remai

Re: [PATCH 3/3] HWPOISON: improve handling/reporting of memory error on dirty pagecache

2012-08-11 Thread Andi Kleen
Naoya Horiguchi writes: I'm sceptical on the patch, but here's my review. > - return -EHWPOISON when we access to the error-affected address with > read(), partial-page write(), fsync(), Note that a lot of user space does not like new errnos (nothing in strerror etc.). It's probably bette

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-11 Thread Stanislav Kinsbursky
11.08.2012 10:23, Pavel Emelyanov пишет: On 08/11/2012 03:09 AM, H. Peter Anvin wrote: On 08/10/2012 12:28 PM, Alan Cox wrote: Explicitly for Linux yes - this is not generally true of the AF_UNIX socket domain and even the permissions aspect isn't guaranteed to be supported on some BSD environm

Re: [PATCH v3 08/10] IPC: message queue copy feature introduced

2012-08-11 Thread Manfred Spraul
Hi Stanislav, 2012/8/10 Stanislav Kinsbursky : > This patch is required for checkpoint/restore in userspace. > IOW, c/r requires some way to get all pending IPC messages without deleting > them from the queue (checkpoint can fail and in this case tasks will be > resumed, > so queue have to be val

Re: [PATCH] usb: otg: twl4030-usb: spin_unlock_irq in interrupt handler

2012-08-11 Thread Denis
On 09.08.2012 13:37, Felipe Balbi wrote: Hi, I have pushed a patch which I think solves this issue. Can you test ? Hi, my patch is unneeded since this is a threaded interrupt handler. And it runs with interrupt line masked globally on the controller(because of IRQF_ONESHOT). And I think that

Re: [RFC 1/4] remoteproc: Bugfix assign device address to carveout (noiommu)

2012-08-11 Thread Ohad Ben-Cohen
On Fri, Aug 10, 2012 at 6:30 PM, Ohad Ben-Cohen wrote: > This will solve all sort of open issues we have (or going to have soon): > > 1. dynamically-allocated address of the vrings can be communicated > 2. vdev statuses can be communicated > 3. virtio config space will finally become bi-directiona

Re: virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0

2012-08-11 Thread Stefan Hajnoczi
On Sat, Aug 11, 2012 at 12:23 AM, Nicholas A. Bellinger wrote: > Using a KVM guest with 32x vCPUs and 4G memory, the results for 4x > random I/O now look like: > > workload | jobs | 25% write / 75% read | 75% write / 25% read > -|--|--|--

[PATCH 00/11] pinctrl: mvebu: pinctrl driver

2012-08-11 Thread Sebastian Hesselbarth
This patch set adds a core pinctrl driver for Marvell MVEBU SoCs and SoC specific stubs for Armada 370, Armada XP, Dove, and Kirkwood. The SoC specific stubs use the pinctrl-mvebu core driver that handles pinctrl API and register accesses for common pinctrl registers. As especially Dove has some p

[PATCH 02/11] pinctrl: mvebu: dove pinctrl driver

2012-08-11 Thread Sebastian Hesselbarth
This patch adds a SoC specific pinctrl driver for Marvell Dove SoCs plus DT binding documentation. This driver will use the mvebu pinctrl driver core. Signed-off-by: Sebastian Hesselbarth --- Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Russell King Cc: Linus Walleij Cc: Lior Amsalem

[PATCH 06/11] ARM: mvebu: add pinctrl device in DT for Armada 370/XP SoCs

2012-08-11 Thread Sebastian Hesselbarth
From: Thomas Petazzoni The Armada 370 and XP SoCs have configurable muxing for a certain number of their pins, controlled through a pinctrl driver. The 'compatible' property is defined in the SoC-specific .dtsi files, since the compatible string identifies the number of pins and other SoC-specif

[PATCH 05/11] pinctrl: mvebu: add pinctrl driver for Armada XP

2012-08-11 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This pinctrl driver is not a full-blown pinctrl driver from scratch: it relies on the common pinctrl-mvebu driver, which is used for all Marvell EBU SoCs. Signed-off-by: Thomas Petazzoni --- Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Russell King Cc: Linus W

[PATCH 07/11] ARM: mvebu: Add pinctrl support to Armada XP SoCs

2012-08-11 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This commits adds the necessary device tree information to define the compatible property for the pinctrl driver instance of Armada XP SoCs. Until now, the device tree representation considered the Armada XP as a single SoC. But in fact, there are three different SoCs in t

[PATCH 08/11] ARM: mvebu: Add pinctrl support to Armada 370 SoC

2012-08-11 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This commits adds the necessary device tree information to define the compatible property for the pinctrl driver instance of Armada 370 SoC. Signed-off-by: Thomas Petazzoni --- Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Russell King Cc: Linus Walleij Cc: Li

[PATCH 04/11] pinctrl: mvebu: add pinctrl driver for Armada 370

2012-08-11 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This pinctrl driver is not a full-blown pinctrl driver from scratch: it relies on the common pinctrl-mvebu driver, which is used for all Marvell EBU SoCs. Signed-off-by: Thomas Petazzoni --- Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Russell King Cc: Linus W

[PATCH 09/11] ARM: mvebu: adjust Armada XP evaluation board DTS

2012-08-11 Thread Sebastian Hesselbarth
From: Thomas Petazzoni The Armada XP evaluation board is based on the MV78460 Armava XP SoC. Now that we have separate .dtsi files for the three different SoCs of the Armada XP family, use the appropriate one as include for the Armada XP evaluation board .dts file. Signed-off-by: Thomas Petazzon

[PATCH 10/11] arm: mvebu: enable PINCTRL usage

2012-08-11 Thread Sebastian Hesselbarth
From: Thomas Petazzoni Now that we have a proper pinctrl driver for Marvell EBU platforms, enable PINCTRL support in ARCH_MVEBU. Signed-off-by: Thomas Petazzoni --- Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Russell King Cc: Linus Walleij Cc: Lior Amsalem Cc: Andrew Lunn Cc: Gr

[PATCH 01/11] pinctrl: mvebu: pinctrl driver core

2012-08-11 Thread Sebastian Hesselbarth
This patch adds a pinctrl driver core for Marvell SoCs plus DT binding documentation. This core driver will be used by SoC family specific drivers, i.e. Armada XP, Armada 370, Dove, Kirkwood, aso. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Thomas Petazzoni --- Cc: Grant Likely Cc: Rob

[PATCH 03/11] pinctrl: mvebu: kirkwood pinctrl driver

2012-08-11 Thread Sebastian Hesselbarth
This patch adds a SoC specific pinctrl driver for Marvell Kirkwood SoCs plus DT binding documentation. This driver will use the mvebu pinctrl driver core. Signed-off-by: Sebastian Hesselbarth --- Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Russell King Cc: Linus Walleij Cc: Lior Ams

[PATCH 11/11] arm: mvebu: add pinctrl support in defconfig

2012-08-11 Thread Sebastian Hesselbarth
From: Thomas Petazzoni Signed-off-by: Thomas Petazzoni --- Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Russell King Cc: Linus Walleij Cc: Lior Amsalem Cc: Andrew Lunn Cc: Gregory CLEMENT Cc: Ben Dooks Cc: Sebastian Hesselbarth Cc: Thomas Petazzoni Cc: devicetree-disc...@lists

Re: [PATCH 01/16] perf symbol: correct comment wrt kallsyms loading

2012-08-11 Thread Namhyung Kim
2012-08-10 (금), 15:22 -0700, Cody P Schafer: > In kallsyms_parse() when calling process_symbol() (a callback argument > to kallsyms_parse()), we pass start as both start & end (ie: > start=start, end=start). > > In map__process_kallsym_symbol(), the length is calculated as 'end - start + > 1', >

Re: [PATCH 2/4] fsl_pmc: Add API to enable device as wakeup event source

2012-08-11 Thread Tabi Timur-B04825
On Tue, Aug 7, 2012 at 3:43 AM, Zhao Chenhui wrote: > +int mpc85xx_pmc_set_wake(struct device *dev, bool enable) > +{ > + int ret = 0; > + struct device_node *clk_np; > + const u32 *prop; > + u32 pmcdr_mask; > + > + if (!pmc_regs) { > + pr_err("%s: PMC

Re: [PATCH 11/16] perf symbol: introduce symsrc structure.

2012-08-11 Thread Namhyung Kim
2012-08-10 (금), 15:22 -0700, Cody P Schafer: > Factors opening of certain sections & tracking certain elf info into an > external structure. > > The goal here is to keep multiple elfs (and their looked up > sections/indexes) around during the symbol generation process (in > dso__load()). > > We n

Re: [PATCH v3 08/10] IPC: message queue copy feature introduced

2012-08-11 Thread Stanislav Kinsbursky
11.08.2012 15:20, Manfred Spraul пишет: Hi Stanislav, 2012/8/10 Stanislav Kinsbursky : This patch is required for checkpoint/restore in userspace. IOW, c/r requires some way to get all pending IPC messages without deleting them from the queue (checkpoint can fail and in this case tasks will be

[BUG] perf tools: Can't find util/unwind.h

2012-08-11 Thread Namhyung Kim
Hi Arnaldo, Your current perf/core branch fails to build like this: $ make Makefile:494: No libunwind found. Please install libunwind >= 0.99 CC perf.o make: *** No rule to make target `util/unwind.h', needed by `builtin-annotate.o'. Stop. $ ls util/unwind* ls: cannot access

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-11 Thread Rob Clark
On Fri, Aug 10, 2012 at 3:29 PM, Daniel Vetter wrote: > On Fri, Aug 10, 2012 at 04:57:52PM +0200, Maarten Lankhorst wrote: >> A dma-fence can be attached to a buffer which is being filled or consumed >> by hw, to allow userspace to pass the buffer without waiting to another >> device. For example

Re: [Linaro-mm-sig] [PATCH 1/4] dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

2012-08-11 Thread Rob Clark
On Fri, Aug 10, 2012 at 2:32 PM, Daniel Vetter wrote: > On Fri, Aug 10, 2012 at 04:57:43PM +0200, Maarten Lankhorst wrote: >> Documentation says that code requiring dma-buf should add it to >> select, so inline fallbacks are not going to be used. A link error >> will make it obvious what went wron

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-11 Thread Maarten Lankhorst
Hey, Op 11-08-12 17:14, Rob Clark schreef: > On Fri, Aug 10, 2012 at 3:29 PM, Daniel Vetter wrote: >> On Fri, Aug 10, 2012 at 04:57:52PM +0200, Maarten Lankhorst wrote: >>> A dma-fence can be attached to a buffer which is being filled or consumed >>> by hw, to allow userspace to pass the buffer w

Re: [Linaro-mm-sig] [PATCH 3/4] dma-seqno-fence: Hardware dma-buf implementation of fencing (v2)

2012-08-11 Thread Maarten Lankhorst
Op 10-08-12 21:57, Daniel Vetter schreef: > On Fri, Aug 10, 2012 at 04:57:58PM +0200, Maarten Lankhorst wrote: >> This type of fence can be used with hardware synchronization for simple >> hardware that can block execution until the condition >> (dma_buf[offset] - value) >= 0 has been met. >> >> A

Re: [PATCH] x86/dt: use linear irq domain for ioapic(s).

2012-08-11 Thread Sebastian Andrzej Siewior
* Thierry Reding | 2012-08-08 14:07:37 [+0200]: >With that in place, the driver code can match on "intel,hpet" to catch >all implementations and use the more specific entries if quirks are >required for the specific hardware. from http://lkml.org/lkml/2011/2/16/350: |"intel,ioapic" is probably t

3.4->(3.5.1 || 3.6-rc1) => can no longer mount 60TB ext4 filesystem

2012-08-11 Thread Justin Piszcz
Hello, I upgrade to each new kernel release and with 3.5.1 (from 3.4) I can no longer mount my 60TB ext4 volume. If I boot back to 3.4, it works fine. Details here: https://lkml.org/lkml/2012/8/10/205 Anything I can do besides testing each 3.5-rcX to find where the regression lies? Justin. --

Re: [PATCH] x86: revert "x86: Fix S4 regression"

2012-08-11 Thread Jerry Snitselaar
On Wed Jul 25 12, Takao Indoh wrote: > >Thanks for tracking this, Takao! > > > >I bet you are using x86_64 not x86 PAE? If so, could you try this patch > >https://patchwork.kernel.org/patch/1195751/ > >? I already reviewed it. > > Great, I applied it and now kdump works. Thanks! > > Thanks, > Tak

Re: suspicious RCU usage in copy_namespaces()

2012-08-11 Thread Eric W. Biederman
Fengguang Wu writes: > Hi Eric, > > The below warning shows up since commit Thanks. I am believe the usage is actually correct but I will dig some more and see what it takes to convince the tools of that. Eric > > tree: > git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespac

Re: [BUG] perf tools: Can't find util/unwind.h

2012-08-11 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 11, 2012 at 10:47:45PM +0900, Namhyung Kim escreveu: > Hi Arnaldo, > > Your current perf/core branch fails to build like this: > > $ make > Makefile:494: No libunwind found. Please install libunwind >= 0.99 > CC perf.o > make: *** No rule to make target `util/unwind.h', ne

Re: [PATCH] x86: revert "x86: Fix S4 regression"

2012-08-11 Thread Jerry Snitselaar
On Sat Aug 11 12, Jerry Snitselaar wrote: > On Wed Jul 25 12, Takao Indoh wrote: > > >Thanks for tracking this, Takao! > > > > > >I bet you are using x86_64 not x86 PAE? If so, could you try this patch > > >https://patchwork.kernel.org/patch/1195751/ > > >? I already reviewed it. > > > > Great, I

Re: [PATCH] x86: revert "x86: Fix S4 regression"

2012-08-11 Thread H. Peter Anvin
On 08/11/2012 11:26 AM, Jerry Snitselaar wrote: This patch from Jacob Shin solves the problem, and seems like it might be a better solution. [PATCH 2/5] x86: find_early_table_space based on memory ranges that are being mapped https://lkml.org/lkml/2012/8/9/540 Actually, apply that series of

Re: [PATCH 1/5] x86: Only direct map addresses that are marked as E820_RAM

2012-08-11 Thread H. Peter Anvin
On 08/09/2012 03:03 PM, Yinghai Lu wrote: can you put those line in another function? setup_arch is way too big now. I agree with this ... Jacob, could you rev the patch? -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.

Re: [PATCH] x86: revert "x86: Fix S4 regression"

2012-08-11 Thread H. Peter Anvin
On 08/11/2012 11:34 AM, H. Peter Anvin wrote: On 08/11/2012 11:26 AM, Jerry Snitselaar wrote: This patch from Jacob Shin solves the problem, and seems like it might be a better solution. [PATCH 2/5] x86: find_early_table_space based on memory ranges that are being mapped https://lkml.org/lkml

Re: [PATCH v2] drm/i915: Fix blank panel at reopening lid

2012-08-11 Thread Daniel Vetter
On Sat, Aug 11, 2012 at 08:56:42AM +0200, Takashi Iwai wrote: > When you reopen the lid on a laptop with PCH, the panel suddenly goes > blank sometimes. It seems because BLC_PWM_CPU_CTL register is cleared > to zero when BLC_PWM_CPU_CTL2 and BLC_PWM_PCH_CTL1 registers are > enabled. > > This patc

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-11 Thread Daniel Vetter
On Sat, Aug 11, 2012 at 10:14:40AM -0500, Rob Clark wrote: > On Fri, Aug 10, 2012 at 3:29 PM, Daniel Vetter wrote: > > On Fri, Aug 10, 2012 at 04:57:52PM +0200, Maarten Lankhorst wrote: > >> + > >> + if (!ret) { > >> + cb->base.flags = 0; > >> + cb->base.func = __dma_fe

Re: [PATCH] x86: revert "x86: Fix S4 regression"

2012-08-11 Thread Tejun Heo
On Sat, Aug 11, 2012 at 11:34:22AM -0700, H. Peter Anvin wrote: > On 08/11/2012 11:26 AM, Jerry Snitselaar wrote: > >> > >>This patch from Jacob Shin solves the problem, and seems like it might > >>be a better solution. > >> > >>[PATCH 2/5] x86: find_early_table_space based on memory ranges that >

Re: [Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-11 Thread Daniel Vetter
On Sat, Aug 11, 2012 at 06:00:46PM +0200, Maarten Lankhorst wrote: > Op 11-08-12 17:14, Rob Clark schreef: > > On Fri, Aug 10, 2012 at 3:29 PM, Daniel Vetter wrote: > >>> +/** > >>> + * dma_fence_signal - signal completion of a fence > >>> + * @fence: the fence to signal > >>> + * > >>> + * All re

Re: [Intel-gfx] [PATCH] drm/i915: ingore eDP bpc settings

2012-08-11 Thread Daniel Vetter
On Fri, Aug 10, 2012 at 12:24:29PM +0200, Benoit Gschwind wrote: > > Hello, > > I confirm this patch work apply to kernel 3.6-rc1 Ok, I've picked this up for -fixes, with the commit message a bit improved. Let's see whether this blows up anywhere. -Daniel -- Daniel Vetter Mail: dan...@ffwll.ch

Re: [PATCH 1/5] x86: Only direct map addresses that are marked as E820_RAM

2012-08-11 Thread Tejun Heo
Hello, Jacob. On Thu, Aug 09, 2012 at 04:23:05PM -0500, Jacob Shin wrote: > +struct range pfn_mapped[E820_X_MAX]; > +int nr_pfn_mapped; Why aren't these __initdata? Are they gonna be used for other purposes? > +void add_pfn_range_mapped(unsigned long start_pfn, unsigned long end_pfn) > +{ > +

Re: [PATCH 0/5] Only create direct mappings for E820_RAM regions

2012-08-11 Thread Tejun Heo
On Thu, Aug 09, 2012 at 04:23:04PM -0500, Jacob Shin wrote: > This is a revision of an earlier attempt, with suggestions and concernes > from previous conversation (https://lkml.org/lkml/2011/12/16/486) taken > into account. > > The following patchset creates direct mappings only for E820_RAM regi

Re: [PATCH 2/5] x86: find_early_table_space based on memory ranges that are being mapped

2012-08-11 Thread Tejun Heo
Hello, On Thu, Aug 09, 2012 at 04:23:06PM -0500, Jacob Shin wrote: > Current logic finds enough space to cover number of tables from 0 to end. > Instead, we only need to find enough space to cover from mr[0].start to > mr[nr_range].end. > > Signed-off-by: Jacob Shin > --- > arch/x86/mm/init.c |

Re: [PATCH 3/5] x86: Keep track of direct mapped pfn ranges

2012-08-11 Thread Tejun Heo
On Thu, Aug 09, 2012 at 04:23:07PM -0500, Jacob Shin wrote: > Update later calls to init_memory_mapping to keep track of direct mapped > pfn ranges. so that -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.o

Re: [PATCH 5/5] x86: Move enabling of PSE and PGE out of init_memory_mapping

2012-08-11 Thread Tejun Heo
Hello, On Thu, Aug 09, 2012 at 04:23:09PM -0500, Jacob Shin wrote: > Since we now call init_memory_mapping for each E820_RAM region in a > loop, move cr4 writes out to setup_arch. Shouldn't this happen before init_memory_mapping() is called multiple times? Also, there seem to be other stuff whic

[PATCH v2 02/15] ipv4: declaring udp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index b4c3582..a16c4fa 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1963,6 +1963,7 @@ struct proto udp_pro

[PATCH v2 14/15] ax25: declaring ax25 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring ax25 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ax25/af_ax25.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 779095d..ff23c8a 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c @@ -803,6 +803,7 @@ s

[PATCH v2 01/15] net: proc entry showing inodes on sockfs and their types

2012-08-11 Thread Masatake YAMATO
I've worked on improving lsof output on linux both lsof and linux sides. Sometimes lsof cannot resolve socket descriptors and as the result it prints them like: [yamato@localhost]/tmp% sudo lsof | grep dbus | grep iden dbus-daem 652 dbus6u sock ... 17812 can't identify

[PATCH v2 09/15] netlink: declaring netlink protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring netlink protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/netlink/af_netlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 5463969..9094be5 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/a

[PATCH v2 12/15] ipv6: declaring udplitev6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udplitev6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udplite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 1d08e21..9013897 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c @@ -57,6 +57,7 @

[PATCH v2 15/15] ipx: declaring ipx protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring ipx protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipx/af_ipx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index dfd6faa..14be087 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -1345,6 +1345,7 @@ static str

[PATCH v2 04/15] ipv4: declaring udplite protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udplite protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/udplite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index 2c46acd..14c9dec 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c @@ -62,6 +62,7 @@

[PATCH v2 10/15] ipv6: declaring tcpv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring tcpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/tcp_ipv6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index aa41b0e..741cb3b 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -2017,6 +201

[PATCH v2 06/15] ipv4: declaring tcp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring tcp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/tcp_ipv4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index c660d2c..6f36929 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -2635,6 +2635,

[PATCH v2 07/15] packet: declaring packet protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring packet protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/packet/af_packet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index ceaca7c..6a0e47c 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c

[PATCH v2 11/15] ipv6: declaring udpv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 99d0077..1b28eaf 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -1537,6 +1537,7 @@ struct proto udpv6

[PATCH v2 08/15] unix: declaring unix protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring unix protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/unix/af_unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index e4768c1..7f109e6 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -616,6 +616,7 @@ s

[PATCH v2 03/15] ipv4: declaring icmp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring icmp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/ping.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 6232d47..c4bb504 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c @@ -748,6 +748,7 @@ struct proto pin

  1   2   >