RE: [RFC 12/17] irq: bypass: Extend skeleton for ARM forwarding control

2015-07-03 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Friday, July 03, 2015 2:52 PM > To: Wu, Feng; Eric Auger; eric.au...@st.com; > linux-arm-ker...@lists.infradead.org; kvm...@lists.cs.columbia.edu; > k...@vger.kernel.org; chris

Re: [PATCH v2 1/1] Added additional callback to ptp_clock_info:

2015-07-03 Thread Richard Cochran
I have three nits to pick... On Thu, Jul 02, 2015 at 06:14:48PM -0700, Christopher Hall wrote: > diff --git a/include/linux/ptp_clock_kernel.h > b/include/linux/ptp_clock_kernel.h > index b8b7306..344f129 100644 > --- a/include/linux/ptp_clock_kernel.h > +++ b/include/linux/ptp_clock_kernel.h > @

Re: [RFC 12/17] irq: bypass: Extend skeleton for ARM forwarding control

2015-07-03 Thread Paolo Bonzini
On 03/07/2015 08:54, Eric Auger wrote: >> > Oh... we can get gsi from irq_bypass_consumer -> _irqfd -> gsi, so it >> > is not needed in irq_bypass_consumer. Got it! :) > The issue I have is that struct _irqfd is local to eventfd.c so it > cannot be used in archi specific code. Is it acceptable to

Re: [RESEND v2][GIT PULL] platform-drivers-x86 for 4.2-1

2015-07-03 Thread Darren Hart
On Thu, Jul 02, 2015 at 09:47:45PM +0200, Rafael Wysocki wrote: > On Wednesday, July 01, 2015 07:04:34 PM Linus Torvalds wrote: > > On Tue, Jun 30, 2015 at 2:24 PM, Darren Hart wrote: > > > > > > other: Use acpi_video_unregister_backlight instead of > > > acpi_video_unregister in > > >ser

Re: [RFC 12/17] irq: bypass: Extend skeleton for ARM forwarding control

2015-07-03 Thread Paolo Bonzini
On 03/07/2015 09:00, Wu, Feng wrote: >>> > > struct irq_bypass_consumer { >>> > >struct list_head node; >>> > >void *token; >>> > > + unsigned irq;/*got from producer when registered*/ >>> > >void (*add_producer)(struct irq_bypass_producer *, >>> > >

Re: [RFC 12/17] irq: bypass: Extend skeleton for ARM forwarding control

2015-07-03 Thread Paolo Bonzini
On 02/07/2015 15:17, Eric Auger wrote: > + void (*stop_producer)(struct irq_bypass_producer *); > + void (*resume_producer)(struct irq_bypass_producer *); Also, can you call these just "stop"/"resume" ... > + void (*add_consumer)(struct irq_bypass_producer *, > +

Re: [PATCH] tools/perf, rbtree: Add RCU wrappers to make rbtree.h usable in user-space

2015-07-03 Thread Peter Zijlstra
On Fri, Jul 03, 2015 at 06:21:12AM +0930, Rusty Russell wrote: > Looks like Peter Zijlstra is the one to take this fix... acme is the steward of tools/perf/ > >> diff --git a/tools/perf/util/include/linux/rcupdate.h > >> b/tools/perf/util/include/linux/rcupdate.h > >> new file mode 100644 > >> in

Re: [PATCH v7 08/11] KVM: arm64: introduce vcpu->arch.debug_ptr

2015-07-03 Thread Alex Bennée
Christoffer Dall writes: > On Wed, Jul 01, 2015 at 07:29:00PM +0100, Alex Bennée wrote: >> This introduces a level of indirection for the debug registers. Instead >> of using the sys_regs[] directly we store registers in a structure in >> the vcpu. The new kvm_arm_reset_debug_ptr() sets the debu

RE: [RFC 12/17] irq: bypass: Extend skeleton for ARM forwarding control

2015-07-03 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Friday, July 03, 2015 3:06 PM > To: Wu, Feng; Eric Auger; eric.au...@st.com; > linux-arm-ker...@lists.infradead.org; kvm...@lists.cs.columbia.edu; > k...@vger.kernel.org; christoffer.d...@linaro.org; marc.zyng

Re: [PATCH v2 3/4] ARM: mvebu: Allow using the GIC for wakeup in standby mode

2015-07-03 Thread Gregory CLEMENT
Hi Thomas, On 01/07/2015 17:54, Thomas Petazzoni wrote: > Dear Gregory CLEMENT, > > On Tue, 30 Jun 2015 19:18:59 +0200, Gregory CLEMENT wrote: > >> static void __init mvebu_init_irq(void) >> { >> +if (of_machine_is_compatible("marvell,armada375") || >> +of_machine_is_compatible("ma

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

2015-07-03 Thread Hillf Danton
> fallocate hole punch will want to remove a specific range of pages. > The existing region_truncate() routine deletes all region/reserve > map entries after a specified offset. region_del() will provide > this same functionality if the end of region is specified as -1. > Hence, region_del() can r

Re: [PATCH][v2] asus-rbtn: new driver for asus radio button for Windows 8

2015-07-03 Thread Pali Rohár
On Thursday 02 July 2015 15:10:39 Alex Hung wrote: > Thanks for the support. I will create v3 based with LED triggers. > > Just for information. ASUS's wording is as below: > > Fn+F2 can be used to turn on or off all radio capabilities in the > device (as known as airplane mode switch). I don'

Re: [Ocfs2-devel] [PATCH 0/4] ocfs2: add online file check feature

2015-07-03 Thread Joseph Qi
Hi Gang, Thank you and Goldwyn for posting this feature as well as its framework. This patch set tries to fix inode related errors such as block no, valid flag, generation, metaecc, etc. I think it may fit some cases but not all. For example, valid flag not set readonly may be caused by an inode wi

Re: [PATCH v2 0/8] iio: mma8452: support more devices and improve driver

2015-07-03 Thread Martin Kepplinger
Am 2015-07-01 um 10:21 schrieb Martin Kepplinger: > This is the 2nd version that adds support for motion interrupts and 3 more > accelerometer chips, two of which use them because they don't support the > until now included transient interrupt sources: > > MMA8453Q, MMA8652FC and MMA8653FC; datash

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Andreas Ruprecht
On 07/02/2015 14:10, Paul Bolle wrote: > [Spoiler: please start at the end of my reply.] > > On do, 2015-07-02 at 13:57 +0200, Andreas Ruprecht wrote: >> On 07/02/2015 11:01, Paul Bolle wrote: >>> On Thu, 2015-07-02 at 10:08 +0200, Valentin Rothberg wrote: >>> Welcome to the wonders of lex and yac

config PROC_CHILDREN

2015-07-03 Thread Jean Delvare
Hi Iago, You just introduced a Linux kernel configuration option named PROC_CHILDREN. It is user-visible but has no help. This is bad. As this option appears to be selected automatically as needed, I'm not sure why you made it visible? Please either hide the option, or add a help text to let the

[PATCH] xen-netback: remove duplicated function definition

2015-07-03 Thread Liang Li
There are two duplicated xenvif_zerocopy_callback() definitions. Remove one of them. Signed-off-by: Liang Li --- drivers/net/xen-netback/common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h index 8a495b3..c6cb85a 10064

Re: [PATCH] x86, msr: Allow read access to /dev/cpu/X/msr

2015-07-03 Thread Ingo Molnar
* Brown, Len wrote: > > This driver only knows how to handle counters, though. I'm not sure > > whether all of the MSRs that turbostat needs are counters. > > turbostat --debug > dumps a lot of configuration MSRs that are not counters. > > "--debug" is not an obscure option, it is the only way

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-03 Thread James Liao
On Thu, 2015-07-02 at 12:23 +0800, Daniel Kurtz wrote: > On Thu, Jul 2, 2015 at 11:06 AM, James Liao wrote: > > These clocks such as clkph_mck_o are configured by other modules before > > kernel init, and their rates may different among platforms. > > What other modules? > Do you mean the rates a

[tip:sched/urgent] sched/stat: Simplify the sched_info accounting dependency

2015-07-03 Thread tip-bot for Naveen N. Rao
Commit-ID: 640032ed8d55bf6f09b0701e7464aab7e24e0361 Gitweb: http://git.kernel.org/tip/640032ed8d55bf6f09b0701e7464aab7e24e0361 Author: Naveen N. Rao AuthorDate: Thu, 25 Jun 2015 23:53:37 +0530 Committer: Ingo Molnar CommitDate: Wed, 1 Jul 2015 10:02:58 +0200 sched/stat: Simplify the sc

[tip:sched/urgent] sched/debug: Move print_cfs_rq() declaration to kernel/sched/sched.h

2015-07-03 Thread tip-bot for Srikar Dronamraju
Commit-ID: 6e3ecb4945f06ebbf1cf00ec316511c249492b08 Gitweb: http://git.kernel.org/tip/6e3ecb4945f06ebbf1cf00ec316511c249492b08 Author: Srikar Dronamraju AuthorDate: Thu, 25 Jun 2015 22:51:41 +0530 Committer: Ingo Molnar CommitDate: Wed, 1 Jul 2015 10:31:27 +0200 sched/debug: Move print

[tip:sched/urgent] sched/stat: Expose /proc/pid/ schedstat if CONFIG_SCHED_INFO=y

2015-07-03 Thread tip-bot for Naveen N. Rao
Commit-ID: 74ed568374f0e74d80a63ab5496bf32db641ec60 Gitweb: http://git.kernel.org/tip/74ed568374f0e74d80a63ab5496bf32db641ec60 Author: Naveen N. Rao AuthorDate: Tue, 30 Jun 2015 14:36:03 +0530 Committer: Ingo Molnar CommitDate: Wed, 1 Jul 2015 10:02:58 +0200 sched/stat: Expose /proc/pi

Re: [PATCH v2 3/5] drm/rockchip: vop: support plane scale

2015-07-03 Thread Tomasz Figa
Hi Mark, Please see my comments inline. On Fri, Jun 26, 2015 at 7:07 PM, Mark Yao wrote: > Win_full support 1/8 to 8 scale down/up engine, support > all format scale. [snip] > @@ -351,6 +412,15 @@ static inline void vop_mask_write_relaxed(struct vop > *vop, uint32_t offset, > } > } >

[tip:sched/urgent] sched/numa: Show numa_group ID in /proc/ sched_debug task listings

2015-07-03 Thread tip-bot for Srikar Dronamraju
Commit-ID: 478fd9ada06ff17ae13a5b7f775346562036127e Gitweb: http://git.kernel.org/tip/478fd9ada06ff17ae13a5b7f775346562036127e Author: Srikar Dronamraju AuthorDate: Thu, 25 Jun 2015 22:51:42 +0530 Committer: Ingo Molnar CommitDate: Wed, 1 Jul 2015 10:31:27 +0200 sched/numa: Show numa_g

[tip:perf/urgent] perf tools: Add missing break for PERF_RECORD_ITRACE_START

2015-07-03 Thread tip-bot for Jiri Olsa
Commit-ID: ceb92913078e41e2305250754e0ea144fc3e9b28 Gitweb: http://git.kernel.org/tip/ceb92913078e41e2305250754e0ea144fc3e9b28 Author: Jiri Olsa AuthorDate: Mon, 29 Jun 2015 13:27:45 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Jul 2015 17:53:48 -0300 perf tools: Add mi

[tip:perf/urgent] perf inject: Fill in the missing session freeing after an error occurs

2015-07-03 Thread tip-bot for Taeung Song
Commit-ID: 9fedfb0c5b05ae6c315de722a0548bb1f1328bf5 Gitweb: http://git.kernel.org/tip/9fedfb0c5b05ae6c315de722a0548bb1f1328bf5 Author: Taeung Song AuthorDate: Tue, 30 Jun 2015 17:15:20 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Jul 2015 17:53:49 -0300 perf inject: Fil

[tip:perf/urgent] perf report: Fill in the missing session freeing after an error occurs

2015-07-03 Thread tip-bot for Taeung Song
Commit-ID: 07a716fff25b826461baa2a07faa2df8c171f220 Gitweb: http://git.kernel.org/tip/07a716fff25b826461baa2a07faa2df8c171f220 Author: Taeung Song AuthorDate: Tue, 30 Jun 2015 17:15:24 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Jul 2015 17:53:49 -0300 perf report: Fil

[tip:sched/urgent] sched/numa: Fix numa balancing stats in /proc/ pid/sched

2015-07-03 Thread tip-bot for Srikar Dronamraju
Commit-ID: 46fb6b9762d13fdeeefb3a9e9c317ebcd344f578 Gitweb: http://git.kernel.org/tip/46fb6b9762d13fdeeefb3a9e9c317ebcd344f578 Author: Srikar Dronamraju AuthorDate: Thu, 25 Jun 2015 22:51:43 +0530 Committer: Ingo Molnar CommitDate: Wed, 1 Jul 2015 10:31:28 +0200 sched/numa: Fix numa ba

[tip:perf/urgent] perf kmem: Fill in the missing session freeing after an error occurs

2015-07-03 Thread tip-bot for Taeung Song
Commit-ID: 249ca1a86067e6a4198f7b2b7e19b505e2f41864 Gitweb: http://git.kernel.org/tip/249ca1a86067e6a4198f7b2b7e19b505e2f41864 Author: Taeung Song AuthorDate: Tue, 30 Jun 2015 17:15:21 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Jul 2015 17:53:49 -0300 perf kmem: Fill

[tip:perf/urgent] perf kvm: Fill in the missing session freeing after an error occurs

2015-07-03 Thread tip-bot for Taeung Song
Commit-ID: 41b983609a1618e9fa70023d83232ed959056c8a Gitweb: http://git.kernel.org/tip/41b983609a1618e9fa70023d83232ed959056c8a Author: Taeung Song AuthorDate: Wed, 1 Jul 2015 00:18:44 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Jul 2015 17:53:49 -0300 perf kvm: Fill in

[tip:perf/urgent] perf tools: Allow to specify custom linker command

2015-07-03 Thread tip-bot for Aaro Koskinen
Commit-ID: 5ef7bbb09f7b91ef06524c72e1ab1fc48e0d6682 Gitweb: http://git.kernel.org/tip/5ef7bbb09f7b91ef06524c72e1ab1fc48e0d6682 Author: Aaro Koskinen AuthorDate: Wed, 1 Jul 2015 14:54:43 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Jul 2015 17:53:50 -0300 perf tools: All

[tip:perf/urgent] perf mem: Fill in the missing session freeing after an error occurs

2015-07-03 Thread tip-bot for Taeung Song
Commit-ID: 1df9fade87ea4831c024de9806f88427f9f33e62 Gitweb: http://git.kernel.org/tip/1df9fade87ea4831c024de9806f88427f9f33e62 Author: Taeung Song AuthorDate: Wed, 1 Jul 2015 21:08:19 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Jul 2015 17:53:49 -0300 perf mem: Fill in

[tip:perf/urgent] perf tools: Create config.detected into OUTPUT directory

2015-07-03 Thread tip-bot for Aaro Koskinen
Commit-ID: 642273795fa81da11290ffa90bce6ff242f2a7bb Gitweb: http://git.kernel.org/tip/642273795fa81da11290ffa90bce6ff242f2a7bb Author: Aaro Koskinen AuthorDate: Wed, 1 Jul 2015 14:54:42 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Jul 2015 17:53:49 -0300 perf tools: Cre

[tip:x86/urgent] x86/asm/entry/64: Update path names

2015-07-03 Thread tip-bot for James C Boyd
Commit-ID: 864d5bb957138d1ed9641a5eff7849a56ddadc16 Gitweb: http://git.kernel.org/tip/864d5bb957138d1ed9641a5eff7849a56ddadc16 Author: James C Boyd AuthorDate: Wed, 1 Jul 2015 15:13:26 -0500 Committer: Ingo Molnar CommitDate: Thu, 2 Jul 2015 11:08:50 +0200 x86/asm/entry/64: Update path

Re: [PATCH v2 4/5] drm/rockchip: vop: switch cursor plane to window 3

2015-07-03 Thread Tomasz Figa
On Fri, Jun 26, 2015 at 7:07 PM, Mark Yao wrote: > Window 1 support scale and yuv format, it's waste use it for a > cursor, use window 3 is enough. > > Signed-off-by: Mark Yao > --- > Changes in v2: None > > drivers/gpu/drm/rockchip/rockchip_drm_vop.c |7 --- > 1 file changed, 4 insertio

Re: [PULL] virtio/vhost: cross endian support

2015-07-03 Thread Michael S. Tsirkin
On Thu, Jul 02, 2015 at 08:01:28AM +0200, Michael S. Tsirkin wrote: > On Wed, Jul 01, 2015 at 12:02:50PM -0700, Linus Torvalds wrote: > > On Wed, Jul 1, 2015 at 2:31 AM, Michael S. Tsirkin wrote: > > > virtio/vhost: cross endian support > > > > Ugh. Does this really have to be dynamic? > > > > C

[PATCH 1/1] SCSI: bnx2i: remove redundant check

2015-07-03 Thread Maninder Singh
Removing static analysis error:- (error) Possible null pointer dereference: hba hba->cid_que.conn_cid_tbl[iscsi_cid] = bnx2i_conn; Validation of hba is not required in if check, because validation is done before entrying to this function and error comes because after this chec

[PATCH] acpi-cpufreq: use same acpi_cpufreq_data if policy is shared

2015-07-03 Thread Pan Xinhui
cpufreq core will mark all cpus in policy->cpus as initialized by setting percpu cpufreq_cpu_data = policy. However in acpi-cpufreq, we did not set percpu acpi_cpufreq_data for all cpus in policy->cpus. That will cause a issue that when we call get_cur_freq_on_cpu for a cpu, it returns zero instea

Re: [Ocfs2-devel] [PATCH 0/4] ocfs2: add online file check feature

2015-07-03 Thread Gang He
Hi Joseph, Thank for your reviewing. Online file check feature will try to check/fix some independent block corruption problems. Since these operations are under online file system, the features are limited, otherwise, we have to use FSCK tools after file system is unmounted (e.g. some inconsist

[PATCH] ARM: dts: vf-colibri: define stdout-path property

2015-07-03 Thread Stefan Agner
Define Vybrid's UART0, connected to the Colibri pinout UART_A, as standard output. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi

config RCU_EQS_DEBUG

2015-07-03 Thread Jean Delvare
Hi Paul, You just introduced a Linux kernel configuration option named RCU_EQS_DEBUG. Its short description is "Use this when adding any sort of NO_HZ support to your arch". I'm afraid this is a bad way to briefly explain what the option actually does (which is what the short description is for.)

Re: [PATCH v2 5/5] drm/rockchip: default enable win2/3 area0 bit

2015-07-03 Thread Tomasz Figa
Hi Mark, Please see my comments inline. On Fri, Jun 26, 2015 at 7:10 PM, Mark Yao wrote: > Win2/3 support 4 area display, but now havn't found a suitable > way to use it, and it enable by win gate and area gate, > so default enable area0 gate, so that its behaviour just like a > win. So I assum

Re: [PATCH 1/1] drivers: hv: hv_utils_transport: Fixing validation of correct pointer

2015-07-03 Thread Vitaly Kuznetsov
Maninder Singh writes: > cn_msg should be validated instead of msg after memory allocation. > Thanks, This was already fixed by Dan: http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2015-May/070193.html my Reviewed-by: http://driverdev.linuxdriverproject.org/pipermail/driverde

Re: [PATCH 1/3] dell-laptop: Clear buffer before each SMBIOS call

2015-07-03 Thread Pali Rohár
On Wednesday 01 July 2015 17:45:44 Darren Hart wrote: > On Wed, Jul 01, 2015 at 08:08:19PM +0200, Pali Rohár wrote: > > Make sure that before initializing SMBIOS call input buffer does not contain > > any garbage (e.g values from previous SMBIOS call). This fix problem with > > passing undefined/ra

Re: [PATCH v3 2/2] PM / Runtime: Add pm_runtime_enable_recursive

2015-07-03 Thread Tomeu Vizoso
On 2 July 2015 at 17:21, Alan Stern wrote: > On Thu, 2 Jul 2015, Tomeu Vizoso wrote: > >> > Just because these sub-devices are virtual, it doesn't mean you can >> > ignore the way they interact with runtime PM. >> >> Fair enough, but then, how are we expected to be able to use the >> direct_comple

Re: [PATCH 39/41] clocksource: vf_pit: Migrate to new 'set-state' interface

2015-07-03 Thread Stefan Agner
On 2015-06-18 12:54, Viresh Kumar wrote: > Migrate vf_pit driver to the new 'set-state' interface provided by > clockevents core, the earlier 'set-mode' interface is marked obsolete > now. > > This also enables us to implement callbacks for new states of clockevent > devices, for example: ONESHOT_

[PATCH] DEVICETREE: Misc fix for the AR7100 SPI controller binding

2015-07-03 Thread Alban Bedel
Fix the clocks property documentation and use lower case for hex values in the example. Signed-off-by: Alban Bedel --- Documentation/devicetree/bindings/spi/spi-ath79.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-ath79.txt

[GIT PULL] fbdev fixes for 4.2

2015-07-03 Thread Tomi Valkeinen
Hi Linus, The following changes since commit f778dad38a54ca5207d024b5ebe0e6d71b8bad83: Merge omapdss scaling fixes (2015-06-22 14:56:01 +0300) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/fbdev-fixes-4.2 for you to fetch change

Re: [PATCH v2 5/5] drm/rockchip: default enable win2/3 area0 bit

2015-07-03 Thread Mark yao
On 2015年07月03日 16:02, Tomasz Figa wrote: Hi Mark, Please see my comments inline. On Fri, Jun 26, 2015 at 7:10 PM, Mark Yao wrote: Win2/3 support 4 area display, but now havn't found a suitable way to use it, and it enable by win gate and area gate, so default enable area0 gate, so that its be

Re: running out of tags in 9P (was Re: [git pull] vfs part 2)

2015-07-03 Thread Andrey Ryabinin
On 07/02/2015 07:49 PM, Al Viro wrote: > On Thu, Jul 02, 2015 at 05:43:32PM +0100, Al Viro wrote: >> req->tc->tag = tag-1; >> +if (req->status != REQ_STATUS_IDLE) >> +pr_err("using tag %d with odd status (%d)", tag, req->status); > > Should be tag - 1 here, actually. So, with

Re: [TRIVIAL PATCH] usb/serial.h: Increase max number of serial ports per USB-serial device

2015-07-03 Thread Johan Hovold
On Thu, Jul 02, 2015 at 05:13:47PM +0200, Bartosz Tomeczko wrote: > Hello, > > I am using MOXA USB-to-serial converter with 16 serial ports. This > device is namely a MOXA UPort 1650-16. This device works as a simple > usb-serial adapter and therefore its driver uses > include/linux/usb/serial.h f

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-03 Thread Heiko Stübner
Am Freitag, 3. Juli 2015, 15:45:12 schrieb James Liao: > On Thu, 2015-07-02 at 12:23 +0800, Daniel Kurtz wrote: > > On Thu, Jul 2, 2015 at 11:06 AM, James Liao wrote: > > > These clocks such as clkph_mck_o are configured by other modules before > > > kernel init, and their rates may different amo

Re: [!GIT PULL] kdbus for 4.2

2015-07-03 Thread David Herrmann
Hi On Fri, Jul 3, 2015 at 2:39 AM, Andy Lutomirski wrote: > Problem 1: Booting a kdbus-enabled kernel (CONFIG_KDBUS=y) causes gdm > to bail saying "oops, something went wrong" or whatever the useless > standard error message is. > > I can work around problem 1 by booting with kdbus=1, but that's

[PATCH 3/3] fbdev: use largest logo if possible

2015-07-03 Thread Urs Fässler
If CONFIG_FB_LOGO_LARGEST is set, fbdev uses the largest boot logo to display. Signed-off-by: Urs Fässler --- drivers/video/fbdev/core/fbmem.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fb

[PATCH 2/3] logo: add option to return largest logo for a given resolution

2015-07-03 Thread Urs Fässler
New method to return the largest (in number of pixels) logo for a given resolution. One use case is for embedded systems when one kernel binary is compiled but used on different machines (i.e. different device trees) with different display resolutions. Signed-off-by: Urs Fässler --- drivers/vide

[PATCH 1/3] video/logo: use list of logos to find logo

2015-07-03 Thread Urs Fässler
Refactoring of fb_find_logo: declare list of logos explicit and loop over it to find a match. Signed-off-by: Urs Fässler --- drivers/video/logo/logo.c | 109 ++ 1 file changed, 62 insertions(+), 47 deletions(-) diff --git a/drivers/video/logo/logo.c b

[PATCH 0/3] video/logo: add option to return largest logo for a given resolution

2015-07-03 Thread Urs Fässler
With this patches, the largest boot logo for a given display resolution is used. We need that functionality since it is common that a product has variants which differ only minimal in the hardware. Thus, we have the same kernel binary but different device trees for different hardware / displays. Th

Re: [PATCH] acpi-cpufreq: use same acpi_cpufreq_data if policy is shared

2015-07-03 Thread Viresh Kumar
On 03-07-15, 16:01, Pan Xinhui wrote: > > cpufreq core will mark all cpus in policy->cpus as initialized > by setting percpu cpufreq_cpu_data = policy. > However in acpi-cpufreq, we did not set percpu acpi_cpufreq_data for > all cpus in policy->cpus. > That will cause a issue that when we call get

Re: [PATCH v2 6/9] irqchip / gic: Add stacked irqdomain support for ACPI based GICv2 init

2015-07-03 Thread Hanjun Guo
On 06/30/2015 11:07 PM, Graeme Gregory wrote: On Tue, Jun 30, 2015 at 01:17:14PM +0100, Marc Zyngier wrote: On 30/06/15 12:50, Hanjun Guo wrote: Hi Marc, On 06/29/2015 04:39 PM, Marc Zyngier wrote: On 27/06/15 04:52, Hanjun Guo wrote: On 06/24/2015 01:38 AM, Lorenzo Pieralisi wrote: On Tue,

Re: [RFC PATCH 6/6] powerpc/kvm: change the condition of identifying hugetlb vm

2015-07-03 Thread wenwei tao
Hi Scott Thank you for your comments. Kernel already has that function: is_vm_hugetlb_page() , but the original code didn't use it, in order to keep the coding style of the original code, I didn't use it either. For the sentence like: "vma->vm_flags & VM_HUGETLB" , hiding it behind 'is_vm_hugetl

Re: [TRIVIAL PATCH] usb/serial.h: Increase max number of serial ports per USB-serial device

2015-07-03 Thread Bartosz Tomeczko
2015-07-03 10:28 GMT+02:00 Johan Hovold : > On Thu, Jul 02, 2015 at 05:13:47PM +0200, Bartosz Tomeczko wrote: >> Hello, >> >> I am using MOXA USB-to-serial converter with 16 serial ports. This >> device is namely a MOXA UPort 1650-16. This device works as a simple >> usb-serial adapter and therefor

Re: [Spice-devel] [RFC PATCH 1/1] Add a usbredir kernel module to remotely connect USB devices over IP.

2015-07-03 Thread Krzysztof Opasiak
On 07/02/2015 10:20 PM, Alan Stern wrote: On Thu, 2 Jul 2015, Jeremy White wrote: Oliver is talking about the danger of having part of the communication path for a block device run through userspace. Imagine a situation where the client uses a USB storage device provided by the server as a s

[patch] mptfusion: prevent some memory corruption

2015-07-03 Thread Dan Carpenter
These are signed values the come from the user, we put a cap on the upper bounds but not on the lower bounds. We use "karg.dataSgeOffset" to calculate "sz". We verify "sz" and proceed as if that means that "karg.dataSgeOffset" is correct but this fails to consider that the "sz" calculations can h

Re: [!GIT PULL] kdbus for 4.2

2015-07-03 Thread Richard Weinberger
On Fri, Jul 3, 2015 at 10:43 AM, David Herrmann wrote: > Hi > > On Fri, Jul 3, 2015 at 2:39 AM, Andy Lutomirski wrote: >> Problem 1: Booting a kdbus-enabled kernel (CONFIG_KDBUS=y) causes gdm >> to bail saying "oops, something went wrong" or whatever the useless >> standard error message is. >> >

Re: [PATCH 25/41] clocksource: tegra20: Migrate to new 'set-state' interface

2015-07-03 Thread Viresh Kumar
On 02-07-15, 21:41, Daniel Lezcano wrote: > >+timer_writel(0, TIMER3_BASE + TIMER_PTV); > > Replace with 'tegra_timer_shutdown' Looks fine now ? ---8<--- Message-Id: <2b6d1a867e100033f1f406fda39d358a4db80733.1435913653.git.viresh.ku...@linaro.org> From: Vire

Re: [PATCH 41/41] clocksource: zevio: Migrate to new 'set-state' interface

2015-07-03 Thread Viresh Kumar
On 02-07-15, 22:11, Daniel Lezcano wrote: > On 06/18/2015 12:54 PM, Viresh Kumar wrote: > >Migrate zevio driver to the new 'set-state' interface provided by > >clockevents core, the earlier 'set-mode' interface is marked obsolete > >now. > > > >This also enables us to implement callbacks for new st

Re: [PATCH 39/41] clocksource: vf_pit: Migrate to new 'set-state' interface

2015-07-03 Thread Viresh Kumar
On 03-07-15, 10:10, Stefan Agner wrote: > > .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, > > - .set_mode = pit_set_mode, > > + .set_state_shutdown = pit_shutdown, > > + .set_state_periodic = pit_set_periodic, > > I'm not really familiar with the interface, bu

Re: [PATCH 41/41] clocksource: zevio: Migrate to new 'set-state' interface

2015-07-03 Thread Daniel Lezcano
On 07/03/2015 10:56 AM, Viresh Kumar wrote: On 02-07-15, 22:11, Daniel Lezcano wrote: On 06/18/2015 12:54 PM, Viresh Kumar wrote: Migrate zevio driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Paul Bolle
On vr, 2015-07-03 at 09:33 +0200, Andreas Ruprecht wrote: > I tested the behaviour on yesterday's linux-next, but the commit > mentioned above will only complain for invalid characters inside the > PARAM case and not for COMMANDs. So, as an example, if you write > something like > > config ACPI_RE

[GIT PULL] arch/nios2 update for 4.2

2015-07-03 Thread Ley Foon Tan
Hi Linus Here is one nios2 update for v4.2. Please consider pulling. Regards Ley Foon The following changes since commit b953c0d234bc72e8489d3bf51a276c5c4ec85345: Linux 4.1 (2015-06-21 22:05:43 -0700) are available in the git repository at: git://git.rocketboards.org/linux-socfpga-next.

[[PATCH 2/2] kvm: enable preemption to register/unregister preempt notifier

2015-07-03 Thread Tiejun Chen
After commit 1cde2930e154 ("sched/preempt: Add static_key() to preempt_notifiers") is introduced, preempt_notifier_{register, unregister} always hold a mutex, jump_label_mutex. So in current case this shouldn't work further under the circumstance of disabled preemption, and its also safe since we'r

[[PATCH 1/2] kvm: make preempt_notifier free out CONFIG_PREEMPT_NOTIFIERS

2015-07-03 Thread Tiejun Chen
In any cases CONFIG_KVM always means CONFIG_PREEMPT_NOTIFIERS is enabled unconditionally so its really pointless. CC: Gleb Natapov CC: Paolo Bonzini Signed-off-by: Tiejun Chen --- include/linux/kvm_host.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/kvm_host.h b/include/l

Re: [PATCH v5] arm DMA: Fix allocation from CMA for coherent DMA

2015-07-03 Thread Russell King - ARM Linux
On Wed, Jul 01, 2015 at 12:12:51PM +0100, Catalin Marinas wrote: > On Tue, Jun 30, 2015 at 11:29:06PM +0200, Lorenzo Nava wrote: > > This patch allows the use of CMA for DMA coherent memory allocation. > > At the moment if the input parameter "is_coherent" is set to true > > the allocation is not m

Re: [PATCH 1/7] KVM: api: add kvm_irq_routing_extended_msi

2015-07-03 Thread Andre Przywara
Hi Pavel, On 02/07/15 08:26, Pavel Fedin wrote: > Hello! > >> -Original Message- >> From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf >> Of Eric Auger >> Sent: Monday, June 29, 2015 6:37 PM >> To: eric.au...@st.com; eric.au...@linaro.org; >> linux-arm-ker...@

Re: [patch] mptfusion: prevent some memory corruption

2015-07-03 Thread Johannes Thumshirn
Dan Carpenter writes: > These are signed values the come from the user, we put a cap on the > upper bounds but not on the lower bounds. > > We use "karg.dataSgeOffset" to calculate "sz". We verify "sz" and > proceed as if that means that "karg.dataSgeOffset" is correct but this > fails to consid

Re: config PROC_CHILDREN

2015-07-03 Thread Iago López Galeiras
Hi Jean, The purpose of this option is enabling /proc//task//children without having to enable CHECKPOINT_RESTORE, which is hidden behind EXPERT. Regarding its lack of help, documentation is in already in place[1] but perhaps that's not clear for the user because as you say the Kconfig help text

Re: [GIT PULL 0/8] perf/pt -> Intel PT/BTS

2015-07-03 Thread Adrian Hunter
On 02/07/15 22:00, Ingo Molnar wrote: > > * Adrian Hunter wrote: > >>> So I really think we need an extended error reporting feature on the perf >>> kernel side, so that a 'natural' error (plus a string) is reported back to >>> tooling, instead of the current -EINVAL. >>> >>> No need to do it

[PATCH 0/2] MIPS: ath79: Move the GPIO driver to drivers/gpio

2015-07-03 Thread Alban Bedel
Hi all, as requested when I posted the ATH79 OF support serie, here is the move of the GPIO driver to the GPIO drivers directory. While at it I also removed the custom pinmux API as it not used by any board. Alban Alban Bedel (2): MIPS: ath79: Remove the unused GPIO function API MIPS: ath79:

[alsa-devel][PATCH v2] ASoC: wm8960: update pll and clock setting function

2015-07-03 Thread Zidan Wang
Add sysclk auto mode. When it's sysclk auto mode, if the MCLK is available for clock configure, using MCLK to provide sysclk directly, otherwise, search a available pll out frequcncy and set pll. TX and RX share the same sysclk and bclk divider register, and have different DAC/ADC divier register.

[PATCH 1/2] MIPS: ath79: Remove the unused GPIO function API

2015-07-03 Thread Alban Bedel
To prepare moving the GPIO driver to drivers/gpio remove the platform specific pinmux API. As it is not used by any board, and such functionality should better be implemented using the pinmux subsystem just removing it seems to be the best option. Signed-off-by: Alban Bedel --- arch/mips/ath79/c

[PATCH 2/2] MIPS: ath79: Move the GPIO driver to drivers/gpio

2015-07-03 Thread Alban Bedel
GPIO drivers should be in drivers/gpio Signed-off-by: Alban Bedel --- arch/mips/ath79/Makefile | 2 +- arch/mips/ath79/gpio.c| 236 -- drivers/gpio/Makefile | 1 + drivers/gpio/gpio-ath79.c | 236 +++

Re: [GIT PULL] kdbus for 4.1-rc1

2015-07-03 Thread cee1
2015-04-30 22:52 GMT+08:00 Łukasz Stelmach : > It was <2015-04-30 czw 14:45>, when Richard Weinberger wrote: >> Am 30.04.2015 um 14:40 schrieb Łukasz Stelmach: >>> It was <2015-04-30 czw 14:23>, when Richard Weinberger wrote: Am 30.04.2015 um 14:16 schrieb Łukasz Stelmach: > It was <2015-0

Re: [PATCH 1/3] video/logo: use list of logos to find logo

2015-07-03 Thread Geert Uytterhoeven
On Fri, Jul 3, 2015 at 10:38 AM, Urs Fässler wrote: > -#ifdef CONFIG_LOGO_MAC_CLUT224 > - /* Macintosh Linux logo on m68k */ > - if (MACH_IS_MAC) > - logo = &logo_mac_clut224; > +#if defined(CONFIG_LOGO_MAC_CLUT224) && MACH_IS_MAC > + /* Maci

Re: [PATCH v2 3/5] drm/rockchip: vop: support plane scale

2015-07-03 Thread Mark yao
On 2015年07月03日 15:46, Tomasz Figa wrote: Hi Mark, Please see my comments inline. On Fri, Jun 26, 2015 at 7:07 PM, Mark Yao wrote: Win_full support 1/8 to 8 scale down/up engine, support all format scale. [snip] @@ -351,6 +412,15 @@ static inline void vop_mask_write_relaxed(struct vop *vop,

Re: [PATCH 0/2] kconfig: allow use of relations other than (in)equality

2015-07-03 Thread Paul Bolle
On do, 2015-07-02 at 22:06 +0200, Michal Marek wrote: > The patch just adds four new binary operations of the same order as > the > existing == and !=, with a the semantics that everybody expects. And > the > grammar for kconfig expressions is so simplistic that you cannot even > write things lik

Re: [PATCH 4/4] phy: berlin-usb: rename table copied from SATA PHY

2015-07-03 Thread Antoine Tenart
Thomas, On Thu, Jul 02, 2015 at 01:04:30AM -0400, Thomas Hebb wrote: > We're not in a SATA PHY driver, so the of_match table shouldn't have > "sata" in its name. There is already a patch fixing this (which was sent last week): https://lkml.org/lkml/2015/6/24/103 You can drop this one from the s

Re: [PATCH 1/4] phy: berlin-usb: fix divider for BG2CD

2015-07-03 Thread Antoine Tenart
Thomas, On Thu, Jul 02, 2015 at 01:04:18AM -0400, Thomas Hebb wrote: > The marvell,berlin2cd-usb-phy compatible incorrectly sets the PLL > divider to BG2's value instead of BG2CD/BG2Q's. Change it to the right > value. > > Signed-off-by: Thomas Hebb > Cc: sta...@vger.kernel.org Only this one is

Re: [PATCH 0/4] phy: berlin-usb: PLL divider fixes

2015-07-03 Thread Antoine Tenart
Hi Thomas, Thanks for this series! On Thu, Jul 02, 2015 at 01:04:16AM -0400, Thomas Hebb wrote: > The USB PLL dividers currently set by phy-berlin-usb are incorrect for > BG2 and BG2CD (i.e. all Berlin variants but BG2Q). This series fixes the > divider values for those two chips and additionally

Re: Possible regression due to "tick: broadcast: Prevent livelock from event handler"

2015-07-03 Thread Thomas Gleixner
On Fri, 3 Jul 2015, Geert Uytterhoeven wrote: > Hi Simon, > > On Fri, Jul 3, 2015 at 4:40 AM, Simon Horman wrote: > > I have observed what appears to be a regression while testing next-20150702 > > which seems to be caused by 2951d5c031a3 ("tick: broadcast: Prevent > > livelock from event handler

Re: [PATCH v7 09/11] KVM: arm64: guest debug, HW assisted debug support

2015-07-03 Thread Will Deacon
Hi Alex, On Thu, Jul 02, 2015 at 02:50:33PM +0100, Alex Bennée wrote: > Are you happy with this?: [...] > +/** > + * kvm_arch_dev_ioctl_check_extension > + * > + * We currently assume that the number of HW registers is uniform > + * across all CPUs (see cpuinfo_sanity_check). > + */ > int kvm_a

Re: [PATCH RESEND] sched: prefer an idle cpu vs an idle sibling for BALANCE_WAKE

2015-07-03 Thread Mike Galbraith
On Fri, 2015-07-03 at 08:40 +0200, Mike Galbraith wrote: > Hm. Seems what this load should like best is if we detect 1:N, skip all > of the routine gyrations, ie move the N (workers) infrequently, expend > search cycles frequently only on the 1 (dispatch). > > Ponder.. While taking a refresher

Re: Kconfig: '+config' valid syntax?

2015-07-03 Thread Andreas Ruprecht
On 07/03/2015 10:59, Paul Bolle wrote: > On vr, 2015-07-03 at 09:33 +0200, Andreas Ruprecht wrote: >> I tested the behaviour on yesterday's linux-next, but the commit >> mentioned above will only complain for invalid characters inside the >> PARAM case and not for COMMANDs. So, as an example, if yo

Re: [PATCH v2 5/5] drm/rockchip: default enable win2/3 area0 bit

2015-07-03 Thread Tomasz Figa
On Fri, Jul 3, 2015 at 5:19 PM, Mark yao wrote: > On 2015年07月03日 16:02, Tomasz Figa wrote: >> >> Hi Mark, >> >> Please see my comments inline. >> >> On Fri, Jun 26, 2015 at 7:10 PM, Mark Yao wrote: >>> >>> Win2/3 support 4 area display, but now havn't found a suitable >>> way to use it, and it en

Re: [PATCH?] Livelock in pick_next_task_fair() / idle_balance()

2015-07-03 Thread Morten Rasmussen
On Fri, Jul 03, 2015 at 03:37:02AM +0800, Yuyang Du wrote: > Hi Morten, > > On Thu, Jul 02, 2015 at 12:40:32PM +0100, Morten Rasmussen wrote: > > detach_tasks() will attempts to pull 62 based on tasks task_h_load() but > > the task_h_load() sum is only 5 + 10 + 0 and hence detach_tasks() will > >

[PATCH v3 0/8] Add support for best effort block read emulation

2015-07-03 Thread Irina Tirdea
This is version 3 for adding i2c_smbus_read_i2c_block_data_or_emulated to i2c-core. The i2c core part is the same as in v2, but I have added 3 more users for iio drivers. Changes in v2: - changed bmc150-accel, kxcjk-1013 and bmg160 drivers to use i2c_smbus_read_i2c_block_data_or_emulated Changes

[PATCH v3 7/8] iio: accel: kxcjk-1013: use available_scan_masks

2015-07-03 Thread Irina Tirdea
From: Adriana Reus Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. Signed-off-by: Adriana Reus Signed-off-by: Irina Tirdea --- drivers/iio/accel/kxcjk-1013.c |

[PATCH v3 2/8] eeprom: at24: use i2c_smbus_read_i2c_block_data_or_emulated

2015-07-03 Thread Irina Tirdea
For i2c busses that support only SMBUS extensions, the eeprom at24 driver reads data from the device using the SMBus block, word or byte read protocols depending on availability. Replace the block read emulation from the driver with the i2c_smbus_read_i2c_block_data_or_emulated call from i2c core.

[PATCH v3 6/8] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-07-03 Thread Irina Tirdea
Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the bmg160 driver does one i2c transfer for each axis. This has an impact on

[PATCH v3 8/8] iio: accel: kxcjk-1013: optimize i2c transfers in trigger handler

2015-07-03 Thread Irina Tirdea
From: Adriana Reus Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the kxcjk-1013 accel driver does one i2c transfer for e

[PATCH v3 5/8] iio: gyro: bmg160: use available_scan_masks

2015-07-03 Thread Irina Tirdea
Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. Signed-off-by: Irina Tirdea --- drivers/iio/gyro/bmg160.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions

  1   2   3   4   5   6   >