Re: [PATCH 01/10] perf,x86: Fix event/group validation

2015-05-21 Thread Ingo Molnar
* Stephane Eranian wrote: > On Thu, May 21, 2015 at 7:03 AM, Peter Zijlstra wrote: > > On Thu, 2015-05-21 at 06:36 -0700, Stephane Eranian wrote: > >> On Thu, May 21, 2015 at 6:29 AM, Peter Zijlstra > >> wrote: > >> > On Thu, 2015-05-21 at 06:27 -0700, Stephane Eranian wrote: > >> >> Or are y

Re: [PATCH 1/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver. - Renamed company name. - Removed cm32181_reg. - Removed white space. - Removed unused include files. - Updated

2015-05-21 Thread Daniel Baluta
On Fri, May 22, 2015 at 4:56 AM, Greg KH wrote: > On Thu, May 21, 2015 at 05:30:40PM -0700, Kevin Tsai wrote: >> Signed-off-by: Kevin Tsai >> --- > > Your whole changelog ended up in the Subject line :( Hi Kevin, Few comments: 1) Please also add a cover letter. Use --cover-letter parameter of

Re: [PATCH v9 1/10] x86, mm, pat: Set WT to PA7 slot of PAT MSR

2015-05-21 Thread Thomas Gleixner
On Wed, 13 May 2015, Toshi Kani wrote: > This patch sets WT to the PA7 slot in the PAT MSR when the processor > is not affected by the PAT errata. The PA7 slot is chosen to improve > robustness in the presence of errata that might cause the high PAT bit > to be ignored. This way a buggy PA7 slot

Re: [RFC v1] tree-wide: remove "select FW_LOADER" uses

2015-05-21 Thread Borislav Petkov
On Fri, May 22, 2015 at 12:21:29AM +0200, Borislav Petkov wrote: > On Thu, May 21, 2015 at 01:45:49PM -0700, Luis R. Rodriguez wrote: > > The above history is just *one* set of reasons to remove all kernel > > "select FW_LOADER" entries. Another simple reason is that since > > FW_LOADER can only be

Re: [PATCH v2] x86: Stop relying on magic jmp behavior for early_idt_handlers

2015-05-21 Thread Andy Lutomirski
On Thu, May 21, 2015 at 11:22 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> --- a/arch/x86/include/asm/segment.h >> +++ b/arch/x86/include/asm/segment.h >> @@ -231,9 +231,17 @@ >> #define TLS_SIZE (GDT_ENTRY_TLS_ENTRIES* 8) >> >> #ifdef __KERNEL__ >> + >> +/* >> +

Re: [PATCH v2 1/1] usb: ulpi: ulpi_init should be executed in subsys_initcall

2015-05-21 Thread Lu, Baolu
On 05/22/2015 11:11 AM, David Cohen wrote: On Thu, May 21, 2015 at 08:09:54PM -0700, David Cohen wrote: Hi, On Fri, May 22, 2015 at 10:07:05AM +0800, Lu Baolu wrote: Many drivers and modules depend on ULPI bus registeration to register ULPI interfaces and drivers. It's more appropriate to re

Re: [PATCH v2] drivers: of/base: move of_init to driver_init

2015-05-21 Thread Robert Schwebel
Hi Sudeep, On Thu, May 14, 2015 at 03:28:24PM +0100, Sudeep Holla wrote: > Commit 5590f3196b29 ("drivers/core/of: Add symlink to device-tree from > devices with an OF node") adds the symlink `of_node` for each device > pointing to it's device tree node while creating/initialising it. > > However

Re: Compilers and RCU readers: Once more unto the breach!

2015-05-21 Thread Ingo Molnar
* Linus Torvalds wrote: > (a) the "official" rules are completely pointless, and make sense > only because the standard is written for some random "abstract > machine" that doesn't actually exist. Presuming the intent of the abstract machine specification is to avoid being seen as biased to

I hope this Email is Still in Use

2015-05-21 Thread D.Y CHAN
I am seeking your permission to discuss a confidential/profitable deal worth over 48M Dollar with you for consideration. Thanks in adv. D.Y. Chan This email has been protected by YAC (Yet Another Cleaner) http://www.yac.mx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH] pinctrl: use "const struct ..." rather than "struct ... const"

2015-05-21 Thread Masahiro Yamada
Only this member, pins, is defined as "struct ... const *", but the others in this struct, pinlops, pmxops, confops, etc. are defined as "const struct ... *". Swap the "struct pinctrl_pin_desc" and "const" for consistency. Signed-off-by: Masahiro Yamada --- include/linux/pinctrl/pinctrl.h | 2

Re: [PATCH 1/3] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-05-21 Thread Shubhrajyoti Datta
Hi Moritz, Overall looks good some nitpicks below. On Fri, May 22, 2015 at 5:07 AM, Moritz Fischer wrote: > The Xilinx LogiCORE IP mailbox is a FPGA core that allows for > interprocessor communication via AXI4 memory mapped / AXI4 stream > interfaces. > > It is single channel per core and allow

Re: [PATCH] mm: meminit: Finish initialisation of struct pages before basic setup

2015-05-21 Thread Daniel J Blueman
On Thu, May 14, 2015 at 6:03 PM, Daniel J Blueman wrote: On Thu, May 14, 2015 at 12:31 AM, Mel Gorman wrote: On Wed, May 13, 2015 at 10:53:33AM -0500, nzimmer wrote: I am just noticed a hang on my largest box. I can only reproduce with large core counts, if I turn down the number of cpus i

Re: [PATCH v2 5/7] Watchdog: introduce "pretimeout" into framework

2015-05-21 Thread Timo Kokkonen
On 21.05.2015 11:32, fu@linaro.org wrote: From: Fu Wei Also update Documentation/watchdog/watchdog-kernel-api.txt to introduce: (1)the new elements in the watchdog_device and watchdog_ops struct; (2)the new API "watchdog_init_timeouts". Reasons: (1)kernel already has two watchdog drivers a

Re: [RFC v3 PATCH 04/10] mm/hugetlb: expose hugetlb fault mutex for use by fallocate

2015-05-21 Thread Naoya Horiguchi
On Thu, May 21, 2015 at 08:47:38AM -0700, Mike Kravetz wrote: > hugetlb page faults are currently synchronized by the table of > mutexes (htlb_fault_mutex_table). fallocate code will need to > synchronize with the page fault code when it allocates or > deletes pages. Expose interfaces so that fal

[PATCH v1] dmi: Make serial and uuid readable for non-root users

2015-05-21 Thread Niklaus
Hi, This makes the product_serial ,product_uuid,board_serial and chassis_serial fields world readable instead of only readable for root. Regards, Navin diff --git a/drivers/firmware/dmi-id.c b/drivers/firmware/dmi-id.c index 94a58a0..dcbde46 100644 --- a/drivers/firmware/dmi-id.c +++ b/drivers

Re: [PATCH] perf-sched: add option to merge like comms to lat output

2015-05-21 Thread Ingo Molnar
* Josef Bacik wrote: > Sometimes when debugging large multi-threaded applications it is helpful to > collate all of the latency numbers into one bulk record to get an idea of what > is going on. This patch does this by merging any entries that belong to the > same comm into one entry and then s

Re: [RFC v3 PATCH 03/10] mm/hugetlb: add region_del() to delete a specific range of entries

2015-05-21 Thread Naoya Horiguchi
On Thu, May 21, 2015 at 08:47:37AM -0700, Mike Kravetz wrote: > fallocate hole punch will want to remove a specific range of pages. > The existing region_truncate() routine deletes all region/reserve > map entries after a specified offset. region_del() will provide > this same functionality if the

Re: [PATCH-v2 0/9] target: se_node_acl + se_lun RCU conversions

2015-05-21 Thread Hannes Reinecke
On 05/22/2015 08:11 AM, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > Hi all, > > Here is -v2 series for converting LIO target se_node_acl + se_lun > mapping tables from fixed size arrays to dynamic RCU hlist_heads. > > This turns fast-path I/O into a lock-less RCU reader using ex

Re: [PATCH v2] x86: Stop relying on magic jmp behavior for early_idt_handlers

2015-05-21 Thread Ingo Molnar
* Andy Lutomirski wrote: > --- a/arch/x86/include/asm/segment.h > +++ b/arch/x86/include/asm/segment.h > @@ -231,9 +231,17 @@ > #define TLS_SIZE (GDT_ENTRY_TLS_ENTRIES* 8) > > #ifdef __KERNEL__ > + > +/* > + * early_idt_handlers is an array of entry points. For simplicit

[PATCH] pinctrl: remove useless const qualifier

2015-05-21 Thread Masahiro Yamada
This "const" claims the get_function_groups callback never changes the given num_groups pointer. It is always true in C language, so not worth mentioning. Signed-off-by: Masahiro Yamada --- include/linux/pinctrl/pinmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inclu

[PATCH-v2 2/9] target/pr: Use atomic bitop for se_dev_entry->pr_reg reservation check

2015-05-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts the core_scsi3_pr_seq_non_holder() check for non reservation holding registrations to use an atomic bitop. It also includes associated set_bit() in __core_scsi3_add_registration() and clear_bit() __core_scsi3_free_registration() for the updater path.

[PATCH-v2 1/9] target: Convert se_node_acl->device_list[] to RCU hlist

2015-05-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts se_node_acl->device_list[] table for mappedluns to modern RCU hlist_head usage in order to support an arbitrary number of node_acl lun mappings. It converts transport_lookup_*_lun() fast-path code to use RCU read path primitives when looking up se_dev

[PATCH-v2 5/9] target: Convert se_portal_group->tpg_lun_list[] to RCU hlist

2015-05-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts the fixed size se_portal_group->tpg_lun_list[] to use modern RCU with hlist_head in order to support an arbitary number of se_lun ports per target endpoint. It includes dropping core_tpg_alloc_lun() from core_dev_add_lun(), and calling it directly fro

[PATCH-v2 6/9] target: Convert se_tpg->acl_node_lock to ->acl_node_mutex

2015-05-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts se_tpg->acl_node_lock to struct mutex, so that ->acl_node_acl walkers in core_clear_lun_from_tpg() can block when calling core_disable_device_list_for_node(). It also updates core_dev_add_lun() to hold ->acl_node_mutex when calling core_tpg_add_node_t

[PATCH-v2 8/9] target: Drop unused se_lun->lun_acl_list

2015-05-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Cc: Hannes Reinecke Cc: Christoph Hellwig Cc: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- drivers/target/target_core_device.c | 15 --- drivers/target/target_core_tpg.c| 4 include/target/target_core_base.h | 3 --- 3 files changed, 2

[PATCH-v2 7/9] target: Convert core_tpg_deregister to use list splice

2015-05-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts core_tpg_deregister() to perform a list splice for any remaining dynamically generated se_node_acls attached to se_tpg, before calling kfree(nacl) to free memory. Cc: Hannes Reinecke Cc: Christoph Hellwig Cc: Sagi Grimberg Signed-off-by: Nicholas B

[PATCH-v2 4/9] target/pr: cleanup core_scsi3_pr_seq_non_holder

2015-05-21 Thread Nicholas A. Bellinger
From: Christoph Hellwig Clean up the mess of registered variables, and pass the isid mismatch flag explicitly instead of overloading the registration type. Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- drivers/target/target_core_pr.c | 43 -

[PATCH-v2 9/9] target: Only reset specific dynamic entries during lun_group creation

2015-05-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch changes core_tpg_add_node_to_devs() to avoid unnecessarly resetting every se_dev_entry in se_node_acl->tpg_lun_hlist when the operation is driven by an explicit configfs se_lun->lun_group creation via core_dev_add_lun() to only update a single se_lun. Otherwis

[PATCH-v2 0/9] target: se_node_acl + se_lun RCU conversions

2015-05-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi all, Here is -v2 series for converting LIO target se_node_acl + se_lun mapping tables from fixed size arrays to dynamic RCU hlist_heads. This turns fast-path I/O into a lock-less RCU reader using existing percpu based se_lun->lun_ref logic, and converts the RCU updat

[PATCH-v2 3/9] target/pr: Change alloc_registration to avoid pr_reg_tg_pt_lun

2015-05-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch changes __core_scsi3_do_alloc_registration() code to drop pr_reg->pr_reg_tg_pt_lun pointer usage in favor of a new pr_reg RPTI + existing target_lun. It also includes changes to REGISTER, REGISTER_AND_MOVE and APTPL feature bit codepaths. Cc: Hannes Reinecke

Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-05-21 Thread Daniel Kurtz
Hi James, On Fri, May 22, 2015 at 1:40 PM, James Liao wrote: > Hi Daniel, > > On Fri, 2015-05-22 at 12:19 +0800, Daniel Kurtz wrote: >> On Fri, May 22, 2015 at 10:41 AM, James Liao >> wrote: >> > >> > Sascha is right. I had confirmed with our designer that MFG on MT8173 >> > uses clk26m to chec

[PATCH] livepatch: Let compiler put module initialized function to section ".init.text"

2015-05-21 Thread Minfei Huang
From: Minfei Huang Usually we prefer to let compiler put the module initialized function to section ".init.text". Thus this text in memory will be freed in future. Once we add the "__init" preceding function name, we can use following command to find it in specfied section. $ objdump -t -j .i

Re: [PATCH 4/5] clk: mediatek: Add subsystem clocks of MT8173

2015-05-21 Thread James Liao
Hi Daniel, On Fri, 2015-05-22 at 12:22 +0800, Daniel Kurtz wrote: > On Thu, May 21, 2015 at 3:12 PM, James Liao wrote: > > Most multimedia subsystem clocks will be accessed by multiple > > drivers, so it's a better way to manage these clocks in CCF. > > This patch adds clock support for MM, IMG,

Re: [PATCH] hugetlb: Do not account hugetlb pages as NR_FILE_PAGES

2015-05-21 Thread Michal Hocko
On Thu 21-05-15 09:18:59, Mike Kravetz wrote: > On 05/21/2015 06:27 AM, Michal Hocko wrote: > >hugetlb pages uses add_to_page_cache to track shared mappings. This > >is OK from the data structure point of view but it is less so from the > >NR_FILE_PAGES accounting: > > - huge pages are accounte

[PATCH 0/7] scripts/gdb: Updates for 4.2

2015-05-21 Thread Jan Kiszka
Hi Andrew, please include the following enhancements, fixes and cleanups for the gdb scripts in your queue. Most work was done by Thiébaud, adding a list checker and basic process listing. Jan CC: =?UTF-8?q?Thi=C3=A9baud=20Weksteen?= Jan Kiszka (2): scripts/gdb: Also allow list_head pointer

[PATCH 7/7] scripts/gdb: Remove useless global instruction

2015-05-21 Thread Jan Kiszka
From: Thiébaud Weksteen Signed-off-by: Thiébaud Weksteen Signed-off-by: Jan Kiszka --- scripts/gdb/linux/tasks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/gdb/linux/tasks.py b/scripts/gdb/linux/tasks.py index 3191f47..862a4ae 100644 --- a/scripts/gdb/linux/tasks.py +++ b/sc

[PATCH 1/7] scripts/gdb: Add command to check list consistency

2015-05-21 Thread Jan Kiszka
From: Thiébaud Weksteen Add a gdb script to verify the consistency of lists. Signed-off-by: Thiébaud Weksteen Signed-off-by: Jan Kiszka --- scripts/gdb/linux/lists.py | 89 ++ scripts/gdb/vmlinux-gdb.py | 1 + 2 files changed, 90 insertions(+) cre

[PATCH 6/7] scripts/gdb: Add ps command

2015-05-21 Thread Jan Kiszka
From: Thiébaud Weksteen Signed-off-by: Thiébaud Weksteen Signed-off-by: Jan Kiszka --- scripts/gdb/linux/tasks.py | 16 1 file changed, 16 insertions(+) diff --git a/scripts/gdb/linux/tasks.py b/scripts/gdb/linux/tasks.py index 89d38e1..3191f47 100644 --- a/scripts/gdb/linux/

[PATCH 2/7] scripts/gdb: Also allow list_head pointer as lx-list-check paramter

2015-05-21 Thread Jan Kiszka
This makes the usage more flexible. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/lists.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/gdb/linux/lists.py b/scripts/gdb/linux/lists.py index 2a94b54..71fba6a 100644 --- a/scripts/gdb/linux/lists.py +++ b/scri

[PATCH 4/7] scripts/gdb: Fix typo in exception name

2015-05-21 Thread Jan Kiszka
From: Thiébaud Weksteen Signed-off-by: Thiébaud Weksteen Signed-off-by: Jan Kiszka --- scripts/gdb/linux/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gdb/linux/utils.py b/scripts/gdb/linux/utils.py index 128c306..d7ff3a3 100644 --- a/scripts/gdb/linux/ut

[PATCH 3/7] scripts/gdb: Enable completion for lx-list-check parameter

2015-05-21 Thread Jan Kiszka
Signed-off-by: Jan Kiszka --- scripts/gdb/linux/lists.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gdb/linux/lists.py b/scripts/gdb/linux/lists.py index 71fba6a..3a3775b 100644 --- a/scripts/gdb/linux/lists.py +++ b/scripts/gdb/linux/lists.py @@ -80,7 +80,8 @@

[PATCH 5/7] scripts/gdb: Fix PEP8 compliance

2015-05-21 Thread Jan Kiszka
From: Thiébaud Weksteen Signed-off-by: Thiébaud Weksteen Signed-off-by: Jan Kiszka --- scripts/gdb/linux/dmesg.py | 1 - scripts/gdb/linux/symbols.py | 9 - scripts/gdb/linux/tasks.py | 2 ++ scripts/gdb/linux/utils.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) dif

Re: [v2 2/5] arm64: kdump: implement machine_crash_shutdown()

2015-05-21 Thread AKASHI Takahiro
Mark, On 05/11/2015 04:10 PM, AKASHI Takahiro wrote: On 04/24/2015 07:39 PM, Mark Rutland wrote: On Fri, Apr 24, 2015 at 08:53:05AM +0100, AKASHI Takahiro wrote: kdump calls machine_crash_shutdown() to shut down non-boot cpus and save per-cpu general-purpose registers before restarting the cra

Re: [PATCH 3/3] MAINTAINERS: Add entry for xilinx mailbox driver.

2015-05-21 Thread Michal Simek
On 05/22/2015 01:37 AM, Moritz Fischer wrote: > Signed-off-by: Moritz Fischer > --- > MAINTAINERS | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index f8e0afb..f1f0d10 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -10986,6 +10986,13 @@ M: John

Re: [PATCH 2/3] dts: Adding docs for Xilinx LogiCORE IP mailbox driver.

2015-05-21 Thread Michal Simek
On 05/22/2015 01:37 AM, Moritz Fischer wrote: > Signed-off-by: Moritz Fischer > --- > .../bindings/mailbox/xilinx-mailbox.txt | 40 > 1 file changed, 40 insertions(+) > IRC the rule was to send binding first and then the driver. > diff --git a/Documentation/devicet

Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-05-21 Thread James Liao
Hi Daniel, On Fri, 2015-05-22 at 12:19 +0800, Daniel Kurtz wrote: > On Fri, May 22, 2015 at 10:41 AM, James Liao > wrote: > > > > Sascha is right. I had confirmed with our designer that MFG on MT8173 > > uses clk26m to check state. I also tested MFG domain power on/off with > > CLK_TOP_MFG_SEL o

Re: [PATCH] scripts/gdb: fix lx-lsmod refcnt

2015-05-21 Thread Jan Kiszka
On 2015-05-20 16:42, Adrien Schildknecht wrote: > Commit 2f35c41f58a9 ("module: Replace module_ref with atomic_t refcnt") > changes the way refcnt is handled but did not update the gdb script to use > the new variable. > > Since refcnt is not per-cpu anymore, we can directly read its value. > > S

[GIT PULL REQUEST] md fixes for 4.1-rc

2015-05-21 Thread NeilBrown
Hi Linus, please pull following bugfixes. I have a few more raid5 bugfixes pending, but I want to get a bit more review first. Thanks, NeilBrown The following changes since commit bb27051f9fd7643f05d8f0babce3337f0b9b3087: md/raid5: fix handling of degraded stripes in batches. (2015-05-08

Re: [PATCH v7 6/7] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-21 Thread Bintian
Hello Stephen, On 2015/5/22 2:00, Stephen Boyd wrote: On 05/20/15 20:57, Bintian wrote: + +static void __init hi6220_clk_sys_init(struct device_node *np) +{ +struct hisi_clock_data *clk_data; + +clk_data = hisi_clk_init(np, HI6220_SYS_NR_CLKS); +if (!clk_data) +return;

Re: [PATCH] ACPI / property: Define a symbol for PRP0001

2015-05-21 Thread Mika Westerberg
On Fri, May 22, 2015 at 04:24:34AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Use a #defined symbol ACPI_DT_NAMESPACE_HID instead of the PRP0001 > string. > > Signed-off-by: Rafael J. Wysocki Good idea! Acked-by: Mika Westerberg -- To unsubscribe from this list: send the l

Re: [char-misc-next 1/4] mei: export hbm features to debugfs under devstate

2015-05-21 Thread Greg KH
On Thu, May 21, 2015 at 01:35:48PM +0300, Tomas Winkler wrote: > Signed-off-by: Tomas Winkler Signed-off-by: Tomas Winkler -- 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.ke

[PATCH V6 1/3] mm/thp: Split out pmd collpase flush into a separate functions

2015-05-21 Thread Aneesh Kumar K.V
Architectures like ppc64 [1] need to do special things while clearing pmd before a collapse. For them this operation is largely different from a normal hugepage pte clear. Hence add a separate function to clear pmd before collapse. After this patch pmdp_* functions operate only on hugepage pte, and

[PATCH V6 3/3] mm: Clarify that the function operates on hugepage pte

2015-05-21 Thread Aneesh Kumar K.V
We have confusing functions to clear pmd, pmd_clear_* and pmd_clear. Add _huge_ to pmdp_clear functions so that we are clear that they operate on hugepage pte. We don't bother about other functions like pmdp_set_wrprotect, pmdp_clear_flush_young, because they operate on PTE bits and hence indicate

[PATCH V6 0/3] THP related code cleanup

2015-05-21 Thread Aneesh Kumar K.V
Changes from v5: * Fix build failure on x86 with thp enabled. * Tested on x86_64, ppc64. Aneesh Kumar K.V (3): mm/thp: Split out pmd collpase flush into a separate functions powerpc/mm: Use generic version of pmdp_clear_flush mm: Clarify that the function operates on hugepage pte arch/mips

[PATCH V6 2/3] powerpc/mm: Use generic version of pmdp_clear_flush

2015-05-21 Thread Aneesh Kumar K.V
Also move the pmd_trans_huge check to generic code. Acked-by: Kirill A. Shutemov Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/pgtable-ppc64.h | 4 arch/powerpc/mm/pgtable_64.c | 11 --- arch/s390/include/asm/pgtable.h | 8 include/asm

Re: [PATCH v2 5/7] Watchdog: introduce "pretimeout" into framework

2015-05-21 Thread Fu Wei
Hi Guenter, On 21 May 2015 at 23:32, Guenter Roeck wrote: > On Thu, May 21, 2015 at 04:32:34PM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> Also update Documentation/watchdog/watchdog-kernel-api.txt to >> introduce: >> (1)the new elements in the watchdog_device and watchdog_ops struct;

Re: [PATCH v4 1/2] serial_core: add pci uart early console support

2015-05-21 Thread Greg Kroah-Hartman
On Thu, May 21, 2015 at 11:00:28AM -0700, Bin Gao wrote: > On Wed, May 20, 2015 at 09:31:45PM -0700, Greg Kroah-Hartman wrote: > > What changed in this version? > > > > You can't just put "v4" without giving us some hint as to the > > differences here, sorry. > > I just resent [PATCH v4 1/2] with

Re: [PATCH] hugetlb: Do not account hugetlb pages as NR_FILE_PAGES

2015-05-21 Thread Naoya Horiguchi
On Thu, May 21, 2015 at 03:27:22PM +0200, Michal Hocko wrote: > hugetlb pages uses add_to_page_cache to track shared mappings. This > is OK from the data structure point of view but it is less so from the > NR_FILE_PAGES accounting: > - huge pages are accounted as 4k which is clearly wrong >

Re: [PATCH v2 0/7] Watchdog: introduce ARM SBSA watchdog driver

2015-05-21 Thread Fu Wei
Hi Suravee, Great thanks for your test, will add your "Tested-by:" in these patches, if I don't modify them in the next version On 22 May 2015 at 04:36, Suravee Suthikulpanit wrote: > For patch 1,4,5,6,and 7, I have tested this on AMD Seattle platform. > > Tested-by: Suravee Suthikulpanit > > T

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Julia Lawall
On Thu, 21 May 2015, Michael Shuey wrote: > That's a task (of many) I've been putting on the back burner until the code > is cleaner.  It's also a HUGE change, since there are debug macros > everywhere, and they all check a #define'd mask to see if they should fire, > and the behavior is likely go

[PATCH] staging: rtl8188eu: Remove redundant CONFIG_88EU_AP_MODE tests

2015-05-21 Thread Jakub Sitnicki
Remove #ifdef's enclosed by an #ifdef test for the same macro to improve readability. No code changes: md5, CONFIG_88EU_AP_MODE=y: b819a33f65133607ebc33b8999ee3a79 r8188eu.o.before b819a33f65133607ebc33b8999ee3a79 r8188eu.o.after md5, CONFIG_88EU_AP_MODE=n: 94c84035d59285408b86

Re: [PATCH v2 6/7] Watchdog: introduce ARM SBSA watchdog driver

2015-05-21 Thread Fu Wei
Hi Timur. On 22 May 2015 at 00:33, Timur Tabi wrote: > On 05/21/2015 11:12 AM, Fu Wei wrote: >>> >>> > >>> >Having said that, my personal preference would be for the counter >>> >and rate to be exported through the clock subsystem (ie with >>> >clk_get_rate). But that would still not provide the

Re

2015-05-21 Thread Mrs. Bozena
Dear Friend, You might be letter bite apprehensive because you do not know me, I am Mrs. Horniakova Bozena a bank officer with the international bank of Taipei (Taiwan) I need your partnership in reprofilling funds I will need your reply so that I can send you more details as soon as possib

Re: [PATCH trace-cmd V5 2/6] trace-cmd/listen: Introduce trace-msg protocol (protocol v2)

2015-05-21 Thread Masami Hiramatsu
Hi Steven, On 2015/05/20 12:12, Steven Rostedt wrote: > On Mon, 22 Dec 2014 12:47:50 -0500 > Masami Hiramatsu wrote: > >> Introduce new trace-msg protocol (protocol V2) for more >> flexible messaging. V1 protocol which is currently used >> by trace-cmd server and client, is based on a simple >>

Re: [PATCHv1] NVMe: nvme_queue made cache friendly.

2015-05-21 Thread Parav Pandit
On Fri, May 22, 2015 at 2:15 AM, J Freyensee wrote: > On Wed, 2015-05-20 at 16:43 -0400, Parav Pandit wrote: >> nvme_queue structure made 64B cache friendly so that majority of the >> data elements of the structure during IO and completion path can be >> found in typical single 64B cache line size

Re: [PATCH 1/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver.

2015-05-21 Thread Joe Perches
(meh, bad mousing sent the first reply too soon) It'd also be better if this series had a cover letter so that could be replied to and added as a merge header instead of having to ack/nack individual patches. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

Re: [PATCH 1/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver.

2015-05-21 Thread Joe Perches
On Thu, 2015-05-21 at 21:19 -0700, Kevin Tsai wrote: > - Renamed company name. > - Removed cm32181_reg. > - Removed white space. > - Removed unused include files. > - Updated macro definitions. > - Renamed cm32181_chip pointer to chip. Hi Kevin, Please don't use the same title for multiple patche

[PATCH 1/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver.

2015-05-21 Thread Kevin Tsai
- Renamed company name. - Removed cm32181_reg. - Removed white space. - Removed unused include files. - Updated macro definitions. - Renamed cm32181_chip pointer to chip. Signed-off-by: Kevin Tsai --- drivers/iio/light/Kconfig | 4 +- drivers/iio/light/cm32181.c | 126 +++

[PATCH 4/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver.

2015-05-21 Thread Kevin Tsai
- Replaced als_it_bits and als_it_value by cm32181_als_it_scale. Signed-off-by: Kevin Tsai --- drivers/iio/light/cm32181.c | 95 - 1 file changed, 76 insertions(+), 19 deletions(-) diff --git a/drivers/iio/light/cm32181.c b/drivers/iio/light/cm32181.c

[PATCH 6/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver.

2015-05-21 Thread Kevin Tsai
- Added Interrupt support. Signed-off-by: Kevin Tsai --- drivers/iio/light/cm32181.c | 156 +++- 1 file changed, 153 insertions(+), 3 deletions(-) diff --git a/drivers/iio/light/cm32181.c b/drivers/iio/light/cm32181.c index b7abd46..1ae32a0 100644 --- a/d

[PATCH 3/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver.

2015-05-21 Thread Kevin Tsai
- Added Power Management support. - Added driver remove routine. Signed-off-by: Kevin Tsai --- drivers/iio/light/cm32181.c | 44 1 file changed, 44 insertions(+) diff --git a/drivers/iio/light/cm32181.c b/drivers/iio/light/cm32181.c index 6b11145..9b

[PATCH 5/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver.

2015-05-21 Thread Kevin Tsai
- Added Device Tree support. Signed-off-by: Kevin Tsai --- .../devicetree/bindings/iio/light/cm32181.txt | 33 +++ MAINTAINERS| 12 ++-- drivers/iio/light/cm32181.c| 66 ++ 3 files changed, 70 insert

[PATCH 2/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver.

2015-05-21 Thread Kevin Tsai
- Added cm32181_als_info structure. Signed-off-by: Kevin Tsai --- drivers/iio/light/cm32181.c | 42 +- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/drivers/iio/light/cm32181.c b/drivers/iio/light/cm32181.c index 0491d73..6b11145 100644 --

[PATCH] Documentation/locking/rt-mutex-design.txt: correct rt-mutex.txt reference

2015-05-21 Thread Zhiqiang Zhang
rt-mutex.txt has been moved to Documentation/locking by 214e0aed639ef40987bf6159fad303171a6de31e in 3.18-rc1, so modify the reference in Documentation/locking/rt-mutex-design.txt. Signed-off-by: Zhiqiang Zhang --- Documentation/locking/rt-mutex-design.tx

Re: [PATCH 4/5] clk: mediatek: Add subsystem clocks of MT8173

2015-05-21 Thread Daniel Kurtz
Hi James, On Thu, May 21, 2015 at 3:12 PM, James Liao wrote: > Most multimedia subsystem clocks will be accessed by multiple > drivers, so it's a better way to manage these clocks in CCF. > This patch adds clock support for MM, IMG, VDEC, VENC and VENC_LT > subsystems. Is there a reason why this

Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-05-21 Thread Daniel Kurtz
On Fri, May 22, 2015 at 10:41 AM, James Liao wrote: > Hi Daniel, > > On Thu, 2015-05-21 at 19:49 +0200, Sascha Hauer wrote: >> On Thu, May 21, 2015 at 10:32:40PM +0800, Daniel Kurtz wrote: >> > > + scpsys: scpsys@10006000 { >> > > + compatible = "mediatek,mt8173

Re: [PATCH] NVMe: Avoid interrupt disable during queue init.

2015-05-21 Thread Parav Pandit
On Fri, May 22, 2015 at 1:04 AM, Keith Busch wrote: > On Thu, 21 May 2015, Parav Pandit wrote: >> >> Avoid diabling interrupt and holding q_lock for the queue >> which is just getting initialized. >> >> With this change, online_queues is also incremented without >> lock during queue setup stage. >

Crypto Fixes for 4.1

2015-05-21 Thread Herbert Xu
Hi Linus: This push fixes the following issues: * Crash in the newly added algif_aead interface when it tries to link SG lists. * ICV corruption in s390/ghash when the same tfm is used by more than one thread. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.

[PATCH] Documentation/pi-futex.txt: correct rt-mutex.txt reference

2015-05-21 Thread Zhiqiang Zhang
rt-mutex.txt has been moved to Documentation/locking by 214e0aed639ef40987bf6159fad303171a6de31e in 3.18-rc1, so modify the reference in Documentation/pi-futex.txt. Signed-off-by: Zhiqiang Zhang --- Documentation/pi-futex.txt | 2 +- 1 file changed, 1 in

RE: [PATCH 1/6] iio: light: Updated Vishay Capella cm32181 ambient light sensor driver. - Renamed company name. - Removed cm32181_reg. - Removed white space. - Removed unused include files. - Updated

2015-05-21 Thread Kevin Tsai
Sorry for the mistake. Let me resubmit with correct subject. Thanks. Kevin Tsai 05/21/15 -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, May 21, 2015 6:56 PM To: Kevin Tsai Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Jonatha

Re: [PATCH v5] ixgbe: Add module parameter to disable VLAN filter

2015-05-21 Thread David Miller
From: Hiroshi Shimamoto Date: Fri, 22 May 2015 00:54:31 + >> Subject: Re: [PATCH v5] ixgbe: Add module parameter to disable VLAN filter >> >> From: Hiroshi Shimamoto >> Date: Thu, 21 May 2015 13:10:49 + >> >> > diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c >> > b/drivers/

[git pull] drm fixes

2015-05-21 Thread Dave Airlie
Hi Linus, radeon has two displayport fixes, one for a regressions, i915 regression flicker fix needed to 4.0 can get fixed. a bunch of msm fixes and a bunch of exynos fixes, these two are probably a bit larger than I'd like, but most of them seems pretty good. Dave. The following changes sinc

Re: [EDT][PATCH] kernel/exit.c : Fix missing read_unlock

2015-05-21 Thread Maninder Singh
EP-F6AA0618C49C4AEDA73BFF1B39950BAB Hi Oleg, >> Hi, >> >> From: Maninder Singh >> >> Subject: [PATCH 1/1] kernel/exit.c : Fix missing task_unlock >> >> This patch adds missing read_unlock if do_wait_thread or ptrace_do_wait >> returns non zero. > >Confused... > >wait_consider_task() should drop

linux-next: build failure after merge of the device-mapper tree

2015-05-21 Thread Stephen Rothwell
guarantee not to rebase that part of his tree. Please clean this mess up. I have used the version of the device-mapper tree from next-20150521 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpnGf1oFLYM7.pgp Description: OpenPGP digital signature

Re: [PATCH net-next] bridge: allow setting hash_max + multicast_router if interface is down

2015-05-21 Thread Cong Wang
On Thu, May 21, 2015 at 8:17 PM, Herbert Xu wrote: > On Thu, May 21, 2015 at 08:11:32PM -0700, Cong Wang wrote: >> >> For me it looks like we do use p->rlist in BH context, but I could easily >> miss something here. > > Because the caller disables BH for us. > Right, I thought port attr setting

RE: [PATCH v1] power: max17042_battery: add HEALTH and TEMP_* properties support

2015-05-21 Thread Pallala, Ramakrishna
Hi Sebastian, Any feedback on this patch? > This patch adds the support for following battery properties to max17042 fuel > gauge driver. > > POWER_SUPPLY_PROP_TEMP_ALERT_MIN > POWER_SUPPLY_PROP_TEMP_ALERT_MAX > POWER_SUPPLY_PROP_TEMP_MIN > POWER_SUPPLY_PROP_TEMP_MAX > POWER_SUPPLY_PROP_HEALTH >

Re: [PATCH tip/core/rcu 7/9] arm64: Use common outgoing-CPU-notification code

2015-05-21 Thread Paul E. McKenney
On Thu, May 21, 2015 at 02:25:57PM +0100, Catalin Marinas wrote: > On Thu, May 21, 2015 at 05:48:33AM -0700, Paul E. McKenney wrote: > > On Thu, May 21, 2015 at 09:58:06AM +0100, Will Deacon wrote: > > > On Tue, May 12, 2015 at 10:50:05PM +0100, Paul E. McKenney wrote: > > > > From: "Paul E. McKenn

RE: [PATCH v1] power: axp288_charger: axp288 charger driver

2015-05-21 Thread Pallala, Ramakrishna
Hi Sebastian, Any feedback on this patch? > This patch adds new power supply charger driver support for X-Power AXP288 > PMIC integrated charger. > > This driver interfaces with the axp20x mfd driver as a cell and listens to > extcon > cable events for setting up charging. > > Signed-off-by: R

Re: [EDT][PATCH 1/1] dma/pl330.c : Initialize pl330 pointer after NULL check of pch pointer

2015-05-21 Thread Maninder Singh
EP-AA9D1F29B02341529D96C06444D8471D Hi Vinod >On Tue, May 19, 2015 at 05:00:27AM +, Maninder Singh wrote: >> EP-AA9D1F29B02341529D96C06444D8471D >Whats this, please sned patch ina proper format, git format-patch is your >friend, use it > This is auto generated no. from editor, so please igno

Re: [PATCH net-next] bridge: allow setting hash_max + multicast_router if interface is down

2015-05-21 Thread Herbert Xu
On Thu, May 21, 2015 at 08:11:32PM -0700, Cong Wang wrote: > > For me it looks like we do use p->rlist in BH context, but I could easily > miss something here. Because the caller disables BH for us. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gon

Re: [PATCH v2 3/6] iommu: add ARM short descriptor page table allocator.

2015-05-21 Thread Yong Wu
Hi Robin, Thanks very much for so detail suggestion. please also help check my comment, the others i will change in next time. On Fri, 2015-05-15 at 16:30 +0100, Robin Murphy wrote: > Oops, seems I'm rather behind on things - I started this review on the > RFC, but I'll finish it here... >

Re: [RESEND][PATCH] Bluetooth: Make request workqueue freezable

2015-05-21 Thread Marcel Holtmann
Hi Laura, > Then avoiding the failed firmware is no solution, indeed. > If it's a new probe, it should be never executed during resume. Can you expand this comment? What's wrong with probing during resume? The USB stack does carry out probes during resume under certa

Re: [PATCH net-next] bridge: allow setting hash_max + multicast_router if interface is down

2015-05-21 Thread Herbert Xu
On Fri, May 22, 2015 at 02:56:01AM +0200, Linus Lüssing wrote: > Network managers like netifd (used in OpenWRT for instance) try to > configure interface options after creation but before setting the > interface up. > > Unfortunately the sysfs / bridge currently only allows to configure the > hash

Re: [PATCH net-next] bridge: allow setting hash_max + multicast_router if interface is down

2015-05-21 Thread Cong Wang
On Thu, May 21, 2015 at 5:56 PM, Linus Lüssing wrote: > diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c > index 2d69d5c..066199e 100644 > --- a/net/bridge/br_multicast.c > +++ b/net/bridge/br_multicast.c > @@ -1775,8 +1775,6 @@ int br_multicast_set_router(struct net_bridge *br,

Re: [PATCH v2 1/1] usb: ulpi: ulpi_init should be executed in subsys_initcall

2015-05-21 Thread David Cohen
On Thu, May 21, 2015 at 08:09:54PM -0700, David Cohen wrote: > Hi, > > On Fri, May 22, 2015 at 10:07:05AM +0800, Lu Baolu wrote: > > Many drivers and modules depend on ULPI bus registeration to > > register ULPI interfaces and drivers. It's more appropriate > > to register ULPI bus in subsys_initc

Re: [PATCH v2 1/1] usb: ulpi: ulpi_init should be executed in subsys_initcall

2015-05-21 Thread David Cohen
Hi, On Fri, May 22, 2015 at 10:07:05AM +0800, Lu Baolu wrote: > Many drivers and modules depend on ULPI bus registeration to > register ULPI interfaces and drivers. It's more appropriate > to register ULPI bus in subsys_initcall instead of module_init. > > Kernel panic has been reported with some

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Joe Perches
On Thu, 2015-05-21 at 17:47 -0400, Michael Shuey wrote: > Any suggestions on other checkpatch warnings? Most of what remains are > "don't introduce new typedefs" warnings - should these be removed as well, > or am I safe to leave these? I'm personally not a big fan of non-enum typedefs unless the

Re: [PATCH v4 10/13] staging: lustre: lnet: lnet: checkpatch.pl fixes

2015-05-21 Thread Joe Perches
On Thu, 2015-05-21 at 18:04 -0400, Michael Shuey wrote: > That's a task (of many) I've been putting on the back burner until the code > is cleaner. It's also a HUGE change, since there are debug macros > everywhere, and they all check a #define'd mask to see if they should fire, > and the behavior

Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-05-21 Thread James Liao
Hi Daniel, On Thu, 2015-05-21 at 19:49 +0200, Sascha Hauer wrote: > On Thu, May 21, 2015 at 10:32:40PM +0800, Daniel Kurtz wrote: > > > + scpsys: scpsys@10006000 { > > > + compatible = "mediatek,mt8173-scpsys"; > > > + #power-domain-cells =

Re: [PATCH] extcon: fix phy-tahvo driver for extcon API change

2015-05-21 Thread Chanwoo Choi
Dear Felipe, If you review this patch, I'll apply it on extcon tree. Best Regards, Chanwoo Choi On 05/21/2015 06:39 PM, Arnd Bergmann wrote: > Today, the API for the extcon drivers was changed, along > with all drivers in drivers/extcon. However, one extcon driver > instead lives in drivers/usb/

  1   2   3   4   5   6   7   8   9   10   >