Re: [PATCH v2 7/7] pinctrl: qcom-spmi-gpio: Migrate to pinconf-generic

2014-12-04 Thread Ivan T. Ivanov
On Thu, 2014-11-27 at 17:26 -0800, Soren Brinkmann wrote: > > static const struct pinconf_ops pmic_gpio_pinconf_ops = { > + .is_generic= true, > .pin_config_group_get= pmic_gpio_config_get, > .pin_config_group_set= pmic_gpio_config_set, >

Re: [PATCH v2 1/6] net-PPP: Replacement of a printk() call by pr_warn() in mppe_rekey()

2014-12-04 Thread Joe Perches
On Fri, 2014-12-05 at 08:18 +0100, SF Markus Elfring wrote: > >>> It's generally nicer to replace embedded function names > >>> with "%s: ", __func__ > >>> > >>> pr_warn("%s: cipher_encrypt failed\n", __func__); > >> > >> Do you want that I send a third patch series for the

From Abraham Karid

2014-12-04 Thread Abraham Karid
My name is Abraham Karid from Egypt, i am a journalist , you can know more about me on facebook with this id abka...@outlook.com , I have a good business for you and your family Get back to me so that i will give you more details about it. Thanks Abraham Karid -- To unsubscribe from this list:

Re: [PATCH v2 1/6] net-PPP: Replacement of a printk() call by pr_warn() in mppe_rekey()

2014-12-04 Thread Joe Perches
On Fri, 2014-12-05 at 08:21 +0100, Julia Lawall wrote: > On Thu, 4 Dec 2014, Joe Perches wrote: > > It's generally nicer to replace embedded function names > > with "%s: ", __func__ > > > > pr_warn("%s: cipher_encrypt failed\n", __func__); > > Doing so may potentially allow

Re: [PATCH] misc: suppress build warning

2014-12-04 Thread Andrew Morton
On Thu, 4 Dec 2014 08:30:32 -0800 Greg Kroah-Hartman wrote: > On Thu, Dec 04, 2014 at 03:13:00PM +, Prabhakar Lad wrote: > > On Thu, Dec 4, 2014 at 2:59 PM, Arnd Bergmann wrote: > > > On Thursday 04 December 2014 14:38:30 Lad, Prabhakar wrote: > > >> this patch fixes following build

Re: [PATCH v3 net-next 2/2 tuntap: Increase the number of queues in tun.

2014-12-04 Thread Jason Wang
On 12/04/2014 06:20 PM, Michael S. Tsirkin wrote: > On Thu, Dec 04, 2014 at 03:03:34AM +0008, Jason Wang wrote: >> > >> > >> > On Wed, Dec 3, 2014 at 5:52 PM, Michael S. Tsirkin wrote: >>> > >On Wed, Dec 03, 2014 at 12:49:37PM +0530, Pankaj Gupta wrote: > >> Networking under kvm works

[PATCH] PCI: Add disabling pm async quirk for JMicron chips

2014-12-04 Thread Chuansheng Liu
Some history from commit e6b7e41cdd8c ("ata: Disabling the async PM for JMicron chip 363/361") == Since v3.15, the PM feature of async noirq commit 76569faa62c4 ("PM / sleep: Asynchronous threads for resume_noirq") is introduced. Then Jay hit one system resuming issue that one of the JMicron

Re: [PATCH v4] clocksource: arch_timer: Allow the device tree to specify uninitialized timer registers

2014-12-04 Thread Olof Johansson
On Wed, Oct 08, 2014 at 12:33:47AM -0700, Sonny Rao wrote: > From: Doug Anderson > > Some 32-bit (ARMv7) systems are architected like this: > > * The firmware doesn't know and doesn't care about hypervisor mode and > we don't want to add the complexity of hypervisor there. > > * The firmware

Re: [PATCH v5] clocksource: arch_timer: Fix code to use physical timers when requested

2014-12-04 Thread Olof Johansson
On Sun, Nov 23, 2014 at 11:02:44PM -0800, Sonny Rao wrote: > This is a bug fix for using physical arch timers when > the arch_timer_use_virtual boolean is false. It restores the > arch_counter_get_cntpct() function after removal in > > 0d651e4e "clocksource: arch_timer: use virtual counters" >

[RESEND PATCH] net/socket.c : introduce helper function do_sock_sendmsg to replace reduplicate code

2014-12-04 Thread Gu Zheng
Introduce helper function do_sock_sendmsg() to simplify sock_sendmsg{_nosec}, and replace reduplicate code. Signed-off-by: Gu Zheng --- net/socket.c | 22 ++ 1 files changed, 10 insertions(+), 12 deletions(-) diff --git a/net/socket.c b/net/socket.c index fe20c31..2a6f3c6

[RESEND PATCH] net: introduce helper macra CMSG_FOREACH_HDR

2014-12-04 Thread Gu Zheng
Introduce helper macra CMSG_FOREACH_HDR as a wrapper of the enumerating cmsghdr from msghdr, just cleanup. Signed-off-by: Gu Zheng --- .../networking/timestamping/timestamping.c |4 +--- .../networking/timestamping/txtimestamp.c |4 +--- crypto/af_alg.c

Re: [PATCH 0/9] Final set of XSAVES patches

2014-12-04 Thread Paolo Bonzini
On 05/12/2014 02:15, Wanpeng Li wrote: > Hi Paolo, > On Thu, Dec 04, 2014 at 04:57:05PM +0100, Paolo Bonzini wrote: >> These are all the patches needed to support XSAVES. >> > > I think you miss to add your patch "kvm: x86: mask out XSAVES" to > this patchset, That one is already on kvm/next,

Re: [PATCH v15 0/3] Add drm driver for Rockchip Socs

2014-12-04 Thread Dave Airlie
On 5 December 2014 at 05:29, Daniel Kurtz wrote: > On Tue, Dec 2, 2014 at 1:31 AM, Heiko Stübner wrote: >> Hi Mark, >> >> Am Dienstag, 2. Dezember 2014, 17:13:20 schrieb Mark Yao: >>> This a series of patches is a DRM Driver for Rockchip Socs, add support >>> for vop devices. Future patches will

Re: [PATCH v4 0/5] Add Spreadtrum Sharkl64 Platform support

2014-12-04 Thread Olof Johansson
On Thu, Dec 04, 2014 at 07:34:15PM +0800, Chunyan Zhang wrote: > Spreadtrum is a rapid growing chip vendor providing smart phone total > solutions. > > Sharkl64 Platform is nominated as a SoC infrastructure that supports 4G/3G/2G > standards based on ARMv8 multiple core architecture.Now we have

Re: [PATCH v2 1/6] net-PPP: Replacement of a printk() call by pr_warn() in mppe_rekey()

2014-12-04 Thread Julia Lawall
On Thu, 4 Dec 2014, Joe Perches wrote: > On Thu, 2014-12-04 at 23:10 +0100, SF Markus Elfring wrote: > > The mppe_rekey() function contained a few update candidates. > > * Curly brackets were still used around a single function call "printk". > > * Unwanted space characters > > > > Let us

Re: [PATCH v2 1/6] net-PPP: Replacement of a printk() call by pr_warn() in mppe_rekey()

2014-12-04 Thread SF Markus Elfring
>>> It's generally nicer to replace embedded function names >>> with "%s: ", __func__ >>> >>> pr_warn("%s: cipher_encrypt failed\n", __func__); >> >> Do you want that I send a third patch series for the fine-tuning of these >> parameters? > > If you want. Would "a committer"

[V6 PATCH 1/1] driver:mtd:spi-nor: Add quad I/O support for Micron spi nor

2014-12-04 Thread beanhuo
This patch adds code which enables Quad I/O mode on Micron SPI NOR flashes. For Micron SPI NOR flash,enabling or disabling quad I/O protocol can be done By two methods, which are to use EVCR(Enhanced Volatile Configuration Register) and the ENTER QUAD I/O MODE command.There is no difference

Re: [PATCH v17 1/7] mm: support madvise(MADV_FREE)

2014-12-04 Thread Minchan Kim
On Wed, Dec 03, 2014 at 11:13:29AM +0100, Michal Hocko wrote: > On Wed 03-12-14 09:00:26, Minchan Kim wrote: > > On Tue, Dec 02, 2014 at 11:01:25AM +0100, Michal Hocko wrote: > > > On Mon 01-12-14 08:56:52, Minchan Kim wrote: > > > [...] > > > > From 2edd6890f92fa4943ce3c452194479458582d88c Mon

Re: [PATCH 2/2] acpi:apd:add AMD ACPI2Platform device support

2014-12-04 Thread Ken Xue
On Thu, 2014-12-04 at 13:58 +0200, Mika Westerberg wrote: > On Wed, Dec 03, 2014 at 08:34:32PM +0800, Ken Xue wrote: > > This is a new feature to interpret AMD specific ACPI device to > > platform device such as I2C, UART found on AMD CZ and later > > chipsets. It based on INTEL LPSS and acpi soc.

Re: [PATCH] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures

2014-12-04 Thread Minchan Kim
On Fri, Dec 05, 2014 at 06:58:29AM +0800, Chen Gang wrote: > For uapi, need try to let all macros have same value, and MADV_FREE is > added into main branch recently, so need redefine MADV_FREE for it. > > At present, '8' can be shared with all architectures, so redefine it to > '8'. > >

Re: [PATCH V2 1/1] Drivers: hv: vmbus: Implement a clockevent device

2014-12-04 Thread Jason Wang
On Fri, Dec 5, 2014 at 10:18 AM, K. Y. Srinivasan wrote: Implement a clockevent device based on the timer support available on Hyper-V. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/uapi/asm/hyperv.h | 11 + drivers/hv/hv.c| 78

Re: [PATCH 1/2] acpi:soc: merge common codes for creating platform device

2014-12-04 Thread Ken Xue
On Thu, 2014-12-04 at 15:04 +0200, Mika Westerberg wrote: > On Wed, Dec 03, 2014 at 08:33:37PM +0800, Ken Xue wrote: > > This patch is supposed to deliver some common codes for AMD APD and > > INTEL LPSS. It can help to convert some specific acpi devices to be > > platform devices. > > > >

Re: [PATCH] staging: kernel: fixed style errors in pid.c

2014-12-04 Thread Joe Perches
On Fri, 2014-12-05 at 15:27 +0900, Joshua I. James wrote: > Fixed style errors identified by checkpatch. Your subject is not correct. This is not staging. Please submit patches only for drivers/staging until until you are _very_ familiar with kernel style. And most whitespace only changes to

Re: [RFC V2] mm:add zero_page _mapcount when mapped into user space

2014-12-04 Thread Konstantin Khlebnikov
On Thu, Dec 4, 2014 at 3:28 PM, Kirill A. Shutemov wrote: > On Thu, Dec 04, 2014 at 02:10:53PM +0800, Wang, Yalin wrote: >> > -Original Message- >> > From: Kirill A. Shutemov [mailto:kir...@shutemov.name] >> > Sent: Tuesday, December 02, 2014 7:30 PM >> > To: Wang, Yalin >> > Cc:

Re: [PATCH] sched/fair: fix find_idlest_cpu return -1

2014-12-04 Thread Hillf Danton
Cc: pang.xun...@zte.com.cn > > From: zhang jun > > find_idlest_cpu return -1 is not reasonable, set default value to this_cpu. > > Signed-off-by: zhang jun > Signed-off-by: Chuansheng Liu > Signed-off-by: Changcheng Liu > Cc: Hillf Danton > Cc: Vincent Guittot > Cc: # 3.14.25 > --- >

Re: frequent lockups in 3.18rc4

2014-12-04 Thread Linus Torvalds
On Thu, Dec 4, 2014 at 9:00 PM, Sasha Levin wrote: > > Just to add to this: I've enabled the simplest level of verbosity in the fault > injection options, and RCU stalls are again easy to trigger: Where do you log to? In particular, do you have some serial line logging enabled (perhaps even

[PATCH v18 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-04 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao drm: rockchip: Add basic drm driver see https://lkml.org/lkml/2014/12/2/161 Signed-off-by: Andy Yan --- Changes in v18: None Changes in v17: - parse resource and irq in platform driver Changes in v16:

Re: [PATCH 2/2] ftracetest: Add --verbose option for showing echo output

2014-12-04 Thread Masami Hiramatsu
(2014/12/05 14:52), Namhyung Kim wrote: > On Fri, Dec 05, 2014 at 02:23:23PM +0900, Masami Hiramatsu wrote: >> (2014/12/05 14:08), Namhyung Kim wrote: >>> On Thu, Dec 04, 2014 at 02:41:23PM -0500, Masami Hiramatsu wrote: Add --verbose/-v option for showing echo output in testcases. This

[PATCH v18 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v18: - correct some spelling mistakes in dw_hdmi-rockchip bindings doc Changes in v17: None Changes in v16: - modify clocks bindings - descrbie ddc-i2c-bus as optional Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None

[PATCH v18 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-12-04 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None

[PATCH v18 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-04 Thread Andy Yan
HDMI_IH_I2CMPHY_STAT0 is a clear on write register, which indicates i2cm operation status(i2c transfer done or error), every hdmi phy register configuration must check this register to make sure the configuration has complete. But the indication bit should be cleared after check, otherwise the

[PATCH] sched/fair: tiny clearup of -1

2014-12-04 Thread jun . zhang
From: zhang jun find_idlest_cpu don't return -1, so clearup it. Signed-off-by: zhang jun Signed-off-by: Chuansheng Liu Signed-off-by: Changcheng Liu Cc: Greg Kroah-Hartman Cc: Hillf Danton Cc: Vincent Guittot --- kernel/sched/fair.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH v18 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-04 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: - remove drm_connector_register, because imx-drm core has registered connector

[PATCH v18 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-04 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: - remove unio of the multi-byte

[PATCH] staging: kernel: fixed style errors in pid.c

2014-12-04 Thread Joshua I. James
From: "Joshua I. James" Fixed style errors identified by checkpatch. ERROR: space prohibited after that open square bracket '[' WARNING: Missing a blank line after declarations ERROR: space required before the open parenthesis '(' WARNING: line over 80 characters WARNING: quoted string split

[PATCH v18 06/12] dt-bindings: add document for dw_hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v18: - add port bindings - correct some spelling mistakes in dw_hdmi bindings doc Changes in v17: None Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes in v15: None Changes in v14: None Changes in v13: None Changes

[git pull] drm intel fixes

2014-12-04 Thread Dave Airlie
Hi Linus, two intel stable fixes, that should be it from me for this round. Dave. The following changes since commit ebea76f5b95caddb59f49a3e288da26358e6ab1f: Merge tag 'media/v3.18-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media (2014-12-04 16:06:02 -0800) are

[PATCH v18 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan --- Changes in v18: None Changes in v17: - remove prompt message of dw_hdmi, adviced by Russel King Changes in v16: None

[PATCH v18 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-04 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - split phy configuration from

Re: [PATCH v2 1/6] net-PPP: Replacement of a printk() call by pr_warn() in mppe_rekey()

2014-12-04 Thread Julia Lawall
On Thu, 4 Dec 2014, Joe Perches wrote: > On Thu, 2014-12-04 at 23:27 +0100, SF Markus Elfring wrote: > > >> diff --git a/drivers/net/ppp/ppp_mppe.c b/drivers/net/ppp/ppp_mppe.c > > > [] > > >> @@ -172,9 +172,8 @@ static void mppe_rekey(struct ppp_mppe_state * > > >> state, int initial_key) > >

[PATCH v18 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-04 Thread Andy Yan
IMX6 and Rockchip RK3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx

Re: [RFC v2] percpu: Add a separate function to merge free areas

2014-12-04 Thread Konstantin Khlebnikov
On Fri, Dec 5, 2014 at 12:20 AM, Christoph Lameter wrote: > On Thu, 4 Dec 2014, Tejun Heo wrote: > >> Docker usage is pretty wide-spread now, making what used to be >> siberia-cold paths hot enough to cause actual scalability issues. >> Besides, we're now using percpu_ref for things like aio and

[PATCH v18 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-04 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan Reviewed-by: Daniel Kurtz --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12:

[PATCH v18 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-04 Thread Andy Yan
CHECK: Alignment should match open parenthesis + if ((hdmi->vic == 10) || (hdmi->vic == 11) || + (hdmi->vic == 12) || (hdmi->vic == 13) || CHECK: braces {} should be used on all arms of this statement + if (hdmi->hdmi_data.video_mode.mdvi) [...] + else { [...]

[PATCH v18 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
We found Freescale imx6 and Rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only be

[PATCH] sched/fair: fix find_idlest_cpu return -1

2014-12-04 Thread jun . zhang
From: zhang jun find_idlest_cpu return -1 is not reasonable, set default value to this_cpu. Signed-off-by: zhang jun Signed-off-by: Chuansheng Liu Signed-off-by: Changcheng Liu Cc: Hillf Danton Cc: Vincent Guittot Cc: # 3.14.25 --- kernel/sched/fair.c |4 ++-- 1 file changed, 2

Re: [PATCH 1/1] mm: Fix a deadlock in the hotplug code

2014-12-04 Thread Yasuaki Ishimatsu
(2014/12/03 5:46), K. Y. Srinivasan wrote: > Andy Whitcroft initially saw this deadlock. We have > seen this as well. Here is the original description of the problem (and a > potential solution) from Andy: > > https://lkml.org/lkml/2014/3/14/451 > > Here is an excerpt from that mail: > > "We

RE: [PATCH v6 2/10] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2014-12-04 Thread Namjae Jeon
> > > > > > > > That said, I wonder whether we even care about a merge in the right > > > shift case since we haven't punched a hole in the file and thus have not > > > changed the "neighbors" of any of the extents we're shuffling around. I > > > would think any extents that are already contiguous

[PATCH] xen: fix sparse warning in p2m.c

2014-12-04 Thread Juergen Gross
The patch "Speed up set_phys_to_machine() by using read-only mappings" introduced a sparse warning: arch/x86/xen/p2m.c:628:13: sparse: incorrect type in argument 1 (different address spaces) Avoid the warning. Signed-off-by: Juergen Gross --- arch/x86/xen/p2m.c | 4

[PATCH] xen: fix sparse warning in page.h

2014-12-04 Thread Juergen Gross
The inline function mfn_to_pfn_no_overrides() uses __get_user() to access the machine_to_phys_mapping array to avoid crashes when using out of bounds indices e.g. for I/O addresses. Avoid sparse warnings by attributing the accessed address with __user. Signed-off-by: Juergen Gross ---

[PATCH 03/12] ip_generic_getfrag, udplite_getfrag: switch to passing msghdr

2014-12-04 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- include/net/udplite.h | 3 ++- net/ipv4/ip_output.c | 6 +++--- net/ipv4/raw.c| 2 +- net/ipv4/udp.c| 4 ++-- net/ipv6/raw.c| 2 +- net/ipv6/udp.c| 2 +- net/l2tp/l2tp_ip6.c | 2 +- 7 files changed, 11 insertions(+),

[PATCH 10/12] ppp_read(): switch to skb_copy_datagram_iter()

2014-12-04 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/net/ppp/ppp_generic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c index 794a473..af034db 100644 --- a/drivers/net/ppp/ppp_generic.c +++

[PATCH 04/12] switch tcp_sock->ucopy from iovec (ucopy.iov) to msghdr (ucopy.msg)

2014-12-04 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- include/linux/tcp.h | 2 +- net/ipv4/tcp.c | 2 +- net/ipv4/tcp_input.c | 7 +++ 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/include/linux/tcp.h b/include/linux/tcp.h index f566b85..5d9cc9c 100644 --- a/include/linux/tcp.h

[PATCH 06/12] vmci: propagate msghdr all way down to __qp_memcpy_from_queue()

2014-12-04 Thread Al Viro
From: Al Viro ... and switch it to memcpy_to_msg() Signed-off-by: Al Viro --- drivers/misc/vmw_vmci/vmci_queue_pair.c | 17 + include/linux/vmw_vmci_api.h| 5 +++-- net/vmw_vsock/vmci_transport.c | 4 ++-- 3 files changed, 14 insertions(+), 12

[PATCH 05/12] switch l2cap ->memcpy_fromiovec() to msghdr

2014-12-04 Thread Al Viro
From: Al Viro it'll die soon enough - now that kvec-backed iov_iter works regardless of set_fs(), both instances will become copy_from_iter() as soon as we introduce ->msg_iter... Signed-off-by: Al Viro --- include/net/bluetooth/l2cap.h | 6 +++--- net/bluetooth/l2cap_core.c| 4 ++--

[PATCH 08/12] first fruits - kill l2cap ->memcpy_fromiovec()

2014-12-04 Thread Al Viro
From: Al Viro Just use copy_from_iter(). That's what this method is trying to do in all cases, in a very convoluted fashion. Signed-off-by: Al Viro --- include/net/bluetooth/l2cap.h | 29 - net/bluetooth/6lowpan.c | 3 +-- net/bluetooth/a2mp.c | 3

[PATCH 07/12] put iov_iter into msghdr

2014-12-04 Thread Al Viro
From: Al Viro Note that the code _using_ ->msg_iter at that point will be very unhappy with anything other than unshifted iovec-backed iov_iter. We still need to convert users to proper primitives. Signed-off-by: Al Viro --- crypto/algif_hash.c| 4 ++-- crypto/algif_skcipher.c

[PATCH 09/12] switch memcpy_to_msg() and skb_copy{,_and_csum}_datagram_msg() to primitives

2014-12-04 Thread Al Viro
From: Al Viro ... making both non-draining. That means that tcp_recvmsg() becomes non-draining. And _that_ would break iscsit_do_rx_data() unless we a) make sure tcp_recvmsg() is uniformly non-draining (it is) b) make sure it copes with arbitrary (including shifted) iov_iter

Re: [PATCH] tinification: Make SRCU optional by using CONFIG_SRCU

2014-12-04 Thread Josh Triplett
On Thu, Dec 04, 2014 at 10:30:20PM -0500, Pranith Kumar wrote: > On Thu, Dec 4, 2014 at 9:05 PM, Lai Jiangshan wrote: > > On 12/05/2014 08:11 AM, Paul E. McKenney wrote: > >> On Thu, Dec 04, 2014 at 06:50:24PM -0500, Pranith Kumar wrote: > >>> > >>> +config SRCU > >>> +bool "Sleepable form of

[PATCH 12/12] bury memcpy_toiovec()

2014-12-04 Thread Al Viro
From: Al Viro no users left Signed-off-by: Al Viro --- include/linux/uio.h | 1 - lib/iovec.c | 25 - 2 files changed, 26 deletions(-) diff --git a/include/linux/uio.h b/include/linux/uio.h index bd8569a..a41e252 100644 --- a/include/linux/uio.h +++

[PATCH 01/12] raw.c: stick msghdr into raw_frag_vec

2014-12-04 Thread Al Viro
From: Al Viro we'll want access to ->msg_iter Signed-off-by: Al Viro --- net/ipv4/raw.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 43385a9..5c901eb 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c @@ -82,7 +82,7 @@

[PATCH 11/12] skb_copy_datagram_iovec() can die

2014-12-04 Thread Al Viro
From: Al Viro no callers other than itself. Signed-off-by: Al Viro --- include/linux/skbuff.h | 2 -- net/core/datagram.c| 84 -- 2 files changed, 86 deletions(-) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index

[PATCH 02/12] ipv6 equivalent of "ipv4: Avoid reading user iov twice after raw_probe_proto_opt"

2014-12-04 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- net/ipv6/raw.c | 112 - 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 8baa53e..942f67b 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@

Re: [PATCH v2 1/3] i2c: cadence: Handle > 252 byte transfers

2014-12-04 Thread Harini Katakam
Hi, On Fri, Dec 5, 2014 at 11:11 AM, rajeev kumar wrote: > On Wed, Dec 3, 2014 at 6:05 PM, Harini Katakam wrote: >> The I2C controller sends a NACK to the slave when transfer size register >> reaches zero, irrespective of the hold bit. So, in order to handle transfers >> greater than 252 bytes,

the next chunk of iov_iter-net stuff for review

2014-12-04 Thread Al Viro
OK, here's the tentative next batch (covers most of the ->recvmsg() side of conversion). That's on top of merge of net-next#master with vfs#iov_iter (the latter had been posted earlier today, Cc'd to netdev among other places). This series corresponds to vfs#for-davem. Review and

[PATCH v4 6/6] mmc: rtsx: swap function position to avoid pre declaration

2014-12-04 Thread micky_ching
From: Micky Ching move function sd_read_data()/sd_write_data() behind sd_send_cmd_get_rsp() to avoid pre-declaration. Signed-off-by: Micky Ching --- drivers/mmc/host/rtsx_pci_sdmmc.c | 200 +++--- 1 file changed, 100 insertions(+), 100 deletions(-) diff --git

[PATCH v4 5/6] mmc: rtsx: add support for sdio card

2014-12-04 Thread micky_ching
From: Micky Ching Modify transfer mode for support sdio card, send cmd and data at the same time for read data transfer, but send data after cmd for write data transfer. Signed-off-by: Micky Ching --- drivers/mmc/host/rtsx_pci_sdmmc.c | 231 ++ 1 file

[PATCH v4 1/6] mfd: rtsx: add func to split u32 into register

2014-12-04 Thread micky_ching
From: Micky Ching Add helper function to write u32 to registers, if we want to put u32 value to 4 continuous register, this can help us reduce tedious work. Signed-off-by: Micky Ching Acked-by: Lee Jones --- include/linux/mfd/rtsx_pci.h | 9 + 1 file changed, 9 insertions(+) diff

[PATCH v4 3/6] mmc: rtsx: init cookie at probe/card_event

2014-12-04 Thread micky_ching
From: Micky Ching host->cookie is used for handle async request, we should init it to negative value when new card inserted, make cookie value invalid. Signed-off-by: Micky Ching --- drivers/mmc/host/rtsx_pci_sdmmc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v4 4/6] mmc: rtsx: add helper function to simplify code

2014-12-04 Thread micky_ching
From: Micky Ching To support sdio card, transfer mode need make a change, this need to split code and use it in different place, Add new function to simplify repeat operation. Signed-off-by: Micky Ching --- drivers/mmc/host/rtsx_pci_sdmmc.c | 95 +-- 1 file

[PATCH v4 0/6] mmc: rtsx: add support for sdio card

2014-12-04 Thread micky_ching
From: Micky Ching v4: split patch in more detailed patches. no code changes diff v3. v3: rtsx_pci_sdmmc.c: - dump_reg_range - remove unused pointer check - fix start index v2: rtsx_pci.h: - remove unused rtsx_pci_write_le32 - add SD_CMD_START rtsx_pci_sdmmc.c:

[PATCH v4 2/6] mmc: rtsx: add dump_reg_range to simplify dump register

2014-12-04 Thread micky_ching
From: Micky Ching Add a new function to dump register within a range. We print 1 register a line before this patch, this may make debug info too long when we add more register to dump. The new dump_reg_range() dump to 8 register a line, and it is easy to use. Signed-off-by: Micky Ching ---

Re: [PATCH 2/2] ftracetest: Add --verbose option for showing echo output

2014-12-04 Thread Namhyung Kim
On Fri, Dec 05, 2014 at 02:23:23PM +0900, Masami Hiramatsu wrote: > (2014/12/05 14:08), Namhyung Kim wrote: > > On Thu, Dec 04, 2014 at 02:41:23PM -0500, Masami Hiramatsu wrote: > >> Add --verbose/-v option for showing echo output in testcases. > >> This is good for checking the progress of

Re: [PATCH 2/2 V7] intel_pstate: add kernel parameter to force loading on Sun X86 servers.

2014-12-04 Thread ethan zhao
Linda, On 2014/12/5 12:56, Linda Knippers wrote: Hi Ethan, On 12/4/2014 10:38 PM, ethan zhao wrote: Linda, On 2014/12/5 7:03, Linda Knippers wrote: On 12/4/2014 5:38 PM, Kristen Carlson Accardi wrote: On Thu, 04 Dec 2014 23:10:58 +0100 "Rafael J. Wysocki" wrote: On Thursday, December

Re: [PATCH v2 0/2] mmc: rtsx: add support for sdio card

2014-12-04 Thread 敬锐
On 12/04/2014 09:52 PM, Ulf Hansson wrote: >> v3: >> > rtsx_pci_sdmmc.c: >> > - dump_reg_range >> > - remove unused pointer check >> > - fix start index > I can't find v3. > > Kind regards > Uffe > Sorry for mistake, This is v3, but subject is wrong.

Re: [PATCH v2 1/3] i2c: cadence: Handle > 252 byte transfers

2014-12-04 Thread rajeev kumar
On Wed, Dec 3, 2014 at 6:05 PM, Harini Katakam wrote: > The I2C controller sends a NACK to the slave when transfer size register > reaches zero, irrespective of the hold bit. So, in order to handle transfers > greater than 252 bytes, the transfer size register has to be maintained at a > value >=

Re: [PATCH 2/2] ftracetest: Add --verbose option for showing echo output

2014-12-04 Thread Masami Hiramatsu
(2014/12/05 14:08), Namhyung Kim wrote: > On Thu, Dec 04, 2014 at 02:41:23PM -0500, Masami Hiramatsu wrote: >> Add --verbose/-v option for showing echo output in testcases. >> This is good for checking the progress of testcases which >> take a longer time to run. >> >> To implement this feature,

Re: [PATCH v3 0/5] ARM64: Add kernel probes(Kprobes) support

2014-12-04 Thread William Cohen
On 12/03/2014 08:16 PM, William Cohen wrote: > On 12/03/2014 05:54 PM, David Long wrote: >> On 12/03/14 09:54, William Cohen wrote: >>> On 12/01/2014 04:37 AM, Masami Hiramatsu wrote: (2014/11/29 1:01), Steve Capper wrote: > On 27 November 2014 at 06:07, Masami Hiramatsu > wrote:

Re: [PATCH 2/2] ftracetest: Add --verbose option for showing echo output

2014-12-04 Thread Namhyung Kim
On Thu, Dec 04, 2014 at 02:41:23PM -0500, Masami Hiramatsu wrote: > Add --verbose/-v option for showing echo output in testcases. > This is good for checking the progress of testcases which > take a longer time to run. > > To implement this feature, all the testcase failures are > captured in

Re: frequent lockups in 3.18rc4

2014-12-04 Thread Sasha Levin
On 12/02/2014 06:32 PM, Sasha Levin wrote: > On 12/02/2014 02:32 PM, Dave Jones wrote: >> > On Mon, Dec 01, 2014 at 06:08:38PM -0500, Chris Mason wrote: >> > > I'm not sure if this is related, but running trinity here, I noticed it >> > > was stuck at 100% system time on every CPU. perf report

Re: [PATCH 2/2 V7] intel_pstate: add kernel parameter to force loading on Sun X86 servers.

2014-12-04 Thread Linda Knippers
Hi Ethan, On 12/4/2014 10:38 PM, ethan zhao wrote: > Linda, > > On 2014/12/5 7:03, Linda Knippers wrote: >> On 12/4/2014 5:38 PM, Kristen Carlson Accardi wrote: >>> On Thu, 04 Dec 2014 23:10:58 +0100 >>> "Rafael J. Wysocki" wrote: >>> On Thursday, December 04, 2014 11:07:31 AM Ethan Zhao

[PATCH v13 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-04 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make

[PATCH v13 6/7] kprobes: Pass the original kprobe for preparing optimized kprobe

2014-12-04 Thread Wang Nan
From: Masami Hiramatsu Pass the original kprobe for preparing an optimized kprobe arch-dep part, since for some architecture (e.g. ARM32) requires the information in original kprobe. Signed-off-by: Masami Hiramatsu Signed-off-by: Wang Nan --- arch/x86/kernel/kprobes/opt.c | 3 ++-

[PATCH v13 4/7] ARM: kprobes: disallow probing stack consuming instructions

2014-12-04 Thread Wang Nan
This patch prohibits probing instructions for which the stack requirements are unable to be determined statically. Some test cases are found not work again after the modification, this patch also removes them. Signed-off-by: Wang Nan Reviewed-by: Jon Medhurst --- v1 -> v2: - Use MAX_STACK_SIZE

[PATCH v13 3/7] ARM: kprobes: collects stack consumption for store instructions

2014-12-04 Thread Wang Nan
This patch uses the previously introduced checker functionality on store instructions to record their stack consumption information to arch_probes_insn. Signed-off-by: Wang Nan Signed-off-by: Jon Medhurst Reviewed-by: Jon Medhurst --- v1 -> v2: - Bugfix and code improvements following Tixy's

[PATCH v13 5/7] ARM: kprobes: Add test cases for stack consuming instructions

2014-12-04 Thread Wang Nan
From: Jon Medhurst These have extra 'checker' functions associated with them so lets make sure those get covered by testing. Signed-off-by: Jon Medhurst Signed-off-by: Wang Nan --- v1 -> v2: - Move to arch/arm/probes/ . --- arch/arm/probes/kprobes/test-arm.c | 17 +++--

[PATCH v13 2/7] ARM: kprobes: introduces checker

2014-12-04 Thread Wang Nan
This patch introdces 'checker' to decoding phase, and calls checkers when instruction decoding. This allows further decoding for specific instructions. This patch introduces a stub call of checkers in kprobe arch_prepare_kprobe() as an example and for further expansion. Signed-off-by: Wang Nan

[PATCH v13 1/7] ARM: probes: move all probe code to dedicate directory

2014-12-04 Thread Wang Nan
In discussion on LKML (https://lkml.org/lkml/2014/11/28/158), Russell King suggests to move all probe related code to arch/arm/probes. This patch does the work. Due to dependency on 'arch/arm/kernel/patch.h', this patch also moves patch.h to 'arch/arm/include/asm/patch.h', and related '#include'

[PATCH v13 0/7] ARM: kprobes: OPTPROBES and other improvements.

2014-12-04 Thread Wang Nan
This is v12 of optprobe related patch series. Most of this series are comments and commit message fixes, except a minor modification in opt-arm.c related on stack operations. Also, author of one patch is fixed. Previous discussions can be found: https://lkml.org/lkml/2014/12/4/4

[PATCH] staging: kernel: fixed style warnings in acct.c

2014-12-04 Thread Joshua I. James
From: "Joshua I. James" Fixed style errors identified by checkpatch. Output of checkpatch: WARNING: Missing a blank line after declarations WARNING: line over 80 characters ERROR: spaces required around that '==' (ctx:VxV) +#if ACCT_VERSION==2 Signed-off-by: Joshua I. James --- kernel/acct.c

linux-next: manual merge of the drm tree with Linus' tree

2014-12-04 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/radeon/radeon_cs.c between commit 86b276385c6a ("drm/radeon: sync all BOs involved in a CS v2") from Linus' tree and commit 975700d2cc84 ("drm/radeon: split semaphore and sync object handling v2") from the drm

linux-next: manual merge of the drm tree with Linus' tree

2014-12-04 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/nouveau/nouveau_drm.c between commit 8b62c8c6df08 ("nouveau: move the hotplug ignore to correct place") from Linus' tree and commit 7bb6d4428d3d ("drm/nouveau: move the (far too many...) different s/r paths to the

[PATCH] misc: pass miscdevice through file's private_data

2014-12-04 Thread Tom Van Braeckel
Make the miscdevice accessible through the file's private_data. Previously, this was done only when an open() operation had been registered. But it's also useful in other file operations so we pass it on unconditionally. All drivers that use private_data and misc_register() were checked to

[PATCH] staging: vt6655: Declare vnt_init() static

2014-12-04 Thread Sören Brinkmann
Fix sparse warning: drivers/staging/vt6655/device_main.c:1672:5: warning: symbol 'vnt_init' was not declared. Should it be static? Signed-off-by: Sören Brinkmann --- drivers/staging/vt6655/device_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: Re: [PATCH] optimize ktime_divns for constant divisors

2014-12-04 Thread Nicolas Pitre
On Fri, 5 Dec 2014, pang.xun...@zte.com.cn wrote: > Nicolas, > > On Thursday 04 December 2014 15:23:37: Nicolas Pitre wrote: > > Nicolas Pitre > > > > u64 ktime_to_us(ktime_t kt) > > { > >u64 ns = ktime_to_ns(kt); > >u32 x_lo, x_hi, y_lo, y_hi; > >u64 res, carry; > > > >x_hi

Re: [PATCH v2 1/3] i2c: cadence: Handle > 252 byte transfers

2014-12-04 Thread Harini Katakam
Hi, On Fri, Dec 5, 2014 at 12:02 AM, Wolfram Sang wrote: > >> + /* >> + * If the device is sending data If there is further >> + * data to be sent. Calculate the available space >> + * in FIFO and fill the FIFO with that many bytes. >> +

Re: [PATCH] net: ethernet: rocker: Add select to CONFIG_BRIDGE in Kconfig

2014-12-04 Thread David Miller
From: Andreas Ruprecht Date: Thu, 04 Dec 2014 18:36:37 +0100 > On 04.12.2014 17:34, Jim Davis wrote: >> Building with the attached random configuration file, >> >> drivers/built-in.o: In function `rocker_port_fdb_learn_work': >> /home/jim/linux/drivers/net/ethernet/rocker/rocker.c:3014:

[PATCH v3 3/8] regulator: MT6397: Add support for MT6397 regulator

2014-12-04 Thread Flora Fu
Add MT6397 regulator driver. Signed-off-by: Flora Fu --- drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/mt6397-regulator.c | 332 + include/linux/regulator/mt6397-regulator.h | 49 +

[PATCH v3 1/8] soc: mediatek: Add PMIC wrapper for MT8135 and MT6397 SoC

2014-12-04 Thread Flora Fu
Add PMIC wrapper of MT8135 to access MT6397 MFD. Signed-off-by: Flora Fu --- drivers/soc/Kconfig| 1 + drivers/soc/Makefile | 1 + drivers/soc/mediatek/Kconfig | 12 + drivers/soc/mediatek/Makefile | 1 +

[PATCH v3 4/8] dt-bindings:: Add document for MT8135 PMIC Wrapper

2014-12-04 Thread Flora Fu
Signed-off-by: Flora Fu --- .../soc/mediatek/mediatek,mt8135-pwrap.txt | 51 ++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,mt8135-pwrap.txt diff --git

  1   2   3   4   5   6   7   8   9   10   >