Re: [PATCH V4 2/6] mm: mlock: Add new mlock, munlock, and munlockall system calls

2015-07-22 Thread Ralf Baechle
On Wed, Jul 22, 2015 at 10:15:01AM -0400, Eric B Munson wrote: > > > > You haven't wired it up properly on powerpc, but I haven't mentioned it > > because > > I'd rather we did it. > > > > cheers > > It looks like I will be spinning a V5, so I will drop all but the x86 > system calls additions

linux-next: Tree for Jul 23

2015-07-22 Thread Stephen Rothwell
Hi all, Changes since 20150722: The ext4 tree gained a build failure so I used the version from next-20150722. The next-next tree gained a build failure so I used the version from next-20150722. The wireless-drivers-next tree still had its build failure so I used the version from next-20150721

Re: [PATCH 2/2] mm: rename and move get/set_freepage_migratetype

2015-07-22 Thread Naoya Horiguchi
On Wed, Jul 22, 2015 at 02:29:08PM +0200, Vlastimil Babka wrote: > On 07/21/2015 02:53 PM, Vlastimil Babka wrote: > > The pair of get/set_freepage_migratetype() functions are used to cache > > pageblock migratetype for a page put on a pcplist, so that it does not have > > to be retrieved again when

Re: [PATCH v5 7/7] powerpc/powernv: nest pmu cpumask and cpu hotplug support

2015-07-22 Thread Daniel Axtens
On Thu, 2015-07-23 at 12:18 +0530, Madhavan Srinivasan wrote: > > On Wednesday 22 July 2015 10:33 AM, Daniel Axtens wrote: > >> +static void nest_change_cpu_context(int old_cpu, int new_cpu) > >> +{ > >> + int i; > >> + > >> + for (i = 0; per_nest_pmu_arr[i] != NULL; i++) > >> + perf_pm

[RESEND PATCH] cpupower: Do not change the frequency of offline cpu

2015-07-22 Thread Shilpasri G Bhat
Check if the cpu is online before changing the frequency/governor of the cpu. Reported-by: Pavaman Subramaniyam Signed-off-by: Shilpasri G Bhat Reviewed-by: Gautham R. Shenoy Acked-by: Thomas Renninger --- Included Reported-by tag tools/power/cpupower/utils/cpufreq-set.c | 4 1 file ch

Re: [PATCH v5 7/7] powerpc/powernv: nest pmu cpumask and cpu hotplug support

2015-07-22 Thread Madhavan Srinivasan
On Wednesday 22 July 2015 10:33 AM, Daniel Axtens wrote: >> +static void nest_change_cpu_context(int old_cpu, int new_cpu) >> +{ >> +int i; >> + >> +for (i = 0; per_nest_pmu_arr[i] != NULL; i++) >> +perf_pmu_migrate_context(&per_nest_pmu_arr[i]->pmu, >> +

Re: [PATCH 2/4] serial: 8250_dw: Add UPF_SKIP_TEST to flags depend on device tree

2015-07-22 Thread Frans Klaver
On Thu, Jul 23, 2015 at 8:21 AM, Noam Camus wrote: > From: Peter Hurley [mailto:pe...@hurleysoftware.com] > Sent: Wednesday, July 22, 2015 3:21 PM > >>>On 07/22/2015 05:34 AM, Noam Camus wrote: >>> From: Noam Camus >>> >>> Add support for OF option "no-loopback-test" > >> Changes to devicetree ne

Re: [Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-07-22 Thread Juergen Gross
On 07/23/2015 06:36 AM, Greg KH wrote: On Thu, Jul 23, 2015 at 06:04:39AM +0200, Juergen Gross wrote: On 07/23/2015 01:46 AM, Greg KH wrote: On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote: Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the

Re: [PATCH v9 3/7] staging: add bindings document for simple fpga bus

2015-07-22 Thread Pavel Machek
> +Optional properties: > +- fpga-mgr : should contain a phandle to a fpga manager. fpga->FPGA, globally. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsu

[PATCH] cxl: Add alternate MMIO error handling

2015-07-22 Thread Ian Munsie
From: Ian Munsie userspace programs using cxl currently have to use two strategies for dealing with MMIO errors simultaneously. They have to check every read for a return of all Fs in case the adapter has gone away and the kernel has not yet noticed, and they have to deal with SIGBUS in case the

Re: [PATCH v5 0/7]powerpc/powernv: Nest Instrumentation support

2015-07-22 Thread Madhavan Srinivasan
On Tuesday 21 July 2015 12:13 AM, Sukadev Bhattiprolu wrote: > Madhavan Srinivasan [ma...@linux.vnet.ibm.com] wrote: > | This patchset enables Nest Instrumentation support on powerpc. > | POWER8 has per-chip Nest Intrumentation which provides various > | per-chip metrics like memory, powerbus, Xl

Re: [PATCH v5 6/7] powerpc/powernv: generic nest pmu event functions

2015-07-22 Thread Madhavan Srinivasan
On Wednesday 22 July 2015 10:26 AM, Daniel Axtens wrote: >> +static void p8_nest_read_counter(struct perf_event *event) >> +{ >> +uint64_t *addr; >> +u64 data = 0; > You've got a u64 and a uint64_t, and then... >> + >> +addr = (u64 *)event->hw.event_base; > ... you cast to event_base

Re: [PATCH v9 2/7] staging: usage documentation for simple fpga bus

2015-07-22 Thread Pavel Machek
On Fri 2015-07-17 10:51:12, at...@opensource.altera.com wrote: > From: Alan Tull > > Add a document spelling out usage of the simple fpga bus. > +The DT overlay includes bindings (documented in bindings/simple-fpga-bus.txt) > +that specify: > + * Which fpga manager to use fpga->FPGA, globally.

Re: [PATCH] x86, pat: Add comments to cachemode translation tables

2015-07-22 Thread Jan Beulich
>>> On 22.07.15 at 20:06, wrote: > Add comments to the cachemode translation tables to clarify that > the default values are set as minimal supported mode, which are > necessary to handle WC and WT fallback to UC- when they are not > enabled. Wait - shouldn't WT fall back to UC (so to not be affe

Re: [PATCH 1/2] cpufreq: Rename two functions related to CPU offline

2015-07-22 Thread Viresh Kumar
On 23-07-15, 02:01, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since __cpufreq_remove_dev_prepare() and __cpufreq_remove_dev_finish() > are about CPU offline rather than about CPU removal, rename them to > cpufreq_offline_prepare() and cpufreq_offline_finish(), respectively. > > Also

Re: [PATCH] KVM: x86: rename quirk constants to KVM_X86_QUIRK_*

2015-07-22 Thread Xiao Guangrong
On 07/23/2015 02:26 PM, Paolo Bonzini wrote: Make them clearly architecture-dependent; the capability is valid for all architectures, but the argument is not. Reviewed-by: Xiao Guangrong Okay, i saw you already have adjusted and merged my patchset, thanks for your work. :) -- To unsubscrib

Re: [PATCH 2/2] cpufreq: Separate CPU device removal from CPU online

2015-07-22 Thread Viresh Kumar
On 23-07-15, 02:04, Rafael J. Wysocki wrote: > +static int cpufreq_add_dev(struct device *dev, struct subsys_interface *sif) > +{ > + unsigned int cpu = dev->id; > + struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); > + > + pr_debug("%s: adding CPU %u\n", __func__, cpu); >

Re: [PATCH v9 1/7] staging: usage documentation for FPGA manager core

2015-07-22 Thread Pavel Machek
On Fri 2015-07-17 10:51:11, at...@opensource.altera.com wrote: > From: Alan Tull > > Add a document on the new FPGA manager core. > > --- /dev/null > +++ b/drivers/staging/fpga/Documentation/fpga-mgr.txt > @@ -0,0 +1,117 @@ > + FPGA Manager Core > + > + Alan Tull 2015 > + > + Overview > + -

Re: [PATCH 1/3] KVM: MTRR: fix memory type handling if MTRR is completely disabled

2015-07-22 Thread Xiao Guangrong
On 07/23/2015 02:21 PM, Paolo Bonzini wrote: On 16/07/2015 06:10, Alex Williamson wrote: On Thu, 2015-07-16 at 03:25 +0800, Xiao Guangrong wrote: From: Xiao Guangrong Currently code uses default memory type if MTRR is fully disabled, fix it by using UC instead Signed-off-by: Xiao Guangro

Re: [PATCH v5 5/7] powerpc/powernv: add event attribute and group to nest pmu

2015-07-22 Thread Madhavan Srinivasan
On Wednesday 22 July 2015 10:14 AM, Daniel Axtens wrote: > On Thu, 2015-07-16 at 16:43 +0530, Madhavan Srinivasan wrote: >> Add code to create event/format attributes and attribute groups for >> each nest pmu. >> >> Cc: Michael Ellerman >> Cc: Benjamin Herrenschmidt >> Cc: Paul Mackerras >> Cc

[PATCH v2] ARM: configs: Add Freescale LS1021A defconfig

2015-07-22 Thread Alison Wang
Add Freescale LS1021A initial defconfig file. The LS1021A SoC is a dual-core Cortex-A7 based processor. LS1021A has some special configure options against common V7 SOCs, such as CONFIG_THUMB2_KERNEL, CONFIG_VMSPLIT_2G, CONFIG_VFP... Enable I2C, LPUART, eDMA, WDT, GIANFAR, Sound, DSPI at default.

[PATCH] KVM: x86: rename quirk constants to KVM_X86_QUIRK_*

2015-07-22 Thread Paolo Bonzini
Make them clearly architecture-dependent; the capability is valid for all architectures, but the argument is not. Signed-off-by: Paolo Bonzini --- arch/x86/include/uapi/asm/kvm.h | 4 ++-- arch/x86/kvm/lapic.c| 2 +- arch/x86/kvm/svm.c | 2 +- arch/x86/kvm/vmx.c

Re: [PATCH v2] cpufreq: Fix possible memory leak during CPU removal

2015-07-22 Thread Viresh Kumar
On 23-07-15, 00:27, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After commit 9b07109f06a1 (cpufreq: Fix double addition of sysfs > links) the second sif argument of __cpufreq_remove_dev_prepare() > and __cpufreq_remove_dev_finish() is not used by them any more. > > However, there also

RE: [PATCH 2/4] serial: 8250_dw: Add UPF_SKIP_TEST to flags depend on device tree

2015-07-22 Thread Noam Camus
From: Peter Hurley [mailto:pe...@hurleysoftware.com] Sent: Wednesday, July 22, 2015 3:21 PM >>On 07/22/2015 05:34 AM, Noam Camus wrote: >> From: Noam Camus >> >> Add support for OF option "no-loopback-test" > Changes to devicetree need to at least get acks from DT maintainers. I will add them

Re: [PATCH 1/3] KVM: MTRR: fix memory type handling if MTRR is completely disabled

2015-07-22 Thread Paolo Bonzini
On 16/07/2015 06:10, Alex Williamson wrote: > On Thu, 2015-07-16 at 03:25 +0800, Xiao Guangrong wrote: >> > From: Xiao Guangrong >> > >> > Currently code uses default memory type if MTRR is fully disabled, >> > fix it by using UC instead >> > >> > Signed-off-by: Xiao Guangrong >> > --- > Seem

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-22 Thread Pavel Machek
On Wed 2015-07-22 15:02:02, Dmitry Torokhov wrote: > Devices may declare more LEDs than what is known to input-leds > (HID does this for some devices). Instead of showing ugly warnings > on connect and, even worse, oopsing on disconnect, let's simply > ignore LEDs that are not known to us. > > Rep

RE: [PATCH 1/4] serial: 8250_dw: Add support for big-endian MMIO accesses

2015-07-22 Thread Noam Camus
From: Peter Hurley [mailto:pe...@hurleysoftware.com] Sent: Wednesday, July 22, 2015 3:41 PM >> diff --git a/drivers/tty/serial/8250/8250_dw.c >> b/drivers/tty/serial/8250/8250_dw.c >> index d48b506..fe0b487 100644 >> --- a/drivers/tty/serial/8250/8250_dw.c >> +++ b/drivers/tty/serial/8250/8250_d

RE: [PATCH 1/4] serial: 8250_dw: Add support for big-endian MMIO accesses

2015-07-22 Thread Noam Camus
From: Peter Hurley [mailto:pe...@hurleysoftware.com] Sent: Wednesday, July 22, 2015 3:19 PM > This is not an adequate changelog. > Please describe the refactoring. I will in my v2 patch set Noam

Re: [PATCH V2] cpufreq: Fix double addition of sysfs links

2015-07-22 Thread Viresh Kumar
On 22-07-15, 18:42, Rafael J. Wysocki wrote: > > 3. what happens when 'policy' is NULL at the point when the first (few) CPUs > >are added - how do the symlinks get created later if/when policy becomes > >non-NULL (can it?) > > Yes, it can, and we have a design issue here that bothers me a

Re: [PATCH 3/3] KVM: x86: quirkily apply WB to all memory if cache is disabled

2015-07-22 Thread Xiao Guangrong
On 07/23/2015 01:56 PM, Paolo Bonzini wrote: On 15/07/2015 21:25, Xiao Guangrong wrote: From: Xiao Guangrong Current firmware depends on WB to fast boot, please refer to https://lkml.org/lkml/2015/7/12/115 Let's us WB if CR0.CD is set to make this kind of firmware happy This quirk

Re: [PATCH v5 4/7] powerpc/powernv: detect supported nest pmus and its events

2015-07-22 Thread Madhavan Srinivasan
On Wednesday 22 July 2015 09:37 AM, Daniel Axtens wrote: > >> static struct perchip_nest_info p8_nest_perchip_info[P8_NEST_MAX_CHIPS]; >> +static struct nest_pmu *per_nest_pmu_arr[P8_NEST_MAX_PMUS]; >> + >> +static int nest_event_info(struct property *pp, char *name, >> +st

Re: linux-next: manual merge of the akpm-current tree with the FIXME tree

2015-07-22 Thread Stephen Rothwell
Hi all, Of course, I meant the ext3 tree (not the FIXME tree :-)) -- Cheers, Stephen Rothwells...@canb.auug.org.au -- 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://v

[PATCH] soc: mediatek: add scpsys support active_wakeup

2015-07-22 Thread Eddie Huang
Register gpd_dev_ops.active_wakeup function to support keep power during suspend state. And add flag to each power domain to decide whether keep power during suspend or not. Signed-off-by: Chunfeng Yun Signed-off-by: Eddie Huang --- drivers/soc/mediatek/mtk-scpsys.c | 28 +++

linux-next: manual merge of the akpm-current tree with the FIXME tree

2015-07-22 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got conflicts in: fs/ext3/super.c between commit: 106542e7987c ("fs: Remove ext3 filesystem driver") from the FIXME tree and commit: d2c05ecd59bc ("parse_integer: convert ext2, ext3, ext4") from the akpm-current tree. I fixe

Re: [RFC 1/4] mm, compaction: introduce kcompactd

2015-07-22 Thread Joonsoo Kim
Hello, On Thu, Jul 09, 2015 at 02:53:27PM -0700, David Rientjes wrote: > The slub allocator does try to allocate its high-order memory with > __GFP_WAIT before falling back to lower orders if possible. I would think > that this would be the greatest sign of on-demand memory compaction being

Re: [PATCH v5 3/7] powerpc/powernv: Nest PMU detection and device tree parser

2015-07-22 Thread Madhavan Srinivasan
On Wednesday 22 July 2015 09:19 AM, Daniel Axtens wrote: > Hi, > >> +static struct perchip_nest_info p8_nest_perchip_info[P8_NEST_MAX_CHIPS]; >> + >> +static int nest_ima_dt_parser(void) >> +{ >> +const __be32 *gcid; >> +const __be64 *chip_ima_reg; >> +const __be64 *chip_ima_size; >>

Re: [PATCH 3/3] KVM: x86: quirkily apply WB to all memory if cache is disabled

2015-07-22 Thread Paolo Bonzini
On 15/07/2015 21:25, Xiao Guangrong wrote: > From: Xiao Guangrong > > Current firmware depends on WB to fast boot, please refer to > https://lkml.org/lkml/2015/7/12/115 > > Let's us WB if CR0.CD is set to make this kind of firmware happy > > This quirk can be dropped by using KVM_ENABLE

Re: [PATCH V2] cpufreq: Fix double addition of sysfs links

2015-07-22 Thread Viresh Kumar
On 22-07-15, 14:15, Russell King - ARM Linux wrote: > > + /* sysfs links are only created on subsys callback */ > > + if (sif && policy) { > > + pr_debug("%s: Adding symlink for CPU: %u\n", __func__, cpu); > > dev_dbg() ? Hmm, right. > > + ret = sysfs_create_link(&dev->ko

Re: Why linux console designed to work in polling mode?

2015-07-22 Thread Alexander
Hi Peter, I always know the oops enter point(?). Why i can't just switch to old mode (per char busyloop) in this case and do things like in old console unlock? Actually, i suspect that there might be some reliability problems with this deferred stuff, but, actually, i can't come up with a test ca

[PATCH v2 0/2] Add Mediatek watchdog suspend resume and shutdown

2015-07-22 Thread Eddie Huang
This series add Mediatek watchdog suspend, resume and shutdown support. These patches are based on v4.2-rc1 Change in v2: Use watchdog_active() to check whether watchdog been active. Change to register suspend,resume function to dev_pm_ops Greta Zhang (2): watchdog: add wdt suspend/resume suppo

[PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled

2015-07-22 Thread Eddie Huang
From: Greta Zhang Without .shutdown(), watchdog might reset the system during power off. For example, if watchdog's timeout is set to 30s, then it is reset to zero by mtk_wdt_ping(). During power off, no app will ping watchdog, but watchdog is still running and may trigger reset. Signed-off-by:

[PATCH v2 1/2] watchdog: add wdt suspend/resume support

2015-07-22 Thread Eddie Huang
From: Greta Zhang add wdt driver suspend/resume support Signed-off-by: Greta Zhang Signed-off-by: Roger Lu Signed-off-by: Eddie Huang --- drivers/watchdog/mtk_wdt.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/watchdog/mtk_wdt.c b/drivers/watchd

Re: [PATCH v2 1/3] Input: export LEDs as class devices in sysfs

2015-07-22 Thread Jiri Kosina
On Thu, 23 Jul 2015, Vlastimil Babka wrote: > On 07/22/2015 08:55 PM, Jiri Kosina wrote: > > On Wed, 22 Jul 2015, Vlastimil Babka wrote: > > > > [ ... snip ... ] > >> The mouse has 3 green leds and one red to indicate battery status, but I > >> think > >> they operate autonomously. > > > > It's

Re: [PATCH 1/2] mm, page_isolation: remove bogus tests for isolated pages

2015-07-22 Thread Naoya Horiguchi
On Tue, Jul 21, 2015 at 02:53:37PM +0200, Vlastimil Babka wrote: > The __test_page_isolated_in_pageblock() is used to verify whether all pages > in pageblock were either successfully isolated, or are hwpoisoned. Two of the > possible state of pages, that are tested, are however bogus and misleading

[PATCH] mm, page_isolation: make set/unset_migratetype_isolate() file-local

2015-07-22 Thread Naoya Horiguchi
Nowaday, set/unset_migratetype_isolate() is defined and used only in mm/page_isolation, so let's limit the scope within the file. Signed-off-by: Naoya Horiguchi --- include/linux/page-isolation.h | 5 - mm/page_isolation.c| 5 +++-- 2 files changed, 3 insertions(+), 7 deletions(-

Re: [PATCH] Input: LEDs - skip unnamed LEDs

2015-07-22 Thread Vlastimil Babka
On 07/23/2015 12:02 AM, Dmitry Torokhov wrote: > Devices may declare more LEDs than what is known to input-leds > (HID does this for some devices). Instead of showing ugly warnings > on connect and, even worse, oopsing on disconnect, let's simply > ignore LEDs that are not known to us. > > Reporte

Re: [RFC PATCH 00/10] redesign compaction algorithm

2015-07-22 Thread Joonsoo Kim
On Tue, Jul 21, 2015 at 11:27:54AM +0200, Vlastimil Babka wrote: > On 07/08/2015 10:24 AM, Joonsoo Kim wrote: > >On Fri, Jun 26, 2015 at 11:22:41AM +0100, Mel Gorman wrote: > >>On Fri, Jun 26, 2015 at 11:07:47AM +0900, Joonsoo Kim wrote: > >> > >>The whole reason we avoid migrating to unmovable blo

Re: [PATCH v2 1/3] Input: export LEDs as class devices in sysfs

2015-07-22 Thread Vlastimil Babka
On 07/22/2015 08:55 PM, Jiri Kosina wrote: > On Wed, 22 Jul 2015, Vlastimil Babka wrote: > > [ ... snip ... ] >> The mouse has 3 green leds and one red to indicate battery status, but I >> think >> they operate autonomously. > > It's possible that the mouse is presenting them in the report descr

Re: [PATCH 2/2] mm: rename and move get/set_freepage_migratetype

2015-07-22 Thread Joonsoo Kim
On Wed, Jul 22, 2015 at 02:29:08PM +0200, Vlastimil Babka wrote: > On 07/21/2015 02:53 PM, Vlastimil Babka wrote: > > The pair of get/set_freepage_migratetype() functions are used to cache > > pageblock migratetype for a page put on a pcplist, so that it does not have > > to be retrieved again when

Re: [PATCH 1/2] mm, page_isolation: remove bogus tests for isolated pages

2015-07-22 Thread Joonsoo Kim
On Tue, Jul 21, 2015 at 02:53:37PM +0200, Vlastimil Babka wrote: > The __test_page_isolated_in_pageblock() is used to verify whether all pages > in pageblock were either successfully isolated, or are hwpoisoned. Two of the > possible state of pages, that are tested, are however bogus and misleading

Re: [PATCH 2/2] mm/page_owner: set correct gfp_mask on page_owner

2015-07-22 Thread Joonsoo Kim
Hello, all. On Mon, Jul 20, 2015 at 08:54:13PM +0900, Minchan Kim wrote: > On Mon, Jul 20, 2015 at 01:27:55PM +0200, Vlastimil Babka wrote: > > On 07/16/2015 02:06 AM, Minchan Kim wrote: > > >On Wed, Jul 15, 2015 at 03:33:59PM +0900, Joonsoo Kim wrote: > > >>@@ -2003,7 +2005,7 @@ int __isolate_fre

Re: [PATCH] ARM: dts: Add STM32429i-EVAL board support

2015-07-22 Thread Maxime Coquelin
Hi Olof, 2015-07-23 1:42 GMT+02:00 Olof Johansson : > Hi, > > On Sun, Jul 12, 2015 at 2:39 AM, Maxime Coquelin > wrote: > >> +/ { >> + model = "STMicroelectronics STM32429i-EVAL board"; >> + compatible = "st,stm32429i-eval", "st,stm32f429"; >> + >> + chosen { >> +

Re: [PATCH 0/7] Initial support for user namespace owned mounts

2015-07-22 Thread Seth Forshee
On Wed, Jul 22, 2015 at 07:15:19PM -0500, Eric W. Biederman wrote: > Casey Schaufler writes: > > > On 7/22/2015 12:32 PM, Seth Forshee wrote: > >> On Wed, Jul 22, 2015 at 11:10:46AM -0700, Casey Schaufler wrote: > >>> On 7/22/2015 8:56 AM, Seth Forshee wrote: > On Tue, Jul 21, 2015 at 06:52:

Re: [PATCH] cpupower: Do not change the frequency of offline cpu

2015-07-22 Thread Gautham R Shenoy
Hi Shilpa, This looks good. Reviewed-by: Gautham R. Shenoy On Wed, Jul 22, 2015 at 01:50:49PM +0530, Shilpasri G Bhat wrote: > Check if the cpu is online before changing the frequency/governor of > the cpu. > > Signed-off-by: Shilpasri G Bhat > --- > tools/power/cpupower/utils/cpufreq-set.c

Re: [RFC PATCH] block: xfs: dm thin: train XFS to give up on retrying IO if thinp is out of space

2015-07-22 Thread Dave Chinner
On Wed, Jul 22, 2015 at 11:28:06AM -0500, Eric Sandeen wrote: > On 7/22/15 8:34 AM, Mike Snitzer wrote: > > On Tue, Jul 21 2015 at 10:37pm -0400, > > Dave Chinner wrote: > >> On Tue, Jul 21, 2015 at 09:40:29PM -0400, Mike Snitzer wrote: > >>> I'm open to considering alternative interfaces for gett

[PATCH] ARM: dts: Use stdout-path in STM32F429 Discovery board

2015-07-22 Thread Maxime Coquelin
This patch replaces use of linux,stdout-path by stdout-path as per "chosen" DT bindings documentation. Doing that, the "console" argument is no more needed in kernel command line. Reported-by: Olof Johansson Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stm32f429-disco.dts | 4 ++-- 1 f

Re: [PATCH 2/4] mfd: devicetree: bindings: Add clock subdevice node information

2015-07-22 Thread Krzysztof Kozlowski
2015-07-21 20:07 GMT+09:00 Vaibhav Hiremath : > This patch updates the binding documentation for optional > clocks node and related information for buffered 32KHz clock. > > Signed-off-by: Vaibhav Hiremath > --- > Documentation/devicetree/bindings/mfd/88pm800.txt | 28 > +++ >

Re: [PATCH 1/2] mm/page_owner: fix possible access violation

2015-07-22 Thread Joonsoo Kim
On Thu, Jul 16, 2015 at 08:53:35AM +0900, Minchan Kim wrote: > On Wed, Jul 15, 2015 at 03:33:58PM +0900, Joonsoo Kim wrote: > > When I tested my new patches, I found that page pointer which is used > > for setting page_owner information is changed. This is because page > > pointer is used to set ne

[PATCH 1/4] ACPI / sysfs: Add ACPI_LV_REPAIR debug level.

2015-07-22 Thread Lv Zheng
This patch updates debug_level file, adding ACPI_LV_REPAIR. Signed-off-by: Lv Zheng --- drivers/acpi/sysfs.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c index 0876d77b..7ab6ba4 100644 --- a/drivers/acpi/sysfs.c +++ b/drivers/acpi/sysfs.c @@

[PATCH 3/4] ACPI / Documentation: Update method tracing documentation.

2015-07-22 Thread Lv Zheng
This patch updates method tracing documentation. Signed-off-by: Lv Zheng --- Documentation/acpi/method-tracing.txt | 53 - 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/Documentation/acpi/method-tracing.txt b/Documentation/acpi/method-tracing.

[PATCH 4/4] ACPI / sysfs: Add support to allow leading "\" missing in trace_method_name.

2015-07-22 Thread Lv Zheng
Since _SB.PCI0 can be used as relative path from root and can be easily converted into internal trace_method_name format, we allow users to specify trace_method_name using relative paths from root. Note this is useful for grub2 for which users failed to pass "\" from the grub configuration file. S

[PATCH 2/4] ACPI / sysfs: Update method tracing facility.

2015-07-22 Thread Lv Zheng
This patch updates the method tracing facility as the acpi_debug_trace() API has been updated to allow it to trace AML interpreter execution, the meanings and the usages of the API parameters are changed due to the updates. The new API: 1. Uses ACPI_TRACE_ENABLED flag to indicate the enabling of t

[PATCH 0/4] ACPI: Update method tracing facility.

2015-07-22 Thread Lv Zheng
This patch updates method tracing facility according to ACPICA 20150717 release changes. Lv Zheng (4): ACPI / sysfs: Add ACPI_LV_REPAIR debug level. ACPI / sysfs: Update method tracing facility. ACPI / Documentation: Update method tracing documentation. ACPI / sysfs: Add support to allow s

Re: [PATCH] usb: ulpi: call put_device if device_register fails

2015-07-22 Thread Felipe Balbi
Hi, On Wed, Jul 22, 2015 at 08:14:46PM -0700, Greg Kroah-Hartman wrote: > On Wed, Jul 22, 2015 at 09:04:40PM -0500, Felipe Balbi wrote: > > On Wed, Jul 22, 2015 at 02:39:34PM -0700, Greg Kroah-Hartman wrote: > > > On Tue, Jun 23, 2015 at 01:57:38PM +0300, Heikki Krogerus wrote: > > > > On Fri, Jun

[PATCH 01/22] ACPICA: Parser: Reduce parser/namespace divergences for tracer support.

2015-07-22 Thread Lv Zheng
This patch reduces divergences in parser/namespace components so that the follow-up linuxized ACPICA upstream commits can be directly merged. Including the fix to an indent issue reported and fixed by Zhouyi Zhou. Signed-off-by: Lv Zheng Signed-off-by: Zhouyi Zhou --- drivers/acpi/acpica/nsname

Re: [PATCH 4/4] mfd: 88pm800: Add support for clk subdevice

2015-07-22 Thread Krzysztof Kozlowski
2015-07-21 20:07 GMT+09:00 Vaibhav Hiremath : > This patch adds mfd_cell/clk-subdevice for 88PM800 MFD > (and family of devices). > > Signed-off-by: Vaibhav Hiremath > --- > drivers/mfd/88pm800.c | 25 + > 1 file changed, 25 insertions(+) > Looks OK: Reviewed-by: Krzyszto

[PATCH 04/22] ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments.

2015-07-22 Thread Lv Zheng
ACPICA commit afb52611dbe7403551f93504d3798534f5c343f4 This patch cleans up the code of assigning the AML address to the union acpi_operand_object. The idea behind this cleanup is: The AML address of the union acpi_operand_object should always be determined at the point where the object is encoun

[PATCH 10/22] ACPICA: Executer: Add OSL trace hook support.

2015-07-22 Thread Lv Zheng
ACPICA commit e8e4a9b19d0b72a7b165398bdc961fc2f6f502ec This patch adds OSL trace hook support. OSPMs are encouraged to use acpi_os_trace_point() with ACPI_USE_SYSTEM_TRACER defined to implement platform specific trace facility. Lv Zheng. Link: https://github.com/acpica/acpica/commit/e8e4a9b1 Sig

[PATCH 07/22] ACPICA: Dispatcher: Move stack traversal code to dispatcher.

2015-07-22 Thread Lv Zheng
ACPICA commit c8275e243b58fd4adfc0362bd704af41ed14bc75 This patch moves parts of acpi_dm_dump_method_info() to the dispatcher component. This patch also makes the new function dependent on ACPI_DEBUG_OUTPUT compile-stage definition so that it can be used by the trace facility. acpi_dm_dump_method

[PATCH 14/22] ACPICA: iASL: Add new warnings for method local_x and arg_x variables.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit eb9f8cb9fd65f1149dd335d05944c31cbca41af3 1) Warn if a Local is set but never used 2) Warn if a arg_x is never used (for non-predefined method names) 3) Warn if a arg_x that is used as a local is never used This patch only affects iASL which is not in the kernel sou

[PATCH 13/22] ACPICA: Remove extraneous check for null walk_state.

2015-07-22 Thread Lv Zheng
From: Markus Elfring ACPICA commit f9fd6e8bad0f16ce2b436c5cda36ced0c2d85302 Reported by Markus Elfring. Link: https://github.com/acpica/acpica/commit/f9fd6e8b Signed-off-by: Markus Elfring Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/dsmethod.c |4 +--- 1 fil

[PATCH 20/22] ACPICA: Debugger: Move debugger specific APIs to debugger component.

2015-07-22 Thread Lv Zheng
ACPICA commit 2164923d60429eea7cd5a4a8629b607af7325afa Some disassembler APIs should rather be debugger APIs. This patch moves them to the debugger folder to be ready for debugger porting. Since there is no in-kernel ACPICA debugger in the kernel source tree, this patch doesn't affect the Linux k

[PATCH 11/22] ACPICA: Executer: Add option to bypass opcode tracing.

2015-07-22 Thread Lv Zheng
ACPICA commit 61e9e20aadfaa03184d0959fbdc1fa5cdfea2551 This patch adds option to bypass opcode tracing. The option can be used to reduce the trace message output. Lv Zheng. Link: https://github.com/acpica/acpica/commit/61e9e20a Signed-off-by: Lv Zheng Signed-off-by: Bob Moore --- drivers/acpi/

[PATCH 19/22] ACPICA: Debugger: Reduce structure size for debugger.

2015-07-22 Thread Lv Zheng
ACPICA commit 310e0ae1c4730f4dadc80125125099ab76851499 arg_types in struct acpi_db_method_info is only referenced by ACPI_DEBUGGER. This patch only affects ACPICA debugger which is only used by a non-kernel tool - acpiexec, so Linux kernel is currently not affected by this patch. Link: https://g

[PATCH 22/22] ACPICA: Update version to 20150717.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit 8580ce04c1b7aa415c364b06e79edb8aca77dded Version 20150717. Link: https://github.com/acpica/acpica/commit/8580ce04 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/in

[PATCH 17/22] ACPICA: Cleanup use of NEGATIVE and POSITIVE defines.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit f88814201e01043a4f8caa69a69b799af11c44a3 These were defined in two places. Changed to ACPI_SIGN* names and define them once in acmacros.h This patch doesn't affect Linux kernel. Link: https://github.com/acpica/acpica/commit/f8881420 Signed-off-by: Bob Moore Signe

[PATCH 18/22] ACPICA: iASL: Add support for TCPA Server Table.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit 55fa9555c71eaa99daebed4cd82cfde3875e8c45 In addition to the existing support for the client table. Link: https://github.com/acpica/acpica/commit/55fa9555 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actbl2.h | 17 + 1 file

[PATCH 21/22] ACPICA: iASL/Disassembler: Add prototype verbose mode.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit add72dca18ab5d02f1bf9b08027570e58da520e8 This mode will emit AML byte code after each ASL statement. This is a prototype only and requires additional development. This patch only affects ACPICA disassembler which is not in the kernel source tree. Link: https://git

[PATCH 09/22] ACPICA: Executer: Add interpreter tracing mode for method tracing facility.

2015-07-22 Thread Lv Zheng
ACPICA commit 07fffd02607685b655ed92ee15c160e6a810b60b The acpi_debug_trace() is the mechanism known as ACPI method tracing that is used by Linux as ACPICA debugging message reducer. This facility can be controlled through Linux ACPI subsystem - /sys/module/acpi/parameters. This facility requires

[PATCH 15/22] ACPICA: MSVC: Fix inclusion order issue of .

2015-07-22 Thread Lv Zheng
ACPICA commit 49c6a6517a906900e9baa51ad5859beeb8a3089f The following error logs can be seen for calloc/free/malloc/realloc that defined in the stdlib.h: ...\stdlib.h(281) : error C2059: syntax error : ',' ...\stdlib.h(281) : error C2143: syntax error : missing ')' before 'constant' ...\stdlib.h(28

[PATCH 16/22] ACPICA: Cleanup use of all non-ANSI local C library functions.

2015-07-22 Thread Lv Zheng
From: Bob Moore ACPICA commit 7c490c28a18b435c543c6b410e7e7c2131fccc78 ACPICA implements all non-ANSI functions locally. However, there are sometimes two or more versions of the same function throughout the ACPICA code. This change fixes this. Adds a new file, utilities/utnonansi.c Link: https

[PATCH 08/22] ACPICA: Dispatcher: Add trace support for interpreter.

2015-07-22 Thread Lv Zheng
ACPICA commit 71299ec8b49054daace0df50268e8e055654ca37 This patch adds trace point at the following point: 1. Begin/end of a control method execution; 2. Begin/end of an opcode execution. The trace point feature can be enabled by defining ACPI_DEBUG_OUTPUT and specifying a debug level that includ

[PATCH 12/22] ACPICA: Parser: Remove redundant opcode execution debugging output.

2015-07-22 Thread Lv Zheng
ACPICA commit c832b0a9263c560b3ae3ae31d7298ef33988f8d5 This patch removes one redundant debugging output of opcode execution which has already been covered by acpi_ex_start_trace_opcode(). Lv Zheng. Link: https://github.com/acpica/acpica/commit/c832b0a9 Signed-off-by: Lv Zheng Signed-off-by: Bob

[PATCH 06/22] ACPICA: Namespace: Add function to directly return normalized full path.

2015-07-22 Thread Lv Zheng
ACPICA commit 6e0229bb156d71675f2e07dc7960adb7ec0a60ea This patch adds functions to return normalized full path instead of "external path". The external path contains trailing "_" for each name segment while the normalized full path doesn't contain the trailing "_". Currently this function is use

[PATCH 05/22] ACPICA: Executer: Add back pointing reference of method operand.

2015-07-22 Thread Lv Zheng
ACPICA commit 9dcd124e914e87495fbd1786d9484b962e0823e0 This patch adds back pointing reference of the namespace node for a method operand. The namespace node then can be used in acpi_ds_terminate_control_method() to obtain method full path to be used by tracing facilities. Lv Zheng. Link: https:/

[PATCH 02/22] ACPICA: Parser: Cleanup aml_offset in struct acpi_walk_state.

2015-07-22 Thread Lv Zheng
ACPICA commit d254405814495058276c0c2f9d96794d15a6c91c This patch converts aml_offset in struct acpi_walk_state to AML address. AML offset is actually only used by the debugger, using AML address is more direct and efficient during the parsing stage so that we don't need to calculate it during th

[PATCH 03/22] ACPICA: Parser: Cleanup aml_offset in union acpi_operand_object.

2015-07-22 Thread Lv Zheng
ACPICA commit 61b360074fde2bb8282722579410f5d1fb12f84d This patch converts aml_offset in union acpi_operand_object to AML address. AML offset is actually only used by the debugger, using AML address is more direct and efficient during the parsing stage so that we don't need to calculate the offse

[PATCH 00/22] ACPICA: 20150717 Release

2015-07-22 Thread Lv Zheng
The 20150717 ACPICA kernel-resident subsystem updates are linuxized based on the linux-pm/linux-next branch. The patchset has passed the following build/boot tests. Build tests are performed as follows: 1. i386 + default + COFNIG_ACPI=y 2. i386 + allyes + CONFIG_ACPI=y 3. i386 + default + COFNIG_A

Re: [PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-22 Thread Krzysztof Kozlowski
2015-07-22 1:23 GMT+09:00 Vaibhav Hiremath : > 88PM860 device supports dual phase mode on BUCK1 output. > In normal usecase, BUCK1A and BUCK1B operates independently with 3A > capacity. And they both can work as a dual phase providing 6A capacity. > > This patch updates the regulator driver to read

Re: [PATCH 1/2] watchdog: add wdt suspend/resume support

2015-07-22 Thread Eddie Huang
On Tue, 2015-07-21 at 20:45 -0700, Guenter Roeck wrote: > On 07/21/2015 08:26 PM, Eddie Huang wrote: > > From: Greta Zhang > > > > add wdt driver suspend/resume support > > > > Signed-off-by: Greta Zhang > > Signed-off-by: Roger Lu > > Signed-off-by: Eddie Huang > > --- > > drivers/watchdog/m

Re: [PATCH 0/5] Make cpuid <-> nodeid mapping persistent.

2015-07-22 Thread Tang Chen
On 07/16/2015 06:13 AM, Tejun Heo wrote: Hello, On Tue, Jul 07, 2015 at 05:30:20PM +0800, Tang Chen wrote: [Solution] To fix this problem, we establish cpuid <-> nodeid mapping for all the possible cpus at boot time, and make it invariable. And according to init_cpu_to_node(), cpuid <-> nodei

Re: [Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-07-22 Thread Greg KH
On Thu, Jul 23, 2015 at 06:04:39AM +0200, Juergen Gross wrote: > On 07/23/2015 01:46 AM, Greg KH wrote: > >On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote: > >>Add the definition of pvUSB protocol used between the pvUSB frontend in > >>a Xen domU and the pvUSB backend in a Xen driver

Re: [char-misc-next 01/15 V2] mei: bus: fix drivers and devices names confusion

2015-07-22 Thread Greg KH
On Mon, Jun 15, 2015 at 09:56:41PM +0300, Tomas Winkler wrote: > In the mei bus layer there is use of different variables > of driver and device types with no clear naming convention. > There are generic struct device and struct driver, > then mei_cl_{device, driver}, and finally mei_device which >

Re: [PATCH 091/102] staging: rtl8192e: Rename IPSLeave

2015-07-22 Thread Greg KH
On Sun, Jul 19, 2015 at 07:47:21PM +0200, Mateusz Kulikowski wrote: > On 19.07.2015 19:33, Mateusz Kulikowski wrote: > > Use naming schema found in other rtlwifi devices. > > Rename IPSLeave to rtl92e_ips_leave. > > > > Signed-off-by: Mateusz Kulikowski > > --- > [...] > > Oops, I've broke the t

Re: [PATCH v9 0/7] FPGA Manager Framework and Simple FPGA Bus

2015-07-22 Thread Greg KH
On Fri, Jul 17, 2015 at 10:51:10AM -0500, at...@opensource.altera.com wrote: > From: Alan Tull > > This patchset adds two chunks plus documentation: > * fpga manager core: exports ABI functions that write an image to a FPGA > * DT Overlay support: simple-fpga-bus to handle FPGA from a DT overla

Re: [Patch V4 1/3] usb: Add Xen pvUSB protocol description

2015-07-22 Thread Juergen Gross
On 07/23/2015 01:46 AM, Greg KH wrote: On Tue, Jun 23, 2015 at 08:53:23AM +0200, Juergen Gross wrote: Add the definition of pvUSB protocol used between the pvUSB frontend in a Xen domU and the pvUSB backend in a Xen driver domain (usually Dom0). This header was originally provided by Fujitsu fo

Re: [PATCH 1/5] drivers: staging: rtl8192u: fixing coding style issues in r8192U_core.c

2015-07-22 Thread Greg KH
On Fri, Jul 17, 2015 at 03:59:16PM +0200, Joseph-Eugene Winzer wrote: > Fixing several coding style issues, like > C99 Comment Style > Trailing whitespaces > Inconsistent spacing of operators > Started to reformat comments/expressions for 80 character limit These are multiple thing

Re: [PATCH] livepatch: Fix the issue to make livepatch enable/disable patch correctly

2015-07-22 Thread Minfei Huang
On 07/22/15 at 09:40am, Josh Poimboeuf wrote: > On Wed, Jul 15, 2015 at 04:55:06PM +0800, Minfei Huang wrote: > > From: Minfei Huang > > > > Livepatch will obey the stacking rule to enable/disable the patch. It > > only allows to enable the patch, when it is the fist disabled patch, > > disable t

Re: [PATCH 1/2] staging: sm750fb: ddk750_power.c: Remove optionnal parentheses.

2015-07-22 Thread Greg KH
On Fri, Jul 17, 2015 at 03:04:33PM +0200, Antoine BLIN wrote: > Fix up "return is not a function, parentheses are not required" error found by > the checkpatch.pl script. > > Signed-off-by: Antoine BLIN > --- > drivers/staging/sm750fb/ddk750_power.c | 2 +- > 1 file changed, 1 insertion(+), 1 de

[PATCH] powerpc/corenet: use the mixed mode of MPIC when enabling CPU hotplug

2015-07-22 Thread Chenhui Zhao
Core reset may cause issue if using the proxy mode of MPIC. Use the mixed mode of MPIC if enabling CPU hotplug. Signed-off-by: Chenhui Zhao --- arch/powerpc/platforms/85xx/corenet_generic.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c

  1   2   3   4   5   6   7   8   9   10   >