[PATCH] DRM: Armada: convert to use simple_open()

2013-10-31 Thread Duan Jiong
This removes an open coded simple_open() function and replaces file operations references to the function with simple_open() instead. Signed-off-by: Duan Jiong --- drivers/gpu/drm/armada/armada_debugfs.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

Re: [PATCH v2] arch: use ASM_NL instead of ';' for assembler new line character in the macro

2013-10-31 Thread Vineet Gupta
+CC Sam, Tim, Joe, Michal, David Guys can you please take a look at this patch and suggest the best way to merge. The root cause is some gas ports (including ARC) use ';' for comment (vs. newline) More background at https://lkml.org/lkml/2013/10/24/365 On 10/29/2013 07:21 AM, Chen Gang wrote:

Re: [PATCH][RESEND] lib/genalloc: add a helper function for DMA buffer allocation

2013-10-31 Thread Nicolin Chen
Sir, On Thu, Oct 31, 2013 at 02:26:19PM -0700, Andrew Morton wrote: > On Thu, 31 Oct 2013 17:16:07 +0800 Nicolin Chen wrote: > > > When using pool space for DMA buffer, there might be duplicated calling > > of gen_pool_alloc() and gen_pool_virt_to_phys() in each implementation. > > > > Thus

Re: [PATCH net-next 2/2] virtio-net: coalesce rx frags when possible during rx

2013-10-31 Thread Jason Wang
On 11/01/2013 10:13 AM, Rusty Russell wrote: > Jason Wang writes: >> Commit 2613af0ed18a11d5c566a81f9a6510b73180660a (virtio_net: migrate >> mergeable >> rx buffers to page frag allocators) try to increase the payload/truesize for >> MTU-sized traffic. But this will introduce the extra overhead

[PATCH] hmc5843 - add basic dt support

2013-10-31 Thread NeilBrown
No configuration, just a compatible string and documentation. Signed-off-by: NeilBrown diff --git a/Documentation/devicetree/bindings/iio/magnetometer/hmc5843.txt b/Documentation/devicetree/bindings/iio/magnetometer/hmc5843.txt new file mode 100644 index ..90d5f34db04e ---

Re: [PATCH net-next V2 1/2] net: introduce skb_coalesce_rx_frag()

2013-10-31 Thread Jason Wang
On 10/31/2013 10:26 PM, Eric Dumazet wrote: > On Thu, 2013-10-31 at 19:47 +0800, Jason Wang wrote: >> Sometimes we need to coalesce the rx frags to avoid frag list. One example is >> virtio-net driver which tries to use small frags for both MTU sized packet >> and >> GSO packet. So this patch

RE: [PATCH 1/2] mmc: dw_mmc: Cleanup disable of low power mode w/ SDIO interrupts

2013-10-31 Thread Seungwon Jeon
On Tue, October 29, 2013, Doug Anderson wrote > Seungwon, > > On Fri, Oct 25, 2013 at 2:29 AM, Seungwon Jeon wrote: > >> By SDIO devices, are you referring to actual SDIO cards or some > >> implementations of dw_mmc? > >> > >> As far as I understand in the CLKENA description in the generic > >>

linux-next: manual merge of the dt-rh tree with the powerpc tree

2013-10-31 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the dt-rh tree got a conflict in arch/powerpc/include/asm/prom.h between commit a3e31b458844 ("of: Move definition of of_find_next_cache_node into common code") from the powerpc tree and commit 0c3f061c195c ("of: implement of_node_to_nid as a weak function")

RE: [PATCH 1/7] power_supply: Add charger control properties

2013-10-31 Thread Tc, Jenny
> Subject: Re: [PATCH 1/7] power_supply: Add charger control properties > > On Sun, 27 Oct 2013 23:18:08 -0700 Anton Vorontsov wrote: > > > On Mon, Oct 28, 2013 at 03:36:36AM +, Tc, Jenny wrote: > > > > But do we really want to control the chargers through the > > > > power_supply's

Re: [PATCH v2] sg: O_EXCL and other lock handling

2013-10-31 Thread vaughan
On 11/01/2013 03:20 AM, Douglas Gilbert wrote: > On 13-10-31 11:56 AM, Christoph Hellwig wrote: >>> +struct semaphore or_sem; /* protect co-incident opens and >>> releases */ >> >> Seems like this should be a mutex. > > Yes, it is being used as a mutex. However looking at > their semantics

Re: [PATCH v2] sg: O_EXCL and other lock handling

2013-10-31 Thread vaughan
On 11/01/2013 03:20 AM, Douglas Gilbert wrote: > On 13-10-31 11:56 AM, Christoph Hellwig wrote: >>> +struct semaphore or_sem; /* protect co-incident opens and >>> releases */ >> >> Seems like this should be a mutex. > > Yes, it is being used as a mutex. However looking at > their semantics

Re: Strange location and name for platform devices when device-tree is used.

2013-10-31 Thread Benjamin Herrenschmidt
On Fri, 2013-11-01 at 16:03 +1100, NeilBrown wrote: > Do you mean we could allow multiple devices on the one bus to have the same > name, but get sysfs to notice and de-duplicate by mangling one name? I don't > think I like that but I might have misunderstood. What other option do we have ? >

Re: Strange location and name for platform devices when device-tree is used.

2013-10-31 Thread NeilBrown
On Fri, 01 Nov 2013 15:27:34 +1100 Benjamin Herrenschmidt wrote: > On Fri, 2013-11-01 at 15:22 +1100, Benjamin Herrenschmidt wrote: > > On Fri, 2013-11-01 at 14:59 +1100, NeilBrown wrote: > > > and I wonder how relevant it still is in this context. As platform > > > devices > > > are all in

[PATCH] itg3200: add dt support.

2013-10-31 Thread NeilBrown
No new configuration, just a 'compatible' string and documentation. Signed-off-by: NeilBrown diff --git a/Documentation/devicetree/bindings/iio/gyro/itg3200.txt b/Documentation/devicetree/bindings/iio/gyro/itg3200.txt new file mode 100644 index ..4581620632df --- /dev/null +++

Re: Strange location and name for platform devices when device-tree is used.

2013-10-31 Thread Benjamin Herrenschmidt
On Fri, 2013-11-01 at 15:22 +1100, Benjamin Herrenschmidt wrote: > On Fri, 2013-11-01 at 14:59 +1100, NeilBrown wrote: > > and I wonder how relevant it still is in this context. As platform devices > > are all in the root of the device-tree and hence are siblings, they must > > have > > unique

Re: Strange location and name for platform devices when device-tree is used.

2013-10-31 Thread Benjamin Herrenschmidt
On Fri, 2013-11-01 at 14:59 +1100, NeilBrown wrote: > and I wonder how relevant it still is in this context. As platform devices > are all in the root of the device-tree and hence are siblings, they must have > unique names in the device-tree and so the platform devices created from > them will

Re: RFE?: why no 'bind' info in /proc/mounts?

2013-10-31 Thread NeilBrown
On Thu, 31 Oct 2013 18:06:01 -0700 Linda Walsh wrote: > > If I only mount 1 file (or a subdir) via "bind", it still shows the entire > device being mounted on the "bound" directory. > > Is there anyway to get a bit more granularity as to *what* was > bound on a name? (subdir/file..?) Take a

Re: linux-next: build failure after merge of the squashfs tree

2013-10-31 Thread Phillip Lougher
] Caused by commit 99d59ddb8a06 ("Squashfs: Refactor decompressor interface and code"). I have used the squashfs tree from next-20131031 for today. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[GIT PULL] clk: fixes for 3.12

2013-10-31 Thread Mike Turquette
The following changes since commit 15c03dd4859ab16f9212238f29dd315654aa94f6: Linux 3.12-rc3 (2013-09-29 15:02:38 -0700) 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] ceph: Update the pages in fscache in writepages() path

2013-10-31 Thread Li Wang
Currently, the pages in fscache only are updated in writepage() path, add the process in writepages(). Signed-off-by: Min Chen Signed-off-by: Li Wang Signed-off-by: Yunchuan Wen --- fs/ceph/addr.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/ceph/addr.c

linux-next: build failure after merge of the block tree

2013-10-31 Thread Stephen Rothwell
d be appreciated), but some seems to maybe need more work. I have used the block tree from next-20131031 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp4zliug6PSg.pgp Description: PGP signature

Strange location and name for platform devices when device-tree is used.

2013-10-31 Thread NeilBrown
My ARM board has a collection of "platform devices". When I build a kernel using a board file, these platform devices are named with exactly the names I give them, and they appear in sysfs under /sys/devices/platform all as you might expect. When I build a kernel using device-tree (and

[PATCH v2] ima: extend the measurement list to include the file signature

2013-10-31 Thread Mimi Zohar
This patch defines a new template called 'ima-sig', which includes the file signature in the template data, in addition to the file's digest and pathname. A template is composed of a set of fields. Associated with each field is an initialization and display function. This patch defines a new

Re: [PATCH 10/11] EFI: Runtime services virtual mapping

2013-10-31 Thread Dave Young
On 11/01/13 at 11:25am, Dave Young wrote: > On 10/31/13 at 05:25pm, Borislav Petkov wrote: > > From: Borislav Petkov > > > > We map the EFI regions needed for runtime services non-contiguously, > > with preserved alignment on virtual addresses starting from -4G down > > for a total max space of

linux-next: manual merge of the block tree with the f2fs tree

2013-10-31 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in fs/f2fs/segment.c between commit cc7b1bb17367 ("f2fs: avoid allocating failure in bio_alloc") from the f2fs tree and commit ed2d2f9a8265 ("block: Abstract out bvec iterator") from the block tree. I fixed it up (see below) and

Re: [PATCH 10/11] EFI: Runtime services virtual mapping

2013-10-31 Thread Dave Young
On 10/31/13 at 05:25pm, Borislav Petkov wrote: > From: Borislav Petkov > > We map the EFI regions needed for runtime services non-contiguously, > with preserved alignment on virtual addresses starting from -4G down > for a total max space of 64G. This way, we provide for stable runtime >

linux-next: manual merge of the block tree with Linus' tree

2013-10-31 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in drivers/md/raid5.c between commit 37c61ff31e9b ("raid5: set bio bi_vcnt 0 for discard request") from Linus' tree and commit ed2d2f9a8265 ("block: Abstract out bvec iterator") from the block tree. I fixed it up (see below) and

linux-next: manual merge of the block tree with the tree

2013-10-31 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in drivers/block/loop.c between commit 2486740b52fd ("loop: use aio to perform io on the underlying file") from the aio-direct tree and commit ed2d2f9a8265 ("block: Abstract out bvec iterator") from the block tree. I fixed it up

Re: linux-next: build failure after merge of the squashfs tree

2013-10-31 Thread Phillip Lougher
tree from next-20131031 for today. -- 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 0/4] ACPICA: Stable material of ACPI executer fixes for linux-3.8.

2013-10-31 Thread Zheng, Lv
> From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Thursday, October 31, 2013 8:22 PM > > On Thursday, October 31, 2013 05:08:50 AM Greg Kroah-Hartman wrote: > > On Thu, Oct 31, 2013 at 12:39:21PM +0100, Rafael J. Wysocki wrote: > > > On Thursday, October 31, 2013 09:07:40 AM Lv Zheng

[PATCH] regulator: check for devicetree early.

2013-10-31 Thread NeilBrown
The behaviour of regulator core with respect to device-tree and CONFIG_REGULATOR_DUMMY is inconsistent. If there is no device-tree, then a board file can call regulator_has_full_constraints() and this will negate the effect of CONFIG_REGULATOR_DUMMY. If a device-tree is given,

Re: [PATCH] fs/befs/linuxvfs.c: need signed cast for variable 'block'

2013-10-31 Thread Chen Gang
On 11/01/2013 04:45 AM, Greg KH wrote: > On Thu, Oct 31, 2013 at 12:08:33PM -0700, Kees Cook wrote: >> On Thu, Oct 31, 2013 at 12:06 PM, Al Viro wrote: >>> On Thu, Oct 31, 2013 at 09:53:59AM -0700, Kees Cook wrote: >>> If block (type sector_t) is unsigned, we shouldn't cast it signed.

[PATCH 2/2] LEDS: tca6502: add device-tree support for GPIO configuration.

2013-10-31 Thread NeilBrown
The 7 lines driven by the TCA6507 can either drive LEDs or act as output-only GPIOs. To make this distinction in devicetree we use the "compatible" property. If the device attached to a line is "compatible" with "gpio", we treat it like a GPIO. If it is "compatible" with "led" (or if no

[PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Rusty Russell
From: Ming Lei This patch uses CONFIG_PAGE_OFFSET to filter symbols which are not in kernel address space because these symbols are generally for generating code purpose and can't be run at kernel mode, so we needn't keep them in /proc/kallsyms. For example, on ARM there are some symbols which

[PATCH 1/2] LEDS: tca6507 - fix bugs in parsing of device-tree configuration.

2013-10-31 Thread NeilBrown
1/ The led_info array must be allocated to allow the full number of LEDs even if not all are present. The array maybe be sparsely filled but it is indexed by device address so we must at least allocate as many slots as the highest address used. It is easiest just to allocate all 7. 2/

Re: [RFC PATCH] kernel/kallsyms.c: only show legal kernel symbol

2013-10-31 Thread Rusty Russell
Ming Lei writes: > On Thu, Oct 31, 2013 at 11:14 AM, Rusty Russell wrote: >> Russell King - ARM Linux writes: >> >> Kallsyms tends to fall between modules and scripts. I assume it's not >> urgent, so no cc:stable on this one. > > Rusty, thanks a lot. > > BTW, there is already other report on

Re: [PATCH net-next 2/2] virtio-net: coalesce rx frags when possible during rx

2013-10-31 Thread Rusty Russell
Jason Wang writes: > Commit 2613af0ed18a11d5c566a81f9a6510b73180660a (virtio_net: migrate mergeable > rx buffers to page frag allocators) try to increase the payload/truesize for > MTU-sized traffic. But this will introduce the extra overhead for GSO packets > received because of the frag list.

[PATCH] f2fs: update f2fs document

2013-10-31 Thread Jaegeuk Kim
This patch describes the inline_xattr support in f2fs document. Signed-off-by: Jaegeuk Kim --- Documentation/filesystems/f2fs.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt index 4c647c2..a3fe811 100644 ---

Re: [PATCH -next] mtd: nand: omap: fix error return code in omap_nand_probe()

2013-10-31 Thread Jingoo Han
On Friday, November 01, 2013 9:16 AM, Wei Yongjun wrote: > > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. Commit message is right? :-( Best regards, Jingoo Han > > Signed-off-by: Wei Yongjun > ---

Re: [PATCH 1/2] lib/scatterlist: export sg_miter_skip()

2013-10-31 Thread Ming Lei
Hi Andrew, Thank you for the comment. On Fri, Nov 1, 2013 at 5:47 AM, Andrew Morton wrote: > > Looks OK to me. Please include this in whatever tree is used to merge > "[PATCH 2/2] USB: storage: use sg_miter_* APIs to access scsi buffer". Greg and Alan, would you mind reviewing & commenting on

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Ming Lei
Hi Andrew, Thanks for your comment. On Fri, Nov 1, 2013 at 6:43 AM, Andrew Morton wrote: > > For a start, please describe with great precision what these excluded > symbols are (examples would help) and explain why no application will > conceivably have had any use for them. Looks Russell has

Re: linux-next: Tree for Oct 31 (input & leds)

2013-10-31 Thread Randy Dunlap
On 10/31/13 18:21, Samuel Thibault wrote: > Randy Dunlap, le Thu 31 Oct 2013 11:04:59 -0700, a écrit : >> On 10/31/13 03:00, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20131030: >>> >>> The net-next tree gained a conflict against the net tree. >>> >>> The devicetree tree gained a

Re: [PATCH -tip 1/2] [BUGFIX] kprobes/x86: Prohibit probing on debug_stack_*

2013-10-31 Thread Masami Hiramatsu
(2013/10/31 17:22), Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > >> -int is_debug_stack(unsigned long addr) >> +int __kprobes is_debug_stack(unsigned long addr) > > _Please_ add a __noprobes method, for new annotations. Ah, OK. I'll send new series. > Naming it '__kprobes' is actively

Re: [PATCH v9 2/2] Staging: zram: Fix decrement of variable by calling bdput()

2013-10-31 Thread Minchan Kim
I hope subject should be "Fix memory leak by refcount mismatch" On Thu, Oct 31, 2013 at 05:28:18PM +0530, Rashika Kheria wrote: > As suggested by Jerome Marchand "The code in reset_store get the block device > (bdget_disk()) but it does not put it (bdput()) when it's done using it. > The usage

Re: [PATCH] mm: cma: free cma page to buddy instead of being cpu hot page

2013-10-31 Thread Minchan Kim
Hello, On Wed, Oct 30, 2013 at 07:14:45PM -0700, Laura Abbott wrote: > On 10/29/2013 10:40 PM, Minchan Kim wrote: > >> > >>We've had a similar patch in our tree for a year and a half because > >>of CMA migration failures, not just for a speedup in allocation > >>time. I understand that CMA is not

RFE?: why no 'bind' info in /proc/mounts?

2013-10-31 Thread Linda Walsh
If I only mount 1 file (or a subdir) via "bind", it still shows the entire device being mounted on the "bound" directory. Is there anyway to get a bit more granularity as to *what* was bound on a name? (subdir/file..?) -- To unsubscribe from this list: send the line "unsubscribe

Re: linux-next: Tree for Oct 31 (input & leds)

2013-10-31 Thread Samuel Thibault
Randy Dunlap, le Thu 31 Oct 2013 11:04:59 -0700, a écrit : > On 10/31/13 03:00, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20131030: > > > > The net-next tree gained a conflict against the net tree. > > > > The devicetree tree gained a conflict against the crypto tree. > > > >

Re: [patch 3/6] Cleanup efi_enter_virtual_mode function

2013-10-31 Thread Dave Young
On 10/31/13 at 11:44am, Borislav Petkov wrote: > Dear Mr. Young, > > On Thu, Oct 31, 2013 at 10:07:14AM +0800, Dave Young wrote: > > > But Frankly I'd like to see them in list instead even with only small > > > fixes > > > beacuse in this way there might be more people to review it carefully. >

Re: [patch 3/6] Cleanup efi_enter_virtual_mode function

2013-10-31 Thread Dave Young
On 10/31/13 at 11:45am, Borislav Petkov wrote: > On Wed, Oct 30, 2013 at 08:07:45PM -0700, H. Peter Anvin wrote: > > You can use git for your own purposes, still. > > git mk-coffee --refill --now Ccing Jonathan Corbet ;) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: A simple question of a linux kernel beginner

2013-10-31 Thread 韩磊
Thank you! I still have a long way to go in kernel. 2013/11/1 Andreas Mohr : > Hi, > >> May I can use the ''double" as a basic variables? > > [see other replies] > > > Look into terminus technicus "scaling math" as a replacement technique > (in-kernel this is being used e.g. by

Re: [PATCH V2] checkpatch: Improve "return is not a function" test

2013-10-31 Thread David Cohen
On 10/31/2013 04:12 PM, Joe Perches wrote: > Find a few more cases where parentheses are used around > the value of a return statement. > > This now uses the "$balanced_parens" test and also makes > the test depend on perl v5.10 and higher. > > This now finds return with parenthesis uses the old

Re: [PATCH 4/5] input: tc3589x-keypad: support probing from device tree

2013-10-31 Thread Mark Rutland
On Tue, Oct 15, 2013 at 10:21:11PM +0100, Linus Walleij wrote: > Implement device tree probing for the tc3589x keypad driver. > This is modeled on the STMPE keypad driver and tested on the > Ux500 TVK1281618 UIB. > > Signed-off-by: Linus Walleij > --- > drivers/input/keyboard/tc3589x-keypad.c |

linux-next: build failure after merge of the squashfs tree

2013-10-31 Thread Stephen Rothwell
ashfs tree from next-20131031 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp0xtDKkGY7f.pgp Description: PGP signature

Re: 3.11.4: kernel BUG at fs/buffer.c:1268

2013-10-31 Thread George Spelvin
Due to wanting to stick with 3.11.x baseline, as opposed to whatever you based your diff on, I had to amend the last hunk slightly. Included just FYI. Compiled, rebooting now. It may take some days to get a bug report. diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 4bbbf13b..e6f0d6b

Lån tilby uten kredittsjekk 100% garantert! For Everyone.

2013-10-31 Thread Chandran Prashant
hei Er du en bedrift mann eller kvinne? Er du i noen økonomisk rot eller trenger du midler til å starte opp din egen bedrift? Har du behov for lån for å gjøre opp din gjeld eller betale dine regninger eller starte en hyggelig bedrift? Har du en lav kreditt score og du finner det vanskelig å

Re: zram/zsmalloc issues in very low memory conditions

2013-10-31 Thread Bob Liu
Hi Olav, On 11/01/2013 07:34 AM, Olav Haugan wrote: > Hi Luigi, > > On 10/24/2013 6:12 PM, Luigi Semenzato wrote: >> On Thu, Oct 24, 2013 at 5:35 PM, Olav Haugan wrote: >>> Hi Bob, Luigi, >>> >>> On 10/23/2013 5:55 PM, Bob Liu wrote: On 10/24/2013 05:51 AM, Olav Haugan wrote: >>>

Loans offer without Credit Check 100% guaranteed! For Everyone.

2013-10-31 Thread Chandran Prashant
hei Er du en bedrift mann eller kvinne? Er du i noen økonomisk rot eller trenger du midler til å starte opp din egen bedrift? Har du behov for lån for å gjøre opp din gjeld eller betale dine regninger eller starte en hyggelig bedrift? Har du en lav kreditt score og du finner det vanskelig å

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-31 Thread Simon Horman
On Thu, Oct 31, 2013 at 09:27:45AM -0400, Vivek Goyal wrote: > On Wed, Oct 30, 2013 at 06:58:13PM -0600, jerry.hoem...@hp.com wrote: > > [..] > > Daisuke, > > > > Are you planning on making changes to the kexec tools to automate > > the setting of disable_cpu_apic to the capture kernel? Or do

Re: zram/zsmalloc issues in very low memory conditions

2013-10-31 Thread Luigi Semenzato
[apologies for the previous HTML email] Hi Olav, I haven't personally done it. Seth outlines the configuration in this thread: http://thread.gmane.org/gmane.linux.kernel.mm/105378/focus=105543 Stephen, can you add more detail from your experience? Thanks! On Thu, Oct 31, 2013 at 4:34 PM,

Re: [PATCH] commit: Add -f, --fixes option to add Fixes: line

2013-10-31 Thread Johan Herland
On Thu, Oct 31, 2013 at 6:20 PM, Junio C Hamano wrote: > Duy Nguyen writes: >> OK how about, if $GIT_DIR/hooks/something is a directory, then the >> directory must contain a file named "index", listing all the hooks of >> type "something". All the hooks in "index" will be executed in the >>

[PATCH -next] mtd: nand: omap: fix error return code in omap_nand_probe()

2013-10-31 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/mtd/nand/omap2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/omap2.c

Re: [PATCH] cpufreq: ondemand: Remove redundant return statement

2013-10-31 Thread Rafael J. Wysocki
On Friday, November 01, 2013 12:09:16 AM Viresh Kumar wrote: > On 31 October 2013 23:57, Stratos Karafotis wrote: > > After commit dfa5bb622555d9da0df21b50f46ebdeef390041b > > "cpufreq: ondemand: Change the calculation of target frequency", > > this return statement is no longer needed. > > > >

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-10-31 Thread Anssi Hannula
01.11.2013 01:51, Rafał Miłecki kirjoitti: > 2013/11/1 Anssi Hannula : >> Just to check, is the display mode 720p50 or higher (as per HDMI spec >> 7.3.3)? Though I guess too small mode would cause something else, not >> this... > > I'm using 1080p all the time. Do you think that >

Re: [PATCH] ARM: kirkwood: remove lagacy clk workarounds

2013-10-31 Thread Ezequiel Garcia
On Fri, Oct 18, 2013 at 01:45:45PM -0400, Jason Cooper wrote: > On Fri, Oct 18, 2013 at 07:43:54PM +0200, Sebastian Hesselbarth wrote: > > On 10/18/2013 07:27 PM, Sebastian Hesselbarth wrote: > > >On 10/18/2013 06:17 PM, Ezequiel Garcia wrote: > > >>On Fri, Oct 18, 2013 at 10:47:41AM -0400, Jason

Re: [PATCH] commit: Add -f, --fixes option to add Fixes: line

2013-10-31 Thread Duy Nguyen
On Fri, Nov 1, 2013 at 12:20 AM, Junio C Hamano wrote: > Duy Nguyen writes: > >> OK how about, if $GIT_DIR/hooks/something is a directory, then the >> directory must contain a file named "index", listing all the hooks of >> type "something". All the hooks in "index" will be executed in the >>

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Russell King - ARM Linux
On Thu, Oct 31, 2013 at 03:58:31PM -0700, Andrew Morton wrote: > On Thu, 31 Oct 2013 22:50:22 + Russell King - ARM Linux > wrote: > > > On Thu, Oct 31, 2013 at 03:43:11PM -0700, Andrew Morton wrote: > > > On Mon, 28 Oct 2013 23:48:59 +0800 Ming Lei wrote: > > > > > > > This patch uses

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-10-31 Thread Rafał Miłecki
2013/11/1 Anssi Hannula : > Just to check, is the display mode 720p50 or higher (as per HDMI spec > 7.3.3)? Though I guess too small mode would cause something else, not > this... I'm using 1080p all the time. Do you think that HDMI_AUDIO_PACKETS_PER_LINE may have anything to do with this issue

Re: ARM seccomp filters and EABI/OABI

2013-10-31 Thread Andy Lutomirski
On Tue, Oct 29, 2013 at 12:38 PM, Paul Moore wrote: > On Monday, October 28, 2013 11:16:20 PM Richard Weinberger wrote: >> Am 28.10.2013 22:53, schrieb Paul Moore: >> > On Thursday, October 24, 2013 09:55:57 PM Richard Weinberger wrote: >> >> On Wed, Oct 23, 2013 at 11:02 PM, Andy Lutomirski >>

[PATCH v2] perf tools: Remove cast of non-variadic function to variadic

2013-10-31 Thread Michael Hudson-Doyle
4fb71074a570 (perf ui/hist: Consolidate hpp helpers) introduced a cast of percent_color_snprintf to a function pointer type with varargs. Change percent_color_snprintf to be variadic and remove the cast. The symptom of this was all percentages being reported as 0.00% in perf report --stdio

Re: An small ftrace enhancement idea

2013-10-31 Thread Kenneth Lee
Thank you, Steve, Yes, with a separated instance, I can measure the latency for a stimulation while capture the other schedule events which I am interesting in. This is a better solution. I don’t know this “instance” stuff before. I don’t need to create another axe. I am sorry for my

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-10-31 Thread Anssi Hannula
01.11.2013 01:25, Rafał Miłecki kirjoitti: > 2013/10/31 Anssi Hannula : >>> But I can hear sound for rear right and rear left only :( >>> >>> Is there anything more I can provide to help resolve this? Do you have >>> any idea how we can resolve this? >> >> According to the below the receiver has

Re: zram/zsmalloc issues in very low memory conditions

2013-10-31 Thread Olav Haugan
Hi Luigi, On 10/24/2013 6:12 PM, Luigi Semenzato wrote: > On Thu, Oct 24, 2013 at 5:35 PM, Olav Haugan wrote: >> Hi Bob, Luigi, >> >> On 10/23/2013 5:55 PM, Bob Liu wrote: >>> >>> On 10/24/2013 05:51 AM, Olav Haugan wrote: >> >>> By the way, could you take a try with zswap? Which can write pages

perf version not set when building out of tree

2013-10-31 Thread David Ahern
When building out of tree: make perf-tar-src-pkg tar -xf perf-.tar -C /tmp cd /tmp/perf make -C tools/perf you get the warning message: make[1]: *** No rule to make target `kernelversion'. Stop. which comes from tools/perf/util/PERF-VERSION-GEN, if test -z "$TAG" then TAG=$(MAKEFLAGS=

Re: [PATCH] epoll: remove the on_list check for 'struct epitem'

2013-10-31 Thread Stephen Rothwell
Hi Andrew, On Thu, 31 Oct 2013 16:20:19 -0700 Andrew Morton wrote: > > Sure. Here's my epoll-optimize-epoll_ctl_del-using-rcu-fix.patch: > > From: Jason Baron > Subject: epoll: remove the on_list check for 'struct epitem' OK, that will go in today. -- Cheers, Stephen Rothwell

Re: [PATCH v2] dynamic_debug: add wildcard support to filter files/functions/modules

2013-10-31 Thread Joe Perches
On Thu, 2013-10-31 at 15:52 -0700, Andrew Morton wrote: > On Mon, 28 Oct 2013 23:29:10 +0800 "Du, Changbin" > wrote: [] > > +/* check if the string matches given pattern which includes wildcards */ > > +static int match_pattern(const char *pattern, const char *string) [] > No, something like

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-10-31 Thread Rafał Miłecki
2013/10/31 Anssi Hannula : >> But I can hear sound for rear right and rear left only :( >> >> Is there anything more I can provide to help resolve this? Do you have >> any idea how we can resolve this? > > According to the below the receiver has separate PCM SADs for 2-channel > and multichannel

RE: [PATCH 0/2] make all stored entries accessible.

2013-10-31 Thread Seiji Aguchi
> I also like option 1 ... but I think the "id" should be a persistent value for > a given saved record. So some func(timestamp, part, count) would be a > good idea. If we try using "sequential" numbers - and don't manage to > clear out /sys/fs/pstore each time - then we may have the same

Re: [PATCH] epoll: remove the on_list check for 'struct epitem'

2013-10-31 Thread Andrew Morton
On Fri, 1 Nov 2013 10:09:12 +1100 Stephen Rothwell wrote: > Hi Andrew, > > On Wed, 30 Oct 2013 18:32:41 + (GMT) Jason Baron > wrote: > > > > By removing the 'int on_list' field from 'struct epitem', we avoid hitting > > the > > BUILD_BUG_ON() for 'struct epitem' being larger than 128

[PATCH V2] checkpatch: Improve "return is not a function" test

2013-10-31 Thread Joe Perches
Find a few more cases where parentheses are used around the value of a return statement. This now uses the "$balanced_parens" test and also makes the test depend on perl v5.10 and higher. This now finds return with parenthesis uses the old code did not find like: ERROR: return is not a

Re: [PATCH] epoll: remove the on_list check for 'struct epitem'

2013-10-31 Thread Stephen Rothwell
Hi Andrew, On Wed, 30 Oct 2013 18:32:41 + (GMT) Jason Baron wrote: > > By removing the 'int on_list' field from 'struct epitem', we avoid hitting the > BUILD_BUG_ON() for 'struct epitem' being larger than 128 bytes. > > In file included from include/linux/init.h:4:0, > from

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Andrew Morton
On Thu, 31 Oct 2013 22:50:22 + Russell King - ARM Linux wrote: > On Thu, Oct 31, 2013 at 03:43:11PM -0700, Andrew Morton wrote: > > On Mon, 28 Oct 2013 23:48:59 +0800 Ming Lei wrote: > > > > > This patch uses CONFIG_PAGE_OFFSET to filter symbols which > > > are not in kernel address space

Re: [PATCH] lib/scatterlist.c: don't flush_kernel_dcache_page on slab page

2013-10-31 Thread Andrew Morton
On Fri, 1 Nov 2013 00:49:27 +0200 Aaro Koskinen wrote: > Hi, > > On Thu, Oct 31, 2013 at 03:27:45PM -0700, Andrew Morton wrote: > > On Tue, 29 Oct 2013 00:20:05 +0800 Ming Lei wrote: > > > > > Commit b1adaf65ba03([SCSI] block: add sg buffer copy helper functions) > > > introduces two sg

Re: [PATCH v2] dynamic_debug: add wildcard support to filter files/functions/modules

2013-10-31 Thread Andrew Morton
On Mon, 28 Oct 2013 23:29:10 +0800 "Du, Changbin" wrote: > This patch add wildcard '*'(matches zero or more characters) and '?' > (matches one character) support when qurying debug flags. > > Now we can open debug messages using keywords. eg: > 1. open debug logs in all usb drivers > echo

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Russell King - ARM Linux
On Thu, Oct 31, 2013 at 03:43:11PM -0700, Andrew Morton wrote: > On Mon, 28 Oct 2013 23:48:59 +0800 Ming Lei wrote: > > > This patch uses CONFIG_PAGE_OFFSET to filter symbols which > > are not in kernel address space because these symbols are > > generally for generating code purpose and can't

Re: [PATCH] lib/scatterlist.c: don't flush_kernel_dcache_page on slab page

2013-10-31 Thread Aaro Koskinen
Hi, On Thu, Oct 31, 2013 at 03:27:45PM -0700, Andrew Morton wrote: > On Tue, 29 Oct 2013 00:20:05 +0800 Ming Lei wrote: > > > Commit b1adaf65ba03([SCSI] block: add sg buffer copy helper functions) > > introduces two sg buffer copy helpers, and calls flush_kernel_dcache_page() > > on pages in SG

Re: [PATCH] lib/scatterlist.c: don't flush_kernel_dcache_page on slab page

2013-10-31 Thread Russell King - ARM Linux
On Thu, Oct 31, 2013 at 03:27:45PM -0700, Andrew Morton wrote: > On Tue, 29 Oct 2013 00:20:05 +0800 Ming Lei wrote: > > > Commit b1adaf65ba03([SCSI] block: add sg buffer copy helper functions) > > introduces two sg buffer copy helpers, and calls flush_kernel_dcache_page() > > on pages in SG list

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Andrew Morton
On Mon, 28 Oct 2013 23:48:59 +0800 Ming Lei wrote: > This patch uses CONFIG_PAGE_OFFSET to filter symbols which > are not in kernel address space because these symbols are > generally for generating code purpose and can't be run at > kernel mode, so we needn't keep them in /proc/kallsyms. > >

Re: [PATCH] lib/scatterlist.c: don't flush_kernel_dcache_page on slab page

2013-10-31 Thread Andrew Morton
On Tue, 29 Oct 2013 00:20:05 +0800 Ming Lei wrote: > Commit b1adaf65ba03([SCSI] block: add sg buffer copy helper functions) > introduces two sg buffer copy helpers, and calls flush_kernel_dcache_page() > on pages in SG list after these pages are written to. > > Unfortunately, the commit may

Re: [RFC GIT PULL] NUMA-balancing memory corruption fixes

2013-10-31 Thread Linus Torvalds
On Thu, Oct 31, 2013 at 2:51 AM, Ingo Molnar wrote: > > > ( If you think this is too dangerous for too little benefit then > I'll drop this separate tree and will send the original commits in > the merge window. ) Ugh. I hate hate hate the timing, and this is much larger and scarier than

Re: linux-next: manual merge of the driver-core tree with the mmc tree

2013-10-31 Thread Greg KH
On Mon, Oct 28, 2013 at 10:20:07PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/mmc/host/mvsdio.c between commit 50596285e0be ("mmc: mvsdio: > Remove redundant suspend and resume callbacks") from the mmc tree and >

Re: linux-next: manual merge of the usb tree with the tree

2013-10-31 Thread Greg KH
On Mon, Oct 28, 2013 at 11:01:52PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the usb tree got a conflict in > drivers/Kconfig between commit 12cc4b3827f8 ("PowerCap: Add to drivers > Kconfig and Makefile") from the pm tree and commit ff764963479a > ("drivers: phy:

Re: [PATCH] cciss: return 0 from driver probe function on success, not 1

2013-10-31 Thread Andrew Morton
On Thu, 31 Oct 2013 16:54:44 -0500 scame...@beardog.cce.hp.com wrote: > > > How did this ever work? > > > > Beats me. local_pci_probe() does > > > > rc = pci_drv->probe(pci_dev, ddi->id); > > if (rc) { > > pci_dev->driver = NULL; > > pm_runtime_put_sync(dev); >

[PATCH] KVM: x86: fix emulation of "movzbl %bpl, %eax"

2013-10-31 Thread Paolo Bonzini
When I was looking at RHEL5.9's failure to start with unrestricted_guest=0/emulate_invalid_guest_state=1, I got it working with a slightly older tree than kvm.git. I now debugged the remaining failure, which was introduced by commit 660696d1 (KVM: X86 emulator: fix source operand decoding for

Re: [PATCH] block: Document immutable biovecs

2013-10-31 Thread Randy Dunlap
On 10/31/13 14:27, Kent Overstreet wrote: > Signed-off-by: Kent Overstreet > Cc: Jens Axboe > Cc: NeilBrown > Cc: Christoph Hellwig > --- > Documentation/block/biovecs.txt | 111 > > include/linux/blk_types.h | 3 +- > 2 files changed, 113

Re: [PATCH] cciss: return 0 from driver probe function on success, not 1

2013-10-31 Thread scameron
On Thu, Oct 31, 2013 at 02:42:41PM -0700, Andrew Morton wrote: > On Tue, 29 Oct 2013 12:58:09 -0600 Jens Axboe wrote: > > > On 10/29/2013 12:41 PM, Stephen M. Cameron wrote: > > > From: Stephen M. Cameron > > > > > > A return value of 1 is interpreted as an error > > > > > > Signed-off-by:

Re: [PATCH 1/2] lib/scatterlist: export sg_miter_skip()

2013-10-31 Thread Andrew Morton
On Wed, 30 Oct 2013 00:07:22 +0800 Ming Lei wrote: > sg_copy_buffer() can't meet demand for some drrivers(such usb > mass storage), so we have to use the sg_miter_* APIs to access > sg buffer, then need export sg_miter_skip() for these drivers. > > The API is needed for converting to sg_miter_*

Re: [PATCH 1/2] dmaengine: add msm bam dma driver

2013-10-31 Thread Andy Gross
On Thu, Oct 31, 2013 at 10:29:48PM +0530, Vinod Koul wrote: > On Fri, Oct 25, 2013 at 03:24:02PM -0500, Andy Gross wrote: > > This should be sent to dmaeng...@vger.kernel.org I'll add the list when I send the second iteration or should I send it over mid stream? > > Add the DMA engine driver

Re: [PATCH] cciss: return 0 from driver probe function on success, not 1

2013-10-31 Thread Andrew Morton
On Tue, 29 Oct 2013 12:58:09 -0600 Jens Axboe wrote: > On 10/29/2013 12:41 PM, Stephen M. Cameron wrote: > > From: Stephen M. Cameron > > > > A return value of 1 is interpreted as an error > > > > Signed-off-by: Stephen M. Cameron > > --- > > drivers/block/cciss.c |2 +- > > 1 files

[PATCH v2] dma: edma: Add support for Cyclic DMA

2013-10-31 Thread Joel Fernandes
Using the PaRAM configuration function that we split for reuse by the different DMA types, we implement Cyclic DMA support. For the cyclic case, we pass different configuration parameters to this function, and handle all the Cyclic-specific functionality separately. Callbacks to the DMA users are

Re: [PATCH] PCI: add quirk for 3ware 9650SE controller

2013-10-31 Thread Bjorn Helgaas
On Wed, Oct 30, 2013 at 4:27 AM, Jiri Kosina wrote: > Attached is dmesg output leading to timeouts (that are cured by my > original patch in this thread) and lspci. I opened https://bugzilla.kernel.org/show_bug.cgi?id=64141 for this issue and attached your dmesg log and lspci output. > Please

  1   2   3   4   5   6   7   8   9   10   >