[PATCH net-next v3 8/8] net: dsa: add support for switchdev FDB objects

2015-08-10 Thread Vivien Didelot
Implement the switchdev_port_obj_{add,del,dump} functions in DSA to support the SWITCHDEV_OBJ_PORT_FDB objects. Signed-off-by: Vivien Didelot --- net/dsa/slave.c | 142 1 file changed, 81 insertions(+), 61 deletions(-) diff --git a/net/ds

[PATCH net-next v3 4/8] net: dsa: change FDB routines prototypes

2015-08-10 Thread Vivien Didelot
Change the prototype of port_getnext to include a vid parameter. This is necessary to introduce the support for VLAN. Also rename the fdb_{add,del,getnext} function pointers to port_fdb_{add,del,getnext} since they are specific to a given port. Signed-off-by: Vivien Didelot --- drivers/net/dsa

Re: [PATCH v2 4/8] drm: rockchip/dp: add rockchip platform dp driver

2015-08-10 Thread Yakir Yang
Hi Thierry, 在 2015/8/10 18:00, Thierry Reding 写道: On Sat, Aug 08, 2015 at 11:54:38AM +0800, Yakir Yang wrote: [...] edp: edp@ff97 { [...] hsync-active-high = <0>; vsync-active-high = <0>; interlaced = <0>; These look like they s

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Peter Hurley
On 08/10/2015 07:54 AM, Peter Ujfalusi wrote: > On 08/07/2015 11:00 PM, Sebastian Andrzej Siewior wrote: > I don't think this is good thing for the stable _and_ for the mainline at the > same time: > in stable the rx DMA should not be allowed since the stable kernels does not > allow pause/resume

Re: [Xen-devel] [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity

2015-08-10 Thread Stefano Stabellini
On Mon, 10 Aug 2015, David Vrabel wrote: > On 10/08/15 13:03, Stefano Stabellini wrote: > > On Fri, 7 Aug 2015, Julien Grall wrote: > >> - rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap_range, &xatp); > >> - return rc < 0 ? rc : err; > >> + for (i = 0; i < nr_gfn; i++) { > >> + if ((i

Re: [PATCH v3 12/20] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-08-10 Thread Stefano Stabellini
On Mon, 10 Aug 2015, Julien Grall wrote: > Hi Stefano, > > On 10/08/15 12:18, Stefano Stabellini wrote: > >>/* Link back into the page tables if not highmem. */ > >> @@ -396,14 +413,15 @@ static enum bp_state increase_reservation(unsigned > >> long nr_pages) > >> static enum

RE: [PATCH RFC V9 2/3] perf,tools: per-event callgraph support

2015-08-10 Thread Liang, Kan
> Em Fri, Aug 07, 2015 at 12:38:43PM -0300, Arnaldo Carvalho de Melo > escreveu: > > Em Thu, Aug 06, 2015 at 03:44:53PM -0400, kan.li...@intel.com escreveu: > > > From: Kan Liang Here are some examples and > > > test results. > > > > > > 1. Comparing the elapsed time and perf.data size from "ker

[PATCH] [Telephony/MUX]: solve checkpatch issues

2015-08-10 Thread Gwenn Bourree
In order to prepare the submission of other functional patches, the checkpatch script has been applied and the reported issues have been solved. Signed-off-by: Gwenn Bourree --- drivers/tty/n_gsm.c | 56 + 1 file changed, 44 insertions(+), 12 d

Re: [PATCH v3 20/20] arm/xen: Add support for 64KB page granularity

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > The hypercall interface is always using 4KB page granularity. This is > requiring to use xen page definition macro when we deal with hypercall. > > Note that pfn_to_gfn is working with a Xen pfn (i.e 4KB). We may want to > rename pfn_gfn to make this expli

Re: [PATCH RFC 4/5] drm/msm/hdmi: deprecate non standard clock-names

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 12:59:49PM +0100, Srinivas Kandagatla wrote: > This patch updates the bindings to discourage the usage of non standard > clock names, this will help in projects focused on upstreaming. > > These deprecated properties are still supported but will be remove over > the time. >

Re: [PATCH 16/27] mfd: Export OF module alias information in missing drivers

2015-08-10 Thread Lee Jones
On Thu, 30 Jul 2015, Javier Martinez Canillas wrote: > The I2C core always reports the MODALIAS uevent as "i2c: regardless if the driver was matched using the I2C id_table or the > of_match_table. So technically there's no need for a driver to export > the OF table since currently it's not used. >

Re: [PATCH 01/27] mfd: stw481x: Export I2C module alias information

2015-08-10 Thread Lee Jones
On Thu, 30 Jul 2015, Javier Martinez Canillas wrote: > The I2C core always reports the MODALIAS uevent as "i2c: regardless if the driver was matched using the I2C id_table or the > of_match_table. So the driver needs to export the I2C table and this > be built into the module or udev won't have th

Re: [PATCH RFC 1/5] drm/msm/hdmi: deprecate non standard gpio properties.

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 12:59:22PM +0100, Srinivas Kandagatla wrote: > This patch updates the bindings to discourage the usage of non standard > gpio properites, this will help in projects focused on upstreaming. That last part is an odd comment to make in the commit message of a patch submitted u

Re: [RFC] i.MX25/35/SDHCI: switch off DMA usage

2015-08-10 Thread Alexander Stein
Hello, On Wednesday 22 April 2015 15:33:00, Dong Aisheng wrote: > > On Friday 27 March 2015 12:44:03 Dong Aisheng wrote: > > > On Fri, Mar 27, 2015 at 11:52:04AM +0100, Juergen Borleis wrote: > > > > DMA and the required overhead on very small data blocks seems an > > > > expensive operation. Due

Re: [FYI] tux3: Core changes

2015-08-10 Thread Jan Kara
On Sun 09-08-15 22:42:42, OGAWA Hirofumi wrote: > Jan Kara writes: > > > I'm not sure about which ENOSPC issue you are speaking BTW. Can you > > please ellaborate? > > 1. GUP simulate page fault, and prepare to modify > 2. writeback clear dirty, and make PTE read-only > 3. snapshot/reflink make

Re: [PATCH] pinctrl: mediatek: Implement pictrl irq wake handler

2015-08-10 Thread Linus Walleij
On Wed, Jul 29, 2015 at 11:36 AM, wrote: > From: Maoguang Meng > > This patch implement irq_set_wake for suspend resume. > > Signed-off-by: Maoguang Meng Hongzhou/Yingjoe: are you OK with this patch? Can I have your ACKs? Yours, Linus Walleij -- To unsubscribe from this list: send the line "

Re: [PATCH] tools lib traceevent: add checks for returned EVENT_ERROR type

2015-08-10 Thread Dean Nelson
On 08/08/2015 10:10 PM, Namhyung Kim wrote: On Fri, Aug 07, 2015 at 12:59:10PM +0200, Jiri Olsa wrote: On Mon, Aug 03, 2015 at 01:08:05PM -0400, Dean Nelson wrote: The second warning message and SIGSEGV stem from the issue expressed in the first warning message, and are the result of ignoring t

Re: [Xen-devel] [PATCH v3 09/20] xen/biomerge: Don't allow biovec to be merge when Linux is not using 4KB page

2015-08-10 Thread David Vrabel
On 10/08/15 12:32, Julien Grall wrote: > On 10/08/15 12:25, Stefano Stabellini wrote: >> yes and page/pages: >> >> xen/biomerge: Don't allow biovec's to be merged when Linux is not using 4KB >> pages > > Why the ' in biovec's ? Shouldn't we says biovecs directly? Pluralizing named C structures w

Re: [PATCH RFC 2/5] drm/msm/hdmi: make use of standard gpio properties.

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 12:59:34PM +0100, Srinivas Kandagatla wrote: > This patch modifies the driver to support standard gpio properties along > with deprecated properties. This will help us upstream and cleanup the > non-standard properties over the time. > > Signed-off-by: Srinivas Kandagatla

[PATCH v0] tracing: Allow triggers to filter for CPU ids and process names

2015-08-10 Thread Daniel Wagner
By extending the filter rules by more generic fields we can write triggers filters like echo 'stacktrace if cpu == 1' > \ /sys/kernel/debug/tracing/events/raw_syscalls/sys_enter/trigger or echo 'stacktrace if comm == sshd' > \ /sys/kernel/debug/tracing/events/raw_syscalls/sy

Re: [PATCH] cpupower tools: Fix error when running cpupower monitor

2015-08-10 Thread Thomas Renninger
On Monday, August 03, 2015 11:46:00 AM Shreyas B. Prabhu wrote: > get_cpu_topology() tries to get topology info from all cpus by reading > files in the topology sysfs dir. If a cpu is offlined, since it doesn't > have topology dir, this function fails and returns -1. This causes > functions relying

Re: [PATCH 1/9] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-08-10 Thread Takashi Iwai
On Mon, 10 Aug 2015 12:39:21 +0200, Russell King - ARM Linux wrote: > > On Mon, Aug 10, 2015 at 12:05:07PM +0200, Takashi Iwai wrote: > > On Sat, 08 Aug 2015 18:10:06 +0200, > > Russell King wrote: > > > +static irqreturn_t snd_dw_hdmi_irq(int irq, void *data) > > > +{ > > > + struct snd_dw_hdmi *

Re: [PATCH] mfd: mt6397: Implement wake handler and suspend/resume for mt6397-core.c

2015-08-10 Thread Henry Chen
Hi Jones, On Mon, 2015-08-10 at 12:42 +0100, Lee Jones wrote: > No need to mention the filename in the subject line. You already > mentioned which driver is effected by the change. Ok, it will be changed. > > > Register mt6393_irq as wake up source to pinctrl by flag "IRQF_NO_SUSPEND". > > Impl

Re: [PATCH 00/12] dw-hdmi development

2015-08-10 Thread Thierry Reding
On Sat, Aug 08, 2015 at 05:02:51PM +0100, Russell King - ARM Linux wrote: > This sub-series is a mixture of development: > > * Removing the incorrect pixel repetition configuration code > * Preventing pixel-doubled modes from being used > * Adding interlaced video support > * Implementing the sink

[PATCH v2] tools lib traceevent: add checks for returned EVENT_ERROR type

2015-08-10 Thread Dean Nelson
Running the following perf-stat command on an arm64 system produces the following result... [root@aarch64 ~]# perf stat -e kmem:mm_page_alloc -a sleep 1 Warning: [kmem:mm_page_alloc] function sizeof not defined Warning: Error: expected type 4 but read 0 Segmentation fault [root@aarch

Re: [PATCH RFC] serial: mxs-auart: fix baud rate range

2015-08-10 Thread Fabio Estevam
On Mon, Aug 10, 2015 at 9:12 AM, Stefan Wahren wrote: > /* set baud rate */ > - baud = uart_get_baud_rate(u, termios, old, 0, u->uartclk); > + baud_min = u->uartclk * 32 / 0x3fffc0; > + baud_max = u->uartclk * 32 / 0xec; > + baud = uart_get_baud_rate(u, termios, ol

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Sebastian Andrzej Siewior
On 08/10/2015 01:54 PM, Peter Ujfalusi wrote: >> diff --git a/drivers/tty/serial/8250/8250_omap.c >> b/drivers/tty/serial/8250/8250_omap.c >> index 0340ee6ba970..07a11e0935e4 100644 >> --- a/drivers/tty/serial/8250/8250_omap.c >> @@ -769,7 +771,9 @@ static void omap_8250_rx_dma_flush(struct uart_8

Re: [PATCH 5/8] serial: imx: save and restore context in the suspend path

2015-08-10 Thread Fabio Estevam
On Mon, Aug 10, 2015 at 1:04 AM, Eduardo Valentin wrote: > OK. Do you know what is the status of that patch set? > > did it get accepted by any tree so far? It is in linux-next. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

Re: [Xen-devel] [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity

2015-08-10 Thread David Vrabel
On 10/08/15 13:03, Stefano Stabellini wrote: > On Fri, 7 Aug 2015, Julien Grall wrote: >> -rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap_range, &xatp); >> -return rc < 0 ? rc : err; >> +for (i = 0; i < nr_gfn; i++) { >> +if ((i % XEN_PFN_PER_PAGE) == 0) { >> +

Re: [PATCH] sched: ensure a task has a non-normalized vruntime when returning back to cfs

2015-08-10 Thread Peter Zijlstra
On Mon, Aug 10, 2015 at 06:02:55PM +0900, byungchul.p...@lge.com wrote: > From: Byungchul Park > > current code ensures a task has a normalized vruntime when switching off > from fair class, but it does not ensure the task has a non-normalized > vruntime when switching back to the fair class. >

[PATCH RFC] serial: mxs-auart: fix baud rate range

2015-08-10 Thread Stefan Wahren
Currently mxs-auart doesn't care correctly about the baud rate divisor. According to reference manual the baud rate divisor must be between 0x00EC and 0x003FFFC0. So calculate the possible baud rate range and use it for uart_get_baud_rate(). Signed-off-by: Stefan Wahren --- drivers/tty/seria

Re: [PATCH v2 4/8] drm: rockchip/dp: add rockchip platform dp driver

2015-08-10 Thread Heiko Stübner
Hi Yakir, Am Samstag, 8. August 2015, 11:54:38 schrieb Yakir Yang: > >> +static int rockchip_dp_init(struct rockchip_dp_device *dp) > >> +{ > >> + struct device *dev = dp->dev; > >> + struct device_node *np = dev->of_node; > >> + int ret; > >> + > >> + dp->grf = syscon_regmap_lookup_by_phandle

RE: [RFC] bmac:change to use bitrev8() generic function

2015-08-10 Thread David Laight
> From: Tobias Klauser > Sent: 10 August 2015 12:49 > On 2015-08-10 at 11:53:41 +0200, yalin wang wrote: > > This change to use generic bitrev8() for bmac driver. ... > > @@ -871,7 +860,7 @@ bmac_addhash(struct bmac_data *bp, unsigned char *addr) > > > > if (!(*addr)) return; > > crc = bma

Re: [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > The hypercall interface (as well as the toolstack) is always using 4KB > page granularity. When the toolstack is asking for mapping a series of > guest PFN in a batch, it expects to have the page map contiguously in > its virtual memory. > > When Linux is

Re: [PATCH v3 18/20] net/xen-netback: Make it running on 64KB page granularity

2015-08-10 Thread Julien Grall
On 10/08/15 12:39, Wei Liu wrote: > On Mon, Aug 10, 2015 at 10:57:48AM +0100, Julien Grall wrote: >> while (size > 0) { >> BUG_ON(offset >= PAGE_SIZE); >> >> bytes = PAGE_SIZE - offset; >> if (bytes > size) >> bytes = s

Re: [PATCH 3.2 090/110] NET: AX.25: Stop heartbeat timer on disconnect.

2015-08-10 Thread Richard Stearn
Ben Hutchings wrote: 3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Stearn commit da278622bf04f8ddb14519a2b8214e108ef26101 upstream. This may result in a kernel panic. The bug has always existed but somehow we've run out of luck

[PATCH RFC 5/5] drm/msm/hdmi: remove _clk suffix from clock names.

2015-08-10 Thread Srinivas Kandagatla
This patch modifies the driver to support clock names without _clk suffix, usage of clk names with _clk suffix seems to be non-standard and picked up everytime in DT patch review. So lets fix this and make the other clk names deprecated till we decide to remove them forever. Signed-off-by: Sriniva

Re: [PATCH v4 2/7] mm: kasan: introduce generic kasan_populate_zero_shadow()

2015-08-10 Thread Andrey Ryabinin
2015-08-10 9:01 GMT+03:00 Aneesh Kumar K.V : > Andrey Ryabinin writes: > >> Introduce generic kasan_populate_zero_shadow(start, end). >> This function maps kasan_zero_page to the [start, end] addresses. >> >> In follow on patches it will be used for ARMv8 (and maybe other >> architectures) and wil

[PATCH RFC 3/5] drm/msm/hdmi: update bindings to include clock-names.

2015-08-10 Thread Srinivas Kandagatla
This patch updates the bindings to include the clock names used in the driver, this would make it easy to add deprecated warning once we move to use standard clock properties. Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/drm/msm/hdmi.txt | 13 + 1 file cha

[PATCH RFC 2/5] drm/msm/hdmi: make use of standard gpio properties.

2015-08-10 Thread Srinivas Kandagatla
This patch modifies the driver to support standard gpio properties along with deprecated properties. This will help us upstream and cleanup the non-standard properties over the time. Signed-off-by: Srinivas Kandagatla --- drivers/gpu/drm/msm/hdmi/hdmi.c | 35 +--

[PATCH RFC 4/5] drm/msm/hdmi: deprecate non standard clock-names

2015-08-10 Thread Srinivas Kandagatla
This patch updates the bindings to discourage the usage of non standard clock names, this will help in projects focused on upstreaming. These deprecated properties are still supported but will be remove over the time. Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/drm/

[PATCH RFC 1/5] drm/msm/hdmi: deprecate non standard gpio properties.

2015-08-10 Thread Srinivas Kandagatla
This patch updates the bindings to discourage the usage of non standard gpio properites, this will help in projects focused on upstreaming. These deprecated properties are still supported but will be remove over the time. Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/

[PATCH RFC 0/5] drm/msm/hdmi: DT bindings cleanup

2015-08-10 Thread Srinivas Kandagatla
Hi Rob, Almost every time when we submit the DT changes for hdmi, we are asked why are we using non-standard dt properties. This patchset marks the old style dt properties as deprecated, and let the driver support latest *-gpios and clk names properties. This should allow us to submit the DT patc

[PATCH v2 5/5] mm/hwpoison: replace most of put_page in memory error handling by put_hwpoison_page

2015-08-10 Thread Wanpeng Li
Replace most of put_page in memory error handling by put_hwpoison_page, except the ones at the front of soft_offline_page since the page maybe THP page and the get refcount in madvise_hwpoison is against the single 4KB page instead of the logic in get_hwpoison_page. Signed-off-by: Wanpeng Li -

[PATCH v2 4/5] mm/hwpoison: fix refcount of THP head page in no-injection case

2015-08-10 Thread Wanpeng Li
Hwpoison injection takes a refcount of target page and another refcount of head page of THP if the target page is the tail page of a THP. However, current code doesn't release the refcount of head page if the THP is not supported to be injected wrt hwpoison filter. Fix it by reducing the refcoun

[PATCH v2 3/5] mm/hwpoison: introduce put_hwpoison_page to put refcount for memory error handling

2015-08-10 Thread Wanpeng Li
Introduce put_hwpoison_page to put refcount for memory error handling. Suggested-by: Naoya Horiguchi Signed-off-by: Wanpeng Li --- include/linux/mm.h |1 + mm/memory-failure.c | 21 + 2 files changed, 22 insertions(+), 0 deletions(-) diff --git a/include/linux/mm.h

[PATCH v2 1/5] mm/hwpoison: fix fail to split thp w/ refcount held

2015-08-10 Thread Wanpeng Li
THP pages will get a refcount in madvise_hwpoison() w/ MF_COUNT_INCREASED flag, however, the refcount is still held when fail to split THP pages. Fix it by reducing the refcount of THP pages when fail to split THP. Signed-off-by: Wanpeng Li --- mm/memory-failure.c |2 ++ 1 files changed, 2

[PATCH v2 2/5] mm/hwpoison: fix PageHWPoison test/set race

2015-08-10 Thread Wanpeng Li
There is a race between madvise_hwpoison path and memory_failure: CPU0 CPU1 madvise_hwpoison get_user_pages_fast PageHWPoison check (false) memory_failure TestSetPageHWPoison soft_of

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Peter Ujfalusi
On 08/07/2015 11:00 PM, Sebastian Andrzej Siewior wrote: > The 8250-omap driver requires the DMA-engine driver to support the pause > command in order to properly turn off programmed RX transfer before the > driver stars manually reading from the FIFO. > The lacking support of the requirement has b

Re: [PATCH V1 Resend 11/11] net: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-10 Thread Neil Horman
Acked-by: Neil Horman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-10 Thread Hannes Frederic Sowa
Hello, Zang MingJie writes: > Here comes several options: > > 1. reject local next hop w/ EINVAL > 2. delete route when local next hop removed Will also cause some people to complain. > 3. transition between RT_SCOPE_HOST amd RT_SCOPE_LINK I don't understand the scope transition. I know Alex

Re: [RFC] bmac:change to use bitrev8() generic function

2015-08-10 Thread Tobias Klauser
On 2015-08-10 at 11:53:41 +0200, yalin wang wrote: > This change to use generic bitrev8() for bmac driver. > > Signed-off-by: yalin wang > --- > drivers/net/ethernet/apple/bmac.c | 17 +++-- > 1 file changed, 3 insertions(+), 14 deletions(-) > > diff --git a/drivers/net/ethernet/ap

[no subject]

2015-08-10 Thread Alfred Cheuk Chow
Good Day, I am Mr. Alfred Cheuk Yu Chow, the Director for Credit & Marketing Chong Hing Bank, Hong Kong, Chong Hing Bank Centre, 24 Des Voeux Road Central, Hong Kong. I have a business proposal of $38,980,369.00 (Thirty Eight Million, Nine Hundred and Eighty Thousand, Three Hundred and Sixty Ni

Re: [PATCH] sched: sync with the prev cfs when changing cgroup within a cpu

2015-08-10 Thread Peter Zijlstra
On Mon, Aug 10, 2015 at 03:08:59PM +0900, byungchul.p...@lge.com wrote: > From: Byungchul Park > > current code seems to be wrong with cfs_rq->blocked_load_avg when changing > a task's cgroup(=cfs_rq) to another. i tested with "echo pid > cgroup" and > found that cfs_rq->blocked_load_avg became l

Re: [tip:perf/core] perf/x86: Add an MSR PMU driver

2015-08-10 Thread Peter Zijlstra
On Mon, Aug 10, 2015 at 01:19:36PM +0200, Jiri Olsa wrote: > On Tue, Aug 04, 2015 at 02:01:20AM -0700, tip-bot for Andy Lutomirski wrote: > > SNIP > > > + /* unsupported modes and filters */ > > + if (event->attr.exclude_user || > > + event->attr.exclude_kernel || > > + event->a

Re: [PATCH] mfd: mt6397: Implement wake handler and suspend/resume for mt6397-core.c

2015-08-10 Thread Lee Jones
No need to mention the filename in the subject line. You already mentioned which driver is effected by the change. > Register mt6393_irq as wake up source to pinctrl by flag "IRQF_NO_SUSPEND". > Implement .irq_set_wake() function of pmic to keep who is wakeup source, > and enable irq on .suspend(

Re: [Question] lockdep: Is nested lock handled correctly?

2015-08-10 Thread Peter Zijlstra
On Mon, Aug 10, 2015 at 05:52:47PM +0800, Boqun Feng wrote: > Hi Peter and Ingo, > > I'm now learning the code of lockdep and find that nested lock may not > be handled correctly because we fail to take held_lock merging into > consideration. I come up with an example and hope that could explain m

Re: [PATCH v3 18/20] net/xen-netback: Make it running on 64KB page granularity

2015-08-10 Thread Wei Liu
On Mon, Aug 10, 2015 at 10:57:48AM +0100, Julien Grall wrote: [...] > > >>+ info.page = page; > >>+ gnttab_foreach_grant_in_range(page, offset, bytes, > >>+ xenvif_gop_frag_copy_grant, > >>+ &info);

Re: [PATCH 3.2 089/110] net: Clone skb before setting peeked flag

2015-08-10 Thread Konstantin Khlebnikov
On 10.08.2015 13:12, Ben Hutchings wrote: 3.2.71-rc1 review patch. If anyone has any objections, please let me know. Here is important fix: https://patchwork.ozlabs.org/patch/503374/ "net: Fix skb_set_peeked use-after-free". not in upstream yet. -- From: Herbert Xu commit

Re: [Xen-devel] [PATCH v3 09/20] xen/biomerge: Don't allow biovec to be merge when Linux is not using 4KB page

2015-08-10 Thread Julien Grall
On 10/08/15 12:25, Stefano Stabellini wrote: > yes and page/pages: > > xen/biomerge: Don't allow biovec's to be merged when Linux is not using 4KB > pages Why the ' in biovec's ? Shouldn't we says biovecs directly? Regards, -- Julien Grall -- To unsubscribe from this list: send the line "unsu

Re: [PATCH v3 12/20] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-08-10 Thread Julien Grall
Hi Stefano, On 10/08/15 12:18, Stefano Stabellini wrote: >> /* Link back into the page tables if not highmem. */ >> @@ -396,14 +413,15 @@ static enum bp_state increase_reservation(unsigned >> long nr_pages) >> static enum bp_state decrease_reservation(unsigned long nr_pages,

Re: [Xen-devel] [PATCH v3 09/20] xen/biomerge: Don't allow biovec to be merge when Linux is not using 4KB page

2015-08-10 Thread Stefano Stabellini
On Mon, 10 Aug 2015, Julien Grall wrote: > Hi Stefano, > > On 10/08/15 11:50, Stefano Stabellini wrote: > > On Fri, 7 Aug 2015, Julien Grall wrote: > >> On ARM all dma-capable devices on a same platform may not be protected > >> by an IOMMU. The DMA requests have to use the BFN (i.e MFN on ARM) in

Re: Warnings/memory corruption in perf intel events

2015-08-10 Thread Peter Zijlstra
On Sun, Aug 09, 2015 at 03:46:48PM -0400, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running -next I've > stumbled on the following: > [424256.911563] > == > [424256.913989] BUG: KASan: us

Re: [Xen-devel] [PATCH v3 09/20] xen/biomerge: Don't allow biovec to be merge when Linux is not using 4KB page

2015-08-10 Thread Julien Grall
Hi Stefano, On 10/08/15 11:50, Stefano Stabellini wrote: > On Fri, 7 Aug 2015, Julien Grall wrote: >> On ARM all dma-capable devices on a same platform may not be protected >> by an IOMMU. The DMA requests have to use the BFN (i.e MFN on ARM) in >> order to use correctly the device. >> >> While th

Re: [PATCH v9 0/9] Add simple NVMEM Framework via regmap.

2015-08-10 Thread Stefan Wahren
Hi Srinivas, hi Andrew, [add Sanchayan and Philipp] > Srinivas Kandagatla hat am 10. August 2015 um > 12:37 geschrieben: > > > Hi Andrew, > > On 09/08/15 16:19, Andrew Lunn wrote: > > Hi Srinivas > > > > The AT24 eeprom driver contains the comment: > > > > /* > > * Export the EEPROM bytes throug

Re: [tip:perf/core] perf/x86: Add an MSR PMU driver

2015-08-10 Thread Jiri Olsa
On Tue, Aug 04, 2015 at 02:01:20AM -0700, tip-bot for Andy Lutomirski wrote: SNIP > + /* unsupported modes and filters */ > + if (event->attr.exclude_user || > + event->attr.exclude_kernel || > + event->attr.exclude_hv || > + event->attr.exclude_idle || > +

Re: [PATCH v3 12/20] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > For ARM64 guests, Linux is able to support either 64K or 4K page > granularity. Although, the hypercall interface is always based on 4K > page granularity. > > With 64K page granularity, a single page will be spread over multiple > Xen frame. > > To avoid

Re: [Xen-devel] [PATCH RFC v2 0/5] Multi-queue support for xen-blkfront and xen-blkback

2015-08-10 Thread Bob Liu
On 08/10/2015 07:03 PM, Rafal Mielniczuk wrote: > On 01/07/15 04:03, Jens Axboe wrote: >> On 06/30/2015 08:21 AM, Marcus Granado wrote: >>> Hi, >>> >>> Our measurements for the multiqueue patch indicate a clear improvement >>> in iops when more queues are used. >>> >>> The measurements were obtain

Re: page-flags behavior on compound pages: a worry

2015-08-10 Thread Kirill A. Shutemov
On Fri, Aug 07, 2015 at 10:28:49AM -0500, Christoph Lameter wrote: > On Fri, 7 Aug 2015, Kirill A. Shutemov wrote: > > > On Thu, Aug 06, 2015 at 03:45:31PM -0500, Christoph Lameter wrote: > > > On Thu, 6 Aug 2015, Hugh Dickins wrote: > > > > > > > > I know a patchset which solves this! ;) > > > >

Re: [PATCH 1/1] X86: mshyperv.c: Fix a compilation issue.

2015-08-10 Thread Vitaly Kuznetsov
KY Srinivasan writes: >> -Original Message- >> From: Greg KH [mailto:gre...@linuxfoundation.org] >> Sent: Thursday, August 6, 2015 2:11 PM >> To: KY Srinivasan >> Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; >> vkuzn...@redhat.com; s...@canb.auug.org.au; t...@linutroni

Re: [PATCH v3 4/5] Documentation: dt-bindings: pci: altera pcie device tree binding

2015-08-10 Thread Ley Foon Tan
On Fri, Aug 7, 2015 at 3:43 PM, Ley Foon Tan wrote: > This patch adds the bindings for Altera PCIe host controller driver and > Altera PCIe MSI driver. > > Signed-off-by: Ley Foon Tan > --- > .../devicetree/bindings/pci/altera-pcie-msi.txt| 27 > .../devicetree/bindings/pci/alte

Re: [Xen-devel] [PATCH RFC v2 0/5] Multi-queue support for xen-blkfront and xen-blkback

2015-08-10 Thread Rafal Mielniczuk
On 01/07/15 04:03, Jens Axboe wrote: > On 06/30/2015 08:21 AM, Marcus Granado wrote: >> Hi, >> >> Our measurements for the multiqueue patch indicate a clear improvement >> in iops when more queues are used. >> >> The measurements were obtained under the following conditions: >> >> - using blkback a

Re: [PATCH v3 2/5] pci:host: Add Altera PCIe host controller driver

2015-08-10 Thread Ley Foon Tan
On Fri, Aug 7, 2015 at 10:34 PM, Marc Zyngier wrote: > On 07/08/15 08:42, Ley Foon Tan wrote: >> This patch adds the Altera PCIe host controller driver. >> >> Signed-off-by: Ley Foon Tan >> --- >> drivers/pci/host/Kconfig | 7 + >> drivers/pci/host/Makefile | 1 + >> drivers/pci/h

Re: [PATCH] ARM: mvebu: update mvebu_v7_defconfig for Armada 38x USB3.0

2015-08-10 Thread Gregory CLEMENT
Hi Grzegorz, On 10/08/2015 11:51, Grzegorz Jaszczyk wrote: > This patch enables the fixed voltage regulator and the gpio PCA953X > drivers in mvebu_v7_defconfig, as they are used for enabling the USB3.0 > phy on some of the Armada's 38x boards. > The same patch had already been

Re: [PATCH v3 3/5] pci: altera: Add Altera PCIe MSI driver

2015-08-10 Thread Ley Foon Tan
On Fri, Aug 7, 2015 at 10:44 PM, Marc Zyngier wrote: > On 07/08/15 08:43, Ley Foon Tan wrote: >> This patch adds Altera PCIe MSI driver. This soft IP supports configurable >> number of vectors, which is a dts parameter. >> >> Signed-off-by: Ley Foon Tan >> --- >> drivers/pci/host/Kconfig

Re: [PATCH v3 09/20] xen/biomerge: Don't allow biovec to be merge when Linux is not using 4KB page

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > On ARM all dma-capable devices on a same platform may not be protected > by an IOMMU. The DMA requests have to use the BFN (i.e MFN on ARM) in > order to use correctly the device. > > While the DOM0 memory is allocated in a 1:1 fashion (PFN == MFN), grant

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-10 Thread Zang MingJie
Here comes several options: 1. reject local next hop w/ EINVAL 2. delete route when local next hop removed 3. transition between RT_SCOPE_HOST amd RT_SCOPE_LINK 4. document it which one should we choose ? 1 will definitely cause compatibility problem 2 is the easiest solution 3 need a bit of cod

Re: [PATCH] misc: sram: extend usage of reserved partitions

2015-08-10 Thread Vladimir Zapolskiy
Hi Greg, On 10.08.2015 06:27, Greg Kroah-Hartman wrote: > On Mon, Aug 10, 2015 at 12:40:02AM +0300, Vladimir Zapolskiy wrote: >> This change adds functionality to operate on reserved SRAM partitions >> described in device tree file. Two partition properties are added, >> "pool" and "export", the f

Re: [PATCH v3 03/20] xen: Add Xen specific page definition

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > The Xen hypercall interface is always using 4K page granularity on ARM > and x86 architecture. > > With the incoming support of 64K page granularity for ARM64 guest, it > won't be possible to re-use the Linux page definition in Xen drivers. > > Introduce

[PATCH 3.2 018/110] fixing infinite OPEN loop in 4.0 stateid recovery

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Olga Kornievskaia commit e8d975e73e5fa05f983fbf2723120edcf68e0b38 upstream. Problem: When an operation like WRITE receives a BAD_STATEID, even though recovery code clears the RECLAIM_NOGRACE re

[PATCH 3.2 038/110] Bluetooth: ath3k: add support of 04ca:300f AR3012 device

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit ec0810d2ac1c932dad48f45da67e3adc5c5449a1 upstream. BugLink: https://bugs.launchpad.net/bugs/1449730 T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 D: Ve

[PATCH 3.2 012/110] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Subbaraya Sundeep Bhatta commit 76e838c9f7765f9a6205b4d558d75a66104bc60d upstream. We need to return error to caller if command is not sent to controller succesfully. Signed-off-by: Subbaraya

[PATCH 3.2 023/110] ath3k: add support of 13d3:3474 AR3012 device

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 0d0cef6183aec0fb6d0c9f00a09ff51ee086bbe2 upstream. BugLink: https://bugs.launchpad.net/bugs/1427680 This device requires new firmware files AthrBT_0x11020100.dfu and ramps

[PATCH 3.2 016/110] usb: core: Fix USB 3.0 devices lost in NOTATTACHED state after a hub port reset

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Robert Schlabbach commit fb6d1f7df5d25299fd7b3e84b72b8851d3634764 upstream. Fix USB 3.0 devices lost in NOTATTACHED state after a hub port reset. Dissolve the function hub_port_finish_reset()

[PATCH 3.2 025/110] cdc-acm: Add support of ATOL FPrint fiscal printers

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexey Sokolov commit 15bf722e6f6c0b884521a0363204532e849deb7f upstream. ATOL FPrint fiscal printers require usb_clear_halt to be executed to work properly. Add quirk to fix the issue. Signed-

Re: [PATCH v3 04/20] xen/grant: Introduce helpers to split a page into grant

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > Currently, a grant is always based on the Xen page granularity (i.e > 4KB). When Linux is using a different page granularity, a single page > will be split between multiple grants. > > The new helpers will be in charge to split the Linux page into grants a

[PATCH 3.2 002/110] [media] s5h1420: fix a buffer overflow when checking userspace params

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 12f4543f5d6811f864e6c4952eb27253c7466c02 upstream. The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows to write up

[PATCH 3.2 005/110] crypto: talitos - avoid memleak in talitos_alg_alloc()

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Horia Geant? commit 5fa7dadc898567ce14d6d6d427e7bd8ce6eb5d39 upstream. Fixes: 1d11911a8c57 ("crypto: talitos - fix warning: 'alg' may be used uninitialized in this function") Signed-off-by: Ho

[PATCH 3.2 024/110] ath9k: fix DMA stop sequence for AR9003+

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 300f77c08ded96d33f492aaa02549103852f0c12 upstream. AR93xx and newer needs to stop rx before tx to avoid getting the DMA engine or MAC into a stuck state. This should reduce

[PATCH 3.2 003/110] [media] cx24116: fix a buffer overflow when checking userspace params

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 1fa2337a315a2448c5434f41e00d56b01a22283c upstream. The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows to write up

[PATCH 3.2 000/110] 3.2.71-rc1 review

2015-08-10 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.71 release. There are 110 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Aug 12 11:00:00 UTC 2015. Anything recei

[PATCH 3.2 044/110] NET: ROSE: Don't dereference NULL neighbour pointer.

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Ralf Baechle commit d496f7842aada20c61e6044b3395383fa972872c upstream. A ROSE socket doesn't necessarily always have a neighbour pointer so check if the neighbour pointer is valid before derefe

[PATCH 3.2 015/110] staging: rtl8712: prevent buffer overrun in recvbuf2recvframe

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Haggai Eran commit cab462140f8a183e3cca0b51c8b59ef715cb6148 upstream. With an RTL8191SU USB adaptor, sometimes the hints for a fragmented packet are set, but the packet length is too large. All

[PATCH 3.2 001/110] hrtimer: Allow concurrent hrtimer_start() for self restarting timers

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 5de2755c8c8b3a6b8414870e2c284914a2b42e4d upstream. Because we drop cpu_base->lock around calling hrtimer::function, it is possible for hrtimer_start() to come in between a

[PATCH 3.2 013/110] rcu: Correctly handle non-empty Tiny RCU callback list with none ready

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" commit 6e91f8cb138625be96070b778d9ba71ce520ea7e upstream. If, at the time __rcu_process_callbacks() is invoked, there are callbacks in Tiny RCU's callback list, but none of

[PATCH 3.2 042/110] ext4: don't retry file block mapping on bigalloc fs with non-extent file

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: "Darrick J. Wong" commit 292db1bc6c105d86111e858859456bcb11f90f91 upstream. ext4 isn't willing to map clusters to a non-extent file. Don't signal this with an out of space error, since the FS

[PATCH 3.2 043/110] watchdog: omap: assert the counter being stopped before reprogramming

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Uwe Kleine-König commit 530c11d432727c697629ad5f9d00ee8e2864d453 upstream. The omap watchdog has the annoying behaviour that writes to most registers don't have any effect when the watchdog is

[PATCH 3.2 026/110] regulator: core: fix constraints output buffer

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren commit a7068e3932eee8268c4ce4e080a338ee7b8a27bf upstream. The buffer for condtraints debug isn't big enough to hold the output in all cases. So fix this issue by increasing the bu

[PATCH 3.2 037/110] nfs: increase size of EXCHANGE_ID name string buffer

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 764ad8ba8cd4c6f836fca9378f8c5121aece0842 upstream. The current buffer is much too small if you have a relatively long hostname. Bring it up to the size of the one that SETCLI

[PATCH 3.2 046/110] fs: Fix S_NOSEC handling

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 2426f3910069ed47c0cc58559a6d088af7920201 upstream. file_remove_suid() could mistakenly set S_NOSEC inode bit when root was modifying the file. As a result following writes to th

<    2   3   4   5   6   7   8   9   10   11   >