Re: [PATCH v5' 1/8] ARM: mediatek: Add basic support for mt8127

2014-11-10 Thread Yingjoe Chen
Hi, Matthias, Arnd, After previous discussion[1], I'm not sure which one do you preferred for mt8127/mt8135, so I send 64bits address version again. Trying to not SPAM too much, I only send the difference(first 4 patches) this time. We do have SoC that need >4GB address, so at least those will

Re: [PATCH 2/2] arm: dts: zynq: Add Digilent ZYBO board

2014-11-10 Thread Michal Simek
Hi, I think you can simple use "digilent". The first step is to send the patch with add digilent to Documentation/devicetree/bindings/vendor-prefixes.txt and then feel free to send patch for fixing digilent,zed + zybo dts. Thanks, Michal On 11/11/2014 03:10 AM, Steve Wang wrote: > Hi, Peter,

[PATCH] staging:rtl8723au: core: Added missing space reported by checkpatch.

2014-11-10 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Error. ERROR: spaces required around that '>' (ctx:WxV) Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8723au/core/rtw_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH, RFC] x86: also CFI-annotate certain inline asm()s

2014-11-10 Thread Jan Beulich
>>> On 10.11.14 at 19:10, wrote: > Btw, the sane thing to do is to make your infrastructure just say "If > my frame walker hits a push/pop without CFI information, I'll just add > it myself". > > Yes, that involved having to actuall ylook at the instruction. Tough > shit. Just do it right. There

Re: [PATCH v3 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Sekhar Nori
On Tuesday 11 November 2014 10:12 AM, Sekhar Nori wrote: > On Saturday 08 November 2014 02:48 PM, Prabhakar Lad wrote: >> Hi, >> >> Thanks for the patch, >> >> On Fri, Nov 7, 2014 at 2:07 PM, Boris Brezillon >> wrote: >>> In order to have subsytem agnostic media bus format definitions we've >>>

Response to Erich Schubert's lies (Systemd fanboi).

2014-11-10 Thread Chateau DuBlanc
http://www.vitavonni.de/blog/201411/2014110901-gr-vote-on-init-coupling.html Dear Mr Schubert; "He has not contributed anything to the open source community." This is a complete lie. I've contributed gigabytes of media alone. I've done years and years of programming work. I have done far more

[PATCH v2] n_tty: Fix read_buf race condition, increment read_head after pushing data

2014-11-10 Thread Christian Riesch
Commit 19e2ad6a09f0c06dbca19c98e5f4584269d913dd ("n_tty: Remove overflow tests from receive_buf() path") moved the increment of read_head into the arguments list of read_buf_addr(). Function calls represent a sequence point in C. Therefore read_head is incremented before the character c is placed

Re: [PATCH] sched/deadline: fix rq->dl.pushable_tasks bug in push_dl_task()

2014-11-10 Thread Wanpeng Li
Ping Juri, could you review this one and other deadline patches of mine? ;-) On 14/11/6 下午3:22, Wanpeng Li wrote: Do not call dequeue_pushable_dl_task() when failing to push an eligible task, as it remains pushable, merely not at this particular moment. Actually the patch is the same behavior

Re: [PATCH 3/4] arm: dts: omap3-gta04: Add handling for tv output

2014-11-10 Thread Tomi Valkeinen
Tony, On 11/11/14 01:30, Tony Lindgren wrote: > * Marek Belisko [141103 14:01]: >> Add handling for gta04 tv out chain: >> venc -> opa362 -> svideo >> >> Signed-off-by: Marek Belisko >> --- >> arch/arm/boot/dts/omap3-gta04.dtsi | 48 >> ++ >> 1 file

Re: [PATCH, RFC] x86: also CFI-annotate certain inline asm()s

2014-11-10 Thread Jan Beulich
>>> On 10.11.14 at 18:56, wrote: > So no. A very strong NACK. The code was too ugly to live, there is no good > stated reason for it, and the only reason I can even remotely imagine is > wrong and complete crap anyway (ie making the CFI annotations a correctness > issue by introducing other

Re: [PATCH v6 41/48] powerpc: Register with kernel power-off handler

2014-11-10 Thread Michael Ellerman
On Sun, 2014-11-09 at 17:42 -0800, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. > > If there is an indication that there can be more than one power-off handler, > use register_power_off_handler, otherwise use >

Re: [PATCH] staging: panel: Fix single-open policy race condition

2014-11-10 Thread Willy Tarreau
On Wed, Nov 05, 2014 at 12:51:22PM +0100, Mariusz Gorski wrote: > On Wed, Nov 05, 2014 at 01:19:10PM +0300, Dan Carpenter wrote: > > On Tue, Nov 04, 2014 at 10:47:19PM +0100, Mariusz Gorski wrote: > > > Fix the implementation of a single-open policy for both > > > devices (lcd and keypad) by using

linux-next: Tree for Nov 11

2014-11-10 Thread Stephen Rothwell
Hi all, Changes since 20141110: The slave-dma tree lost its build failure. The block tree gained a build failure so I used the versions from next-20141110. The mfd tree gained a build failure so I used the versions from next-20141110. The tiny tree lost its build failure. The driver-core

Re: [PATCH v2 1/1] ftruncate, truncate: create fanotify events

2014-11-10 Thread Christoph Hellwig
On Mon, Nov 10, 2014 at 09:30:29PM +0100, Jan Kara wrote: > So what I somewhat dislike about this patch is that notify_change() is > sometimes called with dentry and sometimes with path. That way it's not > completely clear when fanotify events will be generated and when not. > Sadly it isn't

Re: [PATCH v6 4/7] ARM: rockchip: add suspend and resume for RK3288

2014-11-10 Thread Chris Zhong
On 10/30/2014 03:01 AM, Kevin Hilman wrote: Chris Zhong writes: It's a basic version of suspend and resume for rockchip, it only support RK3288 now. Signed-off-by: Tony Xie Signed-off-by: Chris Zhong Tested-by: Doug Anderson Reviewed-by: Doug Anderson --- +static void

Re: [PATCH 0/3] Add support for Tegra Activity Monitor

2014-11-10 Thread Alexandre Courbot
On 11/11/2014 03:57 PM, Terje Bergström wrote: On 11.11.2014 06:29, Alexandre Courbot wrote: I think (after a quick look at devfreq's source) that you can avoid polling altogether if you set polling_ms to 0 in your devfreq_dev_profile instance. Then it is up to you to call update_devfreq() from

Response to Erich Schubert's lies (Systemd fanboi)

2014-11-10 Thread Chateau DuBlanc
http://www.vitavonni.de/blog/201411/2014110901-gr-vote-on-init-coupling.html Dear Mr Schubert; "He has not contributed anything to the open source community." This is a complete lie. I've contributed gigabytes of media alone. I've done years and years of programming work. I have done far more

Re: [PATCH v6 00/11] Kernel address sanitizer - runtime memory debugger.

2014-11-10 Thread Andrey Ryabinin
Hi Andrew, Now we have stable GCC(4.9.2) which supports kasan and from my point of view patchset is ready for merging. I could have sent v7 (it's just rebased v6), but I see no point in doing that and bothering people, unless you are ready to take it. So how should I proceed? Thanks, Andrey.

[PATCH v10 1/3] dt-bindings: add document of Rockchip power domain

2014-11-10 Thread Caesar Wang
This add the necessary binding documentation for the power domain found on Rockchip Socs. Signed-off-by: Jack Dai Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v10: None Changes in v9: - add document decription Changes in v8: - document go back to v2 Changes

[PATCH v10 3/3] ARM: dts: add rk3288 power-domain node

2014-11-10 Thread Caesar Wang
This patch add the needed clocks into power-controller. why need we do so that? Firstly, we always be needed turn off clocks to save power when the system enter suspend.So we need to enumerate the clocks are needed to switch power doamin no and off. Secondly, Rk3288 reset circuit should be

[PATCH v10 2/3] power-domain: rockchip: add power doamin driver

2014-11-10 Thread Caesar Wang
In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power ot the whole chip. Signed-off-by: Jack Dai Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang

[PATCH v10 0/3] ARM: rk3288: Add PM Domain support

2014-11-10 Thread Caesar Wang
Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. https://chromium-review.googlesource.com/#/c/220253/9 This is the GPU driver, add the following information in DT, and it can support the PMDOMAIN gpu: gpu@ffa3 {

Re: [PATCH] usb: misc: Add driver for ALVA Nanoface

2014-11-10 Thread Lauri Niskanen
On 11/11/14 09:07, Greg Kroah-Hartman wrote: Any reason this can't be a simple userspace program that writes the needed command to the device using libusb instead of being a kernel driver? This seems like overkill for a kernel driver to me. You are probably right. It indeed should be possible

linux-next: build warning in Linus' tree

2014-11-10 Thread Stephen Rothwell
Hi Al, With Linus' tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: fs/isofs/inode.c:177:1: warning: 'isofs_hash_common' defined but not used [-Wunused-function] isofs_hash_common(struct qstr *qstr, int ms) ^ Since commit b0afd8e5db7b ("isofs: don't bother with

Re: [PATCH v7 0/5] This is the 1st version of suspend for RK3288.

2014-11-10 Thread Chris Zhong
Hi Kevin On 11/08/2014 06:48 AM, Kevin Hilman wrote: Chris Zhong writes: RK3288 can shut down the cpu, gpu and other device controllers in suspend, and it will pull the GLOBAL_PWROFF pin to high in the final stage of the process of suspend, pull the pin to low again when resume. The cover

Re: [PATCH] usb: misc: Add driver for ALVA Nanoface

2014-11-10 Thread Greg Kroah-Hartman
On Tue, Nov 11, 2014 at 09:05:06AM +0200, Lauri Niskanen wrote: > ALVA Nanoface is a USB audio interface device that only works after > receiving an initialization command. This driver does not handle any > actual audio features, but only initializes the device enabling its > audio I/O and

[PATCH] usb: misc: Add driver for ALVA Nanoface

2014-11-10 Thread Lauri Niskanen
ALVA Nanoface is a USB audio interface device that only works after receiving an initialization command. This driver does not handle any actual audio features, but only initializes the device enabling its audio I/O and physical controls. There are some additional USB audio features on the device

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

2014-11-10 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in fs/ocfs2/inode.h between commit 1c92ec678f32 ("ocfs2: Convert to private i_dquot field") from the ext3 tree and commit eeb85794b87e ("ocfs2: fix leftover orphan entry caused by append O_DIRECT write crash") from the

Re: [PATCH 0/3] Add support for Tegra Activity Monitor

2014-11-10 Thread Terje Bergström
On 11.11.2014 06:29, Alexandre Courbot wrote: > I think (after a quick look at devfreq's source) that you can avoid > polling altogether if you set polling_ms to 0 in your > devfreq_dev_profile instance. Then it is up to you to call > update_devfreq() from your custom governor whenever it sees

Re: [RFC] perf-cache command interface design

2014-11-10 Thread Masami Hiramatsu
(2014/11/10 21:23), Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 10, 2014 at 07:59:24PM +0900, Masami Hiramatsu escreveu: >> Hello, >> >> Here is the second try for the probe-cache. This version simplifies >> the synopsis, and unifies the SDT and probe caches. >> Please give me your

Re: [PATCH v6 0/7] vfs: Non-blockling buffered fs read (page cache only)

2014-11-10 Thread Dave Chinner
On Mon, Nov 10, 2014 at 11:40:23AM -0500, Milosz Tanski wrote: > This patcheset introduces an ability to perform a non-blocking read from > regular files in buffered IO mode. This works by only for those filesystems > that have data in the page cache. > > It does this by introducing new syscalls

linux-next: build warnings after merge of the tiny tree

2014-11-10 Thread Stephen Rothwell
Hi Josh, After merging the tiny tree, today's linux-next build (powerpc64 allnoconfig) produced these warnings: kernel/compat.c:33:12: warning: 'compat_get_timex' defined but not used [-Wunused-function] static int compat_get_timex(struct timex *txc, struct compat_timex __user *utp)

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

2014-11-10 Thread Kishon Vijay Abraham I
Hi, On Friday 31 October 2014 06:03 PM, Vivek Gautam wrote: > Hi Heikki, > > > On Fri, Oct 17, 2014 at 8:09 PM, Heikki Krogerus > wrote: >> Removes the need for the phys to be aware of their users >> even when not using DT. The method is copied from clkdev.c. >> >> Signed-off-by: Heikki

RE: several messages

2014-11-10 Thread Wu, Feng
> -Original Message- > From: Jiang Liu [mailto:jiang@linux.intel.com] > Sent: Tuesday, November 11, 2014 10:29 AM > To: Thomas Gleixner; Wu, Feng > Cc: g...@kernel.org; pbonz...@redhat.com; David Woodhouse; > j...@8bytes.org; mi...@redhat.com; H. Peter Anvin; x...@kernel.org; >

Re: [PATCH v4 REPOST 1/5] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-11-10 Thread Alexandre Courbot
On 11/10/2014 10:12 PM, Mikko Perttunen wrote: From: Mikko Perttunen Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant properties in the binding documentation. Signed-off-by: Mikko Perttunen

Re: [PATCH v4 REPOST 5/5] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-11-10 Thread Alexandre Courbot
On 11/10/2014 10:12 PM, Mikko Perttunen wrote: @@ -606,6 +623,234 @@ void tegra_pmc_enter_suspend_mode(enum tegra_suspend_mode mode) } #endif +static const char * const tegra20_powergates[] = { + [TEGRA_POWERGATE_CPU] = "cpu", + [TEGRA_POWERGATE_3D] = "3d", +

Re: [rfc patch] mm: vmscan: invoke slab shrinkers for each lruvec

2014-11-10 Thread Dave Chinner
On Mon, Nov 10, 2014 at 09:44:05AM -0500, Johannes Weiner wrote: > On Mon, Nov 10, 2014 at 05:46:40PM +1100, Dave Chinner wrote: > > On Thu, Nov 06, 2014 at 06:50:28PM -0500, Johannes Weiner wrote: > > > The slab shrinkers currently rely on the reclaim code providing an > > > ad-hoc concept of

Re: [PATCH] usbnet: smsc95xx: dereferencing NULL pointer

2014-11-10 Thread Sudip Mukherjee
On Mon, Nov 10, 2014 at 02:22:23PM -0500, David Miller wrote: > From: Sudip Mukherjee > Date: Fri, 7 Nov 2014 18:52:40 +0530 > > > we were dereferencing dev to initialize pdata. but just after that we > > have a BUG_ON(!dev). so we were basically dereferencing the pointer > > first and then

[PATCH 2/2] linux-wireless:Added wiphy capability flag for offloading 4way handshake to driver

2014-11-10 Thread Gautam (Gautam Kumar) Shukla
For offloading 4 way handshake to driver , currently we don't have WIPHY capability flag to communicate same to supplicant. I have added the flag NL80211_ATTR_4WAY_KEY_HANDSHAKE and rest of the code for the same. Tested on x86 linux machine Signed-off-by: Gautam kumar shukla ---

Re: [RESENDv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-11-10 Thread Florian Fainelli
2014-11-10 21:41 GMT-08:00 Jingchang Lu : > > >>-Original Message- >>From: Greg KH [mailto:gre...@linuxfoundation.org] >>Sent: Tuesday, November 11, 2014 1:27 PM >>To: Florian Fainelli >>Cc: Lu Jingchang-B35083; linux-arm-ker...@lists.infradead.org; linux- >>ker...@vger.kernel.org;

Re: [PATCH v4 10/25] virtio: add API to enable VQs early

2014-11-10 Thread Michael S. Tsirkin
* > >+ * Note: vqs are enabled automatically after probe returns. > >+ */ > >+static inline > >+void virtio_device_ready(struct virtio_device *dev) > >+{ > >+unsigned status = dev->config->get_status(dev); > >+ > >+BUG_ON(status & VIRTIO_CONFIG_S_DR

[PATCH] kernel/panic: update comments for print_tainted

2014-11-10 Thread Xie XiuQi
Commits 69361eef9056 ("panic: add TAINT_SOFTLOCKUP") added the 'L' flag, but failed to update the comments for print_tainted(). So, update the comments. Signed-off-by: Xie XiuQi --- kernel/panic.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/panic.c

Re: [PATCH 1/3] autofs - fix log print messages

2014-11-10 Thread Ian Kent
On Mon, 2014-11-10 at 21:49 -0800, Joe Perches wrote: > On Tue, 2014-11-11 at 13:37 +0800, Ian Kent wrote: > > On Mon, 2014-11-10 at 19:25 -0800, Joe Perches wrote: > > > On Tue, 2014-11-11 at 09:29 +0800, Ian Kent wrote: > > > > Fix some inconsistencies in log print output and ensure that > > > >

SystemD, Before we're locked in the sepulcher..

2014-11-10 Thread Chateau DuBlanc
Before we're locked in the sepulcher (youtu.be/0ZhWtSKvRp0) let us take a moment to think and listen. (youtu.be/y0aTqsl-vfU) And rethink this systemd situation, and turn back the coup that has happened in the land of Linus. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 0/3] irqchip: dw-apb-ictl: IRQ_GC_MASK_CACHE_PER_TYPE and PM support

2014-11-10 Thread Jisheng Zhang
Dear Thomas, Jason, Is there any potential issue with this patch serials I need to resolve? Thanks in advance, Jisheng On Mon, 22 Sep 2014 23:34:57 -0700 Jisheng Zhang wrote: > These patches try to improve dw-apb-ictl irqchip driver a bit. > > The first patch does a bit clean up work --

Re: [PATCH] dell-wmi: Update code for processing WMI events

2014-11-10 Thread Darren Hart
On Sun, Nov 09, 2014 at 04:21:33PM +0100, Pali Rohár wrote: > On Wednesday 22 October 2014 12:51:17 Pali Rohár wrote: > > On Tuesday 21 October 2014 23:32:12 Darren Hart wrote: > > > On Tue, Oct 21, 2014 at 12:15:24AM +0200, Pali Rohár wrote: Hi Pali, ... > > > > @@ -158,44 +182,117 @@ static

Re: [PATCH 1/3] autofs - fix log print messages

2014-11-10 Thread Ian Kent
On Mon, 2014-11-10 at 21:49 -0800, Joe Perches wrote: > On Tue, 2014-11-11 at 13:37 +0800, Ian Kent wrote: > > On Mon, 2014-11-10 at 19:25 -0800, Joe Perches wrote: > > > On Tue, 2014-11-11 at 09:29 +0800, Ian Kent wrote: > > > > Fix some inconsistencies in log print output and ensure that > > > >

[PATCH 1/1] linux-wireless: Added psk in struct cfg80211_connect_params needed for offloading 4way handshake to driver

2014-11-10 Thread Gautam (Gautam Kumar) Shukla
For offloading 4 way handshake to driver, currently we don't have any member  of struct cfg80211_connect_params to pass PSK from supplicant to driver. I have added psk for the same and added rest of the code needed in nl80211.h and nl80211.c to parse and make it available to driver. >From

Re: [PATCH 1/3] autofs - fix log print messages

2014-11-10 Thread Joe Perches
On Tue, 2014-11-11 at 13:37 +0800, Ian Kent wrote: > On Mon, 2014-11-10 at 19:25 -0800, Joe Perches wrote: > > On Tue, 2014-11-11 at 09:29 +0800, Ian Kent wrote: > > > Fix some inconsistencies in log print output and ensure that > > > the module name is included in all log prints. > > > > > >

Re: [PATCH] toshiba_acpi: Fix regression caused by backlight extra check code

2014-11-10 Thread Darren Hart
On Mon, Nov 10, 2014 at 09:58:29AM -0700, Azael Avalos wrote: > Hi Darren, > > Sorry for the way late reply, I had to go out of town in a hurry. > > 2014-11-03 23:21 GMT-07:00 Darren Hart : > > On Mon, Nov 03, 2014 at 08:58:34PM -0700, Azael Avalos wrote: > >> Bug 86521 uncovered that some

Re: [PATCH v7 0/5] This is the 1st version of suspend for RK3288.

2014-11-10 Thread Doug Anderson
Hi, On Mon, Nov 10, 2014 at 4:40 PM, Heiko Stübner wrote: > Hi Chris, > > Am Freitag, 7. November 2014, 14:48:20 schrieb Kevin Hilman: >> Chris Zhong writes: >> > RK3288 can shut down the cpu, gpu and other device controllers in suspend, >> > and it will pull the GLOBAL_PWROFF pin to high in

SystemD, Before we're locked in the sepulcher.

2014-11-10 Thread Brad Townshend
Before we're locked in the sepulcher (http://youtu.be/0ZhWtSKvRp0) let us take a moment to think and listen. (http://youtu.be/y0aTqsl-vfU) And rethink this systemd situation, and turn back the coup that has happened in the land of Linus. -- To unsubscribe from this list: send the line

[PATCH V3 3/8] xen: Delay m2p_override initialization

2014-11-10 Thread Juergen Gross
The m2p overrides are used to be able to find the local pfn for a foreign mfn mapped into the domain. They are used by driver backends having to access frontend data. As this functionality isn't used in early boot it makes no sense to initialize the m2p override functions very early. It can be

[PATCH V3 2/8] xen: Delay remapping memory of pv-domain

2014-11-10 Thread Juergen Gross
Early in the boot process the memory layout of a pv-domain is changed to match the E820 map (either the host one for Dom0 or the Xen one) regarding placement of RAM and PCI holes. This requires removing memory pages initially located at positions not suitable for RAM and adding them later at

[PATCH V3 4/8] xen: Delay invalidating extra memory

2014-11-10 Thread Juergen Gross
When the physical memory configuration is initialized the p2m entries for not pouplated memory pages are set to "invalid". As those pages are beyond the hypervisor built p2m list the p2m tree has to be extended. This patch delays processing the extra memory related p2m entries during the boot

[PATCH V3 5/8] x86: Introduce function to get pmd entry pointer

2014-11-10 Thread Juergen Gross
Introduces lookup_pmd_address() to get the address of the pmd entry related to a virtual address in the current address space. This function is needed for support of a virtual mapped sparse p2m list in xen pv domains. Signed-off-by: Juergen Gross --- arch/x86/include/asm/pgtable_types.h | 1 +

[PATCH V3 0/8] xen: Switch to virtual mapped linear p2m list

2014-11-10 Thread Juergen Gross
Paravirtualized kernels running on Xen use a three level tree for translation of guest specific physical addresses to machine global addresses. This p2m tree is used for construction of page table entries, so the p2m tree walk is performance critical. By using a linear virtual mapped p2m list

[PATCH V3 8/8] xen: Speed up set_phys_to_machine() by using read-only mappings

2014-11-10 Thread Juergen Gross
Instead of checking at each call of set_phys_to_machine() whether a new p2m page has to be allocated due to writing an entry in a large invalid or identity area, just map those areas read only and react to a page fault on write by allocating the new page. This change will make the common path

[PATCH V3 1/8] xen: Make functions static

2014-11-10 Thread Juergen Gross
Some functions in arch/x86/xen/p2m.c are used locally only. Make them static. Rearrange the functions in p2m.c to avoid forward declarations. While at it correct some style issues (long lines, use pr_warn()). Signed-off-by: Juergen Gross --- arch/x86/include/asm/xen/page.h | 6 -

[PATCH V3 7/8] xen: switch to linear virtual mapped sparse p2m list

2014-11-10 Thread Juergen Gross
At start of the day the Xen hypervisor presents a contiguous mfn list to a pv-domain. In order to support sparse memory this mfn list is accessed via a three level p2m tree built early in the boot process. Whenever the system needs the mfn associated with a pfn this tree is used to find the mfn.

[PATCH V3 6/8] xen: Hide get_phys_to_machine() to be able to tune common path

2014-11-10 Thread Juergen Gross
Today get_phys_to_machine() is always called when the mfn for a pfn is to be obtained. Add a wrapper __pfn_to_mfn() as inline function to be able to avoid calling get_phys_to_machine() when possible as soon as the switch to a linear mapped p2m list has been done. Signed-off-by: Juergen Gross ---

RE: [RESENDv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-11-10 Thread Jingchang Lu
>-Original Message- >From: Greg KH [mailto:gre...@linuxfoundation.org] >Sent: Tuesday, November 11, 2014 1:27 PM >To: Florian Fainelli >Cc: Lu Jingchang-B35083; linux-arm-ker...@lists.infradead.org; linux- >ker...@vger.kernel.org; linux-ser...@vger.kernel.org >Subject: Re: [RESENDv5]

Re: [PATCH 1/3] autofs - fix log print messages

2014-11-10 Thread Ian Kent
On Mon, 2014-11-10 at 19:25 -0800, Joe Perches wrote: > On Tue, 2014-11-11 at 09:29 +0800, Ian Kent wrote: > > Fix some inconsistencies in log print output and ensure that > > the module name is included in all log prints. > > > > Signed-off-by: Ian Kent > > Cc: Joe Perches > > --- > >

Re: [PATCHv2 2/3] selftests: Add test of O_BENEATH & openat(2)

2014-11-10 Thread Dave Chinner
[cc fste...@vger.kernel.org] On Tue, Nov 04, 2014 at 09:54:43AM +, David Drysdale wrote: > Add simple tests of openat(2) variations, including examples that > check the new O_BENEATH flag. > > Signed-off-by: David Drysdale Wouldn't this be better added to fstests? That's the regression

Re: [PATCH v4] KVM: x86: fix access memslots w/o hold srcu read lock

2014-11-10 Thread Tang Chen
Hi Wanpeng, I think I have totally missed this thread. I opened lockdep and RCU debug, and tried on 3.18-rc1. But I didn't get the warning. My steps are: 1. Use numactl to bind a qemu process to node1. 2. Offline all node1 memory. And the qemu process is still running. Would you please tell

[PATCH v5] arm64: dts: exynos7: add support for cpuidle core power down

2014-11-10 Thread Chander Kashyap
Exynos7 supports multiple idle states. Core power down is one such idle state, where cores can be powered off independently. This patch adds support for core power down idle state. Entry latency for core power down idle state is calculated as follows: 1. Time difference is measured between

Re: [PATCH RESEND 1/4] core: platform: add warning if driver has no owner

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 01:32:08PM -0800, Tony Luck wrote: > > + if (!drv->owner) > > + printk(KERN_WARNING "Driver '%s' needs an owner", > > drv->name); > > This showed up in next-20141110 and on ia64 I see 44 "needs an owner

Re: Driver needs an owner

2014-11-10 Thread Greg Kroah-Hartman
On Tue, Nov 11, 2014 at 12:52:05AM +0100, Wolfram Sang wrote: > > Oops, we forgot that for drivers built into the kernel, THIS_MODULE is > > NULL :( > > > > Wolfram, want me to revert this patch? > > Yes, I sent out the revert a second ago, too. Still wondering why this > did not trigger here...

Re: [RESENDv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 08:30:36PM -0800, Florian Fainelli wrote: > 2014-10-27 2:24 GMT-07:00 Jingchang Lu : > > This patch fixes commit 2dea53bf57783f243c892e99c10c6921e956aa7e, > > "serial: of-serial: add PM suspend/resume support", which disables > > the uart clock on suspend, but also causes a

[PATCH V4 2/8] powerpc, process: Add functions flush_tm_state, flush_tmregs_to_thread

2014-11-10 Thread Anshuman Khandual
This patch creates a new function called flush_tm_state to flush the existing transactional memory state from the thread. It also creates a function called flush_tmregs_to_thread which will then be used on subsequent patches in this series. Signed-off-by: Anshuman Khandual ---

[PATCH V4 3/8] powerpc, process: Merge functions __switch_to_tm and tm_reclaim_task

2014-11-10 Thread Anshuman Khandual
The function tm_reclaim_task is only called from the function __switch_to_tm. This patch merges these two functions to make it more readable without changing the functionality in any way. Signed-off-by: Anshuman Khandual --- arch/powerpc/kernel/process.c | 20 1 file

[PATCH V4 6/8] powerpc, ptrace: Enable support for transactional memory register sets

2014-11-10 Thread Anshuman Khandual
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_SPR, REGSET_TM_CGPR, REGSET_TM_CFPR, REGSET_CVMX support corresponding to these following new ELF

[PATCH V4 7/8] powerpc, ptrace: Enable support for miscellaneous debug registers

2014-11-10 Thread Anshuman Khandual
This patch enables get and set of miscellaneous debug registers through ptrace PTRACE_GETREGSET-PTRACE_SETREGSET interface by implementing new powerpc specific register set REGSET_MISC support corresponding to the new ELF core note NT_PPC_MISC added previously in this regard. Signed-off-by:

[PATCH V4 4/8] powerpc, ptrace: Enable fpr_(get/set) for transactional memory

2014-11-10 Thread Anshuman Khandual
This patch enables the fpr_get which gets the running value of all the FPR registers and the fpr_set which sets the running value of of all the FPR registers to accommodate in transaction ptrace interface based requests. Signed-off-by: Anshuman Khandual --- arch/powerpc/kernel/ptrace.c | 103

[PATCH V4 8/8] selftests, powerpc: Add new test case for TM related ptrace interfaces

2014-11-10 Thread Anshuman Khandual
This patch adds one more test case called tm-ptrace targeting TM related ptrace interfaces. This test creates one child process to run some basic transactions and the parent process attaches the child to do some ptrace probing using the recently added regset interfaces. The parent process then

[PATCH V4 5/8] powerpc, ptrace: Enable vr_(get/set) for transactional memory

2014-11-10 Thread Anshuman Khandual
This patch enables the vr_get which gets the running value of all the VMX registers and the vr_set which sets the running value of of all the VMX registers to accommodate in transaction ptrace interface based requests. Signed-off-by: Anshuman Khandual --- arch/powerpc/kernel/ptrace.c | 94

[PATCH V4 0/8] Add new PowerPC specific ELF core notes

2014-11-10 Thread Anshuman Khandual
This patch series adds five new ELF core note sections which can be used with existing ptrace request PTRACE_GETREGSET-SETREGSET for accessing various transactional memory and miscellaneous debug register sets on PowerPC platform. Previous versions: == RFC:

[PATCH V4 1/8] elf: Add new PowerPC specifc core note sections

2014-11-10 Thread Anshuman Khandual
This patch adds four new core note sections for PowerPC transactional memory and one core note section for general miscellaneous debug registers. These addition of new elf core note sections extends the existing elf ABI without affecting it in any manner. Signed-off-by: Anshuman Khandual ---

linux-next: manual merge of the usb-gadget tree with the usb-gadget-fixes tree

2014-11-10 Thread Stephen Rothwell
Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/dwc3/ep0.c between commit 520fe7633692 ("usb: dwc3: ep0: fix for dead code") from the usb-gadget-fixes tree and commit ccb072de5702 ("usb: dwc3: ep0: trace ep0 TRBs too") from the usb-gadget tree. I fixed it

Re: [PATCH v5 2/8] phy: miphy28lp: Add PHY header file for DT x Driver defines

2014-11-10 Thread Kishon Vijay Abraham I
On Monday 10 November 2014 04:09 PM, Maxime Coquelin wrote: > > On 11/07/2014 02:05 PM, Lee Jones wrote: > > >> If the merge turns out to be simple, then Git will do the correct >> thing; however, if the first version of the patch is applied, then >> some changes around the same area of the

Re: [PATCH v4] arm64: dts: exynos7: add support for cpuidle core power down

2014-11-10 Thread Chander Kashyap
On Fri, Nov 7, 2014 at 5:28 PM, Lorenzo Pieralisi wrote: > On Wed, Nov 05, 2014 at 01:15:31PM +, Chander Kashyap wrote: >> Exynos7 has core power down state where cores can be powered off >> independently. > > "...has a core power down idle state..." > >> This patch adds support for this

Re: [PATCH] platform: hp_accel: Add SERIO_I8042 as a dependency since it now includes i8042.h/serio.h

2014-11-10 Thread Darren Hart
On Mon, Nov 10, 2014 at 08:59:42PM +0200, Giedrius Statkevicius wrote: > Make hp_accel dependent on SERIO_I8042 in the Kconfig because since commit > a4c724d0723b078e4ab4670e557cda1795036a7a ('platform: hp_accel: add a i8042 > filter to remove HPQ6000 data from kb bus stream') hp_accel includes

[PATCH v2] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
All the changes are against variables/functions that are only accessed from within the same file. If the scope needs to change later on, the static keyword can be removed. Build tested. Signed-off-by: Adrian Nicoara --- drivers/staging/lustre/lnet/lnet/module.c | 2 +-

RE: [PATCH 2/3] power: core: Add variables related temperature to power_supply_info.

2014-11-10 Thread Tc, Jenny
> > The CC,CV and restart threshold would vary based on the battery temperature > > So I would suggest to have temperature zone table as part of battery info > > along with other attributes. > > > > int iterm; //charge termination current (used to stop charging) > > int temp_zone_count; // number

Re: [PATCH v2 1/2] mem-hotplug: Reset node managed pages when hot-adding a new pgdat.

2014-11-10 Thread Greg KH
On Tue, Nov 11, 2014 at 09:27:06AM +0800, Tang Chen wrote: > In free_area_init_core(), zone->managed_pages is set to an approximate > value for lowmem, and will be adjusted when the bootmem allocator frees > pages into the buddy system. But free_area_init_core() is also called > by

Re: [PATCH v3 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Sekhar Nori
On Saturday 08 November 2014 02:48 PM, Prabhakar Lad wrote: > Hi, > > Thanks for the patch, > > On Fri, Nov 7, 2014 at 2:07 PM, Boris Brezillon > wrote: >> In order to have subsytem agnostic media bus format definitions we've >> moved media bus definition to

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

2014-11-10 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/base/Makefile between commit b31384fa5de3 ("Driver core: Unified device properties interface for platform firmware") from the pm tree and commit 246246cbde5e ("drivers: base: support cpu cache information

Re: [V2 PATCH 03/10] added media agnostic (MA) data structures and handling

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:34PM -0800, Stephanie Wallick wrote: > +/** > + * Returns the number of urbs currently in the MA USB HCD. Will return 0 if > the > + * MA USB HCD is empty or a negative errno if an error occurs. How can this function return a negative number? I don't see that

[RFC][PATCH] sched: Protect call to ss->fork() with css_set_rwsem

2014-11-10 Thread Steven Rostedt
My tests tripped over the following RCU lockdep splat: === [ INFO: suspicious RCU usage. ]^M 3.18.0-rc4-test+ #3 Not tainted --- /work/autotest/nobackup/linux-test.git/kernel/sched/core.c:7449 suspicious rcu_dereference_check() usage!

[PATCH 2/2] crypto: AF_ALG - zeroize IV buffer

2014-11-10 Thread Stephan Mueller
Zeroize the buffer holding the IV used for the completed cipher operation before the buffer is released by the skcipher AF_ALG interface handler. Signed-off-by: Stephan Mueller --- crypto/algif_skcipher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/algif_skcipher.c

[PATCH 1/2] crypto: AF_ALG - zeroize message digest buffer

2014-11-10 Thread Stephan Mueller
Zeroize the buffer holding the message digest calculated for the consumer before the buffer is released by the hash AF_ALG interface handler. Signed-off-by: Stephan Mueller --- crypto/algif_hash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/algif_hash.c b/crypto/algif_hash.c

[PATCH 0/2] crypto: zeroization of buffers

2014-11-10 Thread Stephan Mueller
Hi Herbert, as discussed, these patches use the memzero_explicit function that is yet to be integrated into the cryptodev-2.6 tree. Stephan Mueller (2): crypto: AF_ALG - zeroize message digest buffer crypto: AF_ALG - zeroize IV buffer crypto/algif_hash.c | 2 ++ crypto/algif_skcipher.c

Re: [PATCH] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
> All the changes are against variables/functions that are only accessed from > within the same file. If the scope needs to change later on, the static > keyword > can be removed. > > Compile tested. Correction - I somehow missed a compile error. Disregard this patch, I'll follow up with a

Re: [RESENDv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-11-10 Thread Florian Fainelli
2014-10-27 2:24 GMT-07:00 Jingchang Lu : > This patch fixes commit 2dea53bf57783f243c892e99c10c6921e956aa7e, > "serial: of-serial: add PM suspend/resume support", which disables > the uart clock on suspend, but also causes a hardware hang on register > access if no_console_suspend command line

Re: [PATCH 0/3] Add support for Tegra Activity Monitor

2014-11-10 Thread Alexandre Courbot
On 11/07/2014 09:35 PM, Tomeu Vizoso wrote: On 11/07/2014 10:07 AM, Alexandre Courbot wrote: On 10/29/2014 11:50 PM, Tomeu Vizoso wrote: Hello, these patches implement support for setting the rate of the EMC clock based on stats collected from the ACTMON, a piece of hw in the Tegra124 that

Re: [PATCH 3/5] lib: lockless generic and arch independent page table (gpt) v2.

2014-11-10 Thread Linus Torvalds
On Mon, Nov 10, 2014 at 7:16 PM, Linus Torvalds wrote: > > There's no reason for a "u64 cast". The value of "1 << pd_shift" is > going to be an "int" regardless of what type pd_shift is. The type of > a shift expression is the type of the left-hand side (with the C > promotion rules forcing it to

Re: [PATCH 1/3] perf tools: Allow vmlinux to fallback to kallsyms on NO_LIBELF=1

2014-11-10 Thread Namhyung Kim
Hi Peter, On Mon, Nov 10, 2014 at 9:11 PM, Peter Zijlstra wrote: > On Mon, Nov 10, 2014 at 03:33:11PM +0900, Namhyung Kim wrote: >> Hmm.. I don't think it's specific to the minimal elf parser. The return >> value of dso__load_sym() is a number of symbols found so when it sees a >> dso with 0

Re: [V2 PATCH 10/10] added kernel build, configuration, and TODO files

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:41PM -0800, Stephanie Wallick wrote: > Signed-off-by: Sean O. Stalley > Signed-off-by: Stephanie Wallick No changelog entry? > --- > MAINTAINERS| 7 +++ > drivers/staging/Kconfig| 2 ++ > drivers/staging/Makefile

Re: [PATCH 5/5] cpufreq, add BUG() messages in critical paths to aid debugging failures

2014-11-10 Thread Viresh Kumar
On 5 November 2014 20:23, Prarit Bhargava wrote: > diff --git a/drivers/cpufreq/cpufreq_governor.c > b/drivers/cpufreq/cpufreq_governor.c > index b1ee597..f158882 100644 > --- a/drivers/cpufreq/cpufreq_governor.c > +++ b/drivers/cpufreq/cpufreq_governor.c > @@ -161,9 +161,18 @@ void

Re: [PATCH] PCI: Apply _HPX link control for all supported pcie device

2014-11-10 Thread Bjorn Helgaas
On Thu, Nov 06, 2014 at 05:59:40PM -0800, Yinghai Lu wrote: > With commit 6cd33649fa83 ("PCI: Add pci_configure_device() during > enumeration") > and following commits, we apply _HPX for pci devices. > > that is called via pci_scan_slot > ==>pci_scan_single_device >

  1   2   3   4   5   6   7   8   9   10   >