Re: [PATCHv4 5/7] clk: samsung: exynos3250: Add clocks using common clock framework

2014-05-13 Thread Chanwoo Choi
Hi Tomasz, On 05/14/2014 01:28 AM, Tomasz Figa wrote: > Hi Chanwoo, > > On 13.05.2014 13:49, Chanwoo Choi wrote: >> Hi Tomasz, >> >> On 04/26/2014 09:39 AM, Tomasz Figa wrote: >>> Hi Chanwoo, >>> >>> On 25.04.2014 03:16, Chanwoo Choi wrote: From: Tomasz Figa This patch add new the

Re: [patch 1/3] rtmutex: Add missing deadlock check

2014-05-13 Thread Thomas Gleixner
On Tue, 13 May 2014, Steven Rostedt wrote: > On Tue, 13 May 2014 16:27:11 -0700 > "Paul E. McKenney" wrote: > > > On Tue, May 13, 2014 at 06:44:30PM -0400, Steven Rostedt wrote: > > > On Tue, 13 May 2014 15:00:09 -0700 > > > "Paul E. McKenney" wrote: > > > > > > > > > > Good points -- I was

Re: [PATCH RESEND v4 3/8] phy: sunxi: Rework phy initialization

2014-05-13 Thread Maxime Ripard
On Wed, May 14, 2014 at 11:18:51AM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 13 May 2014 09:14 PM, Maxime Ripard wrote: > > Move the phy initialization and variables declaration to the loop itself, > > since > > it is where it really belongs. Also remove all the temporary variable

Re: [PATCH v1 01/11] ARM: amba: Add Qualcomm vendor ID.

2014-05-13 Thread Srinivas Kandagatla
On 13/05/14 23:13, Stephen Boyd wrote: On 05/13, Srinivas Kandagatla wrote: Thanks Linus W, On 13/05/14 08:16, Linus Walleij wrote: On Tue, Apr 29, 2014 at 10:19 AM, wrote: From: Srinivas Kandagatla This patch adds Qualcomm amba vendor Id to the list. This ID is used in mmci driver. S

Re: Question: hwmon: Adding addtitional sysfs entries

2014-05-13 Thread Andreas Werner
On Sat, May 10, 2014 at 08:32:40AM -0700, Guenter Roeck wrote: > On 05/10/2014 09:02 AM, Andreas Werner wrote: > >On Sat, May 10, 2014 at 05:32:13AM -0700, Guenter Roeck wrote: > >>On 05/10/2014 06:22 AM, Andreas Werner wrote: > >>>Hi, > >>>i am currently working on an implemenation of my Board Man

Re: [patch 1/3] rtmutex: Add missing deadlock check

2014-05-13 Thread Thomas Gleixner
On Tue, 13 May 2014, Steven Rostedt wrote: > On Tue, 13 May 2014 15:00:09 -0700 > "Paul E. McKenney" wrote: > > > > Good points -- I was indeed thinking about stress testing instead of > > algorithmic testing. > > But doesn't lockdep use algorithmic tests too? Kinda, but only for the deadloc

Re: [PATCH v4 01/24] input: Add ff-memless-next module

2014-05-13 Thread Dmitry Torokhov
Hi Michal, On Sat, Apr 26, 2014 at 05:02:00PM +0200, Michal Malý wrote: > + > +/** DEFINITION OF TERMS > + * > + * Combined effect - An effect whose force is a superposition of forces > + * generated by all effects that can be added together. > + * Only one comb

[PATCH] iommu/amd: Fix for L2 race with VM invalidation

2014-05-13 Thread suravee.suthikulpanit
From: Jay Cornwall Do not disassociate the process page tables from a PASID during VM invalidation. Invalidate the IOMMU TLB and IOTLBs before invalidation. L2 translations may fail during VM range invalidation. The current implementation associates an empty page table with a PASID within the cr

Re: [PATCH 05/19] mm: page_alloc: Calculate classzone_idx once from the zonelist ref

2014-05-13 Thread Mel Gorman
On Tue, May 13, 2014 at 03:25:56PM -0700, Andrew Morton wrote: > On Tue, 13 May 2014 10:45:36 +0100 Mel Gorman wrote: > > > There is no need to calculate zone_idx(preferred_zone) multiple times > > or use the pgdat to figure it out. > > > > This one falls afoul of pending mm/next changes in non

[PATCH v7 3/3] ahci: add support for Hisilicon sata

2014-05-13 Thread Kefeng Wang
The hip04 SoC of hisilicon has an AHCI compliant SATA controller, and it is compliant with the ahci 1.3 and sata 3.0 specification. There is a wrong bit in HOST_CAP of hip04 sata controller, which enable unsupported feature of FBS, use AHCI_HFLAG_NO_FBS hflag to disable it. Reviewed-by: Hans de G

[PATCH v7 2/3] libahci_platform: add host_flags parameter in ahci_platform_init_host()

2014-05-13 Thread Kefeng Wang
Add a dynamic host_flags argument to make ahci_platform_init_host more flexible, then remove the AHCI_HFLAGS(...) argument from some driver's ata_port_info, and pass that in as the new argument. Cc: Hans de Geode Reviewed-by: Hans de Goede Signed-off-by: Kefeng Wang --- drivers/ata/ahci_da850.

[PATCH v7 1/3] ata: ahci: append new hflag AHCI_HFLAG_NO_FBS

2014-05-13 Thread Kefeng Wang
Append AHCI_HFLAG_NO_FBS to force turning off FBS flag. Reviewed-by: Hans de Goede Signed-off-by: Haojian Zhuang Signed-off-by: Kefeng Wang --- drivers/ata/ahci.h|1 + drivers/ata/libahci.c |5 + 2 files changed, 6 insertions(+) diff --git a/drivers/ata/ahci.h b/drivers/ata/ah

[PATCH v7 0/3] ahci: add support for hisilicon sata

2014-05-13 Thread Kefeng Wang
change in v7: 1) refresh, rebased onto lastest libata/for-3.16, commit: 58eb8cd565a change in v6: 1) type of host_flags changed from unsigned int to unsigned long, fix the building warning and error channge in v5: 1) drop AHCI_HFLAGS(...) from ahci_xgene.c and do use host_flags in ahci_plat

Re: [PATCH v6 3/3] ahci: add support for Hisilicon sata

2014-05-13 Thread kefeng.wang
On 2014-5-14 3:04, Tejun Heo wrote: > On Fri, Apr 25, 2014 at 04:59:11PM +0800, Kefeng Wang wrote: >> The hip04 SoC of hisilicon has an AHCI compliant SATA controller, >> and it is compliant with the ahci 1.3 and sata 3.0 specification. >> >> There is a wrong bit in HOST_CAP of hip04 sata controlle

Re: [PATCH 17/19] fs: buffer: Do not use unnecessary atomic operations when discarding buffers

2014-05-13 Thread Mel Gorman
On Tue, May 13, 2014 at 03:29:00PM -0700, Andrew Morton wrote: > On Tue, 13 May 2014 10:45:48 +0100 Mel Gorman wrote: > > > Discarding buffers uses a bunch of atomic operations when discarding buffers > > because .. I can't think of a reason. Use a cmpxchg loop to clear all > > the > > neces

WE NEED YOUR PRODUCT.

2014-05-13 Thread Linus Anthony
Good Day, We Are interested in your product and to do business with you.or your company let us know if you can handle this supplying as order of company's your product is need here ,contact me on Your sincerely, PAYMENT TERMS:The terms of payment is 80% advance payment via (T/T) by telegraphic

[PATCH] driver/net/ethernet/ec_bhf.c: fix sparse warnings

2014-05-13 Thread Darek Marcinkiewicz
Sparse was reporting quite a few warnings for the driver. Those get fixed by this patch. Signed-off-by: Dariusz Marcinkiewicz --- drivers/net/ethernet/ec_bhf.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet/ec_bhf.c b/drivers/net

Re: [PATCH 5/5] usb: dwc3: dwc3-omap: Disable/Enable core interrupts in Suspend/Resume

2014-05-13 Thread George Cherian
On 5/13/2014 9:20 PM, Felipe Balbi wrote: Hi, On Thu, May 08, 2014 at 03:03:07PM +0530, George Cherian wrote: Enabling the core interrupts in complete is too late for XHCI, and stops xhci from proper operation. So remove prepare and complete and disable/enable isn't this a bug in xhci ? I mean

Re: [PATCH v13 00/19] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-05-13 Thread Shaik Ameer Basha
On Tue, May 13, 2014 at 10:50 PM, Joerg Roedel wrote: > On Mon, May 12, 2014 at 11:44:45AM +0530, Shaik Ameer Basha wrote: >> Cho KyongHo (18): >> iommu/exynos: fix build errors >> iommu/exynos: change error handling when page table update is failed >> iommu/exynos: allocate lv2 page table f

[PATCH] documentation/iommu: Add note on existing DT binding status

2014-05-13 Thread Shaik Ameer Basha
The current dt binding for Exynos System MMU can be changed, if found incompatible with the support for "Generic IOMMU Binding". This patch adds a note to the binding documentation stating the same. Signed-off-by: Shaik Ameer Basha --- .../devicetree/bindings/iommu/samsung,sysmmu.txt |5 ++

Re: [PATCH V2 2/3] powerpc, ptrace: Enable support for transactional memory register sets

2014-05-13 Thread Anshuman Khandual
On 05/13/2014 10:51 PM, Pedro Alves wrote: > I wonder whether people are getting Roland's address from? > > It's frequent that ptrace related patches end up CCed to > rol...@redhat.com, but, he's not been at Red Hat for a few years > now. Roland, do you still want to be CCed on ptrace-related > i

Re: [PATCH 9/9] perf, tools, record: Always allow to overide default period v2

2014-05-13 Thread Namhyung Kim
On Mon, 12 May 2014 15:51:14 -0700, Andi Kleen wrote: > From: Andi Kleen > > Fix the logic to allow overriding event default periods with -c or -F > on the command line. I'm not sure I understand this if() fully, but > this change makes all cases I tested work (tracepoint with default, default, >

Re: [PATCH RESEND v4 3/8] phy: sunxi: Rework phy initialization

2014-05-13 Thread Kishon Vijay Abraham I
Hi, On Tuesday 13 May 2014 09:14 PM, Maxime Ripard wrote: > Move the phy initialization and variables declaration to the loop itself, > since > it is where it really belongs. Also remove all the temporary variables, we can > use the structure members directly. > > Signed-off-by: Maxime Ripard >

Re: [PATCH V2 2/3] powerpc, ptrace: Enable support for transactional memory register sets

2014-05-13 Thread Anshuman Khandual
On 05/13/2014 10:43 PM, Pedro Alves wrote: > On 05/05/14 08:54, Anshuman Khandual wrote: >> This patch enables get and set of transactional memory related register >> sets through PTRACE_GETREGSET/PTRACE_SETREGSET interface by implementing >> four new powerpc specific register sets i.e REGSET_TM_SP

Re: [ 080/143] net: rework recvmsg handler msg_name and msg_namelen logic

2014-05-13 Thread Willy Tarreau
Hi Luis, On Tue, May 13, 2014 at 01:44:25PM +0100, Luis Henriques wrote: > On Mon, May 12, 2014 at 02:33:20AM +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Hannes Frederic Sowa > >

Re: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-13 Thread Kishon Vijay Abraham I
hi Arnd, On Tuesday 13 May 2014 07:04 PM, Arnd Bergmann wrote: > On Tuesday 13 May 2014 15:27:46 Arnd Bergmann wrote: >> On Tuesday 13 May 2014 18:56:23 Kishon Vijay Abraham I wrote: If you have a case where the outbound translation is a 256MB (i.e. 28bit) section of the CPU address spac

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread John Syn
On 5/13/14, 8:39 PM, "Pantelis Antoniou" wrote: >Hi John, > >On May 13, 2014, at 1:24 PM, John Syn wrote: > >> >> On 5/13/14, 10:51 AM, "Javier Martinez Canillas" >> wrote: >> >>> Hello Pantelis, >>> >>> On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou >>> wrote: Hi Javier, >>>

Re: [PATCH 1/5] usb: dwc3: dwc3-omap: Add dwc3_omap_map_offset function

2014-05-13 Thread George Cherian
On 5/13/2014 9:32 PM, Felipe Balbi wrote: Hi, On Thu, May 08, 2014 at 03:03:03PM +0530, George Cherian wrote: Calculate the wrapper register offsets in a seperate function. Improve code readability, decrease the dwc3_probe() size. Signed-off-by: George Cherian --- drivers/usb/dwc3/dwc3-omap

[PATCH] lib: devres: Mark devm_request_and_ioremap() as deprecated

2014-05-13 Thread Jingoo Han
devm_request_and_ioremap() was obsoleted by devm_ioremap_resource(). (7509657 "lib: devres: Introduce devm_ioremap_resource()") So, let's mark it as deprecated in order to stop using it. Suggested-by: Florian Fainelli Signed-off-by: Jingoo Han Cc: Thierry Reding --- include/linux/device.h |

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread George Cherian
On 5/14/2014 12:07 AM, Bin Liu wrote: Hi, On Tue, May 13, 2014 at 8:24 AM, George Cherian wrote: Hi Daniel, On 5/13/2014 6:44 PM, Daniel Mack wrote: Hi George, On 05/13/2014 02:57 PM, George Cherian wrote: I never enabled the MUSB_BABBLE_SW_SESSION_CTRL in the MUSB_BABBLE_CTL reg. can you

Re: [PATCH 8/9] perf, tools, test: Add test case for alias and JSON parsing

2014-05-13 Thread Namhyung Kim
On Mon, 12 May 2014 15:51:13 -0700, Andi Kleen wrote: [SNIP] > +int test__aliases(void) Just a nitpick. Please use a more descriptive name for the testcase like test__event_aliases(). > +{ > + int err; > + > + /* Download JSON files */ > + /* XXX assumes perf is installed */ > +

Re: [PATCH 2/2] mm/page_alloc: DEBUG_VM checks for free_list placement of CMA and RESERVE pages

2014-05-13 Thread Hugh Dickins
On Tue, 13 May 2014, Sasha Levin wrote: > On 05/05/2014 11:50 AM, Vlastimil Babka wrote: > > So in the end this VM_DEBUG check probably cannot work anymore for > > MIGRATE_RESERVE, only for CMA. I'm not sure if it's worth keeping it only > > for CMA, what are the CMA guys' opinions on that? > >

[git pull] Please pull powerpc.git merge branch

2014-05-13 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a couple of fixes for 3.15. One from Anton fixes a nasty regression I introduced when trying to fix a loss of irq_work whose consequences is that we can completely lose timer interrupts on a CPU... not pretty. The other one is a change to our PCIe reset hook to use a firmware

Re: [PATCH 5/9] perf, tools: Add perf download to download event files v2

2014-05-13 Thread Namhyung Kim
On Mon, 12 May 2014 15:51:10 -0700, Andi Kleen wrote: > From: Andi Kleen > > Add a downloader to automatically download the right > files from a download site. > > This is implemented as a script calling wget, similar to > perf archive. The perf driver automatically calls the right > binary. The d

Re: [PATCH 3/9] perf, tools: Add support for reading JSON event files

2014-05-13 Thread Namhyung Kim
On Mon, 12 May 2014 15:51:08 -0700, Andi Kleen wrote: > From: Andi Kleen > > Add a parser for Intel style JSON event files. This allows > to use an Intel event list directly with perf. The Intel > event lists can be quite large and are too big to store > in unswappable kernel memory. > > The parse

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Ingo Molnar
* Alexei Starovoitov wrote: > On Tue, May 13, 2014 at 8:17 PM, Steven Rostedt wrote: > > On Tue, 13 May 2014 19:55:11 -0700 > > Alexei Starovoitov wrote: > > > >> Tracing filters are parsing user supplied character string and constructing > >> a predicate tree. filter_match_preds() was used to

Re: [PATCH v2 0/3] File Sealing & memfd_create()

2014-05-13 Thread Hugh Dickins
On Tue, 15 Apr 2014, David Herrmann wrote: > > This is v2 of the File-Sealing and memfd_create() patches. You can find v1 > with > a longer introduction at gmane: > http://thread.gmane.org/gmane.comp.video.dri.devel/102241 > An LWN article about memfd+sealing is available, too: > https://lwn.

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Ingo Molnar
* Alexei Starovoitov wrote: > On Tue, May 13, 2014 at 8:07 PM, Steven Rostedt wrote: > > On Tue, 13 May 2014 19:55:11 -0700 > > Alexei Starovoitov wrote: > > > >> --- a/kernel/trace/Kconfig > >> +++ b/kernel/trace/Kconfig > >> @@ -79,6 +79,7 @@ config FTRACE_NMI_ENTER > >> default y >

Re: [PATCH 02/34] kbuild: Introduce KCONFIG_AUTOCONFIGDEP variable for conf tool

2014-05-13 Thread Sam Ravnborg
On Wed, May 14, 2014 at 12:02:57AM +0200, Alexis Berlemont wrote: > From: Jiri Olsa > > Introducing KCONFIG_AUTOCONFIGDEP variable for conf tool > allowing to specify custom auto.conf.cmd file. The change looks good at it complments what we already have of overrides. But please document this in

Re: [PATCH 01/34] kbuild: Introduce KBUILD_AUTOCONF variable for auto.conf include

2014-05-13 Thread Sam Ravnborg
On Wed, May 14, 2014 at 12:02:56AM +0200, Alexis Berlemont wrote: > From: Jiri Olsa > > Introducing KBUILD_AUTOCONF variable for auto.conf include > allowing to specify custom auto.conf file. What do you need this for? And please remember to documet this variable in Documentation/kbuild/... Hav

Re: [PATCH 1/9] perf, tools: Add jsmn `jasmine' JSON parser

2014-05-13 Thread Andi Kleen
On Wed, May 14, 2014 at 12:25:44PM +0900, Namhyung Kim wrote: > Hi Andi, > > On Mon, 12 May 2014 15:51:06 -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > I need a JSON parser. This adds the simplest JSON > > parser I could find -- Serge Zaitsev's jsmn `jasmine' -- > > to the perf library. I

[PATCH] workqueue: Remove deprecated system_nrt[_freezable]_wq

2014-05-13 Thread Jingoo Han
system_nrt[_freezable]_wq were deprecated by 3b07e9c ("workqueue: deprecate system_nrt[_freezable]_wq") and have been deprecated for a long time. In addition, these are not used anymore. So, let's remove these functions. Signed-off-by: Jingoo Han --- include/linux/workqueue.h | 14

Re: [PATCH v2 RESEND] rapidio/tsi721: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-05-13 Thread Alexander Gordeev
On Tue, May 13, 2014 at 02:46:34PM -0700, Andrew Morton wrote: > On Tue, 13 May 2014 17:01:32 +0200 Alexander Gordeev > wrote: > > > As result of deprecation of MSI-X/MSI enablement functions > > pci_enable_msix() and pci_enable_msi_block() all drivers > > using these two interfaces need to be u

Re: [PATCH v3 0/3] TI CPSW Cleanup

2014-05-13 Thread David Miller
From: George Cherian Date: Mon, 12 May 2014 10:21:18 +0530 > This series does some minimal cleanups. > -Conversion of pr_*() to dev_*() > -Convert kzalloc to devm_kzalloc. Series applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

[PATCH] workqueue: Remove deprecated flush[_delayed]_work_sync()

2014-05-13 Thread Jingoo Han
flush[_delayed]_work_sync() were deprecated by 4382973 ("workqueue: deprecate flush[_delayed]_work_sync()") and have been deprecated for a long time. In addition, these are not used anymore. So, let's remove these functions. Signed-off-by: Jingoo Han --- include/linux/workqueue.h | 12

[PATCH v4] gcov: add support for GCC 4.9

2014-05-13 Thread Yuan Pengfei
From: Yuan Pengfei This patch handles the gcov-related changes in GCC 4.9: A new counter (time profile) is added. The total number is 9 now. A new profile merge function __gcov_merge_time_profile is added. See gcc/gcov-io.h and libgcc/libgcov-merge.c For the first change, the layout of struct

Re: [PATCHSET cgroup/for-3.16] cgroup: iterate cgroup_subsys_states directly

2014-05-13 Thread Li Zefan
Hi Tejun, On 2014/5/10 5:31, Tejun Heo wrote: > Hello, > > Currently, while csses (cgroup_subsys_states) have ->parent linkage > too, only cgroups form full tree through their ->children and > ->sibling fields and css iterations naturally is implemented by > iterating cgroups and then dereferenci

RE: [PATCH v3] gcov: add support for GCC 4.9

2014-05-13 Thread Yuan Pengfei
> > > > +void __gcov_merge_time_profile(gcov_type *counters, unsigned int > > n_counters) > > But can you repost please without word wrapping? > > Except for that the patch looks good to me. Sorry. I will configure my email client and send again. -- Yuan, Pengfei Peking University, China -- To

Re: [PATCH 2/3] mm: use a light-weight __mod_zone_page_state in mlocked_vma_newpage()

2014-05-13 Thread Hugh Dickins
On Tue, 13 May 2014, Jianyu Zhan wrote: > Andrew, since the previous patch > > [PATCH 1/3] mm: add comment for __mod_zone_page_stat > > is updated, update this one accordingly. > > -<8- > From 9701fbdb3f9e7730b89780a5bf22effd1580cf35 Mon Sep 17 00:00:00 2001 > From: Jianyu Zhan > Date

Re: [PATCH] sched: wake up task on prev_cpu if not in SD_WAKE_AFFINE domain with cpu

2014-05-13 Thread Mike Galbraith
On Tue, 2014-05-13 at 10:08 -0400, Rik van Riel wrote: > OK, after doing some other NUMA stuff, and then looking at the scheduler > again with a fresh mind, I have drawn some more conclusions about what > the scheduler does, and how it breaks NUMA locality :) > > 1) If the node_distance between n

Re: [PATCH 1/3] mm: add comment for __mod_zone_page_stat

2014-05-13 Thread Hugh Dickins
On Tue, 13 May 2014, Jianyu Zhan wrote: > >> This means they guarantee that even they are preemted the vm > >> counter won't be modified incorrectly. Because the counter is page-related > >> (e.g., a new anon page added), and they are exclusively hold the pte lock. > > > >But there are multiple p

Re: [PATCH 01/25] asm-generic: Change time_t and clock_t to 64 bit

2014-05-13 Thread H. Peter Anvin
On 05/13/2014 03:22 AM, James Hogan wrote: >> When we export this posix_types.h file for user software, they need to >> define this config, eg: CONFIG_32BIT_TIME to use 32 bit time. Is this >> what we want to do? > > Yeh, good point, that won't work. How about: #include The asm-generic/types/

Re: [PATCH 2/2] mm/page_alloc: DEBUG_VM checks for free_list placement of CMA and RESERVE pages

2014-05-13 Thread Sasha Levin
On 05/05/2014 11:50 AM, Vlastimil Babka wrote: > So in the end this VM_DEBUG check probably cannot work anymore for > MIGRATE_RESERVE, only for CMA. I'm not sure if it's worth keeping it only for > CMA, what are the CMA guys' opinions on that? The way I understood it is that this patch is wrong,

Re: [PATCH] ARM: tegra: enable console framebuffer rotation

2014-05-13 Thread Stephen Warren
On 05/13/2014 08:00 PM, Alexandre Courbot wrote: ... > Both SHIELD and TN7 come with a locked bootloader and cannot use U-boot. > The bootloader can only boot a kernel from a dedicated, raw boot > partition (Android style), can only pass a device tree from another raw > "dtb" partition, and will fi

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi John, On May 13, 2014, at 1:24 PM, John Syn wrote: > > On 5/13/14, 10:51 AM, "Javier Martinez Canillas" > wrote: > >> Hello Pantelis, >> >> On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou >> wrote: >>> Hi Javier, >>> >>> On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: >>>

[PATCH 24/25] x86: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
Override time_t and clock_t in include/uapi/asm-generic. Signed-off-by: Ley Foon Tan --- arch/x86/include/uapi/asm/posix_types_32.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/include/uapi/asm/posix_types_32.h b/arch/x86/include/uapi/asm/posix_types_32.h index 8e52505..b6

[PATCH] mm: remap_file_pages: grab file ref to prevent race while mmaping

2014-05-13 Thread Sasha Levin
A file reference should be held while a file is mmaped, otherwise it might be freed while being used. Suggested-by: Hugh Dickins Signed-off-by: Sasha Levin --- mm/mmap.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/mm/mmap.c b/mm/mmap.c index 2a0e0a8..da3c212 100644 --- a/mm/mmap.c

[PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-13 Thread Joe Perches
Missing a colon on definition use is a bit odd so change the macro for the 32 bit case to declare an __attribute__((unused)) and __deprecated variable. The __deprecated attribute will cause gcc to emit an error if the variable is actually used. Signed-off-by: Joe Perches --- include/net/inet_ha

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Alexei Starovoitov
On Tue, May 13, 2014 at 8:17 PM, Steven Rostedt wrote: > On Tue, 13 May 2014 19:55:11 -0700 > Alexei Starovoitov wrote: > >> Tracing filters are parsing user supplied character string and constructing >> a predicate tree. filter_match_preds() was used to walk nodes of the tree to >> simulate matc

Re: [ISSUE] sched/cgroup: Does cpu-cgroup still works fine nowadays?

2014-05-13 Thread Michael wang
On 05/13/2014 10:23 PM, Peter Zijlstra wrote: [snip] > > The point remains though, don't use massive and awkward software stacks > that are impossible to operate. > > I you want to investigate !spinners, replace the ABC with slightly more > complex loads like: https://lkml.org/lkml/2012/6/18/212

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Alexei Starovoitov
On Tue, May 13, 2014 at 8:07 PM, Steven Rostedt wrote: > On Tue, 13 May 2014 19:55:11 -0700 > Alexei Starovoitov wrote: > >> --- a/kernel/trace/Kconfig >> +++ b/kernel/trace/Kconfig >> @@ -79,6 +79,7 @@ config FTRACE_NMI_ENTER >> default y >> >> config EVENT_TRACING >> + depends on N

Re: mm: shmem: NULL ptr deref in shmem_fault

2014-05-13 Thread Sasha Levin
On 05/13/2014 06:20 PM, Hugh Dickins wrote: > I haven't delved into the perf_even_mmap d_path (fs/dcache.c:2947) one, > but the Sys_mremap one on file->f_op->f_unmapped_area sounds like what > we have here: struct file has been freed. > > I believe Al is innocent: I point a quivering finger at...

Re: [PATCH 1/9] perf, tools: Add jsmn `jasmine' JSON parser

2014-05-13 Thread Namhyung Kim
Hi Andi, On Mon, 12 May 2014 15:51:06 -0700, Andi Kleen wrote: > From: Andi Kleen > > I need a JSON parser. This adds the simplest JSON > parser I could find -- Serge Zaitsev's jsmn `jasmine' -- > to the perf library. I merely converted it to (mostly) > Linux style and added support for non 0 ter

[PATCH] dma: pl330: Add support for DMA_PAUSE command

2014-05-13 Thread Tushar Behera
While playing back audio, pmc_dmaengine requests the DMA channel to stop DMA transmission through DMA_PAUSE command. Currently PL330 driver doesn't support DMA pause command, leaving the DMA state inconsistent when the system resumes. Instead, it would be better to terminate the DMA transfer durin

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi Javier, On May 13, 2014, at 10:51 AM, Javier Martinez Canillas wrote: > Hello Pantelis, > > On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou > wrote: >> Hi Javier, >> >> On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: >> >>> On Tue, May 13, 2014 at 4:22 PM, Matt Porter wrot

Re: [PATCH v3] gcov: add support for GCC 4.9

2014-05-13 Thread Andi Kleen
"Yuan Pengfei" writes: > This patch handles the gcov-related changes in GCC 4.9: > A new counter (time profile) is added. The total number is 9 now. > A new profile merge function __gcov_merge_time_profile is added. > See gcc/gcov-io.h and libgcc/libgcov-merge.c > For the first change, the la

Re: [ISSUE] sched/cgroup: Does cpu-cgroup still works fine nowadays?

2014-05-13 Thread Michael wang
On 05/13/2014 09:36 PM, Rik van Riel wrote: [snip] >> >> echo 2048 > /cgroup/c/cpu.shares >> >> Where [ABC].sh are spinners: > > I suspect the "are spinners" is key. > > Infinite loops can run all the time, while dbench spends a lot of > its time waiting for locks. That waiting may interfere with

[PATCH] ASoC: samsung: Add missing pm ops for Snow sound card driver

2014-05-13 Thread Tushar Behera
Adding missing pm ops so that audio playback works across suspend and resume cycle. Signed-off-by: Tushar Behera --- sound/soc/samsung/snow.c |1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c index 0fa89a4..014c177 100644 --- a/sound/soc/s

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Steven Rostedt
On Tue, 13 May 2014 19:55:11 -0700 Alexei Starovoitov wrote: > Tracing filters are parsing user supplied character string and constructing > a predicate tree. filter_match_preds() was used to walk nodes of the tree to > simulate matching of boolean expression. > I applied this on top of net-nex

[PATCH] mfd: ipaq-micro: Use devm_ioremap_resource()

2014-05-13 Thread Jingoo Han
Use devm_ioremap_resource() because devm_request_and_ioremap() is obsoleted by devm_ioremap_resource(). Signed-off-by: Jingoo Han --- drivers/mfd/ipaq-micro.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c in

Re: [ISSUE] sched/cgroup: Does cpu-cgroup still works fine nowadays?

2014-05-13 Thread Michael wang
On 05/13/2014 05:47 PM, Peter Zijlstra wrote: > On Tue, May 13, 2014 at 11:34:43AM +0800, Michael wang wrote: >> During our testing, we found that the cpu.shares doesn't work as >> expected, the testing is: >> > > /me zaps all the kvm nonsense as that's non reproducable and only serves > to annoy.

Re: [PATCHSET cgroup/for-3.16] cgroup: use css->refcnt for cgroup reference counting

2014-05-13 Thread Li Zefan
On 2014/5/10 5:13, Tejun Heo wrote: > Hello, > > Currently, cgroup and css (cgroup_subsys_state) are separately > reference counted. cgroup->refcnt is an atomic_t and css->refcnt is a > percpu_ref. css is becoming the primary structural block and used > widely in various operaitons. cgroup alre

Re: [ANNOUNCE] 3.14.3-rt5

2014-05-13 Thread Mike Galbraith
On Tue, 2014-05-13 at 17:40 +0200, Sebastian Andrzej Siewior wrote: > * Mike Galbraith | 2014-05-10 06:15:03 [+0200]: > > >On Fri, 2014-05-09 at 20:12 +0200, Sebastian Andrzej Siewior wrote: > > > >> Known issues: > >> > >> - bcache is disabled. > >> > >> - lazy preempt on x86_64 le

RE: [PATCH] ARM64: kernel: add compatable cpuinfo

2014-05-13 Thread Neil Zhang
> -Original Message- > From: Neil Zhang [mailto:zhan...@marvell.com] > Sent: 2014年5月14日 11:00 > To: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org > Cc: catalin.mari...@arm.com; will.dea...@arm.com; Neil Zhang > Subject: [PATCH] ARM64: kernel: add compatable cpuinfo >

[PATCH v2] ARM64: kernel: add compatible cpuinfo

2014-05-13 Thread Neil Zhang
Print the necessary features in order to be backwards compatible with ARMv7 and earlier version. Signed-off-by: Neil Zhang --- arch/arm64/kernel/setup.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 7ec7846..a09ecfe 100644

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Steven Rostedt
On Tue, 13 May 2014 19:55:11 -0700 Alexei Starovoitov wrote: > --- a/kernel/trace/Kconfig > +++ b/kernel/trace/Kconfig > @@ -79,6 +79,7 @@ config FTRACE_NMI_ENTER > default y > > config EVENT_TRACING > + depends on NET > select CONTEXT_SWITCH_TRACER > bool > This par

[RESEND PATCH V1] regulator: DA9211 : new regulator driver

2014-05-13 Thread James Ban
This is the driver for the Dialog DA9211 Multi-phase 12A DC-DC Buck Converter regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban --- Please ignore previous patch since it has a bug on two bucks configuration. This patch is relative to linux-next repository tag next

perfevents: irq loop stuck!

2014-05-13 Thread Vince Weaver
I've gotten the following warning a few times now with the perf_fuzzer. In each case it looks like the culprit might be the fixed-counter 0 value being fffe I have a somewhat repeatable trace and it looks like the problem event is: pe[32].type=PERF_TYPE_HARDWARE; pe[3

[PATCH] ARM64: kernel: add compatable cpuinfo

2014-05-13 Thread Neil Zhang
Print the necessary features in order to be backwards compatable with ARMv7 and earlier version. Signed-off-by: Neil Zhang --- arch/arm64/kernel/setup.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 7ec7846..a09ecfe 100644

[PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Alexei Starovoitov
Tracing filters are parsing user supplied character string and constructing a predicate tree. filter_match_preds() was used to walk nodes of the tree to simulate matching of boolean expression. BPF program obsoletes predicate tree walker. It is generated on the fly out of predicate tree. Tested w

Re: Does perf support different length of user-space hw_breakpoint?

2014-05-13 Thread xiakaixu
于 2014/5/13 23:06, Frederic Weisbecker 写道: > On Tue, May 13, 2014 at 02:00:46PM +0200, Jiri Olsa wrote: >> On Mon, May 12, 2014 at 03:52:54PM +0800, xiakaixu wrote: >>> Hi guys, >>> >>> Does perf support different length of user-space hw_breakpoint, >>> such as HW_BREAKPOINT_LEN_1/HW_BREAKPOINT_LE

Re: [PATCH 1/9] cgroup: use restart_syscall() for mount retries

2014-05-13 Thread Li Zefan
On 2014/5/10 5:13, Tejun Heo wrote: > cgroup_mount() uses dumb delay-and-retry logic to wait for cgroup_root > which is being destroyed. The retry currently loops inside > cgroup_mount() proper. This patch makes it return with > restart_syscall() instead so that retry travels out to userland > bo

Re: [Patch v4 5/5] mcpm: exynos: populate suspend and powered_up callbacks

2014-05-13 Thread Chander Kashyap
Hi Lorenzo, On 13 May 2014 22:44, Lorenzo Pieralisi wrote: > On Tue, May 13, 2014 at 12:43:31PM +0100, Chander Kashyap wrote: > > [...] > >> >> +static void exynos_suspend(u64 residency) >> >> +{ >> >> + unsigned int mpidr, cpunr; >> >> + >> >> + mpidr = read_cpuid_mpidr(); >> >> + cp

Filesystem lockup with CONFIG_PREEMPT_RT

2014-05-13 Thread Austin Schuh
Hi, I am observing a filesystem lockup with XFS on a CONFIG_PREEMPT_RT patched kernel. I have currently only triggered it using dpkg. Dave Chinner on the XFS mailing list suggested that it was a rt-kernel workqueue issue as opposed to a XFS problem after looking at the kernel messages. $ uname

RE: [PATCH v4] ARM: perf: save/restore pmu registers in pm notifier

2014-05-13 Thread Neil Zhang
> -Original Message- > From: Will Deacon [mailto:will.dea...@arm.com] > Sent: 2014年5月14日 2:45 > To: Neil Zhang > Cc: Sudeep Holla; 'li...@arm.linux.org.uk'; > 'linux-arm-ker...@lists.infradead.org'; 'linux-kernel@vger.kernel.org'; > 'devicet...@vger.kernel.org' > Subject: Re: [PATCH v4] ARM

Re: [PATCH 00/34] perf and kconfig / kbuild

2014-05-13 Thread David Ahern
On 5/13/14, 4:02 PM, Alexis Berlemont wrote: Hello, A few months ago, I tried to make a proposal to introduce Kconfig in perf's generation procedure. (cf. https://lkml.org/lkml/2013/12/20/511) I started from David Ahern's work; I was not aware that Jiri Olsa pushed further the idea and proposed

HID Sensor support for True/Magnetic North usage attributes

2014-05-13 Thread Reyad Attiyat
Dear IIO/HID maintainers, I have a device, Surface Pro, that has the hid-sensor-hub and many sensors attached. With the help of Srinivas I was able to get them all working except for the magnometer. It uses the hid-magn-3d driver as it should but it does not contain an axis (X, Y, Z) usage attribu

Re: [RFC][PATCH 2/2] ARM: ioremap: Add IO mapping space reused support.

2014-05-13 Thread Richard Lee
On Tue, May 13, 2014 at 4:43 PM, Arnd Bergmann wrote: > On Tuesday 13 May 2014 09:45:08 Richard Lee wrote: >> > On Mon, May 12, 2014 at 3:51 PM, Arnd Bergmann wrote: >> > On Monday 12 May 2014 10:19:55 Richard Lee wrote: >> >> For the IO mapping, for the same physical address space maybe >> >> ma

Re: [PATCH] pinctrl: add params in disable_setting to differ difference usage

2014-05-13 Thread FanWu
On 05/14/2014 09:54 AM, f...@marvell.com wrote: From: Fan Wu The patch added params in disable_setting to differ the two possible usage, 1.Only want to disable the pin setting in SW aspect, param can be set to "0" 2.Want to disable the pin setting in both HW and SW aspect, param can be set to

Re: [PATCH] gpio: make of_get_named_gpiod_flags() private

2014-05-13 Thread Alexandre Courbot
On Tue, May 13, 2014 at 10:23 PM, Alexandre Courbot wrote: > On Tue, May 13, 2014 at 10:17 PM, Linus Walleij > wrote: >> On Sun, May 4, 2014 at 5:45 AM, Alexandre Courbot >> wrote: >> >>> of_get_named_gpiod_flags() is visible and directly usable by GPIO >>> consumers, but it really should not a

[PATCH v2] ARM: tegra: enable joystick in tegra_defconfig

2014-05-13 Thread Alexandre Courbot
NVIDIA SHIELD embeds a USB joystick device. Enable the corresponding support in tegra_defconfig. Signed-off-by: Alexandre Courbot --- Changes since v1: - Have support built-in instead of as a module - Fixed wording in commit message arch/arm/configs/tegra_defconfig | 1 + 1 file changed, 1 inse

Re: [PATCH 3.12 000/182] 3.12.20-stable review

2014-05-13 Thread Shuah Khan
On 05/13/2014 03:26 AM, Jiri Slaby wrote: This is the start of the stable review cycle for the 3.12.20 release. There are 182 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by

[PATCH] pinctrl: add params in disable_setting for different usage

2014-05-13 Thread fwu
From: Fan Wu The patch added params in disable_setting to differ the two possible usage, 1.Only want to disable the pin setting in SW aspect, param can be set to "0" 2.Want to disable the pin setting in both HW and SW aspect, param can be set to "1"; The reason why to do this is that: To avoid

Re: [PATCH] ARM: tegra: enable console framebuffer rotation

2014-05-13 Thread Alexandre Courbot
On 05/14/2014 05:16 AM, Andreas Färber wrote: Am 09.05.2014 17:24, schrieb Stephen Warren: On 05/09/2014 08:20 AM, Andreas Färber wrote: Am 08.05.2014 01:40, schrieb Alex Courbot: On 05/08/2014 12:57 AM, Stephen Warren wrote: On 05/06/2014 09:18 PM, Alexandre Courbot wrote: Console rotation

Re: [PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
On Wed, May 14, 2014 at 4:17 AM, Helge Deller wrote: > Hi Ley, > > On 05/13/2014 11:06 AM, Ley Foon Tan wrote: >> Override time_t and clock_t in include/uapi/asm-generic. >> >> Signed-off-by: Ley Foon Tan >> --- >> arch/parisc/include/uapi/asm/posix_types.h | 8 >> 1 file changed, 8 ins

Re: [PATCH 04/25] avr32: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
On Wed, May 14, 2014 at 4:19 AM, Hans-Christian Egtvedt wrote: > Around Tue 13 May 2014 17:02:49 +0800 or thereabout, Ley Foon Tan wrote: >> Override time_t and clock_t in include/uapi/asm-generic. >> >> Signed-off-by: Ley Foon Tan > > Acked-by: Hans-Christian Egtvedt > > > Quickly looked over

Re: [PATCH] HID: hid-sensor-hub: Fix lockdep warning for dynamic callback locks.

2014-05-13 Thread Reyad Attiyat
Here is a sample of the kernel lockdep warning I got after turingon dynamic debugging: https://bugzilla.kernel.org/show_bug.cgi?id=73321#c3 On Tue, May 13, 2014 at 8:03 PM, Reyad Attiyat wrote: > Changes all dyn_callback_lock spinlocks to spinlocks that disable > interrupts. The dynamic callbac

[PATCH] HID: hid-sensor-hub: Add Microsoft Surface Pro 2 HID ID and set report quirk

2014-05-13 Thread Reyad Attiyat
--- drivers/hid/hid-ids.h| 3 +++ drivers/hid/hid-sensor-hub.c | 9 + 2 files changed, 12 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 34bb220..18e2099 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -633,6 +633,9 @@ #define USB

[ANN] Squashfs tools 4.3 released

2014-05-13 Thread Phillip Lougher
Hi, I'm pleased to announce the release of Squashfs tools 4.3. This is the first release in over 3 years, and there are substantial improvements to stability, new compression options and compressors, speed optimisations, new options for Mksquashfs/Unsquashfs, and fixes for CVE-2012-4024 and CVE-2

Re: [E1000-devel] [PATCH] e1000: remove the check: skb->len<=0

2014-05-13 Thread 徐永健
The check is not right, it should be "(int)(skb->len) <= 0", or we just remove this check if "skb->len will never be negative or 0". 2014-05-13 22:57 GMT+08:00 Ronciak, John : >> -Original Message- >> From: xuyongjia...@gmail.com [mailto:xuyongjia...@gmail.com] >> Sent: Monday, May 12, 201

  1   2   3   4   5   6   7   8   9   10   >