[char-misc-next] mei: support HBM versioning

2013-06-16 Thread Tomas Winkler
Driver can work properly if device support driver HBM version or driver can downgrade its supported HBM version level Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/hbm.c | 37 - drivers/misc/mei/hbm.h | 2 +-

Re: Commit f9afbd45b0d0 broke mips r4k.

2013-06-16 Thread Rob Landley
On 06/13/2013 04:00:02 AM, Ralf Baechle wrote: On Wed, Jun 12, 2013 at 09:35:16PM -0500, Rob Landley wrote: My aboriginal linux project builds tiny linux systems to run under qemu, producing as close to the same system as possible across a bunch of different architectures. The above change

Re: [PATCH 1/2] ocfs2: Fix llseek() semantics and do some cleanup

2013-06-16 Thread Jeff Liu
On 06/16/2013 08:46 AM, Richard Yao wrote: On 06/15/2013 01:09 AM, Jeff Liu wrote: [Add ocfs2-devel to CC-list] Hello Richard, Thanks for your patch. On 06/15/2013 03:23 AM, Richard Yao wrote: There are multiple issues with the custom llseek implemented in ocfs2 for implementing

[PATCH v2 1/2] MMC: P2020 SDHC: Add support for 8-bit bus width and non-removable card

2013-06-16 Thread Oded Gabbay
This patch adds support of connecting an MMC media using an 8-bit bus width connection to Freescale's P2020 H/W SDHC controller. During the probe function, the generic function mmc_of_parse is called to detect whether the controller is configured with 8-bit bus width. Also, the generic function

[PATCH v2 2/2] MMC: P2020 SDHC: Fix bug when writing to SDHCI_HOST_CONTROL register

2013-06-16 Thread Oded Gabbay
The P2020 has a non-standard implementation of the SDHCI_HOST_CONTROL register. This patch adds a QUIRK in the SDHCI header to signal that a host controller has a non-standard SDHCI_HOST_CONTROL register. The patch adds a check to the function esdhc_writeb in file sdhci-of-esdhc.c, where it checks

Re: [PATCH 1/2] ocfs2: Fix llseek() semantics and do some cleanup

2013-06-16 Thread Richard Yao
On 06/16/2013 03:00 AM, Jeff Liu wrote: On 06/16/2013 08:46 AM, Richard Yao wrote: On 06/15/2013 01:09 AM, Jeff Liu wrote: [Add ocfs2-devel to CC-list] Hello Richard, Thanks for your patch. On 06/15/2013 03:23 AM, Richard Yao wrote: There are multiple issues with the custom llseek

Re: [PATCH v4] ethernet/arc/arc_emac - Add new driver

2013-06-16 Thread Joe Perches
On Sat, 2013-06-15 at 20:47 +, Alexey Brodkin wrote: On 06/16/2013 12:37 AM, Joe Perches wrote: On Sun, 2013-06-16 at 00:20 +0400, Alexey Brodkin wrote: [] +static int arc_emac_rx(struct net_device *ndev, int budget) [] + /* Prepare the BD for next cycle */ +

hanging, and possible exploit/ddos from LAN for RTL and other cards (watchdog netdev)

2013-06-16 Thread opensou...@tigusoft.pl
We found possible from-LAN DDoS bug. Since the conditions that trigger it are not that common and hopefully are not easy achieved from outside of LAN, and we do not have yet the time to propose a patch right now, it was decided to publish this report now for your help with analyzing it,

[fuse[[xen][3.10-rc5] kernel oops: BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 IP: [ffffffff81407597] __list_add+0x17/0xd0

2013-06-16 Thread Sander Eikelenboom
Hi All, Tonight one of my PV guest kernels on Xen oopsed for the looks of it on some fuse activity (by glusterfs). -- Sander Oops: [107481.132631] BUG: unable to handle kernel NULL pointer dereference at 0008 [107481.132650] IP: [81407597] __list_add+0x17/0xd0

Re: Linux 3.10-rc6

2013-06-16 Thread Geert Uytterhoeven
On Sun, Jun 16, 2013 at 12:12 AM, Linus Torvalds torva...@linux-foundation.org wrote: David Daney (3): smp.h: Use local_irq_{save,restore}() in !SMP version of on_each_cpu(). This change (commit f21afc25f9ed45b8ffe200d0f071b0caec3ed2ef, which hasn't been in linux-next), broke at least

Re: [PATCH 19/31] mips/kvm: Add host definitions for MIPS VZ based host.

2013-06-16 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 20/31] mips/kvm: Hook into TLB fault handlers.

2013-06-16 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] docbook: add futexes to kernel-locking docbook

2013-06-16 Thread Rob Landley
On 06/14/2013 02:23:36 PM, Randy Dunlap wrote: From: Randy Dunlap rdun...@infradead.org Add Fast User Mutexes (futexes) to kernel-locking docbook. Signed-off-by: Randy Dunlap rdun...@infradead.org For what it's worth: Acked-by: Rob Landley r...@landley.net Rob-- To unsubscribe from this

Re: [RFC] arm: Remove sa1111 special case from mm setup code

2013-06-16 Thread Russell King - ARM Linux
On Sun, Jun 16, 2013 at 12:15:08AM +0100, Grant Likely wrote: I don't think this special case is needed anymore. From what I can tell, setup_dma_zone() takes care of marking the region to be reserved for DMA, and that happens before arm_memblock_init() which calls arm_mm_memblock_reserve().

Re: [PATCH v4] irqchip: Add support for ARMv7-M's NVIC

2013-06-16 Thread Uwe Kleine-König
On Sat, Jun 15, 2013 at 01:41:49AM +0100, Grant Likely wrote: On Wed, 12 Jun 2013 23:50:35 +0200, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: This interrupt controller is found on Cortex-M3 and Cortex-M4 machines. Support for this controller appeared in Catalin's Cortex tree

Re: [RFC][PATCH] kconfig: Fix defconfig when one choice menu selects options that another choice menu depends on

2013-06-16 Thread Yann E. MORIN
Arve, All, On 2013-06-06 20:37 -0700, Arve Hjønnevåg spake thusly: The defconfig and Kconfig combination below, which is based on 3.10-rc4 Kconfigs, resulted in several options getting set to m instead of y. [--SNIP--] Signed-off-by: Arve Hjønnevåg a...@android.com I've taken this in my tree,

Re: [PATCH kbuild-next] kconfig/lxdialog: Add definitions for mininimum (re)size values

2013-06-16 Thread Yann E. MORIN
Sedat, All, On 2013-06-15 11:07 +0200, Sedat Dilek spake thusly: Commit c8dc68ad0fbd (kconfig/lxdialog: support resize) added support for resizing, but forgot to collect all hardcoded values at one single place. Also add a definition for the check for a minimum screen/window size of 80x19.

Re: [PATCHv2 0/6] Make ARM's sched_clock generic + 64 bit friendly

2013-06-16 Thread Baruch Siach
Hi John, On Tue, Jun 04, 2013 at 10:53:04AM -0700, John Stultz wrote: On 06/04/2013 09:09 AM, Will Deacon wrote: On Tue, Jun 04, 2013 at 01:19:48AM +0100, John Stultz wrote: On 06/01/2013 11:39 PM, Stephen Boyd wrote: This is mostly a resend of a patch series I sent a little over a month

Re: Performance regression from switching lock to rw-sem for anon-vma tree

2013-06-16 Thread Alex Shi
On 06/14/2013 07:43 AM, Davidlohr Bueso wrote: I was hoping that the lack of spin on owner was the main difference with rwsems and am/was in the middle of implementing it. Could you send your patch so I can give it a try on my workloads? Note that there have been a few recent (3.10) changes

Re: [PATCH] drivers: pinctrl: add active state to core

2013-06-16 Thread Linus Walleij
On Tue, Jun 11, 2013 at 10:16 AM, Linus Walleij linus.wall...@stericsson.com wrote: From: Linus Walleij linus.wall...@linaro.org In addition to the recently introduced pinctrl core control, the PM runtime pin control for the OMAP platforms require a fourth state in addtition to the default,

Re: [PATCH] pinctrl: document the pinctrl PM states

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 5:43 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/13/2013 02:34 PM, Linus Walleij wrote: On Thu, Jun 13, 2013 at 9:39 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/11/2013 01:59 PM, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org

Re: [PATCH] Fix comment on pinctrl_gpio_range.pin_base

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 10:24 AM, Christian Ruppert christian.rupp...@abilis.com wrote: The comment introduced with the recently added pinctrl_gpio_range.pins element was wrong. This corrects it. Thanks to Patrice Chotard for pointing this out. Signed-off-by: Christian Ruppert

[PATCH] pinctrl: update GPIO range doc

2013-06-16 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org This updates the GPIO range documentation with the API changes for sparse/random/arbitrary pin-to-GPIO mappings. Cc: Christian Ruppert christian.rupp...@abilis.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- Documentation/pinctrl.txt |

Re: [PATCH 1/5] pinctrl: update the documentation for some pinconfig params

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 5:42 PM, Heiko Stübner he...@sntech.de wrote: The BIAS_DISABLE and BIAS_HIGH_IMPEDANCE generic pinconfig options were missing information about their argument - which should be ignored. Also the BIAS_PULL_* options may have the pull strength as argument when they are

Re: [PATCH 2/5] pinctrl: clarify some dt pinconfig options

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 5:42 PM, Heiko Stübner he...@sntech.de wrote: The bias-pull-* options use values 0 to indicate that the pull should be activated and optionally also indicate the strength of the pull. Therefore use an default value of 1 for these options. Split the low-power-mode

Re: [PATCH 3/5] pinctrl: handle zero found dt pinconfig properties better

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 5:43 PM, Heiko Stübner he...@sntech.de wrote: This adds a shortcut when no valid pinconf properties are found in the parsed dt node, to set the values immediately and return. Suggested-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Heiko

Re: [PATCH 4/5] pinctrl: dynamically alloc temp array when parsing dt pinconf options

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 5:43 PM, Heiko Stübner he...@sntech.de wrote: Allocating the temorary array in pinconf_generic_parse_dt_config on stack might cause problems later on, when the number of options grows over time. Therefore also allocate this array dynamically to be on the safe side.

Re: [PATCH 5/5] pinctrl: rockchip: correctly handle arguments of pinconf options

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 5:44 PM, Heiko Stübner he...@sntech.de wrote: Change the rockchip pinctrl driver to handle the arguments of 0 or 1 to the pull pinconfig options correctly, so that the pull gets disabled when either the bias_disable options is set or the pull option has the argument 0.

Re: [PATCH 1/2] pinctrl: add function to parse generic pinconfig properties from a dt node

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 4:52 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: On Friday 14 June 2013 11:18:22 Heiko Stübner wrote: What's the expected way to disable pull-ups in DT ? Should it be 'bias-pull-up = 0;' or 'bias-disable;' ? According to the kernedoc I think both

Re: [PATCH 1/5] pinctrl: update the documentation for some pinconfig params

2013-06-16 Thread Heiko Stübner
Am Sonntag, 16. Juni 2013, 12:26:38 schrieb Linus Walleij: On Fri, Jun 14, 2013 at 5:42 PM, Heiko Stübner he...@sntech.de wrote: The BIAS_DISABLE and BIAS_HIGH_IMPEDANCE generic pinconfig options were missing information about their argument - which should be ignored. Also the

kernel BUG at net/core/skbuff.c:1065!

2013-06-16 Thread Tommi Rantala
Hello, Hit this bug while fuzzing in a qemu virtual machine as the root user. Kernel is v3.10-rc5-0-g317ddd2. Tommi [575180.874750] type=1401 audit(1371378748.322:7750): SELinux: unrecognized netlink message type=0 for sclass=36 [575180.874750] [575191.358143] [ cut here

Re: [PATCH 1/3] drivers: pinctrl sleep and idle states in the core

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 12:02 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/11/2013 02:28 AM, Linus Walleij wrote: I tried to create a refactoring patch for this but couldn't come up with anything apropriate along the lines above. For example this function: ... Don't you just want

Re: [PATCH 5/5] pinctrl: rockchip: correctly handle arguments of pinconf options

2013-06-16 Thread Heiko Stübner
Am Sonntag, 16. Juni 2013, 12:35:43 schrieb Linus Walleij: On Fri, Jun 14, 2013 at 5:44 PM, Heiko Stübner he...@sntech.de wrote: Change the rockchip pinctrl driver to handle the arguments of 0 or 1 to the pull pinconfig options correctly, so that the pull gets disabled when either the

Re: [PATCH 2/6] pinctrl: sunxi: Move the pins definitions to a separate header

2013-06-16 Thread Linus Walleij
On Sun, Jun 9, 2013 at 6:36 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: It will allow us to have a cleaner separation between the data needed by the driver to work, and the core logic of the driver in itself, and will allow having too much noise in the core driver in the future.

Re: [PATCH 3/6] pinctrl: sunxi: Add Allwinner A10s pins

2013-06-16 Thread Linus Walleij
On Sun, Jun 9, 2013 at 6:36 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Regression: 3.9.0+ .. 3.10-rc5 freezes during boot, Radeon update ??

2013-06-16 Thread Jim Bos
Was about to test 3.10-rc5 but kernel freezes during boot. With freeze, I mean I've to hit reset button to recover, system is basically dead, last line on the screen is: -- fb: conflicting fb hw usage radeondrmfb vs EFI VGA - removing generic driver -- With a *working* boot on plain 3.9.0 I

Re: [PATCH 1/2] pinmux: Add TB10x pinmux driver

2013-06-16 Thread Linus Walleij
On Tue, Jun 11, 2013 at 9:27 AM, Christian Ruppert christian.rupp...@abilis.com wrote: On Fri, Jun 07, 2013 at 01:18:35PM -0600, Stephen Warren wrote: However, then the correlation between these pretend pins (i.e. really the groups) and GPIOs won't work, because each pin is really 4 pins, and

[PATCH] pinctrl: establish pull-up/pull-down terminology

2013-06-16 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org It is counter-intuitive to have 0 mean disable in a boolean manner for electronic properties of pins such as pull-up and pull-down. Therefore, define that a pull-up/pull-down argument of 0 to such a generic option means that the pin is short-circuited

Re: [PATCH 21/31] mips/kvm: Allow set_except_vector() to be used from MIPSVZ code.

2013-06-16 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:25PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com We need to move it out of __init so we don't have section mismatch problems. Signed-off-by: David Daney david.da...@cavium.com --- arch/mips/include/asm/uasm.h | 2 +-

Re: [PATCH 22/31] mips/kvm: Split get_new_mmu_context into two parts.

2013-06-16 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 23/31] mips/kvm: Hook into CP unusable exception handler.

2013-06-16 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:27PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com The MIPS VZ KVM code needs this to be able to manage the FPU. Signed-off-by: David Daney david.da...@cavium.com Looks good, Acked-by: Ralf Baechle r...@linux-mips.org. However I get cold

Re: [PATCH 24/31] mips/kvm: Add thread_struct fields used by MIPSVZ hosts.

2013-06-16 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 25/31] mips/kvm: Add some asm-offsets constants used by MIPSVZ.

2013-06-16 Thread Ralf Baechle
Patch looks ok but why not combine this patch with the previous one? Ralf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH 26/31] mips/kvm: Split up Kconfig and Makefile definitions in preperation for MIPSVZ.

2013-06-16 Thread Ralf Baechle
The Trademark guys (and readability in general) sould probably be happier if MIPSTE was spelled as MIPS_TE and for that matter, MIPZVZ as MIPS_VZ? Other than that, Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 31/31] mips/kvm: Allow for upto 8 KVM vcpus per vm.

2013-06-16 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 27/31] mips/kvm: Gate the use of kvm_local_flush_tlb_all() by KVM_MIPSTE

2013-06-16 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:31PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com Only the trap-and-emulate KVM code needs a Special tlb flusher. All other configurations should use the regular version. Signed-off-by: David Daney david.da...@cavium.com ---

Re: [PATCH 30/31] mips/kvm: Enable MIPSVZ in Kconfig/Makefile

2013-06-16 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 4/9] acpi: Replace weird use of PTR_RET.

2013-06-16 Thread Rafael J. Wysocki
On Sunday, June 16, 2013 02:12:43 PM Rusty Russell wrote: This functions is really weird. It sets rc to -ENOMEM, then overrides it. It was converted to PTR_RET in a1458187 when it should have simply been rewritten. This version makes it more explicit, with a single IS_ERR() test. Cc:

[PATCH] USB: EHCI: Remove double assignment of .start in ehci_msp_hc_driver

2013-06-16 Thread Emil Goode
This patch removes a double assignment of .start in struct hc_driver ehci_msp_hc_driver and also makes the code look more tidy. Signed-off-by: Emil Goode emilgo...@gmail.com --- drivers/usb/host/ehci-pmcmsp.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH 29/31] mips/kvm: Add MIPSVZ support.

2013-06-16 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 3/4] ARM: mxs: dt: Add the Crystalfontz CFA-10055 device tree

2013-06-16 Thread Thomas Petazzoni
Dear Maxime Ripard, Some nitpicking below. On Thu, 13 Jun 2013 15:43:44 +0200, Maxime Ripard wrote: -static void __init cfa10049_init(void) -{ - update_fec_mac_prop(OUI_CRYSTALFONTZ); -} - -static void __init cfa10037_init(void) +static void __init crystalfontz_init(void) {

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-16 Thread Ralf Baechle
On Sun, Jun 09, 2013 at 04:23:51PM -0700, David Daney wrote: Come to think of it, Emulating SGI hardware might be an interesting case. There may be old IRIX systems and applications that could be running low on real hardware. Some of those systems take up a whole room and draw a lot of

Insane kfifo_put API

2013-06-16 Thread Russell King - ARM Linux
So, this kfifo API... Here's an example: Let's say that we want a kfifo of structure pointers: DECLARE_KFIFO(my_ptr_kfifo, struct my_struct *, SIZE); Now, to extract pointers from this, it's relatively straight forward: struct my_struct *ptr; success =

Re: [PATCH 28/31] mips/kvm: Only use KVM_COALESCED_MMIO_PAGE_OFFSET with KVM_MIPSTE

2013-06-16 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:32PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com The forthcoming MIPSVZ code doesn't currently use this, so it must only be enabled for KVM_MIPSTE. Signed-off-by: David Daney david.da...@cavium.com ---

Re: [PATCH] Re: [Patch] MCE, APEI: Don't enable CMCI when Firmware First mode is set in

2013-06-16 Thread Borislav Petkov
On Fri, Jun 14, 2013 at 11:47:21PM +0530, Naveen N. Rao wrote: +static int __init hest_parse_cmc(struct acpi_hest_header *hest_hdr, void *data) +{ + int i; + struct acpi_hest_ia_corrected *cmc; + struct acpi_hest_ia_error_bank *mc_bank; + + if (hest_hdr-type !=

Re: [PATCH 1/5] pinctrl: update the documentation for some pinconfig params

2013-06-16 Thread Linus Walleij
On Sun, Jun 16, 2013 at 12:45 PM, Heiko Stübner he...@sntech.de wrote: Am Sonntag, 16. Juni 2013, 12:26:38 schrieb Linus Walleij: Can't we rely on PIN_CONFIG_BIAS_DISABLE for all this? you're the boss on this, I'll do whatever you say :-) Oh that's not good. As can be seen from past

Re: [PATCH 5/5] pinctrl: rockchip: correctly handle arguments of pinconf options

2013-06-16 Thread Linus Walleij
On Sun, Jun 16, 2013 at 1:02 PM, Heiko Stübner he...@sntech.de wrote: - *config = 0; + pull = rockchip_get_pull(bank, pin - bank-pin_base); + *config = (pull == param) ? 1 : 0; And then I guess you should emit PIN_CONFIG_BIAS_DISABLE here as

Re: Linux 3.10-rc6

2013-06-16 Thread Martin Steigerwald
Linus, Am Samstag, 15. Juni 2013, 12:12:18 schrieb Linus Torvalds: Another week, another rc. And I didn't even need to curse all that much at people. Sure, I talked smack about some of your hamsters, and I declined a couple of pull requests, but let's face it, it was pretty halfhearted.

Re: [PATCH] MAINTAINERS: Add Samsung pinctrl entries

2013-06-16 Thread Linus Walleij
On Fri, Jun 14, 2013 at 1:03 AM, Tomasz Figa tomasz.f...@gmail.com wrote: On Friday 14 of June 2013 07:47:15 Kukjin Kim wrote: Tomasz Figa wrote: On Thursday 13 of June 2013 10:05:44 Doug Anderson wrote: It's convenient if get_maintainer suggests sending samsung/exynos pinctrl changes to

Re: Linux 3.10-rc6

2013-06-16 Thread Linus Walleij
On Sun, Jun 16, 2013 at 2:37 PM, Martin Steigerwald mar...@lichtvoll.de wrote: Am Samstag, 15. Juni 2013, 12:12:18 schrieb Linus Torvalds: Another week, another rc. And I didn't even need to curse all that much at people. Sure, I talked smack about some of your hamsters, and I declined a

Re: Insane kfifo_put API

2013-06-16 Thread Stefani Seibold
I have cross checked this use case. This was tested, but i doesn't work any more. So i need a little bit time to fix it. The macro for this are a little bit tricky, but i think there is a way to solve this issue. For the next two weeks i am heavy busy in a final project stage, so please be

Re: Linux 3.10-rc6

2013-06-16 Thread Martin Steigerwald
Am Sonntag, 16. Juni 2013, 14:52:13 schrieb Linus Walleij: On Sun, Jun 16, 2013 at 2:37 PM, Martin Steigerwald mar...@lichtvoll.de wrote: Am Samstag, 15. Juni 2013, 12:12:18 schrieb Linus Torvalds: Another week, another rc. And I didn't even need to curse all that much at people. Sure,

Re: A question on RCU vs. preempt-RCU

2013-06-16 Thread Paul E. McKenney
On Sat, Jun 15, 2013 at 07:36:11PM -0700, Tejun Heo wrote: Hello, guys. Kent recently implemented a generic percpu reference counter. It's scheduled to be merged in the coming merge window and some part of cgroup refcnting is already converted to it.

Re: [PATCH] pinctrl: establish pull-up/pull-down terminology

2013-06-16 Thread Heiko Stübner
Am Sonntag, 16. Juni 2013, 12:45:48 schrieb Linus Walleij: From: Linus Walleij linus.wall...@linaro.org It is counter-intuitive to have 0 mean disable in a boolean manner for electronic properties of pins such as pull-up and pull-down. Therefore, define that a pull-up/pull-down argument of

Re: Questions about Runtime Power Management

2013-06-16 Thread Ming Lei
On Mon, Jun 10, 2013 at 12:28 AM, Morales, Alejandra alejandra.mora...@tum.de wrote: - Is runtime power management supported by net devices? Currently, 'struct net_device' doesn't support runtime power management, and I submitted one patch to add the support for solving accessing suspended

[QUESTION] LVDS / MIPI

2013-06-16 Thread kernel-dev
I have checked the Kernel Source and the Internet. Not much if any support for LVDS / MIPI. This would be for Device Drivers under Multimedia and Video Capture. Any Discussion? Is the response to this question something to the effect of sure... Start writing a driver any time you want...

[linux-next-20130607] rcu warning, sleep in atomic, unchecked dma alloc, bad address access

2013-06-16 Thread Tetsuo Handa
I get below failures using 3.10.0-rc4-next-20130607. Let me know whether these are already reported/bisected or not. Trace 3 is known since linux-next-20121127, and still waiting for patches from Don Fry. Config is at http://I-love.SAKURA.ne.jp/tmp/config-3.10-rc4-next-20130607 . Full log is at

[PATCH v2] pinctrl: rockchip: correctly handle arguments of pinconf options

2013-06-16 Thread Heiko Stübner
Change the rockchip pinctrl driver to handle the arguments to the pull pinconfig options correctly. So only accept non-0 values for the pull options as the rockchip pin-controller can only turn pulls on and off (this via BIAS_DISABLE). Signed-off-by: Heiko Stuebner he...@sntech.de --- changes

Re: [BUGFIX v2 2/4] ACPI, DOCK: resolve possible deadlock scenarios

2013-06-16 Thread Jiang Liu
On 06/16/2013 04:17 AM, Rafael J. Wysocki wrote: On Saturday, June 15, 2013 09:44:28 AM Jiang Liu wrote: On Sat 15 Jun 2013 06:21:02 AM CST, Rafael J. Wysocki wrote: [...] Can we please relax a bit and possibly take a step back? So since your last reply to me wasn't particularly helpful, I

Re: hanging, and possible exploit/ddos from LAN for RTL and other cards (watchdog netdev)

2013-06-16 Thread Francois Romieu
opensou...@tigusoft.pl opensou...@tigusoft.pl : [...] Thanks for helping to debug and find this problem: tigusoft.pl , #grsecurity , Arach , Admin2501 , R.Freeman We await any instructions how to debug this further. Please send the XID of Realtek devices you own ('dmesg | grep XID').

Re: [BUGFIX v2 2/4] ACPI, DOCK: resolve possible deadlock scenarios

2013-06-16 Thread Jiang Liu
On 06/16/2013 05:20 AM, Rafael J. Wysocki wrote: On Saturday, June 15, 2013 10:17:42 PM Rafael J. Wysocki wrote: On Saturday, June 15, 2013 09:44:28 AM Jiang Liu wrote: [...] When it returns from unregister_hotplug_dock_device(), nothing prevents it from accessing whatever it wants, because

[pile of bugs] lseek(fd, n, SEEK_END) does *not* go to eof - n

2013-06-16 Thread Al Viro
When you copy some code, you are supposed to read it. If nothing else, there's a chance to spot and fix an obvious bug instead of sharing it... X-Song: I Got It From Agnes, by Tom Lehrer Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- diff --git

Re: kernel BUG at net/core/skbuff.c:1065!

2013-06-16 Thread Eric Dumazet
On Sun, 2013-06-16 at 13:47 +0300, Tommi Rantala wrote: Hello, Hit this bug while fuzzing in a qemu virtual machine as the root user. Kernel is v3.10-rc5-0-g317ddd2. Tommi [575180.874750] type=1401 audit(1371378748.322:7750): SELinux: unrecognized netlink message type=0 for sclass=36

Re: [BUGFIX v2 2/4] ACPI, DOCK: resolve possible deadlock scenarios

2013-06-16 Thread Jiang Liu
On 06/16/2013 06:54 AM, Rafael J. Wysocki wrote: On Saturday, June 15, 2013 11:20:40 PM Rafael J. Wysocki wrote: On Saturday, June 15, 2013 10:17:42 PM Rafael J. Wysocki wrote: [...] Which sysfs interfaces do you mean, by the way? If you mean eject, then it takes acpi_scan_lock and

[PATCH 0/3] tracing/kprobes: trace_probe-files cleanups

2013-06-16 Thread Oleg Nesterov
Hello. I simply can't understand why trace_kprobe.c uses struct ftrace_event_file **, the simple list_head looks much more natural and simple. And we do not want to copy-and-paste this code to trace_uprobe.c. If there is a reason for array-of-pointers we should create the helpers in the common

[PATCH 1/3] tracing/kprobes: Avoid perf_trace_buf_*() if -perf_events is empty

2013-06-16 Thread Oleg Nesterov
perf_trace_buf_prepare() + perf_trace_buf_submit() make no sense if this task/CPU has no active counters. Change kprobe_perf_func() and kretprobe_perf_func() to check call-perf_events beforehand and return if this list is empty. For example, perf record -e some_probe -p1. Only /sbin/init will

[PATCH 2/3] tracing/kprobes: Kill probe_enable_lock

2013-06-16 Thread Oleg Nesterov
enable_trace_probe() and disable_trace_probe() should not worry about serialization, the caller (perf_trace_init or __ftrace_set_clr_event) holds event_mutex. They are also called by kprobe_trace_self_tests_init(), but this __init function can't race with itself or trace_events.c And note that

[PATCH 3/3] tracing/kprobes: Turn trace_probe-files into list_head

2013-06-16 Thread Oleg Nesterov
I think that ftrace_event_file *trace_probe[] complicates the code for no reason, turn it into list_head to simplify the code. enable_trace_probe() no longer needs synchronize_sched(). This needs the extra sizeof(list_head) memory for every attached ftrace_event_file, hopefully not a problem in

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-16 Thread Jiang Liu
On 06/15/2013 02:42 PM, Alexander E. Patrakov wrote: 2013/6/15 Jiang Liu jiang@huawei.com: Alexander E. Patrakov patra...@gmail.com reports two bugs related to dock station support on Sony VAIO VPCZ23A4R. Actually there are at least four bugs related to Sony VAIO VPCZ23A4R dock support.

Re: [PATCH] tty: Fix transient pty write() EIO

2013-06-16 Thread Mikael Pettersson
Peter Hurley writes: Commit 699390354da6c258b65bf8fa79cfd5feaede50b6 ('pty: Ignore slave pty close() if never successfully opened') introduced a bug with ptys whereby a write() in parallel with an open() on an existing pty could mistakenly indicate an I/O error. Only indicate an I/O

Re: [PATCH] tty/vt: Return EBUSY if deallocating VT1 and it is busy

2013-06-16 Thread Mikael Pettersson
Ross Lagerwall writes: Commit 421b40a6286e (tty/vt: Fix vc_deallocate() lock order) changed the behavior when deallocating VT 1. Previously if trying to deallocate VT1 and it is busy, we would return EBUSY. The commit changed this to return 0 (success). This commit restores the old

Re: Linux 3.10-rc6

2013-06-16 Thread Linus Torvalds
On Sat, Jun 15, 2013 at 10:36 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Sun, Jun 16, 2013 at 12:12 AM, Linus Torvalds torva...@linux-foundation.org wrote: David Daney (3): smp.h: Use local_irq_{save,restore}() in !SMP version of on_each_cpu(). This change (commit

Re: [PATCH] mm: Add unlikely for current_order test

2013-06-16 Thread David Rientjes
On Sat, 15 Jun 2013, Zhang Yanfei wrote: From: Zhang Yanfei zhangyan...@cn.fujitsu.com Since we have an unlikely for the current_order = pageblock_order / 2 test above, adding an unlikely for this current_order = pageblock_order test seems more appropriate. I don't understand the

Re: Linux 3.10-rc6

2013-06-16 Thread Linus Torvalds
On Sun, Jun 16, 2013 at 2:37 AM, Martin Steigerwald mar...@lichtvoll.de wrote: Do you really think your cursing controls how other people behave? Yes. In three ways: - I have magic mind-powers, and cursing releases them, and makes kernel developers behave better. I'm not very strong in my

Re: [PATCH 9/9] mm/oom_kill: remove weird use of ERR_PTR()/PTR_ERR().

2013-06-16 Thread David Rientjes
On Sun, 16 Jun 2013, Rusty Russell wrote: diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 79e451a..f9b9cd7 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -288,7 +288,7 @@ enum oom_scan_t oom_scan_process_thread(struct task_struct *task, /* * Simple selection loop. We chose the

Re: Linux 3.10-rc6

2013-06-16 Thread Linus Torvalds
On Sun, Jun 16, 2013 at 8:09 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Jun 16, 2013 at 2:37 AM, Martin Steigerwald mar...@lichtvoll.de wrote: Do you really think your cursing controls how other people behave? Yes. In three ways: Besides, hamsters really are evil

Re: Linux 3.10-rc6

2013-06-16 Thread Martin Steigerwald
Am Sonntag, 16. Juni 2013, 08:09:03 schrieb Linus Torvalds: On Sun, Jun 16, 2013 at 2:37 AM, Martin Steigerwald mar...@lichtvoll.de wrote: Do you really think your cursing controls how other people behave? Yes. In three ways: - I have magic mind-powers, and cursing releases them, and

Re: [PATCH V4 1/4] ARM: tegra30: clocks: Fix pciex clock registration

2013-06-16 Thread Mike Turquette
Quoting Stephen Warren (2013-06-12 08:36:11) On 06/12/2013 01:13 AM, Jay Agarwal wrote: Registering pciex as peripheral clock instead of fixed clock as tegra_perih_reset_assert(deassert) api of this clock api gives warning and ultimately does not succeed to assert(deassert)

[GIT PULL] clk: fixes for 3.10-rc7

2013-06-16 Thread Mike Turquette
The following changes since commit d683b96b072dc4680fc74964eca77e6a23d1fa6e: Linux 3.10-rc4 (2013-06-02 17:11:17 +0900) are available in the git repository at: git://git.linaro.org/people/mturquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

[PATCH] arm64/Makefile: provide vdso_install target

2013-06-16 Thread Kyle McMartin
Provide a vdso_install target in the arm64 Makefile, as other architectures with a vdso do. Signed-off-by: Kyle McMartin k...@redhat.com --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -60,6 +60,10 @@ zinstall install: vmlinux dtbs: scripts $(Q)$(MAKE) $(build)=$(boot)/dts dtbs

Re: Linux 3.10-rc6

2013-06-16 Thread Guenter Roeck
On Sun, Jun 16, 2013 at 08:09:03AM -1000, Linus Torvalds wrote: On Sun, Jun 16, 2013 at 2:37 AM, Martin Steigerwald mar...@lichtvoll.de wrote: Do you really think your cursing controls how other people behave? Yes. In three ways: - I have magic mind-powers, and cursing releases them,

Re: Linux 3.10-rc6

2013-06-16 Thread Al Viro
On Sun, Jun 16, 2013 at 08:51:50PM +0200, Martin Steigerwald wrote: Seriously, I'm not just making that sh*t up. Google it. I think I will have a look at this. Look up sarcasm as well, while you are at it... -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH 0/2] Fix v3.10-rc6 failures in ia64 and mn10300

2013-06-16 Thread ddaney . cavm
From: David Daney david.da...@cavium.com My patch f21afc25f (smp.h: Use local_irq_{save,restore}() in !SMP version of on_each_cpu().) seems to have broken ia64 and mn10300. We can fix the breakage by resolving the unmet include dependencies. David Daney (2): ia64: Fix include dependency in

[PATCH 2/2] mn10300: Fix include dependency in irqflags.h

2013-06-16 Thread ddaney . cavm
From: David Daney david.da...@cavium.com We need to pick up the definition of raw_smp_processor_id() from asm/smp.h. For the !SMP case, we need to supply a definition of raw_smp_processor_id(). Signed-off-by: David Daney david.da...@cavium.com --- arch/mn10300/include/asm/irqflags.h | 3 ++-

[PATCH 1/2] ia64: Fix include dependency in asm/irqflags.h

2013-06-16 Thread ddaney . cavm
From: David Daney dda...@caviumnetworks.com asm/kregs.h isn't always included first, so we need an explicit include. Signed-off-by: David Daney david.da...@cavium.com --- arch/ia64/include/asm/irqflags.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/ia64/include/asm/irqflags.h

Re: [QUESTION] LVDS / MIPI

2013-06-16 Thread Guennadi Liakhovetski
On Sun, 16 Jun 2013, kernel-...@fireacop.com wrote: I have checked the Kernel Source and the Internet. Not much if any support for LVDS / MIPI. What exactly do you need support for? MIPI CSI (2/3) capture? Thanks Guennadi This would be for Device Drivers under Multimedia and Video

[RFC PATCH 01/11] dma: amba-pl08x: Use bitmap to pass variant specific quirks

2013-06-16 Thread Tomasz Figa
Instead of defining new bool field in vendor_data struct for each quirk, it is more reasonable to use a single flags field and make each quirk use single bits. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/dma/amba-pl08x.c | 31 +-- 1 file changed, 17

[RFC PATCH 07/11] dmaengine: PL08x: Fix reading the byte count in cctl

2013-06-16 Thread Tomasz Figa
From: Alban Bedel alban.be...@avionic-design.de There are more fields than just SWIDTH in CH_CONTROL register, so read register value must be masked in addition to shifting. Signed-off-by: Alban Bedel alban.be...@avionic-design.de Signed-off-by: Tomasz Figa tomasz.f...@gmail.com ---

[RFC PATCH 08/11] dmaengine: PL08x: Add cyclic transfer support

2013-06-16 Thread Tomasz Figa
From: Alban Bedel alban.be...@avionic-design.de Many audio interface drivers require support of cyclic transfers to work correctly, for example Samsung ASoC DMA driver. This patch adds support for cyclic transfers to the amba-pl08x driver. Signed-off-by: Alban Bedel alban.be...@avionic-design.de

[RFC PATCH 11/11] ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver

2013-06-16 Thread Tomasz Figa
This patch adds all required platform-specific data and initialization code to support the generic amba-pl08x driver on S3C64xx SoCs. Also some compatibility definitions are added to make the transition from legacy API to DMA engine easier. The biggest hack here is passing const char * pointers

  1   2   3   4   5   6   7   >