[PATCH] media: tvp514x: remove field description

2013-01-14 Thread Lad, Prabhakar
This patch removes the field description of fields that no longer exists, along side aligns the field description of fields. Signed-off-by: Lad, Prabhakar --- include/media/tvp514x.h |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/media/tvp514x.h

[PATCH 1/2] svcrpc: fix compile warning about unused variable 'buf'

2013-01-14 Thread Mika Westerberg
Commit 7032a3dd923 (svcrpc: demote some printks to a dprintk) changed the printk to a dprintk() macro. Since the macro is not always available we get following compile warning: net/sunrpc/svc.c: In function ‘svc_printk’: net/sunrpc/svc.c:1050:8: warning: unused variable ‘buf’ [-Wunused-variable]

[PATCH 2/2] nfsd: fix compile warning about unused variable 'nn'

2013-01-14 Thread Mika Westerberg
Commit c9a4962881 (nfsd: make client_lock per net) added lockdep_assert_held() call to function free_client(). However, if lockdep is disabled we get following compiler warning: fs/nfsd/nfs4state.c: In function ‘free_client’: fs/nfsd/nfs4state.c:1051:19: warning: unused variable ‘nn’

Re: [PATCH] avr32: boards/atngw100/mrmt.c: fix build error

2013-01-14 Thread Hans-Christian Egtvedt
Around Mon 14 Jan 2013 22:43:51 +0100 or thereabout, Cong Ding wrote: > there is an extra "} in the file, so we delete it. > > Signed-off-by: Cong Ding Acked-by: Hans-Christian Egtvedt > --- > arch/avr32/boards/atngw100/mrmt.c |1 - > 1 file changed, 1 deletion(-) > > diff --git

[PATCH 2/3] irq: Add hw continuous IRQs map to virtual continuous IRQs support

2013-01-14 Thread Mike Qiu
Adding a function irq_create_mapping_many() which can associate multiple MSIs to a continous irq mapping. This is needed to enable multiple MSI support for pSeries. Signed-off-by: Mike Qiu --- include/linux/irq.h |2 + include/linux/irqdomain.h |3 ++ kernel/irq/irqdomain.c|

[PATCH 0/3] Enable multiple MSI feature in pSeries

2013-01-14 Thread Mike Qiu
Currently, multiple MSI feature hasn't been enabled in pSeries, These patches try to enbale this feature. These patches have been tested by using ipr driver, and the driver patch has been made by Wen Xiong : [PATCH 0/7] Add support for new IBM SAS controllers Test platform: One partition of

[PATCH 1/3] irq: Set multiple MSI descriptor data for multiple IRQs

2013-01-14 Thread Mike Qiu
Multiple MSI only requires the IRQ in msi_desc entry to be set as the value of irq_base. This patch implements the above mentioned technique. Signed-off-by: Mike Qiu --- include/linux/irq.h |2 ++ kernel/irq/chip.c | 40 ++-- 2 files changed, 32

[PATCH 3/3] powerpc/pci: Enable pSeries multiple MSI feature

2013-01-14 Thread Mike Qiu
PCI devices support MSI, MSIX as well as multiple MSI. But pSeries does not support multiple MSI yet. This patch enable multiple MSI feature in pSeries. Signed-off-by: Mike Qiu --- arch/powerpc/kernel/msi.c|4 -- arch/powerpc/platforms/pseries/msi.c | 62

[PATCH 03/13] perf header: Add HEADER_GROUP_DESC feature

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim Save group relationship information so that it can be restored when perf report is running. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: Ingo Molnar Cc: Jiri Olsa Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 01/13] perf tools: Keep group information

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim Add a few of group-related field in struct perf_{evlist,evsel} so that the group information in a evlist can be known easily. It only counts groups which have more than 1 members since leader-only groups are treated as non-group events. Signed-off-by: Namhyung Kim Acked-by:

[PATCH] tools, vm: add .gitignore to ignore built binaries

2013-01-14 Thread Joonsoo Kim
There is no .gitignore in tools/vm, so 'git status' always show built binaries. To ignore this, add .gitignore. Signed-off-by: Joonsoo Kim diff --git a/tools/vm/.gitignore b/tools/vm/.gitignore new file mode 100644 index 000..44f095f --- /dev/null +++ b/tools/vm/.gitignore @@ -0,0 +1,2 @@

[PATCH 02/13] perf tests: Add group test conditions

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim As some new fields for handling groups added, check them to be sure to have valid values in test__group* cases. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: Ingo Molnar Cc: Jiri Olsa Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 05/13] perf hists: Resort hist entries using group members for output

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim When event group is enabled, sorting hist entries on periods for output should consider groups members' period also. To do that, build period table using link/pair information and compare the table. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: Ingo Molnar Cc: Jiri

[PATCH 06/13] perf ui/hist: Add support for event group view

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp functions which looks almost identical. Thanks to Arnaldo for suggesting a better way to print group members without allocating temporary array. Cc: Jiri Olsa

[GIT PULL] extcon for 3.8-rc4

2013-01-14 Thread Chanwoo Choi
Hi Greg, This is the extcon pull request for Linux 3.8-rc4. Please pull extcon with following updates: Update to max77693/max8997 extcon driver: - Using MHL_TA cable for charging. - Support JIG cable. - Support Dock-Audio device for playing music and button of device. - Support Dock-Smart

[PATCH 09/13] perf gtk/browser: Trim column header string when event group enabled

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim When event group feature is enabled, each column header is expanded to match with the whole group column width. But this is not needed for GTK+ browser since it usually use variable-width fonts. So trim it. As we have ltrim() implementation in builtin-script.c move it to

[PATCH 04/13] perf report: Make another loop for linking group hists

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim Now the event grouping viewing requires linking all member hists in a group to the leader's. Thus hists__output_resort should be called after linking all events in evlist. Introduce symbol_conf.event_group flag to determine whether the feature is enabled or not.

[PATCH 07/13] perf hist browser: Add support for event group view

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp functions which looks almost identical. Also move coloring logic into the hpp function so that each value can be colored independently. Cc: Jiri Olsa Cc:

[PATCH 10/13] perf report: Bypass non-leader events when event group is enabled

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim Since we have all necessary information in the leader events and other members don't, bypass members. Member events will be shown along with the leaders if event group is enabled. Cc: Jiri Olsa Cc: Stephane Eranian Cc: Pekka Enberg Acked-by: Jiri Olsa Signed-off-by:

[PATCH 11/13] perf report: Show group description when event group is enabled

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim When using event group viewer, it's better to show the group description rather than the leader information alone. If a leader did not contain any member, it's a non-group event. Cc: Jiri Olsa Cc: Stephane Eranian Cc: Pekka Enberg Acked-by: Jiri Olsa Signed-off-by:

[PATCH 13/13] perf report: Add report.group config option

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim Add report.group config option for setting default value of event group view. It affects the report output only if perf.data contains event group info. A user can write .perfconfig file like below to enable group view by default: $ cat ~/.perfconfig [report] group =

[PATCH 08/13] perf gtk/browser: Add support for event group view

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp functions which looks almost identical. Unlike other hpp backend, GTK+ needs to print dummy 0.00% output since it's displayed with variable width fonts. So that

[PATCH 12/13] perf report: Add --group option

2013-01-14 Thread Namhyung Kim
From: Namhyung Kim Add --group option to enable event grouping. When enabled, all the group members information will be shown together with the leader. Cc: Jiri Olsa Cc: Stephane Eranian Acked-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 3 +++

[PATCHSET 00/13] perf report: Add support for event group view (v8)

2013-01-14 Thread Namhyung Kim
Hi, This is my 8th attempt to enable the event group view for perf report. For basic idea and usage example, please see my initial post [1]. This version is rebased on the current acme/perf/core and it's mainly changed due to a refactoring of gtk browser. You can get this via 'perf/group-v8'

Re: [PATCH 4/4] f2fs: add blk plugging support in f2fs

2013-01-14 Thread Namjae Jeon
2013/1/15, Jaegeuk Kim : > 2013-01-14 (월), 20:10 +0900, Namjae Jeon: >> 2013/1/14, Jaegeuk Kim : >> > 2013-01-12 (토), 14:42 +0900, Namjae Jeon: >> >> From: Namjae Jeon >> >> >> >> With f2fs having different writepages support for data, node and >> >> metapages. >> >> It will not be covered under

[PATCH v2 3/3 RFT] ARM: tegra: dts: seaboard: enable keyboard

2013-01-14 Thread Laxman Dewangan
Enable tegra based keyboard controller and populate the key matrix for seaboard. The key matrix was originally on driver code which is removed to have clean driver. The key mapping is now passed through dts file. Signed-off-by: Laxman Dewangan --- Added the configuration of kbc parameter as

rtc: vt8500: Fix year field in vt8500_rtc_set_time

2013-01-14 Thread Tony Prisk
Alessandro, This patch was sent out at the same time as two other RTC fixes for vt8500 but this one seems to have stopped somewhere along the way while the other two have been accepted. The patch is showing in the RTC patch system along with the other two:

[PATCH 3/3] slub: add 'likely' macro to inc_slabs_node()

2013-01-14 Thread Joonsoo Kim
After boot phase, 'n' always exist. So add 'likely' macro for helping compiler. Signed-off-by: Joonsoo Kim diff --git a/mm/slub.c b/mm/slub.c index 830348b..6f82070 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1005,7 +1005,7 @@ static inline void inc_slabs_node(struct kmem_cache *s, int node,

[PATCH 2/3] slub: correct bootstrap() for kmem_cache, kmem_cache_node

2013-01-14 Thread Joonsoo Kim
Current implementation of bootstrap() is not sufficient for kmem_cache and kmem_cache_node. First, for kmem_cache. bootstrap() call kmem_cache_zalloc() at first. When kmem_cache_zalloc() is called, kmem_cache's slab is moved to cpu slab for satisfying kmem_cache allocation request. In current

[PATCH 1/3] slub: correct to calculate num of acquired objects in get_partial_node()

2013-01-14 Thread Joonsoo Kim
There is a subtle bug when calculating a number of acquired objects. After acquire_slab() is executed at first, page->inuse is same as page->objects, then, available is always 0. So, we always go next iteration. Correct it to stop a iteration when we find sufficient objects at first iteration.

Re: [PATCH v8 22/22] PCI: move device_add out of pci_bus_add_device()

2013-01-14 Thread Yinghai Lu
On Sat, Jan 12, 2013 at 3:54 PM, Rafael J. Wysocki wrote: >> Move out device registering out of pci_bus_add_devices, so we could >> put new created pci devices in device tree early. >> >> new pci_bus_add_devices will do the device_attach work to load pci drivers >> instead. > > I wonder what

Re: [PATCH v8 01/22] PCI, acpiphp: Add is_hotplug_bridge detection

2013-01-14 Thread Yinghai Lu
On Mon, Jan 14, 2013 at 10:45 PM, Yijing Wang wrote: >> + list_for_each_entry(func, >funcs, sibling) { >> + if (PCI_FUNC(dev->devfn) == func->function) { >> + /* check if this bridge has ejectable slots */ >> + if

Re: [PATCH] dw_dmac: don't exceed AHB master number in dwc_get_data_width

2013-01-14 Thread Andy Shevchenko
On Tue, Jan 15, 2013 at 3:54 AM, Viresh Kumar wrote: > On Mon, Jan 14, 2013 at 7:50 PM, Andy Shevchenko > wrote: >> The driver's default assumes that hardware has two AHB masters which might be >> not true. In such rare cases we have not to exceed a number of the AHB >> masters >> present in

Re: [PATCH 3/3] [regmap] [RESEND] Add "no-bus" option for regmap API

2013-01-14 Thread Mark Brown
On Mon, Jan 14, 2013 at 09:08:27AM -0800, Andrey Smirnov wrote: > On Sun, Jan 13, 2013 at 3:18 PM, Mark Brown > > On Sat, Jan 12, 2013 at 12:54:14PM -0800, Andrey Smirnov wrote: > >> + bool cache_registers; > > I'm afraid I don't quite understand this... > From my understanding of the code

Re: 3.7-rc7: BUG: MAX_STACK_TRACE_ENTRIES too low!

2013-01-14 Thread Li Zhong
On Sat, 2013-01-12 at 12:43 -0800, Christian Kujau wrote: > On Wed, 28 Nov 2012 at 16:41, Li Zhong wrote: > > On Tue, 2012-11-27 at 19:22 -0800, Christian Kujau wrote: > > > On Tue, 27 Nov 2012 at 19:06, Christian Kujau wrote: > > > > the same thing[0] happened again in 3.7-rc7, after ~20h uptime:

Re: [PATCH v8 17/22] PCI, ACPI: Add alloc_acpi_hp_work()

2013-01-14 Thread Yinghai Lu
On Sat, Jan 12, 2013 at 3:45 PM, Rafael J. Wysocki wrote: > On Friday, January 11, 2013 02:40:44 PM Yinghai Lu wrote: >> Will use it with acpiphp and pci_root_hp events handling > > I think it would be better if you folded patches [17-20/22] together. just want to make move/split more simple. so

Re: [PATCH v8 14/22] ACPI: update ej_event interface to take acpi_device

2013-01-14 Thread Yinghai Lu
On Sat, Jan 12, 2013 at 3:40 PM, Rafael J. Wysocki wrote: > On Friday, January 11, 2013 02:40:41 PM Yinghai Lu wrote: >> Should use acpi_device pointer directly instead of use handle and >> get the device pointer again later. > > Looks good. > > I can take this one right now if you want. yes, in

[PATCH] timer: vt8500: Convert vt8500 to use CLKSRC_OF

2013-01-14 Thread Tony Prisk
This patch converts arch-vt8500 to make use of CLKSRC_OF. Doing so removes the need for include/linux/vt8500_timer.h as vt8500_timer_init no longer needs to be visible outside vt8500_timer.c Signed-off-by: Tony Prisk --- Hi Olof, Here is the fix as requested by Stephen Warren, based on

Re: [PATCH v8 01/22] PCI, acpiphp: Add is_hotplug_bridge detection

2013-01-14 Thread Yijing Wang
On 2013/1/12 6:40, Yinghai Lu wrote: > When system support hotplug bridge with children hotplug slots, we need > to make sure that parent bridge get preallocated resource so later when > device is plugged into children slot, those children devices will get > resource allocated. > > We do not meet

Re: [GIT PULL] (xen) stable/for-jens-3.8 - bug-fixes.

2013-01-14 Thread Jens Axboe
On Mon, Jan 14 2013, Konrad Rzeszutek Wilk wrote: > Hey Jens, > > Please git pull the following branch: > > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git > stable/for-jens-3.8 > > which has a couple of fixes that should have been pulled some time ago (my > mistake > on not

Re: [PATCH v8 09/22] PCI, ACPI: Add pci_root_hp hot removal notification support.

2013-01-14 Thread Yinghai Lu
On Sat, Jan 12, 2013 at 3:26 PM, Rafael J. Wysocki wrote: > On Friday, January 11, 2013 02:40:36 PM Yinghai Lu wrote: >> Add missing hot_remove support for root device. >> >> How to test it? >> Find out root bus number to acpi root name mapping from dmesg or /sys >> >> echo "\_SB.PCIB 3" >

Re: [PATCH v2 2/4] input: keyboard: tegra: use devm_* for resource allocation

2013-01-14 Thread Thierry Reding
On Mon, Jan 14, 2013 at 10:24:11PM +, Arnd Bergmann wrote: > On Monday 14 January 2013, Thierry Reding wrote: > > It certainly sounds like a less complicated way to do it. But it also > > involves adding a function with a made up name and drop a function with > > a perfectly good name instead.

Re: [next-20130114] Call-trace in LTP (lite) madvise02 test (block|mm|vfs related?)

2013-01-14 Thread Jens Axboe
On Mon, Jan 14 2013, Sedat Dilek wrote: > On Mon, Jan 14, 2013 at 8:28 PM, Sedat Dilek wrote: > > On Mon, Jan 14, 2013 at 7:56 PM, Jens Axboe wrote: > >> On 2013-01-14 19:33, Sedat Dilek wrote: > >>> Hi, > >>> > >>> while running LTP lite

Re: [PATCH v8 08/22] PCI, acpiphp: Separate out hot-add support of pci host bridge

2013-01-14 Thread Yinghai Lu
On Sat, Jan 12, 2013 at 3:18 PM, Rafael J. Wysocki wrote: >> @@ -673,3 +673,223 @@ int __init acpi_pci_root_init(void) >> >> return 0; >> } >> + >> +/* >> + * Separated from drivers/pci/hotplug/acpiphp_glue.c >> + * only support root bridge >> + */ > > This comment will be useless after

Re: [PATCHv2 1/4] clockevents: Add generic timer broadcast receiver

2013-01-14 Thread Santosh Shilimkar
On Monday 14 January 2013 09:06 PM, Mark Rutland wrote: On Mon, Jan 14, 2013 at 02:17:26PM +, Thomas Gleixner wrote: On Mon, 14 Jan 2013, Mark Rutland wrote: On Mon, Jan 14, 2013 at 11:50:55AM +, Thomas Gleixner wrote: On Mon, 14 Jan 2013, Mark Rutland wrote: On Mon, Jan 14, 2013 at

Re: [PATCH v2 1/2] i2c-core: dt: Pick i2c bus number from i2c alias if present

2013-01-14 Thread Olof Johansson
On Mon, Jan 14, 2013 at 10:53:21AM -0800, Doug Anderson wrote: > This allows you to get the equivalent functionality of > i2c_add_numbered_adapter() with all data in the device tree and no > special case code in your driver. This is a common device tree > technique. > > For quick reference, the

[head.S] opening DEBUG ,kernel crashed

2013-01-14 Thread zhaoyilong
When I open the macro DEBUG in the front of file arch/arm/boot/decompressed/head.S,the kernel runs and stops at"Uncompressing Linux... done, booting the kernel." CONFIG_DEBUG_ICEDCC is closed by default, so I am sure the code runs tothe following branch: ... ... ...

Re: [PATCH v8 07/22] ACPI: Separate acpi_bus_trim to support two steps.

2013-01-14 Thread Yinghai Lu
On Sat, Jan 12, 2013 at 2:40 PM, Rafael J. Wysocki wrote: > On Friday, January 11, 2013 02:40:34 PM Yinghai Lu wrote: >> Current all acpi_bus_trim callers have rmdevice to 1. >> that means it will remove all acpi devices. >> >> When 0, is passed, it will keep the parent. >> >> For root bus

Re: [PATCH v8 06/22] PCI: split registration of PCI bus devices into two stages

2013-01-14 Thread Yinghai Lu
On Sun, Jan 13, 2013 at 7:25 AM, Jiang Liu wrote: > On 01/13/2013 06:34 AM, Rafael J. Wysocki wrote: >> On Friday, January 11, 2013 02:40:33 PM Yinghai Lu wrote: >>> From: Jiang Liu >>> >>> When handling BUS_NOTIFY_ADD_DEVICE event for a PCI bridge device, >>> the notification handler can't hold

Re: [PATCH v4 5/5] mmc: dw_mmc: Remove DW_MCI_QUIRK_NO_WRITE_PROTECT

2013-01-14 Thread Olof Johansson
On Fri, Jan 11, 2013 at 09:03:54AM -0800, Doug Anderson wrote: > The original quirk was added in the change 'mmc: dw_mmc: add quirk to > indicate missing write protect line'. The original quirk was added at > a controller level even though each slot has its own write protect (so > the quirk

Re: [PATCH v4 4/5] mmc: dw_mmc: Handle wp-gpios from device tree

2013-01-14 Thread Olof Johansson
On Fri, Jan 11, 2013 at 09:03:53AM -0800, Doug Anderson wrote: > On some SoCs (like exynos5250) you need to use an external GPIO for > write protect. Add support for wp-gpios to the core dw_mmc driver > since it could be useful across multiple SoCs. > > With this change I am able to make use of

Re: [PATCH v4 2/5] ARM: dts: Add disable-wp for sd card slot on smdk5250

2013-01-14 Thread Olof Johansson
On Fri, Jan 11, 2013 at 09:03:51AM -0800, Doug Anderson wrote: > The next change will remove the code from the dw_mmc-exynos that added > the DW_MCI_QUIRK_NO_WRITE_PROTECT. Keep existing functionality of > having no write protect pin on smdk5250 by adding the disable-wp > property. > >

Re: [PATCH v4 3/5] mmc: dw_mmc: exynos: Remove code for wp-gpios

2013-01-14 Thread Olof Johansson
On Fri, Jan 11, 2013 at 09:03:52AM -0800, Doug Anderson wrote: > The exynos code claimed the write protect with devm_gpio_request() but > never did anything with it. That meant that anyone using a write > protect GPIO would effectively be write protected all the time. > > The handling for

Re: [PATCH v3] i2c: exynos5: add High Speed I2C controller driver

2013-01-14 Thread Naveen Krishna Ch
On 28 December 2012 22:06, Naveen Krishna Ch wrote: > On 28 December 2012 16:57, Naveen Krishna Chatradhi > wrote: >> Adds support for High Speed I2C driver found in Exynos5 and later >> SoCs from Samsung. This driver currently supports Auto mode. >> >> Driver only supports Device Tree method of

Re: USB device cannot be reconnected and khubd "blocked for more than 120 seconds"

2013-01-14 Thread Ming Lei
On Tue, Jan 15, 2013 at 9:53 AM, Ming Lei wrote: > > I will try to figure out one patch to address the scsi block async probe > issue first, and see if it can fix the problem by moving add_disk() > into sd_probe() > and calling async_synchronize_full_domain(_sd_probe_domain) > in the entry of

Re: [PATCH v8 02/22] PCI: Add root bus children dev's res to fail list

2013-01-14 Thread Yinghai Lu
On Sat, Jan 12, 2013 at 1:37 PM, Rafael J. Wysocki wrote: > On Friday, January 11, 2013 02:40:29 PM Yinghai Lu wrote: >> We can stop trying according to try number now and do not need to use >> root_bus checking as stop sign anymore. >> >> In extreme case we could need to reallocate resource for

[PATCH] PM / Runtime: return the right value when deferred_resume is true in rpm_suspend()

2013-01-14 Thread Chuansheng Liu
For the case that in rpm_suspend() and deferred_resume is true, the rpm_resume() will be called, and if rpm_resume() return error, at this time, the device is still in SUSPENDED state. In this case it is still an suspend succeeding case, we should return non-error instead of EAGAIN. An example

Re: [PATCH v4 1/5] mmc: dw_mmc: Add "disable-wp" device tree property

2013-01-14 Thread Olof Johansson
On Fri, Jan 11, 2013 at 09:03:50AM -0800, Doug Anderson wrote: > The "disable-wp" property is used to specify that a given SD card slot > doesn't have a concept of write protect. This eliminates the need for > special case code for SD slots that should never be write protected > (like a micro SD

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-14 Thread Yinghai Lu
On Fri, Jan 11, 2013 at 9:49 AM, Yinghai Lu wrote: > On Fri, Jan 11, 2013 at 8:52 AM, Yinghai Lu wrote: >>> >>> I need to check this patch out and then also test-run them on IA64, AMD-VI, >>> Calgary-X >>> GART and Intel VT-d to make a sanity test. >> >> that will be great, and please check

Re: [PATCH v7u1 22/31] x86, boot: add fields to support load bzImage and ramdisk above 4G

2013-01-14 Thread Yinghai Lu
On Mon, Jan 14, 2013 at 12:05 PM, Yinghai Lu wrote: > On Mon, Jan 14, 2013 at 11:56 AM, H. Peter Anvin wrote: >> On 01/14/2013 11:50 AM, Yinghai Lu wrote: >>> On Mon, Jan 14, 2013 at 10:59 AM, H. Peter Anvin wrote: No, there were other fields that were also left uninitialized, per your

[PATCH 2/2] cpuset: return the return value of cgroup_path() to userspace

2013-01-14 Thread Li Zefan
-EINVAL is improper, as we don't accept user inputs. Signed-off-by: Li Zefan --- kernel/cpuset.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 1a675e4..16be7c9 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -2677,7 +2677,6 @@ static int

[PATCH 1/2] cpuset: fix RCU lockdep splat

2013-01-14 Thread Li Zefan
Reading /proc//cpuset triggered RCU warning, and this bug was introduced by Commit 5d21cc2db040d01f8c19b8602f6987813e1176b4 ("cpuset: replace cgroup_mutex locking with cpuset internal locking") Here we can retreive tsk->cgroups and call cgroup_path() inside RCU read section. Reported-by: Sasha

[PATCH v7] usb: phy: samsung: Add support to set pmu isolation

2013-01-14 Thread Vivek Gautam
Adding support to parse device node data in order to get required properties to set pmu isolation for usb-phy. Signed-off-by: Vivek Gautam Reviewed-by: Sylwester Nawrocki Reviewed-by: Doug Anderson --- Changes from v6: - Returning error code in samsung_usbphy_parse_dt() when 'usbphy-sys'

Re: [Bulk] [PATCH] timer: vt8500: Move timer code to drivers/clocksource

2013-01-14 Thread Olof Johansson
On Mon, Jan 14, 2013 at 8:12 PM, Tony Prisk wrote: > On Mon, 2013-01-14 at 12:07 -0800, Olof Johansson wrote: >> On Mon, Jan 14, 2013 at 06:47:35PM +1300, Tony Prisk wrote: >> > On Mon, 2013-01-14 at 18:13 +1300, Tony Prisk wrote: >> > > On Mon, 2013-01-14 at 18:09 +1300, Tony Prisk wrote: >> > >

Re: [PATCH] timer: vt8500: Move timer code to drivers/clocksource

2013-01-14 Thread Olof Johansson
On Mon, Jan 14, 2013 at 8:53 PM, Tony Prisk wrote: > On Mon, 2013-01-14 at 09:34 -0700, Stephen Warren wrote: >> On 01/13/2013 10:09 PM, Tony Prisk wrote: >> > This patch moves arch-vt8500/timer.c into drivers/clocksource and >> > updates the necessary Kconfig/Makefile options. >> >> > diff --git

[PATCH] usbnet: dm9601: Fix incorrect command

2013-01-14 Thread Tushar Behera
commit 24b1042c4eb2 ("usbnet: dm9601: apply introduced usb command APIs") removes the distiction between DM_WRITE_REG and DM_WRITE_REGS command. The distiction is reintroduced to the driver so that the functionality of the driver remains same. CC: Ming Lei Signed-off-by: Tushar Behera ---

[PATCH 4/6] block: Optionally snapshot page contents to provide stable pages during write

2013-01-14 Thread Darrick J. Wong
This provides a band-aid to provide stable page writes on jbd without needing to backport the fixed locking and page writeback bit handling schemes of jbd2. The band-aid works by using bounce buffers to snapshot page contents instead of waiting. For those wondering about the ext3 bandage --

[PATCH 6/6] ubifs: Wait for page writeback to provide stable pages

2013-01-14 Thread Darrick J. Wong
When stable pages are required, we have to wait if the page is just going to disk and we want to modify it. Add proper callback to ubifs_vm_page_mkwrite(). CC: Artem Bityutskiy From: Jan Kara CC: Adrian Hunter CC: linux-...@lists.infradead.org Signed-off-by: Jan Kara --- fs/ubifs/file.c |

[PATCH 1/6] bdi: Allow block devices to say that they require stable page writes

2013-01-14 Thread Darrick J. Wong
This creates a per-backing-device flag that tracks whether or not pages must be held immutable during writeout. Eventually it will be used to waive wait_for_page_writeback() if nothing requires stable pages. Reviewed-by: Jan Kara Signed-off-by: Darrick J. Wong ---

[PATCH 3/6] 9pfs: Fix filesystem to wait for stable page writeback

2013-01-14 Thread Darrick J. Wong
Fix up the ->page_mkwrite handler to provide stable page writes if necessary. Signed-off-by: Darrick J. Wong --- fs/9p/vfs_file.c |1 + 1 file changed, 1 insertion(+) diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index c2483e9..357260b 100644 --- a/fs/9p/vfs_file.c +++

[PATCH 5/6] ocfs2: Wait for page writeback to provide stable pages

2013-01-14 Thread Darrick J. Wong
When stable pages are required, we have to wait if the page is just going to disk and we want to modify it. Add proper callback to ocfs2_grab_pages_for_write(). CC: ocfs2-de...@oss.oracle.com CC: Joel Becker CC: Mark Fasheh From: Jan Kara Signed-off-by: Jan Kara --- fs/ocfs2/aops.c |1 +

[PATCH v2.4 0/3] mm/fs: Remove unnecessary waiting for stable pages

2013-01-14 Thread Darrick J. Wong
Hi all, This patchset ("stable page writes, part 2") makes some key modifications to the original 'stable page writes' patchset. First, it provides creators (devices and filesystems) of a backing_dev_info a flag that declares whether or not it is necessary to ensure that page contents cannot

[PATCH 2/6] mm: Only enforce stable page writes if the backing device requires it

2013-01-14 Thread Darrick J. Wong
Create a helper function to check if a backing device requires stable page writes and, if so, performs the necessary wait. Then, make it so that all points in the memory manager that handle making pages writable use the helper function. This should provide stable page write support to most

Re: [PATCH] usb: phy: samsung: Add support to set pmu isolation

2013-01-14 Thread Vivek Gautam
Hi Doug, On Tue, Jan 15, 2013 at 3:41 AM, Doug Anderson wrote: > Vivek, > > Sorry for being so absent from these reviews. I'll try to look over a > few patches today, but please don't hold up anything on account of my > reviews. I'm definitely a bit of an interested bystander in USB land. >

Re: cpuset: lockdep spew on proc_cpuset_show

2013-01-14 Thread Li Zefan
On 2013/1/15 10:47, Sasha Levin wrote: > Hi Tejun, > > I've stumbled on the following: > > [ 75.972016] === > [ 75.977317] [ INFO: suspicious RCU usage. ] > [ 76.041031] 3.8.0-rc3-next-20130114-sasha-00016-ga107525-dirty #262

Re: [dgrp_register_proc] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040

2013-01-14 Thread devendra.aaru
On Tue, Jan 15, 2013 at 12:10 AM, Fengguang Wu wrote: > 7b6d45c211a401a9bdeebfa96f8a4c811bd3eeaf is the first bad commit > > commit 7b6d45c211a401a9bdeebfa96f8a4c811bd3eeaf > Author: Bill Pemberton > Date: Thu Sep 20 16:55:28 2012 -0400 > > staging: dgrp: add dgrp to the build > >

Re: [PATCH 0/3] x86: enable common clk and add support for Lynxpoint clocks

2013-01-14 Thread Mika Westerberg
On Mon, Jan 14, 2013 at 04:46:25PM +0200, Mika Westerberg wrote: > Hi all, > > The discussion that lead to this patch series starts from the below thread: > > http://thread.gmane.org/gmane.linux.kernel/1417691 > > In summary, there is no point in adding a special case code to the drivers

Re: [PATCH v2] gpio: vt8500: memory cleanup missing

2013-01-14 Thread Tony Prisk
On Tue, 2013-01-15 at 07:37 +1300, Tony Prisk wrote: > This driver is missing a .remove callback, and the fail path on > probe is incomplete. > > If an error occurs in vt8500_add_chips, gpio_base is not unmapped. > The driver is also ignoring the return value from this function so > if a chip

Re: [PATCH 2/4] serial: vt8500: ioremap'd resource is never freed

2013-01-14 Thread Tony Prisk
On Tue, 2013-01-15 at 17:58 +1300, Tony Prisk wrote: > Memory mapped via ioremap call is never released. Rather than add an > iounmap call, change allocation function to devm_request_and_ioremap. > > Also, change the error on failure for this call to -EBUSY rather than > -EADDRNOTAVAIL. Grr.. I

[PATCH 3/4] serial: vt8500: UART uses gated clock rather than 24Mhz reference

2013-01-14 Thread Tony Prisk
UART modules on Wondermedia SoCs are connected via a gated clock source, rather than directly to the 24Mhz reference clock. While uboot enables UART0 for debugging, other UART ports are unavailable until the clock is enabled. This patch checks that a valid clock is actually passed from

[PATCH 4/4] serial: tty: Cleanup code using devm_ function

2013-01-14 Thread Tony Prisk
Convert the last memory allocation (vt8500_port) to use devm_kzalloc and remove the fail path cleanup code from vt8500_serial_probe. Reorder iomem mapping above clk_enable to simplify fail code. The clock is only enabled if all other resources are available. Signed-off-by: Tony Prisk ---

[GIT PULL v2] Fixes/cleanup for vt8500 serial driver

2013-01-14 Thread Tony Prisk
Hi Greg, This is a series of fixes/cleanup for the vt8500 serial/uart driver. I'm not sure how you want to handle these. Arguably #1, #2 and #3 are bug fixes which could go into 3.8. None of them cause immediate problems, but potentially could. #4 is definately a cleanup for 3.9. Let me know

[PATCH 1/4] serial: vt8500: Fix range-checking on vt8500_uart_ports

2013-01-14 Thread Tony Prisk
Fix two instances where the index to vt8500_uart_ports is tested against > VT8500_MAX_PORTS. Correct usage should be >= VT8500_MAX_PORTS. Signed-off-by: Tony Prisk --- drivers/tty/serial/vt8500_serial.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/4] serial: vt8500: ioremap'd resource is never freed

2013-01-14 Thread Tony Prisk
Memory mapped via ioremap call is never released. Rather than add an iounmap call, change allocation function to devm_request_and_ioremap. Also, change the error on failure for this call to -EBUSY rather than -EADDRNOTAVAIL. Signed-off-by: Tony Prisk --- drivers/tty/serial/vt8500_serial.c |

Re: [PATCH 1/1] net: ipv4: refine the logic for determining daddr in ip_queue_xmit.

2013-01-14 Thread Eric Dumazet
On Tue, 2013-01-15 at 12:47 +0800, Harvey Yang wrote: > The destination address daddr is faddr if source route option is set, > otherwise it is inet_daddr. So use if-else to assign the value. > > Signed-off-by: Harvey Yang > --- > net/ipv4/ip_output.c |4 ++-- > 1 files changed, 2

Re: [PATCH] timer: vt8500: Move timer code to drivers/clocksource

2013-01-14 Thread Tony Prisk
On Mon, 2013-01-14 at 09:34 -0700, Stephen Warren wrote: > On 01/13/2013 10:09 PM, Tony Prisk wrote: > > This patch moves arch-vt8500/timer.c into drivers/clocksource and > > updates the necessary Kconfig/Makefile options. > > > diff --git a/include/linux/vt8500_timer.h

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-14 Thread Mike Galbraith
On Tue, 2013-01-15 at 11:10 +0800, Michael Wang wrote: > hanks for the testing, could you please tell me which benchmark > generate these results? aim7, using the compute workfile, and a datapoints file containing $Tasks. multitask -nl -f will prompt for the datapoints file. You'll have to

Re: [PATCH 1/1] net: ipv4: refine the logic for determining daddr in ip_queue_xmit.

2013-01-14 Thread David Miller
From: Harvey Yang Date: Tue, 15 Jan 2013 12:47:35 +0800 > The destination address daddr is faddr if source route option is set, > otherwise it is inet_daddr. So use if-else to assign the value. > > Signed-off-by: Harvey Yang You are changing nothing in how this code behaves. And

Re: [PATCH] x86 e820: only void usable memory areas in memmap=exactmap case

2013-01-14 Thread Yinghai Lu
On Mon, Jan 14, 2013 at 4:54 PM, Thomas Renninger wrote: > On Monday, January 14, 2013 11:04:36 AM Yinghai Lu wrote: >> On Mon, Jan 14, 2013 at 7:05 AM, Thomas Renninger wrote: >> > What is this for?: >> > @@ -871,6 +879,11 @@ static int __init parse_memmap_one(char >> > >> > userdef =

[PATCH 1/1] net: ipv4: refine the logic for determining daddr in ip_queue_xmit.

2013-01-14 Thread Harvey Yang
The destination address daddr is faddr if source route option is set, otherwise it is inet_daddr. So use if-else to assign the value. Signed-off-by: Harvey Yang --- net/ipv4/ip_output.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/ip_output.c

[PATCH v2 3/4] regulator-core: free requested GPIOs and manage the enable list

2013-01-14 Thread Kim, Milo
The regulator_ena_gpio_request() allocates the enable GPIO and add the list. Related resources should be released if they are not used any more. To free requested GPIO and remove it from the enable GPIO list, new function, 'regulator_ena_gpio_free()' is added. Signed-off-by: Milo(Woogyom) Kim

[PATCH v2 1/4] regulator-core: support shared enable GPIO concept

2013-01-14 Thread Kim, Milo
A Regulator can be enabled by external GPIO pin. This is configurable in the regulator_config. At this moment, this enable GPIO is owned by only one regulator device. In some devices, multiple regulators are enabled by shared one GPIO pin. This patch extends this limitation, enabling shared

[PATCH v2 2/4] regulator-core: manage enable GPIO list

2013-01-14 Thread Kim, Milo
To support shared enable GPIO pin, replace GPIO code with new static functions regulator_ena_gpio_ctrl() Find a GPIO information in the enable GPIO list and control the pin. _do_ena_gpio_ctrl() Balance the reference count of each GPIO and actual pin control. The count is incremented

[PATCH v2 4/4] lp8788-ldo: use ena_pin of regulator-core for external control

2013-01-14 Thread Kim, Milo
Regulator core driver provides enable GPIO control for enabling/disabling a regulator. Now, enable GPIO is shared among regulators. Use this internal working, so unnecessary code are removed. GPIO enable pin configurations are added in digital LDO and analog LDO drivers. Signed-off-by:

[PATCH] HID: add support for Sony RF receiver with USB product id 0x0374

2013-01-14 Thread Fernando Luis Vázquez Cao
Some Vaio desktop computers, among them the VGC-LN51JGB multimedia PC, have a RF receiver, multi-interface USB device 054c:0374, that is used to connect a wireless keyboard and a wireless mouse. The keyboard works flawlessly, but the mouse (VGP-WMS3 in my case) does not seem to be generating any

Re: [PATCH v12 0/9] LSM: Multiple concurrent LSMs

2013-01-14 Thread Casey Schaufler
On 1/8/2013 9:47 AM, Stephen Smalley wrote: > On 01/07/2013 08:54 PM, Casey Schaufler wrote: >> Subject: [PATCH v12 0/9] LSM: Multiple concurrent LSMs >> >> Change the infrastructure for Linux Security Modules (LSM)s >> from a single vector of hook handlers to a list based method >> for handling

Re: [Linux-c6x-dev] [PATCH 3/9] c6x: Provide dma_mmap_coherent() and dma_get_sgtable()

2013-01-14 Thread Vineet Gupta
On Monday 14 January 2013 09:07 PM, Mark Salter wrote: > On Sun, 2013-01-13 at 11:44 +0100, Geert Uytterhoeven wrote: >> c6x/allmodconfig (assumed): >> >> drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’: >> drivers/media/v4l2-core/videobuf2-dma-contig.c:204: error:

Re: BUG at net/sunrpc/svc_xprt.c:921

2013-01-14 Thread Mark Lord
On 13-01-14 03:37 PM, J. Bruce Fields wrote: > Thanks for the report. > > On Mon, Jan 14, 2013 at 11:17:09AM -0500, Mark Lord wrote: >> Since upgrading to 3.7, and now 3.7.2, my AMD-450E based server > > It's acting as an NFS client, right? Client and server, with other Linux boxes all running

Re: [Bulk] [PATCH] timer: vt8500: Move timer code to drivers/clocksource

2013-01-14 Thread Tony Prisk
On Mon, 2013-01-14 at 12:07 -0800, Olof Johansson wrote: > On Mon, Jan 14, 2013 at 06:47:35PM +1300, Tony Prisk wrote: > > On Mon, 2013-01-14 at 18:13 +1300, Tony Prisk wrote: > > > On Mon, 2013-01-14 at 18:09 +1300, Tony Prisk wrote: > > > > This patch moves arch-vt8500/timer.c into

[RFC PATCH 3/3] vfio-pci: Add support for legacy MMIO & I/O port towards VGA support

2013-01-14 Thread Alex Williamson
Create two new legacy regions, one for MMIO space below 1MB and another for 64k of I/O port space. For devices of PCI class VGA these ranges will be exposed and allow direct access to the device at the PCI defined VGA addresses, 0xa, 0x3b0, 0x3c0. VFIO makes use of the host VGA arbiter to

  1   2   3   4   5   6   7   8   9   10   >