[PATCH v2] serial: samsung: Fix serial config dependencies for exynos7

2014-11-18 Thread Abhilash Kesavan
From: Pankaj Dubey Exynos7 has a similar serial controller to that present in older Samsung SoCs. To re-use the existing serial driver on Exynos7 we need to have SERIAL_SAMSUNG_UARTS_4 and SERIAL_SAMSUNG_UARTS selected. This is not possible because these symbols are dependent on PLAT_SAMSUNG

Re: [PATCH] ARM: exynos_defconfig: Use 16 minors per MMC block device

2014-11-18 Thread Kukjin Kim
On 11/14/14 20:58, Krzysztof Kozlowski wrote: > 16 minors per MMC block device are required to boot Rinato (Gear 2) > board because up to 15 partitions are used. > > With default 8 minors booting failed with: > [1.329092] mmcblk0: mmc0:0001 F5X5MA 3.64 GiB > [1.329448] mmcblk0boot0:

linux-next: build failure after merge of the asm-generic tree

2014-11-18 Thread Stephen Rothwell
Hi Arnd, After merging the asm-generic tree, today's linux-next build (sparc defconfig) failed like this: In file included from include/linux/io.h:22:0, from include/linux/irq.h:23, from include/asm-generic/hardirq.h:12, from

[PATCH] gpio: remove gpio_descs global array

2014-11-18 Thread Alexandre Courbot
Replace the ARCH_NR_GPIOS-sized static array of GPIO descriptors by dynamically-allocated arrays for each GPIO chip. This change makes gpio_to_desc() perform in O(n) (where n is the number of GPIO chips registered) instead of O(1), however since n is rarely bigger than 1 or 2 no noticeable

Re: [PATCH RESEND] serial: samsung: Fix serial config dependencies for exynos7

2014-11-18 Thread Abhilash Kesavan
Hi Kukjin, On Wed, Nov 19, 2014 at 12:58 PM, Kukjin Kim wrote: > On 11/18/14 03:59, Greg KH wrote: >> On Mon, Nov 17, 2014 at 10:14:51AM +0530, Abhilash Kesavan wrote: >>> From: Pankaj Dubey >>> >>> Exynos7 has a similar serial controller to that present in older Samsung >>> SoCs. To re-use the

Re: [PATCH 3/7] pinctrl: pinconf-generic: Allow driver to specify DT params

2014-11-18 Thread Ivan T. Ivanov
On Tue, 2014-11-18 at 09:25 -0800, Sören Brinkmann wrote: > On Tue, 2014-11-18 at 10:50AM +0200, Ivan T. Ivanov wrote: > > > > On Tue, 2014-11-11 at 15:53 +0100, Linus Walleij wrote: > > > On Mon, Nov 3, 2014 at 8:05 PM, Soren Brinkmann > > > brinkm...@xilinx.com> wrote: > > > > > > >

Re: [RESUBMIT PATCH v7 7/9] regulator: sky81452: Modify Device Tree structure

2014-11-18 Thread Gyungoh Yoo
On Tue, Nov 18, 2014 at 11:20:56AM +, Mark Brown wrote: > On Tue, Nov 18, 2014 at 05:04:51PM +0900, Gyungoh Yoo wrote: > > On Mon, Nov 17, 2014 at 02:18:36PM +, Mark Brown wrote: > > > > Don't open code this, use regulators_node and of_match as previously > > > advised. > > > I think I

Re: [PATCH v2 02/13] irqchip: GICv3: Convert to domain hierarchy

2014-11-18 Thread Marc Zyngier
On Wed, Nov 19 2014 at 01:07:04 AM, Jiang Liu wrote: > On 2014/11/19 2:52, Marc Zyngier wrote: >> In order to start supporting stacked domains, convert the GICv3 >> code base to the new domain hierarchy framework, which mostly >> amounts to supporting the new alloc/free callbacks. >> >>

Re: [PATCH RESEND] serial: samsung: Fix serial config dependencies for exynos7

2014-11-18 Thread Kukjin Kim
On 11/18/14 03:59, Greg KH wrote: > On Mon, Nov 17, 2014 at 10:14:51AM +0530, Abhilash Kesavan wrote: >> From: Pankaj Dubey >> >> Exynos7 has a similar serial controller to that present in older Samsung >> SoCs. To re-use the existing serial driver on Exynos7 we need to have >>

Re: [RFC PATCH 0/6] btrfs: implement swap file support

2014-11-18 Thread Omar Sandoval
On Mon, Nov 17, 2014 at 07:48:17AM -0800, Christoph Hellwig wrote: > With the new iov_iter infrastructure that supprots direct I/O to kernel > pages please get rid of the ->readpage hack first. I'm still utterly > disapoined that this crap ever got merged. > That seems reasonable. Using direct

[PATCH V2 net] virtio-net: validate features during probe

2014-11-18 Thread Jason Wang
This patch validates feature dependencies during probe and fail the probing if a dependency is missed. This fixes the issues of hitting BUG() when qemu fails to advertise features correctly. One example is booting guest with ctrl_vq=off through qemu. Cc: Rusty Russell Cc: Michael S. Tsirkin Cc:

[PATCH] clk: rockchip: rk3288 export i2s0_clkout for use in DT

2014-11-18 Thread Sonny Rao
This exposes the clock that comes out of the i2s block which generally goes to the audio codec. Signed-off-by: Sonny Rao --- drivers/clk/rockchip/clk-rk3288.c | 3 ++- include/dt-bindings/clock/rk3288-cru.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] cpuidle/powernv: Re-enable fastsleep at boot time

2014-11-18 Thread Preeti U Murthy
Hi Joel, On 11/19/2014 08:04 AM, Joel Stanley wrote: > Hey Preeti, > > On Tue, Nov 18, 2014 at 5:26 PM, Preeti U Murthy > wrote: >> Commit dcb18694 "Fix ipi on palmeto" disabled fastsleep at boot time. > > I couldn't find this commit in any tree; upstream, mpe's next, nor powerkvm. Oh yes you

Re: [PATCH v8 2/2] ARM: kprobes: enable OPTPROBES for ARM 32

2014-11-18 Thread Wang Nan
On 2014/11/18 14:32, Wang Nan wrote: > This patch introduce kprobeopt for ARM 32. > > Limitations: > - Currently only kernel compiled with ARM ISA is supported. > > - Offset between probe point and optinsn slot must not larger than >32MiB. Masami Hiramatsu suggests replacing 2 words, it

Re: [PATCH 1/1] kprobes: Deletion of an unnecessary check before the function call "module_put"

2014-11-18 Thread SF Markus Elfring
>> index 3995f54..f1e7d45 100644 >> --- a/kernel/kprobes.c >> +++ b/kernel/kprobes.c >> @@ -1527,8 +1527,7 @@ int register_kprobe(struct kprobe *p) >> out: >> mutex_unlock(_mutex); >> >> -if (probed_mod) >> -module_put(probed_mod); >> +module_put(probed_mod); > > This

Re: [PATCH net] virtio-net: validate features during probe

2014-11-18 Thread Jason Wang
On 11/19/2014 02:35 PM, Jason Wang wrote: > This patch validates feature dependencies during probe and fail the probing > if a dependency is missed. This fixes the issues of hitting BUG() > when qemu fails to advertise features correctly. One example is booting > guest with ctrl_vq=off through

Re: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-18 Thread Namhyung Kim
On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: > From: Kan Liang > > Currently, there are two call chain recording options, fp and dwarf. > Haswell has a new feature that utilizes the existing LBR facility to > record call chains. So it provides the third options to record call > chain.

Re: [patch 08/16] genirq: Introduce callback irq_chip.irq_write_msi_msg

2014-11-18 Thread Yun Wu (Abel)
On 2014/11/18 22:32, Thomas Gleixner wrote: > On Tue, 18 Nov 2014, Yun Wu (Abel) wrote: > > Can you please trim the messages when you're replying? > >> The above you described is absolutely right, but not the things I want >> to know. :) >> Take GICv3 ITS for example, it deals with both PCI and

Re: SystemD people berating Bruce Perens. It is cold in non-systemd space

2014-11-18 Thread Hanover Shriver
Just read the LWN thread that was linked please. The systemd people don't even know who Bruce is. Nor do they care. 19.11.2014, 08:24, "Frank lin Piat" : >  Hi, > >  * Your email is unrelated to any recipient mailing list. > >  * Whatever the content of this this video,  this email is a spam. >

Re: [PATCH 10/19] thp: PMD splitting without splitting compound page

2014-11-18 Thread Naoya Horiguchi
On Wed, Nov 05, 2014 at 04:49:45PM +0200, Kirill A. Shutemov wrote: > Current split_huge_page() combines two operations: splitting PMDs into > tables of PTEs and splitting underlying compound page. This patch > changes split_huge_pmd() implementation to split the given PMD without > splitting

PHILIPPINES LOAN OFFER TODAY

2014-11-18 Thread PHILIPPINES LOAN
-- Goodday Sir/Madam, Are you a business man or woman? some how you face difficulty in financially aspect, you has think of obtaining a loan, or even you need a loan to start or bust up your business. We offer loans at low interest rate of 2%, We offer personal loans, debt, consolidation loans,

Matthew Garrett disparages an opensource casino game for Linux/BSD/e

2014-11-18 Thread Hanover Shriver
>Matthew Garrett @mjg59 · 3h 3 hours ago wrote: >"When MikeeUSA harassed people in 2009, they forked his terrible game code and >made it about feminism. Now he's released music under CC-BY-SA" Nope, actually they attacked the source and got it taken down ("Not in our neighborhood") The goal

[PATCH] ARM: dts: imx6q-tbs2910: Enable snvs-poweroff

2014-11-18 Thread Soeren Moch
This patch enables snvs-poweroff for TBS2910 boards. Signed-off-by: Soeren Moch -- Cc: Shawn Guo Cc: Sascha Hauer Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/imx6q-tbs2910.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-tbs2910.dts

Matthew Garrett disparages a text-console casino game for Linux/BSD/etc (which is free software)

2014-11-18 Thread Hanover Shriver
>Matthew Garrett @mjg59 · 3h 3 hours ago wrote: >"When MikeeUSA harassed people in 2009, they forked his terrible game code and >made it about feminism. Now he's released music under CC-BY-SA" Nope, actually they attacked the source and got it taken down ("Not in our neighborhood") The goal

[PATCH v9 1/2] kprobes: Pass the original kprobe for preparing optimized kprobe

2014-11-18 Thread Wang Nan
From: Masami Hiramatsu Pass the original kprobe for preparing an optimized kprobe arch-dep part, since for some architecture (e.g. ARM32) requires the information in original kprobe. Signed-off-by: Masami Hiramatsu Cc: Wang Nan --- arch/x86/kernel/kprobes/opt.c | 3 ++-

[PATCH v9 0/2] ARM: kprobes: enable OPTPROBES for ARM32

2014-11-18 Thread Wang Nan
This is version 9 of OPTPROBES for ARM 32. Previous discussion can be found from: https://lkml.org/lkml/2014/11/18/41 https://lkml.org/lkml/2014/10/25/48 https://lkml.org/lkml/2014/10/22/254 https://lkml.org/lkml/2014/8/27/255 https://lkml.org/lkml/2014/8/12/12 https://lkml.org/lkml/2014/8/8/992

[PATCH v9 2/2] ARM: kprobes: enable OPTPROBES for ARM 32

2014-11-18 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make

Feminism = Good. Antifeminism = Bad --Matthew Garrett

2014-11-18 Thread Hanover Shriver
>Matthew Garrett @mjg59 · 3h 3 hours ago wrote: >"When MikeeUSA harassed people in 2009, they forked his terrible game code and >made it about feminism. Now he's released music under CC-BY-SA" Nope, actually they attacked the source and got it taken down ("Not in our neighborhood") The goal

Re: [PATCH V4 3/3] perf tool: Add sort key symoff for perf diff

2014-11-18 Thread Namhyung Kim
On Tue, 18 Nov 2014 11:38:20 -0500, kan liang wrote: > From: Kan Liang > > Sometime, especially debugging scaling issue, the function level diff > may be high granularity. The user may want to do deeper diff analysis > for some cache or lock issue. The "symoff" key can let the user sort >

Re: [PATCH v3] ath3k: Add support of MCI 13d3:3408 bt device

2014-11-18 Thread Dmitry Tunin
Hi Marcel, Here is information from /sys/kernel/debug/usb/devices T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 20 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3408 Rev= 0.02 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0 IfCount= 2

Re: [PATCH v2 01/10] crypto: AF_ALG: add user space interface for AEAD

2014-11-18 Thread Herbert Xu
On Wed, Nov 19, 2014 at 07:30:52AM +0100, Stephan Mueller wrote: > > - these AD scatterlist chunks cannot be released after a normal encryption > operation. The associated data must be available for multiple operations. So, > while plaintext data is still flowing in, we need to keep operating

3.18-rc regression: drm/nouveau: use shared fences for readable objects

2014-11-18 Thread Michael Marineau
On 3.18-rc kernel's I have been intermittently experiencing GPU lockups shortly after startup, accompanied with one or both of the following errors: nouveau E[ PFIFO][:01:00.0] read fault at 0x000734a000 [PTE] from PBDMA0/HOST_CPU on channel 0x007faa3000 [unknown] nouveau E[ DRM] GPU

[PATCH net] tcp: fix connect() invalid -EADDRNOTAVAIL error

2014-11-18 Thread Jon Maxwell
The connect() routine returns -EADDRNOTAVAIL without doing a 4 tuple check when the hash buckets were previously allocated by bind() and all local ports are used. The bind() routine creates the local port hash buckets in inet_csk_get_port(). Depending on the socket options it sets

[PATCH net] virtio-net: validate features during probe

2014-11-18 Thread Jason Wang
This patch validates feature dependencies during probe and fail the probing if a dependency is missed. This fixes the issues of hitting BUG() when qemu fails to advertise features correctly. One example is booting guest with ctrl_vq=off through qemu. Cc: Rusty Russell Cc: Michael S. Tsirkin Cc:

Re: [PATCH v2 01/10] crypto: AF_ALG: add user space interface for AEAD

2014-11-18 Thread Stephan Mueller
Am Mittwoch, 19. November 2014, 12:27:04 schrieb Herbert Xu: Hi Herbert, > On Wed, Nov 19, 2014 at 05:20:42AM +0100, Stephan Mueller wrote: > > When looking deeper into skcipher_sendmsg, I see that the input data is > > copied into the kernel using memcpy_fromiovec. The memory is allocated > >

Re: Implement lbr-as-callgraph v10

2014-11-18 Thread Namhyung Kim
Hi Jiri, On Tue, 18 Nov 2014 12:00:07 +0100, Jiri Olsa wrote: > On Tue, Nov 18, 2014 at 11:44:16AM +0100, Jiri Olsa wrote: >> On Mon, Nov 17, 2014 at 06:34:57PM -0300, Arnaldo Carvalho de Melo wrote: >> > Em Wed, Nov 12, 2014 at 06:05:18PM -0800, Andi Kleen escreveu: >> > > [Reworks to address

Re: [PATCHv4 2/6] phy: improved lookup method

2014-11-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 18 November 2014 09:06 PM, Heikki Krogerus wrote: > On Tue, Nov 18, 2014 at 10:49:18AM +0530, Kishon Vijay Abraham I wrote: >> On Monday 17 November 2014 09:10 PM, Heikki Krogerus wrote: >>> On Thu, Nov 13, 2014 at 07:03:01PM +0530, Vivek Gautam wrote: How about adding the

Re: [PATCH 1/2] phy: berlin_usb: depends on RESET_CONTROLLER

2014-11-18 Thread Kishon Vijay Abraham I
Hi, On Wednesday 19 November 2014 01:09 AM, Sebastian Hesselbarth wrote: > On 17.11.2014 14:33, Antoine Tenart wrote: >> The Berlin USB PHY driver uses the Berlin reset controller >> unconditionally. Make it depending on RESET_CONTROLLER. >> >> Signed-off-by: Antoine Tenart > > Acked-by:

Re: [PATCH net] openvswitch: Fix mask generation for IPv6 labels.

2014-11-18 Thread Pravin Shelar
On Tue, Nov 18, 2014 at 10:54 AM, Joe Stringer wrote: > When userspace doesn't provide a mask, OVS datapath generates a fully > unwildcarded mask for the flow. This is done by taking a copy of the > flow key, then iterating across its attributes, setting all values to > 0xff. This works for most

[RFC patch] I don't want to play with 64bit MMIO in 32bit kernel

2014-11-18 Thread Luming Yu
hi LKML There is an on-going development in bugzilla for a patch to move on in another direction for people who want to play with 64bits PCI BAR on 32bit. https://bugzilla.kernel.org/show_bug.cgi?id=88131 But I send the patch out here to solicit comments for a sable way to play with pci devices

Re: [PATCH 1/3] ARM: dts: imx6: add pm_power_off support for i.mx6 chips

2014-11-18 Thread Shawn Guo
On Wed, Nov 19, 2014 at 01:50:07PM +0800, Robin Gong wrote: > Sorry, the patch resent wrongly... > Hi Shawn, Can you apply the first v4 patches on Sep 26, or I resend it again? I fixed it up and tested the series on my imx6q-sabresd board. Applied the series. Shawn -- To unsubscribe from this

Re: [PATCH V3 3/3] perf tools: Construct LBR call chain

2014-11-18 Thread Namhyung Kim
On Tue, 18 Nov 2014 14:01:06 +, Kan Liang wrote: >> On Fri, 14 Nov 2014 08:44:12 -0500, kan liang wrote: >> > + /* LBR only affects the user callchain */ >> > + if (i != chain_nr) { >> > + struct branch_stack *lbr_stack = sample- >> >branch_stack; >> > +

Re: [PATCH] mmc: dw_mmc: add quirk for data over interrupt timeout

2014-11-18 Thread addy ke
Hi Jaehoon On 2014/11/19 09:22, Jaehoon Chung Wrote: > Hi, Addy. > > On 11/18/2014 09:32 AM, Addy wrote: >> >> On 2014年11月14日 21:18, Jaehoon Chung wrote: >>> Hi, Addy. >>> >>> Did you use the DW_MCI_QUIRK_IDMAC_DTO? >>> I'm not sure, but i wonder if you get what result when you use above quirk.

Re: [PATCH V3 3/3] perf tools: Construct LBR call chain

2014-11-18 Thread Namhyung Kim
Hi Kan, On Tue, 18 Nov 2014 19:40:23 +, Kan Liang wrote: >> > whole >> > > >> stack. >> > > >> > +*/ >> > > >> >> > > >> Andi is using some sanity checks: >> > > >> http://marc.info/?l=linux-kernel=141584447819894=2 >> > > >> I guess this could be applied in here, once his

Re: [PATCH 1/3] ARM: dts: imx6: add pm_power_off support for i.mx6 chips

2014-11-18 Thread Robin Gong
Sorry, the patch resent wrongly... Hi Shawn, Can you apply the first v4 patches on Sep 26, or I resend it again? On Wed, Nov 19, 2014 at 06:26:43AM +0100, Soeren Moch wrote: > > On 19.11.2014 04:18, Shawn Guo wrote: > > On Wed, Nov 12, 2014 at 04:20:37PM +0800, Robin Gong wrote: > >> All chips

Re: [PATCH] Fix IO address calculation with Multi-Fintek PCI-to-UART Product

2014-11-18 Thread Peter Hung
Dear Greg KH and Senior Linuxers, I had some some question, If I submited a patch, but it had rejected, how should I do when fix the patch? 1. send patch by reply original email ? 2. direct send patch with new email again? 3. other ways ? Live long and prosper Thanks Greg KH 於 2014/11/19 上午

Re: [PATCHv4 2/6] phy: improved lookup method

2014-11-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 18 November 2014 09:06 PM, Heikki Krogerus wrote: > On Tue, Nov 18, 2014 at 10:49:18AM +0530, Kishon Vijay Abraham I wrote: >> On Monday 17 November 2014 09:10 PM, Heikki Krogerus wrote: >>> On Thu, Nov 13, 2014 at 07:03:01PM +0530, Vivek Gautam wrote: How about adding the

Re: [PATCH 1/3] ARM: dts: imx6: add pm_power_off support for i.mx6 chips

2014-11-18 Thread Soeren Moch
On 19.11.2014 04:18, Shawn Guo wrote: > On Wed, Nov 12, 2014 at 04:20:37PM +0800, Robin Gong wrote: >> All chips of i.mx6 can be powered off by programming SNVS. >> For example : >> On i.mx6q-sabresd board, PMIC_ON_REQ connect with external >> pmic ON/OFF pin, that will cause the whole PMIC

[PATCH net-next v2 1/2] r8152: adjust r8152_submit_rx

2014-11-18 Thread Hayes Wang
The behavior of handling the returned status from r8152_submit_rx() is almost same, so let r8152_submit_rx() deal with the error directly. This could avoid the duplicate code. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 41 + 1 file changed,

[git pull] Please pull mpe.git for-linus branch (for powerpc)

2014-11-18 Thread Michael Ellerman
Hi Linus, Please pull one fix from Scott, he says: This patch fixes a crash (introduced in v3.18-rc1) in the FSL MSI driver when threaded IRQs are enabled. The following changes since commit 8a97577a5967c1234ccc3bc1b45e4b1a58b39ea8: Merge branch 'for-linus' of

[PATCH] serial: Fix io address assign flow with Fintek PCI-to-UART Product

2014-11-18 Thread Peter Hung
The original driver fixed the io address with 0xe000+idx*8, but real io address assigned from BIOS is dynamically from read PCI configure space 0x24, 0x20, 0x1c. The Fintek F81504/F81508/F81512 maybe malfunction without this patch and malfunction surely when more then 1 PCI card. Signed-off-by:

[PATCH net-next v2 0/2] r8152: adjust rx functions

2014-11-18 Thread Hayes Wang
v2: For patch #1, set actual_length to 0 before adding the rx to the list, when a error occurs. For patch #2, change the flow. Stop submitting the rx if a error occurs, and add the remaining rx to the list for submitting later. v1: Adjust some flows and codes which are relative to

[PATCH net-next v2 2/2] r8152: adjust rtl_start_rx

2014-11-18 Thread Hayes Wang
If there is a error for r8152_submit_rx(), add the remaining rx buffers to the list. Then the remaining rx buffers could be submitted later. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/net/usb/r8152.c

Re: frequent lockups in 3.18rc4

2014-11-18 Thread Dave Jones
On Tue, Nov 18, 2014 at 08:40:55PM -0800, Linus Torvalds wrote: > Hmm, if we are getting soft-lockups here, maybe it suggest too much > exit-work. > > Some TIF_NOHZ loop, perhaps? You have nohz on, don't you? > > That makes me wonder: does the problem go away if you disable NOHZ? Does

Re: [PATCH] ARM: dts: fix PWM clock found on RK3288 Socs

2014-11-18 Thread Doug Anderson
Caesar, On Tue, Nov 18, 2014 at 7:25 PM, Caesar Wang wrote: > We use the new PWM IP on RK3288,but the PWM's clock indeed incorrect. > > Signed-off-by: Caesar Wang > --- > arch/arm/boot/dts/rk3288.dtsi | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) Right, I reported this when

Re: [RFC][PATCH 1/3] seq_buf: Move the seq_buf code to lib/

2014-11-18 Thread Steven Rostedt
As the changes are based on my branch, the linux/seq_buf.h file was already existing. Thus it's not in this patch set. It may be important for you to be able to review that too, so I'm including the file here. -- Steve -- #ifndef _LINUX_SEQ_BUF_H #define _LINUX_SEQ_BUF_H #include /* *

Re: frequent lockups in 3.18rc4

2014-11-18 Thread Dave Jones
On Tue, Nov 18, 2014 at 08:40:55PM -0800, Linus Torvalds wrote: > On Tue, Nov 18, 2014 at 6:19 PM, Dave Jones wrote: > > > > NMI watchdog: BUG: soft lockup - CPU#2 stuck for 21s! [trinity-c42:31480] > > CPU: 2 PID: 31480 Comm: trinity-c42 Not tainted 3.18.0-rc5+ #91 [loadavg: > > 174.61

[RFC][PATCH 2/3] printk: Add per_cpu printk func to allow printk to be diverted

2014-11-18 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Being able to divert printk to call another function besides the normal logging is useful for such things like NMI handling. If some functions are to be called from NMI that does printk() it is possible to lock up the box if the nmi handler triggers when another

[RFC][PATCH 0/3] printk/seq-buf/NMI: Revisit of safe NMI printing with seq_buf code

2014-11-18 Thread Steven Rostedt
Linus and Andrew, You were the ones that brought up issues with this change, so I want to get your thoughts on it after we worked quite a bit to clean things up. Here's where it all started: Link: http://lkml.kernel.org/r/20140619213329.478113...@goodmis.org Linus, You had issues with moving

[RFC][PATCH 3/3] x86/nmi: Perform a safe NMI stack trace on all CPUs

2014-11-18 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When trigger_all_cpu_backtrace() is called on x86, it will trigger an NMI on each CPU and call show_regs(). But this can lead to a hard lock up if the NMI comes in on another printk(). In order to avoid this, when the NMI triggers, it switches the printk routine

[RFC][PATCH 1/3] seq_buf: Move the seq_buf code to lib/

2014-11-18 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The seq_buf functions are rather useful outside of tracing. Instead of having it be dependent on CONFIG_TRACING, move the code into lib/ and allow other users to have access to it even when tracing is not configured. The seq_buf utility is similar to the

[PATCH v5 0/4] mfd: rt5033: Add Richtek RT5033 drivers

2014-11-18 Thread Beomho Seo
This patchset adds driver for Richtek rt5033 chip The chip contains switching charge mode Li-Ion/Li-Polymer battery charger, fuelgauge, regulators. This patchset provides common support for accessing the device. This patchset have been tested base on exynos board. Changes in v5 - Change possible

[PATCH v5 4/4] Documentation: Add documentation for rt5033 multifunction device

2014-11-18 Thread Beomho Seo
This patch device tree binding documentation for rt5033 multifunction device. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian campbell Cc: Kumar Gala Signed-off-by: Beomho Seo Acked-by: Chanwoo Choi --- Changes in v5: Changes in v4: Changes in v3: - none. Changes in v2: - Revise

[PATCH v5 3/4] power: rt5033_charger: Add RT5033 charger device driver

2014-11-18 Thread Beomho Seo
This patch add device driver of Richtek RT5033 PMIC. The driver support switching charger. rt5033 charger provide three charging mode. Three charging mode are pre charge mode, fast cahrge mode and constant voltage mode. They are have vary charge rate, charge parameters. The charge parameters can

[PATCH v5 2/4] power: rt5033_battery: Add RT5033 Fuel gauge device driver

2014-11-18 Thread Beomho Seo
This patch adds device driver of Richtek PMIC. The driver support battery fuel gange. Fuel gauge calculates and determines the battery state of charge(SOC) according to battery open circuit voltage(OCV). Also, this driver provides battery average voltage, voltage and bettery present property. Cc:

[PATCH v5 1/4] mfd: rt5033: Add Richtek RT5033 driver core.

2014-11-18 Thread Beomho Seo
This patch adds a new driver for Richtek RT5033 driver. RT5033 is a Multifunction device which includes battery charger, fuel gauge, flash LED current source, LDO and synchronous Buck converter. It is interfaced to host controller using I2C interface. Cc: Samuel Ortiz Cc: Lee Jones

Re: [[PATCHv2] 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-11-18 Thread Sanchayan Maity
On Wednesday 19 November 2014 06:47 AM, Shawn Guo wrote: > On Thu, Nov 13, 2014 at 11:03:09AM +0530, Sanchayan Maity wrote: >> On Wednesday 12 November 2014 04:17 PM, Shawn Guo wrote: >>> On Wed, Nov 12, 2014 at 02:26:51PM +0530, Sanchayan Maity wrote: On Wednesday 12 November 2014 02:57 AM,

Re: frequent lockups in 3.18rc4

2014-11-18 Thread Linus Torvalds
On Tue, Nov 18, 2014 at 6:19 PM, Dave Jones wrote: > > NMI watchdog: BUG: soft lockup - CPU#2 stuck for 21s! [trinity-c42:31480] > CPU: 2 PID: 31480 Comm: trinity-c42 Not tainted 3.18.0-rc5+ #91 [loadavg: > 174.61 150.35 148.64 9/411 32140] > RIP: 0010:[] [] >

Re: [PATCH v2 01/10] crypto: AF_ALG: add user space interface for AEAD

2014-11-18 Thread Herbert Xu
On Wed, Nov 19, 2014 at 05:20:42AM +0100, Stephan Mueller wrote: > > When looking deeper into skcipher_sendmsg, I see that the input data is > copied > into the kernel using memcpy_fromiovec. The memory is allocated before the > memcpy call by skcipher_alloc_sgl. Zero-copy is done through

Re: [PATCH v2 01/10] crypto: AF_ALG: add user space interface for AEAD

2014-11-18 Thread Stephan Mueller
Am Dienstag, 18. November 2014, 22:06:31 schrieb Herbert Xu: Hi Herbert, > On Sun, Nov 16, 2014 at 03:23:50AM +0100, Stephan Mueller wrote: > > AEAD requires the following data in addition to normal symmetric > > > > ciphers: > > * Associated authentication data of arbitrary length > >

Re: [PATCH 2/2] ftrace/x86/extable: Add is_ftrace_trampoline() function

2014-11-18 Thread Steven Rostedt
On Tue, 18 Nov 2014 22:33:33 -0500 Steven Rostedt wrote: > +/* > + * This is used by __kernel_text_address() to return true if the > + * the address is on a dynamically allocated trampoline that would > + * not return true for either core_kernel_text() or > + * is_module_text_address(). > + */

Re: mm: shmem: freeing mlocked page

2014-11-18 Thread Sasha Levin
On 11/18/2014 10:56 PM, Andrew Morton wrote: >> Trinity can't really log anything because attempts to log syscalls slow >> everything >> > down to a crawl to the point nothing reproduces. > Ah. I was thinking that it could be worked out by looking at the > trinity source around where it calls

Re: [PATCH 2/2] ASoC: rockchip: i2s: add support for grabbing output clock to codec

2014-11-18 Thread Sonny Rao
Jay, On Tue, Nov 18, 2014 at 7:07 PM, Jianqun Xu wrote: Mostly FYI, but if you take someone else's patch, you should also retain their authorship by saying: From: at the top of the message. I don't really mind, but please keep it in mind for the future, thanks. > We need to claim the clock

Re: mm: shmem: freeing mlocked page

2014-11-18 Thread Andrew Morton
On Tue, 18 Nov 2014 22:44:02 -0500 Sasha Levin wrote: > On 11/18/2014 04:58 PM, Andrew Morton wrote: > > On Fri, 14 Nov 2014 09:39:40 -0500 Sasha Levin > > wrote: > > > >> > >> [ 1026.988043] BUG: Bad page state in process trinity-c374 pfn:23f70 > >> [ 1026.989684] page:eab3d300

Re: mm: shmem: freeing mlocked page

2014-11-18 Thread Dave Jones
On Tue, Nov 18, 2014 at 10:44:02PM -0500, Sasha Levin wrote: > On 11/18/2014 04:58 PM, Andrew Morton wrote: > >> [ 1027.012856] ? pipe_lock (fs/pipe.c:69) > >> [ 1027.013728] ? write_pipe_buf (fs/splice.c:1534) > >> [ 1027.014756] vmsplice_to_user (fs/splice.c:1574) > >> [ 1027.015725] ?

Re: [patch 08/16] genirq: Introduce callback irq_chip.irq_write_msi_msg

2014-11-18 Thread Yun Wu (Abel)
On 2014/11/18 22:52, Jiang Liu wrote: > On 2014/11/18 22:34, Yun Wu (Abel) wrote: >> On 2014/11/18 22:19, Thomas Gleixner wrote: >> >>> On Tue, 18 Nov 2014, Yun Wu (Abel) wrote: On 2014/11/18 21:43, Jiang Liu wrote: > We provide an irq_chip for each type of interrupt controller >

[PATCH 2/2] ftrace/x86/extable: Add is_ftrace_trampoline() function

2014-11-18 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Stack traces that happen from function tracing check if the address on the stack is a __kernel_text_address(). That is, is the address kernel code. This calls core_kernel_text() which returns true if the address is part of the builtin kernel code. It also calls

[PATCH 1/2] ftrace/x86: Add frames pointers to trampoline as necessary

2014-11-18 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When CONFIG_FRAME_POINTERS are enabled, it is required that the ftrace_caller and ftrace_regs_caller trampolines set up frame pointers otherwise a stack trace from a function call wont print the functions that called the trampoline. This is due to a check in

[PATCH 0/2] ftrace: Fix stack tracing issues

2014-11-18 Thread Steven Rostedt
I ran my ftrace tests on a PREEMPT_RT kernel and one of the tests failed. It triggered a race that was in mainline and was fixed by another patch. The bug was with the traceoff function trigger. I stated testing the other triggers and discovered two other bugs. One was caused by my latest

Re: [PATCH] serial: fix io address assign method with Fintek PCI-to-UART Product

2014-11-18 Thread Greg KH
On Wed, Nov 19, 2014 at 10:35:53AM +0800, Peter Hung wrote: > The original driver fixed the io address with 0xe000+idx*8, but real io > address assigned from BIOS > is dynamically from read PCI configure space 0x24, 0x20, 0x1c. > > The Fintek F81504/F81508/F81512 maybe malfunction without this

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-18 Thread NeilBrown
On Wed, 12 Nov 2014 16:31:54 -0600 Felipe Balbi wrote: > On Wed, Nov 12, 2014 at 01:20:27PM -0800, Tony Lindgren wrote: > > * Dr. H. Nikolaus Schaller [141112 12:28]: > > > Am 12.11.2014 um 16:45 schrieb Grazvydas Ignotas : > > > > On Tue, Nov 4, 2014 at 5:42 PM, Tony Lindgren wrote: > > > >

Re: mm: shmem: freeing mlocked page

2014-11-18 Thread Sasha Levin
On 11/18/2014 04:58 PM, Andrew Morton wrote: > On Fri, 14 Nov 2014 09:39:40 -0500 Sasha Levin wrote: > >> >> [ 1026.988043] BUG: Bad page state in process trinity-c374 pfn:23f70 >> [ 1026.989684] page:eab3d300 count:0 mapcount:0 mapping: >> (null) index:0x5b >> [ 1026.991151]

Re: [patch 08/16] genirq: Introduce callback irq_chip.irq_write_msi_msg

2014-11-18 Thread Yun Wu (Abel)
On 2014/11/19 1:21, Marc Zyngier wrote: > On Tue, Nov 18 2014 at 2:34:44 pm GMT, "Yun Wu (Abel)" > wrote: >> On 2014/11/18 22:19, Thomas Gleixner wrote: >> >>> On Tue, 18 Nov 2014, Yun Wu (Abel) wrote: On 2014/11/18 21:43, Jiang Liu wrote: > We provide an irq_chip for each type of

Re: [patch 08/16] genirq: Introduce callback irq_chip.irq_write_msi_msg

2014-11-18 Thread Yun Wu (Abel)
On 2014/11/19 1:14, Marc Zyngier wrote: > On Tue, Nov 18 2014 at 2:46:02 pm GMT, "Yun Wu (Abel)" > wrote: [...] >> IIUC, Marc's patch now only supports PCI MSI/MSI-X... > > Indeed, and the current solution makes is relatively easy to plug in > non-PCI MSI. Just don't plug the ITS into the

[PATCH] ARM: dts: fix PWM clock found on RK3288 Socs

2014-11-18 Thread Caesar Wang
We use the new PWM IP on RK3288,but the PWM's clock indeed incorrect. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3288.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index cb18bb4..76bff02

[PATCH 2/2] ASoC: rockchip: i2s: add support for grabbing output clock to codec

2014-11-18 Thread Jianqun Xu
We need to claim the clock which is driving the codec so that when we enable clock gating, we continue to clock the codec when needed. I make this an optional clock since there might be some applications where we don't need it but can still use the I2S block. Signed-off-by: Sonny Rao

Re: For the problem when using swiotlb

2014-11-18 Thread Ding Tianhong
On 2014/11/18 2:09, Catalin Marinas wrote: > On Mon, Nov 17, 2014 at 12:18:42PM +, Arnd Bergmann wrote: >> On Monday 17 November 2014 19:56:27 Ding Tianhong wrote: >>> The commit 3690951fc6d42f3a0903987677d0e592c49dd8db(arm64: Use >>> swiotlb late initialisation) >>> switches the DMA

Re: [PATCH 1/3] ARM: dts: imx6: add pm_power_off support for i.mx6 chips

2014-11-18 Thread Shawn Guo
On Wed, Nov 12, 2014 at 04:20:37PM +0800, Robin Gong wrote: > All chips of i.mx6 can be powered off by programming SNVS. > For example : > On i.mx6q-sabresd board, PMIC_ON_REQ connect with external > pmic ON/OFF pin, that will cause the whole PMIC powered off > except VSNVS. And system can restart

Re: [PATCH net-next] tun: return NET_XMIT_DROP for dropped packets

2014-11-18 Thread Jason Wang
On 11/19/2014 03:53 AM, Cong Wang wrote: > On Mon, Nov 17, 2014 at 9:20 PM, Jason Wang wrote: >> > After commit 5d097109257c03a71845729f8db6b5770c4bbedc >> > ("tun: only queue packets on device"), NETDEV_TX_OK was returned for >> > dropped packets. This will confuse pktgen since dropped packets

Re: [PATCH] usb: gadget: USB3 support to the legacy printer driver

2014-11-18 Thread Felipe Balbi
On Tue, Nov 18, 2014 at 04:33:42PM -0500, Jorge Ramirez-Ortiz wrote: > On 11/18/2014 03:47 PM, Felipe Balbi wrote: > > Hi, > > > > On Tue, Nov 18, 2014 at 03:41:43PM -0500, Jorge Ramirez-Ortiz wrote: > > you have no clue what these mean, do you ? How about reading the USB > > specification

[PATCH 1/2] ASoC: rockchip-i2s: dt: add i2s_clkout to list of clocks

2014-11-18 Thread Jianqun Xu
Add i2s_clkout property, which enables output clock to chip outside, this is generally for audio codec outside. Also add it to example. Signed-off-by: Jianqun Xu --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 0/2] ASoC: rockchip: i2s: add support for grabbing output clock to codec

2014-11-18 Thread Jianqun Xu
Reference to Chapter 3 Clock & Reset Unit (CRU) of RK3288 TRM, i2s0_clkout has two source clock, XIN24M_DIV2 for 12M and clk_i2s0 for more kinds of frequencies, I2S0(i2s_clk) has only single source clock clk_i2s0. i2s0_clkout: generate to output to outside of chip, generally for codec

Re: [PATCH] usb: musb: core: Disable the Interrupts till BABBLE is fully handled

2014-11-18 Thread Felipe Balbi
On Tue, Nov 18, 2014 at 06:44:39PM -0600, Bin Liu wrote: > Felipe, > > On Tue, Nov 18, 2014 at 3:17 PM, Felipe Balbi wrote: > > On Fri, Nov 14, 2014 at 01:54:46PM +0530, George Cherian wrote: > >> Disable the MUSB interrupts till MUSB is recovered fully from BABBLE > >> condition. There are

Re: [PATCH] usb: gadget: USB3 support to the legacy printer driver

2014-11-18 Thread Felipe Balbi
On Tue, Nov 18, 2014 at 09:45:13PM +, Paul Zimmerman wrote: > > From: linux-usb-ow...@vger.kernel.org > > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Felipe Balbi > > Sent: Tuesday, November 18, 2014 12:47 PM > > > > On Tue, Nov 18, 2014 at 03:41:43PM -0500, Jorge Ramirez-Ortiz

Re: [PATCH v2 06/10] crypto: AF_ALG: make setkey optional

2014-11-18 Thread Stephan Mueller
Am Dienstag, 18. November 2014, 22:10:13 schrieb Herbert Xu: Hi Herbert, > On Sun, Nov 16, 2014 at 03:26:58AM +0100, Stephan Mueller wrote: > > The current AF_ALG implementation requires that a userspace interface > > implementation must provide a callback for setkey. Such a call is not > >

Re: [PATCH net-next] tun: return NET_XMIT_DROP for dropped packets

2014-11-18 Thread Jason Wang
On 11/19/2014 12:53 AM, Amos Kong wrote: > On Tue, Nov 18, 2014 at 01:20:41PM +0800, Jason Wang wrote: >> After commit 5d097109257c03a71845729f8db6b5770c4bbedc >> ("tun: only queue packets on device"), NETDEV_TX_OK was returned for >> dropped packets. This will confuse pktgen since dropped packets

[PATCH] w1: support auto-load of w1_bq27000 module.

2014-11-18 Thread NeilBrown
1/ change request_module call to zero-pad single digit family numbers. This appears to be the intention of the code, but not what it actually does. This means that the alias created for W1_FAMILY_SMEM_01 might actually be useful. 2/ Define a family name for the BQ27000 battery

SystemD people berating Bruce Perens. It is cold in non-systemd space

2014-11-18 Thread Hanover Shriver
*(See: Systemd people being assholes to Bruce Perens https://lwn.net/Articles/620879/ ) Synth and organ in the cold infinite vastness. As if abandoned. Seeing bright lights, but feeling no warmth. Kind of like what old-guard Free/Opensource contributors feel from the SystemD coupists in the space

Re: [PATCH V3 1/2] virtio: introduce methods of sanitizing device features

2014-11-18 Thread Jason Wang
On 11/18/2014 07:04 PM, Michael S. Tsirkin wrote: > On Tue, Nov 18, 2014 at 11:23:49AM +0800, Jason Wang wrote: >> On 11/17/2014 06:11 PM, Michael S. Tsirkin wrote: >>> On Mon, Nov 17, 2014 at 10:44:30AM +0100, Cornelia Huck wrote: On Mon, 17 Nov 2014 11:37:01 +0200 "Michael S. Tsirkin"

Re: [PATCH] drivers/core/of: Add symlink to device-tree from devices with an OF node

2014-11-18 Thread Benjamin Herrenschmidt
On Wed, 2014-11-19 at 10:39 +1100, Jeremy Kerr wrote: > Hi Rob, > > >> diff --git a/drivers/base/core.c b/drivers/base/core.c > >> index 20da3ad..8c7b607 100644 > >> --- a/drivers/base/core.c > >> +++ b/drivers/base/core.c > >> @@ -493,6 +493,15 @@ static int device_add_attrs(struct device *dev)

  1   2   3   4   5   6   7   8   9   10   >