[PATCH v2 3/4] PCI: rcar: Add runtime PM support to pcie-rcar

2016-01-05 Thread Phil Edworthy
If runtime PM is enabled in the kernel config, simply enable the clocks once during probe. Signed-off-by: Phil Edworthy --- v2: - No changes. --- drivers/pci/host/pcie-rcar.c | 44 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/dr

[PATCH v2 4/4] PCI: rcar: Add Gen2 PHY setup to pcie-rcar

2016-01-05 Thread Phil Edworthy
For PCIe compliance, the PHY registers need setting as per the manual. Signed-off-by: Phil Edworthy --- v2: - Added comment about where the PHY settings come from. --- drivers/pci/host/pcie-rcar.c | 31 --- 1 file changed, 28 insertions(+), 3 deletions(-) diff --gi

Re: [PATCH] base/platform: Fix platform drivers with no probe callback (ex alarmtimer)

2016-01-05 Thread Uwe Kleine-König
On Tue, Jan 05, 2016 at 12:02:23PM +0200, Tero Roponen wrote: > > On Tue, 5 Jan 2016, Uwe Kleine-König wrote: > > > Hello, > > > > I think this is the same problem that another Martin found and fixed in > > > > http://mid.gmane.org/1449132704-9952-1-git-send-email-martin.wi...@ts.fujitsu.com >

Re: [PATCH] Add possibility to set /dev/tty number

2016-01-05 Thread Austin S. Hemmelgarn
On 2016-01-05 03:51, Pierre Paul MINGOT wrote: 2016-01-04 19:41 GMT+01:00 Austin S. Hemmelgarn : On 2016-01-04 12:11, Greg KH wrote: On Mon, Jan 04, 2016 at 11:57:33AM -0500, Austin S. Hemmelgarn wrote: On 2016-01-04 10:43, Greg KH wrote: On Mon, Jan 04, 2016 at 04:34:56PM +0100, Pierre Pa

Re: [PATCH v6] coccinelle: tests: unsigned value cannot be lesser than zero

2016-01-05 Thread Julia Lawall
> *** Error in `/usr/lib/coccinelle/spatch': corrupted double-linked > list (not small): 0x01c523d0 *** > === Backtrace: = Wow... I've never seen an error from OCaml like that. What version of ocaml and Coccinelle are you using? julia > /usr/lib/libc.so.6(+0x72055)[0x7fb3ec

Re: [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 01:08:52PM +0100, Martin Schwidefsky wrote: > On Tue, 5 Jan 2016 11:30:19 +0200 > "Michael S. Tsirkin" wrote: > > > On Tue, Jan 05, 2016 at 09:13:19AM +0100, Martin Schwidefsky wrote: > > > On Mon, 4 Jan 2016 22:18:58 +0200 > > > "Michael S. Tsirkin" wrote: > > > > > > >

Re: [PATCH V7 02/24] coresight: associating path with session rather than tracer

2016-01-05 Thread Rabin Vincent
On Mon, Jan 04, 2016 at 11:24:14AM -0700, Mathieu Poirier wrote: > On 20 December 2015 at 08:29, Rabin Vincent wrote: > > This patch introduces a use-after-free/double kfree() if the sink is > > disabled after the source. > > > > With this command sequence: > > > > # echo 1 > /sys/bus/coresight/de

Re: [RFC PATCH 0/3] x86: Add support for guest DMA dirty page tracking

2016-01-05 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 12:43:03PM +, Dr. David Alan Gilbert wrote: > * Michael S. Tsirkin (m...@redhat.com) wrote: > > On Tue, Jan 05, 2016 at 10:45:25AM +, Dr. David Alan Gilbert wrote: > > > * Michael S. Tsirkin (m...@redhat.com) wrote: > > > > On Tue, Jan 05, 2016 at 10:01:04AM +, D

Re: [PATCH 1/5] iio:adc:at91_adc8xx: introduce new atmel adc driver

2016-01-05 Thread Ludovic Desroches
On Wed, Dec 23, 2015 at 05:21:25PM +, Jonathan Cameron wrote: > > > On 23 December 2015 10:48:33 GMT+00:00, Ludovic Desroches > wrote: > >On Wed, Dec 23, 2015 at 11:27:00AM +0100, Ludovic Desroches wrote: > >> On Tue, Dec 22, 2015 at 06:34:00PM +, Jonathan Cameron wrote: > >> > On 21/12

Re: [PATCH] Add possibility to set /dev/tty number

2016-01-05 Thread Austin S. Hemmelgarn
On 2016-01-04 17:55, One Thousand Gnomes wrote: If the console isn't initialized by userspace, is any of that space still really being used? Have you tried that? I'm pretty certain that most of the space that gets taken up by the scrollback buffer and screen isn't directly used unless the conso

[PATCH 0/2] Asus Wireless Radio Control driver

2016-01-05 Thread João Paulo Rechi Vita
This series implements the driver for the "Asus Wireless Radio Control" device, as named on the vendor website, which handles notifications from the airplane mode hotkey and drives the airplane mode indicator LED. This device appears in the DSDT as "ASHS". I decided to split the series and move th

[PATCH 2/2] asus-wireless: Add ACPI HID ATK4001

2016-01-05 Thread João Paulo Rechi Vita
As reported in https://bugzilla.kernel.org/show_bug.cgi?id=98931#c22 in the Asus UX31A the Asus Wireless Radio Control device (ASHS) uses the HID "ATK4001". Signed-off-by: João Paulo Rechi Vita Reported-by: Tasev Nikola --- drivers/platform/x86/asus-wireless.c | 1 + 1 file changed, 1 insertion

Re: [PATCH 1/4] platform/x86: Add Asus Wireless Radio Control driver

2016-01-05 Thread João Paulo Rechi Vita
On 27 December 2015 at 08:21, Andy Shevchenko wrote: > On Sat, Dec 26, 2015 at 4:56 PM, João Paulo Rechi Vita > wrote: >> Some Asus notebooks like the Asus E202SA and the Asus X555UB have a >> separate ACPI device for notifications from the airplane mode hotkey. >> This device is called "Wireless

[PATCH 1/2] platform/x86: Add Asus Wireless Radio Control driver

2016-01-05 Thread João Paulo Rechi Vita
Some Asus notebooks like the Asus E202SA and the Asus X555UB have a separate ACPI device for notifications from the airplane mode hotkey. This device is called "Wireless Radio Control" in Asus websites and ASHS in the DSDT, and its ACPI _HID is ATK4002 in the two models mentioned above. For these

Re: [PATCH v4 net-next 2/3] net: macb: Add NPx macb config using USRIO_DISABLED cap

2016-01-05 Thread Nicolas Ferre
Le 05/01/2016 13:20, Neil Armstrong a écrit : > On 01/04/2016 11:38 AM, Nicolas Ferre wrote: >> Le 04/01/2016 10:42, Neil Armstrong a écrit : >>> static const struct macb_config zynqmp_config = { >>> .caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_JUMBO, >>> @@ -2801,6 +2806,7 @@ static c

[GIT PULL] arch/tile bugfix for 4.4

2016-01-05 Thread Chris Metcalf
Linus, Please pull the following change for 4.4 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git stable This fixes a bug that Sudip's buildbot found for tilepro allmodconfig. I've tagged it for stable only back to 3.19, which was when most of the other affected arch

Re: [PATCH 4/4] asus-wireless: Toggle airplane mode LED

2016-01-05 Thread João Paulo Rechi Vita
On 27 December 2015 at 08:32, Andy Shevchenko wrote: > On Sat, Dec 26, 2015 at 4:56 PM, João Paulo Rechi Vita > wrote: >> In the ASHS device we have the HSWC method, which basically calls either >> OWGD or OWGS, depending on its parameter: >> >> Device (ASHS) >> { >>

Re: [PATCH 22/32] x86, pkeys: dump PTE pkey in /proc/pid/smaps

2016-01-05 Thread Vlastimil Babka
On 12/14/2015 08:06 PM, Dave Hansen wrote: From: Dave Hansen $SUBJ is a bit confusing in that it's dumping stuff from VMA, not PTE's? It could be also useful to extend dump_vma() appropriately. Currently there are no string translations for the new "flags" (but one can figure it out from th

Re: [PATCH v4 05/12] arm-cci: PMU: Add support for transactions

2016-01-05 Thread Peter Zijlstra
On Mon, Dec 21, 2015 at 10:55:29AM +, Suzuki K. Poulose wrote: > Thanks for that hint. Here is what I cam up with. We don't reschedule > the events, all we need to do is group the writes to the counters. Hence > we could as well add a flag for those events which need programming > and perform t

[PATCH v5 net-next 1/3] net: ethernet: cadence-macb: Add disabled usrio caps

2016-01-05 Thread Neil Armstrong
On some platforms, the macb integration does not use the USRIO register to configure the (R)MII port and clocks. When the register is not implemented and the MACB error signal is connected to the bus error, reading or writing to the USRIO register can trigger some Imprecise External Aborts on ARM p

[PATCH v5 net-next 2/3] net: macb: Add NP4 macb config using USRIO_DISABLED

2016-01-05 Thread Neil Armstrong
Declare a new NP4 SoC variant having USRIO_DISABLED as capability bit. Signed-off-by: Neil Armstrong --- drivers/net/ethernet/cadence/macb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index fa53bc3..d12ee07

[PATCH v5 net-next 0/3] Add new capability and macb DT variant

2016-01-05 Thread Neil Armstrong
The first patch introduces a new capability bit to disable usage of the USRIO register on platform not implementing it thus avoiding some external imprecise aborts on ARM based platforms. The two last patchs adds a new macb variant compatible name using the capability, the NP4 SoC uses this particu

[PATCH v5 net-next 3/3] dt-bindings: net: macb: Add NP4 macb variant

2016-01-05 Thread Neil Armstrong
Add NP4 macb SoC variant. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/net/macb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt index 38c8e84..5c397ca 100644 --- a/Docu

Re: [PATCH] ARM: OMAP2+: AM43x debug_ll Kconfig help

2016-01-05 Thread Afzal Mohammed
Hi Tony, On Wed, Nov 11, 2015 at 12:41:26PM +0530, Afzal Mohammed wrote: > Mention about AM43x debug_ll ports - same as AM335x. If this patch is okay, what should be the route for this to reach mainline ? Regards afzal > arch/arm/Kconfig.debug | 2 +- > 1 file changed, 1 insertion(+), 1 delet

Re: [PATCH v9 06/13] task_isolation: add debug boot flag

2016-01-05 Thread Steven Rostedt
On Mon, 4 Jan 2016 18:42:00 -0500 Chris Metcalf wrote: > On 1/4/2016 5:52 PM, Steven Rostedt wrote: > > On Mon, 4 Jan 2016 14:34:44 -0500 > > Chris Metcalf wrote: > > > > > >> >+#ifdef CONFIG_TASK_ISOLATION > >> >+void task_isolation_debug(int cpu) > >> >+{ > >> >+ struct task_struct *p; > >>

Re: [PATCH v4 05/12] arm-cci: PMU: Add support for transactions

2016-01-05 Thread Suzuki K. Poulose
On 05/01/16 13:37, Peter Zijlstra wrote: On Mon, Dec 21, 2015 at 10:55:29AM +, Suzuki K. Poulose wrote: Thanks for that hint. Here is what I cam up with. We don't reschedule the events, all we need to do is group the writes to the counters. Hence we could as well add a flag for those events

Re: [PATCH v5 net-next 1/3] net: ethernet: cadence-macb: Add disabled usrio caps

2016-01-05 Thread Nicolas Ferre
Le 05/01/2016 14:39, Neil Armstrong a écrit : > On some platforms, the macb integration does not use the USRIO > register to configure the (R)MII port and clocks. > When the register is not implemented and the MACB error signal > is connected to the bus error, reading or writing to the USRIO > regi

Re: [PATCH v5 net-next 2/3] net: macb: Add NP4 macb config using USRIO_DISABLED

2016-01-05 Thread Nicolas Ferre
Le 05/01/2016 14:39, Neil Armstrong a écrit : > Declare a new NP4 SoC variant having USRIO_DISABLED as capability bit. > > Signed-off-by: Neil Armstrong Acked-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers

Re: [PATCH v5 net-next 3/3] dt-bindings: net: macb: Add NP4 macb variant

2016-01-05 Thread Nicolas Ferre
Le 05/01/2016 14:39, Neil Armstrong a écrit : > Add NP4 macb SoC variant. > > Signed-off-by: Neil Armstrong Acked-by: Nicolas Ferre Neil, thanks for your understanding and reactivity concerning this patch series. Bye, > --- > Documentation/devicetree/bindings/net/macb.txt | 1 + > 1 file ch

Re: [PATCH] regulator: mt6397: convert to arch_initcall

2016-01-05 Thread Mark Brown
On Thu, Dec 24, 2015 at 04:10:43PM +0800, Yingjoe Chen wrote: > These changes are related to pinctrl init order patch. The related > discussion is here: > http://lists.infradead.org/pipermail/linux-mediatek/2015-December/003298.html So this is just to cut down on probe deferrals? Sorry but as yo

Re: [PATCH v6] coccinelle: tests: unsigned value cannot be lesser than zero

2016-01-05 Thread Andrzej Hajda
On 01/05/2016 01:59 PM, Geyslan G. Bem wrote: > Hello, > > 2016-01-04 4:45 GMT-03:00 Andrzej Hajda : >> Unsigned expressions cannot be lesser than zero. Presence of comparisons >> 'unsigned (<|<=|>|>=) 0' often indicates a bug, usually wrong type of >> variable. >> The patch beside finding such co

Re: [PATCH 1/2] platform/x86: Add Asus Wireless Radio Control driver

2016-01-05 Thread Andy Shevchenko
On Tue, Jan 5, 2016 at 3:26 PM, João Paulo Rechi Vita wrote: > Some Asus notebooks like the Asus E202SA and the Asus X555UB have a > separate ACPI device for notifications from the airplane mode hotkey. > This device is called "Wireless Radio Control" in Asus websites and ASHS > in the DSDT, and i

Re: [PATCH 1/3] btrfs: use list_for_each_entry* in check-integrity.c

2016-01-05 Thread David Sterba
On Fri, Dec 18, 2015 at 10:16:59PM +0800, Geliang Tang wrote: > Use list_for_each_entry*() instead of list_for_each*() to simplify > the code. > > Signed-off-by: Geliang Tang Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [PATCH 2/3] btrfs: use list_for_each_entry_safe in free-space-cache.c

2016-01-05 Thread David Sterba
On Fri, Dec 18, 2015 at 10:17:00PM +0800, Geliang Tang wrote: > Use list_for_each_entry_safe() instead of list_for_each_safe() to > simplify the code. > > Signed-off-by: Geliang Tang Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH 3/3 v2] btrfs: use list_for_each_entry* in backref.c

2016-01-05 Thread David Sterba
On Mon, Dec 21, 2015 at 11:50:23PM +0800, Geliang Tang wrote: > Use list_for_each_entry*() to simplify the code. > > Signed-off-by: Geliang Tang Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel

Re: [PATCH 0/2] Asus Wireless Radio Control driver

2016-01-05 Thread Andy Shevchenko
On Tue, Jan 5, 2016 at 3:25 PM, João Paulo Rechi Vita wrote: > This series implements the driver for the "Asus Wireless Radio Control" > device, > as named on the vendor website, which handles notifications from the airplane > mode hotkey and drives the airplane mode indicator LED. This device ap

Re: [RFC] free_pages stuff

2016-01-05 Thread Michal Hocko
[CCing linux-mm] On Tue 22-12-15 21:04:35, Al Viro wrote: [...] > Documentation/which-allocator-should-I-use might be a good idea... Notes > below are just a skeleton - a lot of details need to be added; in particular, > there should be a part on "I have this kind of address and I want that; > wh

Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-01-05 Thread Guenter Roeck
On 01/05/2016 12:22 AM, Fengguang Wu wrote: On Tue, Jan 05, 2016 at 12:09:14AM -0800, Guenter Roeck wrote: On 01/04/2016 11:23 PM, kbuild test robot wrote: Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master he

Re: [PATCH V11 4/7] dma: add Qualcomm Technologies HIDMA channel driver

2016-01-05 Thread Sinan Kaya
On 1/4/2016 1:43 PM, Andy Shevchenko wrote: >> his patch adds support for hidma engine. The driver consists of two >> > logical blocks. The DMA engine interface and the low-level interface. >> > The hardware only supports memcpy/memset and this driver only support >> > memcpy interface. HW and driv

Re: [PATCH] BTRFS: Runs the xor function if a Block has failed

2016-01-05 Thread Sanidhya Solanki
On Tue, 5 Jan 2016 10:22:36 +0100 David Sterba wrote: > If the data a rerecovered, why is -EIO still returned? In the other places in the file where the code appears, the submitted patch is all that is required to do the xor. I think we also need to include the following line: memcpy(pointers[n

[PATCH] regulator: core: use dev_to_rdev

2016-01-05 Thread Geliang Tang
Use dev_to_rdev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/regulator/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 6653b1b..3308c6b 100644 --- a/drivers/regulator/core.c +++ b/drivers

Re: [PATCH 6/6] perf record: Always store data mmaps

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 08:16:34PM +0900, Namhyung Kim wrote: > On Thu, Dec 17, 2015 at 09:26:55PM +0100, Jiri Olsa wrote: > > Currently we don't synthesize data mmap by default. It depends > > on -d option, that enables data address sampling. > > > > But we've seen cases (softice) where DWARF unw

Re: [PATCH v6] coccinelle: tests: unsigned value cannot be lesser than zero

2016-01-05 Thread Geyslan G. Bem
2016-01-05 10:02 GMT-03:00 Julia Lawall : >> *** Error in `/usr/lib/coccinelle/spatch': corrupted double-linked >> list (not small): 0x01c523d0 *** >> === Backtrace: = > > Wow... I've never seen an error from OCaml like that. > > What version of ocaml and Coccinelle are you usi

Re: [PATCH] net: Fix potential NULL pointer dereference in __skb_try_recv_datagram

2016-01-05 Thread Eric Dumazet
On Tue, 2016-01-05 at 12:07 +0100, Jacob Siverskog wrote: > On Mon, Jan 4, 2016 at 4:25 PM, Eric Dumazet wrote: > > On Mon, 2016-01-04 at 10:10 +0100, Jacob Siverskog wrote: > >> On Wed, Dec 30, 2015 at 11:30 PM, Cong Wang > >> wrote: > >> > On Wed, Dec 30, 2015 at 6:30 AM, Jacob Siverskog > >>

Re: [PATCH v6] coccinelle: tests: unsigned value cannot be lesser than zero

2016-01-05 Thread Julia Lawall
> +@script:python depends on org@ > +p << r_cmp.p; > +e << r.e = ""; > +@@ > + > +msg = "WARNING: Unsigned expression compared with zero: %s" % (e) > +coccilib.org.print_todo(p[0], msg) > + > +@script:python depends on report@ > +p << r_cmp.p; > +e << r.e = ""; > +@@ > + > +msg = "WARNING: Unsigned

Re: [PATCH v6] coccinelle: tests: unsigned value cannot be lesser than zero

2016-01-05 Thread Geyslan G. Bem
2016-01-05 10:49 GMT-03:00 Andrzej Hajda : > On 01/05/2016 01:59 PM, Geyslan G. Bem wrote: >> Hello, >> >> 2016-01-04 4:45 GMT-03:00 Andrzej Hajda : >>> Unsigned expressions cannot be lesser than zero. Presence of comparisons >>> 'unsigned (<|<=|>|>=) 0' often indicates a bug, usually wrong type of

Re: [PATCH v2 2/5] perf tools: Add all matching dynamic sort keys for field name

2016-01-05 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 07:58:35PM +0900, Namhyung Kim wrote: > When a perf.data file has multiple events, it's likely to be similar > (tracepoint) events. In that case, they might have same field name so > add all of them to sort keys instead of bailing out. > > In addition, it contains a trivia

Re: [PATCH v2 22/32] s390: define __smp_xxx

2016-01-05 Thread Martin Schwidefsky
On Tue, 5 Jan 2016 15:04:43 +0200 "Michael S. Tsirkin" wrote: > On Tue, Jan 05, 2016 at 01:08:52PM +0100, Martin Schwidefsky wrote: > > On Tue, 5 Jan 2016 11:30:19 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Tue, Jan 05, 2016 at 09:13:19AM +0100, Martin Schwidefsky wrote: > > > > On Mon,

Re: [PATCH] of/platform: export of_default_bus_match_table

2016-01-05 Thread Rob Herring
On Tue, Jan 5, 2016 at 5:48 AM, Arnd Bergmann wrote: > On Tuesday 05 January 2016 19:50:31 Masahiro Yamada wrote: >> 2016-01-05 19:13 GMT+09:00 Arnd Bergmann : >> > On Tuesday 05 January 2016 11:17:53 Masahiro Yamada wrote: >> >> This bus is used to connect external (on-board) devices with the SoC

Re: [PATCH v2 14/38] clk: vt8500: fix sign of possible PLL values

2016-01-05 Thread Andrzej Hajda
Ping Regards Andrzej On 10/02/2015 06:49 AM, Andrzej Hajda wrote: > With unsigned values underflow in loops can occur resulting in > theoretically infinite loops. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1

[PATCH] efivars: use to_efivar_entry

2016-01-05 Thread Geliang Tang
Use to_efivar_entry() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/firmware/efi/efivars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/efi/efivars.c b/drivers/firmware/efi/efivars.c index 756eca8..c5b0d2b 100644 --- a/drivers/firmware

[RFC PATCH] X.509: Don't check the signature on apparently self-signed keys

2016-01-05 Thread David Howells
If a certificate is self-signed, don't bother checking the validity of the signature. The cert cannot be checked by validation against the next one in the chain as this is the root of the chain. Trust for this certificate can only be determined by whether we obtained it from a trusted location (i

[PATCH] FMC: use to_fmc_device and kobj_to_dev

2016-01-05 Thread Geliang Tang
Use to_fmc_device() and kobj_to_dev() instead of open-coding. Signed-off-by: Geliang Tang --- drivers/fmc/fmc-core.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/fmc/fmc-core.c b/drivers/fmc/fmc-core.c index 353fc54..0f5ea03 100644 --- a/drivers/

Re: [PATCH v6] coccinelle: tests: unsigned value cannot be lesser than zero

2016-01-05 Thread Andrzej Hajda
On 01/05/2016 03:17 PM, Julia Lawall wrote: >> +@script:python depends on org@ >> +p << r_cmp.p; >> +e << r.e = ""; >> +@@ >> + >> +msg = "WARNING: Unsigned expression compared with zero: %s" % (e) >> +coccilib.org.print_todo(p[0], msg) >> + >> +@script:python depends on report@ >> +p << r_cmp.p; >

Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-01-05 Thread Fengguang Wu
Hi Guenter, On Tue, Jan 05, 2016 at 06:02:47AM -0800, Guenter Roeck wrote: > On 01/05/2016 12:22 AM, Fengguang Wu wrote: > >On Tue, Jan 05, 2016 at 12:09:14AM -0800, Guenter Roeck wrote: > >>On 01/04/2016 11:23 PM, kbuild test robot wrote: > >>>Hi Guenter, > >>> > >>>First bad commit (maybe != roo

[tip:x86/mm] x86/mm/pat: Change free_memtype() to support shrinking case

2016-01-05 Thread tip-bot for Toshi Kani
Commit-ID: 2039e6acaf94d83ec6b6d9f3d0bce7ea1f099918 Gitweb: http://git.kernel.org/tip/2039e6acaf94d83ec6b6d9f3d0bce7ea1f099918 Author: Toshi Kani AuthorDate: Tue, 22 Dec 2015 17:54:24 -0700 Committer: Thomas Gleixner CommitDate: Tue, 5 Jan 2016 11:10:23 +0100 x86/mm/pat: Change free_me

[tip:x86/mm] x86/mm/pat: Add untrack_pfn_moved for mremap

2016-01-05 Thread tip-bot for Toshi Kani
Commit-ID: d9fe4fab11976e56b2e992980bf6ce948bdf02ac Gitweb: http://git.kernel.org/tip/d9fe4fab11976e56b2e992980bf6ce948bdf02ac Author: Toshi Kani AuthorDate: Tue, 22 Dec 2015 17:54:23 -0700 Committer: Thomas Gleixner CommitDate: Tue, 5 Jan 2016 11:10:05 +0100 x86/mm/pat: Add untrack_pf

Re: [PATCH] net: Fix potential NULL pointer dereference in __skb_try_recv_datagram

2016-01-05 Thread Jacob Siverskog
On Tue, Jan 5, 2016 at 3:14 PM, Eric Dumazet wrote: > On Tue, 2016-01-05 at 12:07 +0100, Jacob Siverskog wrote: >> On Mon, Jan 4, 2016 at 4:25 PM, Eric Dumazet wrote: >> > On Mon, 2016-01-04 at 10:10 +0100, Jacob Siverskog wrote: >> >> On Wed, Dec 30, 2015 at 11:30 PM, Cong Wang >> >> wrote: >>

Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-01-05 Thread Ralf Baechle
On Tue, Jan 05, 2016 at 06:02:47AM -0800, Guenter Roeck wrote: > Alternatively, what version of binutils does the mips cross compiler use ? In theory any binutils >= 2.13 should work though I haven't tested versions as old as that in a long time. Ralf -- To unsubscribe from this list: send the

Re: [PATCH v2 02/13] arm64: introduce KIMAGE_VADDR as the virtual base of the kernel region

2016-01-05 Thread Christoffer Dall
On Wed, Dec 30, 2015 at 04:26:01PM +0100, Ard Biesheuvel wrote: > This introduces the preprocessor symbol KIMAGE_VADDR which will serve as > the symbolic virtual base of the kernel region, i.e., the kernel's virtual > offset will be KIMAGE_VADDR + TEXT_OFFSET. For now, we define it as being > equal

Re: [PATCH 1/7] printk: Hand over printing to console if printing too long

2016-01-05 Thread Jan Kara
Hi, On Wed 23-12-15 10:54:49, Sergey Senozhatsky wrote: > slowly looking through the patches. Back from Christmas vacation... > How about setting 'sync_print' to 'true' in... > bust_spinlocks() /* only set to true */ > or > console_verbose() /* um... may be... */ > or > having a separate o

Re: [PATCH RFC] virtio_balloon: refill by config handler

2016-01-05 Thread Petr Mladek
On Fri 2016-01-01 12:13:48, Michael S. Tsirkin wrote: > Peter Mladek reported that balloon might never refill completely after > restore. This is because fill_balloon is only called once there. > Calling fill_balloon repeatedly seems too aggressive, > especially in light of the fact that it sleeps

Re: [PATCH v2 17/32] arm: define __smp_xxx

2016-01-05 Thread Michael S. Tsirkin
On Mon, Jan 04, 2016 at 01:59:34PM +, Russell King - ARM Linux wrote: > On Mon, Jan 04, 2016 at 02:54:20PM +0100, Peter Zijlstra wrote: > > On Mon, Jan 04, 2016 at 02:36:58PM +0100, Peter Zijlstra wrote: > > > On Sun, Jan 03, 2016 at 11:12:44AM +0200, Michael S. Tsirkin wrote: > > > > On Sat, J

Re: [PATCH] net: Fix potential NULL pointer dereference in __skb_try_recv_datagram

2016-01-05 Thread Eric Dumazet
On Tue, 2016-01-05 at 15:34 +0100, Jacob Siverskog wrote: > On Tue, Jan 5, 2016 at 3:14 PM, Eric Dumazet wrote: > > > > You might build a kernel with KASAN support to get maybe more chances to > > trigger the bug. > > > > ( https://www.kernel.org/doc/Documentation/kasan.txt ) > > > > Ah. Doesn't

Re: [PATCH v2 05/13] arm64: kvm: deal with kernel symbols outside of linear mapping

2016-01-05 Thread Christoffer Dall
On Wed, Dec 30, 2015 at 04:26:04PM +0100, Ard Biesheuvel wrote: > KVM on arm64 uses a fixed offset between the linear mapping at EL1 and > the HYP mapping at EL2. Before we can move the kernel virtual mapping > out of the linear mapping, we have to make sure that references to kernel > symbols that

Re: [PATCH v2 02/13] arm64: introduce KIMAGE_VADDR as the virtual base of the kernel region

2016-01-05 Thread Mark Rutland
On Tue, Jan 05, 2016 at 03:36:34PM +0100, Christoffer Dall wrote: > On Wed, Dec 30, 2015 at 04:26:01PM +0100, Ard Biesheuvel wrote: > > This introduces the preprocessor symbol KIMAGE_VADDR which will serve as > > the symbolic virtual base of the kernel region, i.e., the kernel's virtual > > offset

Re: [PATCH 1/7] printk: Hand over printing to console if printing too long

2016-01-05 Thread Jan Kara
On Thu 31-12-15 13:58:59, Sergey Senozhatsky wrote: > On (12/31/15 12:13), Sergey Senozhatsky wrote: > [..] > > cond_resched() does its job there, of course. well, a user process still can > > do a lot of call_console_drivers() calls. may be we can check who is calling > > console_unlock() and if w

Re: [PATCH v4 2/2] virtio_balloon: Use a workqueue instead of "vballoon" kthread

2016-01-05 Thread Petr Mladek
On Sat 2016-01-02 23:36:03, Michael S. Tsirkin wrote: > On Sat, Jan 02, 2016 at 06:43:16AM -0500, Tejun Heo wrote: > > On Fri, Jan 01, 2016 at 12:18:17PM +0200, Michael S. Tsirkin wrote: > > > > My initial idea was to use a dedicated workqueue. Michael S. Tsirkin > > > > @@ -563,7 +534,7 @@ static

[PATCH] [media] sh_mobile_ceu_camera: use soc_camera_from_vb2q

2016-01-05 Thread Geliang Tang
Use soc_camera_from_vb2q() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c b/drivers/me

Re: [PATCH v4 05/12] arm-cci: PMU: Add support for transactions

2016-01-05 Thread Peter Zijlstra
On Tue, Jan 05, 2016 at 01:43:30PM +, Suzuki K. Poulose wrote: > On 05/01/16 13:37, Peter Zijlstra wrote: > >On Mon, Dec 21, 2015 at 10:55:29AM +, Suzuki K. Poulose wrote: > >>Thanks for that hint. Here is what I cam up with. We don't reschedule > >>the events, all we need to do is group th

Re: [PATCH v2 05/13] arm64: kvm: deal with kernel symbols outside of linear mapping

2016-01-05 Thread Christoffer Dall
On Tue, Jan 05, 2016 at 03:51:58PM +0100, Ard Biesheuvel wrote: > On 5 January 2016 at 15:41, Christoffer Dall > wrote: > > On Wed, Dec 30, 2015 at 04:26:04PM +0100, Ard Biesheuvel wrote: > >> KVM on arm64 uses a fixed offset between the linear mapping at EL1 and > >> the HYP mapping at EL2. Befor

Re: [PATCH v2 05/13] arm64: kvm: deal with kernel symbols outside of linear mapping

2016-01-05 Thread Ard Biesheuvel
On 5 January 2016 at 15:41, Christoffer Dall wrote: > On Wed, Dec 30, 2015 at 04:26:04PM +0100, Ard Biesheuvel wrote: >> KVM on arm64 uses a fixed offset between the linear mapping at EL1 and >> the HYP mapping at EL2. Before we can move the kernel virtual mapping >> out of the linear mapping, we

Re: [alsa-devel] [PATCH 1/3] ASoC: fsl_ssi: mark SACNT register volatile

2016-01-05 Thread Fabio Estevam
Timur, On Thu, Dec 24, 2015 at 2:12 PM, Timur Tabi wrote: > On Sun, Dec 20, 2015 at 2:30 PM, Maciej S. Szmigiero > wrote: >> SACNT register should be marked volatile since >> its WR and RD bits are cleared by SSI after >> completing the relevant operation. >> This unbreaks AC'97 register access.

Re: [PATCH v2 02/13] arm64: introduce KIMAGE_VADDR as the virtual base of the kernel region

2016-01-05 Thread Christoffer Dall
On Tue, Jan 05, 2016 at 02:46:50PM +, Mark Rutland wrote: > On Tue, Jan 05, 2016 at 03:36:34PM +0100, Christoffer Dall wrote: > > On Wed, Dec 30, 2015 at 04:26:01PM +0100, Ard Biesheuvel wrote: > > > This introduces the preprocessor symbol KIMAGE_VADDR which will serve as > > > the symbolic vir

drm/i915/intel_drv.h - RPM wakelock ref not held during HW access

2016-01-05 Thread Andrea Gelmini
Hi everybody, on my laptop I'm using 4.4.0-rc8 + drm-intel-nightly from git://anongit.freedesktop.org/drm-intel (commit 0417da5e6f56078d87d366d5f959f8290ae9d16d). Found this after few hours (dunno if it's a false positive, something to ignore or not): [Tue Jan 5 15:15:44 2016] ---

[PATCH 2/3] driver core: bus: use to_subsys_private and to_device_private_bus

2016-01-05 Thread Geliang Tang
Use to_subsys_private() and to_device_private_bus() instead of open-coding. Signed-off-by: Geliang Tang --- drivers/base/bus.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 4bee6b0..6470eb8 100644 --- a/drivers/base/bus.c +

[PATCH 3/3] driver core: bus: add a new helper to_driver_private_bus

2016-01-05 Thread Geliang Tang
Add a new helper to_driver_private_bus() for consistency with to_device_private_bus() and use it in bus.c. Signed-off-by: Geliang Tang --- drivers/base/base.h | 2 ++ drivers/base/bus.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/base/base.h b/drivers/base/base

[PATCH 1/3] driver core: bus: use list_for_each_entry*

2016-01-05 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- drivers/base/bus.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 5005924..4bee6b0 100644 --- a/drivers/base/

[PATCH] ASoC: da7219: Correct BCLK inversion for DSP DAI format mode

2016-01-05 Thread Adam Thomson
By default the device latches data on the falling edge of the BCLK in DSP mode, whereas the expectation for normal BCLK is to latch on the rising edge. This updates the driver to invert the BCLK configuration for DSP mode, to align with expected behaviour. Signed-off-by: Adam Thomson --- This pa

[PATCH] iio: ak8975: constify ak_def structures

2016-01-05 Thread Julia Lawall
The ak_def structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/iio/magnetometer/ak8975.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/ma

Re: [PATCH 09/17] usb: host: ehci-dbg: fix up function definitions

2016-01-05 Thread Alan Stern
On Mon, 4 Jan 2016, Geyslan G. Bem wrote: > >> @@ -404,12 +422,8 @@ static inline char token_mark(struct ehci_hcd *ehci, > >> __hc32 token) > >> return '/'; > >> } > >> > >> -static void qh_lines( > >> - struct ehci_hcd *ehci, > >> - struct ehci_qh *qh, > >> - char **nextp, > >

Re: [PATCH 17/17] usb: host: ehci-dbg: refactor fill_periodic_buffer function

2016-01-05 Thread Alan Stern
On Mon, 4 Jan 2016, Geyslan G. Bem wrote: > 2016-01-04 18:01 GMT-03:00 Alan Stern : > > On Mon, 4 Jan 2016, Geyslan G. Bem wrote: > > > >> This patch fixes a coding style issue reported by checkpatch related to > >> many leading tabs, removing a 'do while' loop and making use of goto tag > >> ins

Re: arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-01-05 Thread Guenter Roeck
Hi Fengguang, On 01/05/2016 06:30 AM, Fengguang Wu wrote: Hi Guenter, On Tue, Jan 05, 2016 at 06:02:47AM -0800, Guenter Roeck wrote: On 01/05/2016 12:22 AM, Fengguang Wu wrote: On Tue, Jan 05, 2016 at 12:09:14AM -0800, Guenter Roeck wrote: On 01/04/2016 11:23 PM, kbuild test robot wrote: Hi

Re: [PATCH 08/17] usb: host: ehci-dbg: remove unnecessary space after cast

2016-01-05 Thread Geyslan G. Bem
2016-01-04 23:40 GMT-03:00 Joe Perches : > On Mon, 2016-01-04 at 19:07 -0300, Geyslan G. Bem wrote: >> 2016-01-04 18:52 GMT-03:00 Sergei Shtylyov : >> > > > > > This patch fixes coding style issues reported by checkpatch >> > > > > > concerning >> > > > > > to unnecessary space after a cast. >> >

[PATCH v2 0/6] generic relative extable support

2016-01-05 Thread Ard Biesheuvel
There are currently four architectures (x86, ia64, alpha and s390) whose user-access exception tables are relative to the table entry address rather than absolute. Each of these architectures has its own search_extable() and sort_extable() implementation, which are not only mostly identical to each

[PATCH v2 3/6] s390/extable: use generic search and sort routines

2016-01-05 Thread Ard Biesheuvel
Replace the arch specific versions of search_extable() and sort_extable() with calls to the generic ones, which now support relative exception tables as well. Acked-by: Heiko Carstens Signed-off-by: Ard Biesheuvel --- arch/s390/include/asm/uaccess.h | 8 +- arch/s390/mm/Makefile | 2

[PATCH v2 6/6] arm64: switch to relative exception tables

2016-01-05 Thread Ard Biesheuvel
Instead of using absolute addresses for both the exception location and the fixup, use offsets relative to the exception table entry values. Not only does this cut the size of the exception table in half, it is also a prerequisite for KASLR, since absolute exception table entries are subject to dyn

[PATCH v2 4/6] x86/extable: use generic search and sort routines

2016-01-05 Thread Ard Biesheuvel
Replace the arch specific versions of search_extable() and sort_extable() with calls to the generic ones, which now support relative exception tables as well. Acked-by: H. Peter Anvin Signed-off-by: Ard Biesheuvel --- arch/x86/include/asm/uaccess.h | 5 +- arch/x86/mm/extable.c | 106

[PATCH v2 1/6] extable: add support for relative extables to search and sort routines

2016-01-05 Thread Ard Biesheuvel
This adds support to the generic search_extable() and sort_extable() implementations for dealing with exception table entries whose fields contain relative offsets rather than absolute addresses. Acked-by: Helge Deller Acked-by: Heiko Carstens Acked-by: H. Peter Anvin Acked-by: Tony Luck Acked

Re: [PATCH 09/17] usb: host: ehci-dbg: fix up function definitions

2016-01-05 Thread Joe Perches
On Tue, 2016-01-05 at 10:12 -0500, Alan Stern wrote: > On Mon, 4 Jan 2016, Geyslan G. Bem wrote: > > > >> @@ -404,12 +422,8 @@ static inline char token_mark(struct > ehci_hcd *ehci, __hc32 token) > > >>   return '/'; > > >>  } > > >> > > >> -static void qh_lines( > > >> - struct ehci_hcd *

Re: [PATCH 0/2] power: Add support for TI BQ24261 charger

2016-01-05 Thread Andreas Dannenberg
On Mon, Dec 07, 2015 at 07:03:41AM +, Pallala, Ramakrishna wrote: > Hi Sebastian, > > > On Thu, Oct 29, 2015 at 10:07:03PM +0530, Ramakrishna Pallala wrote: > > > This patch series adds the support for TI BQ24261 charger driver. > > > > > > TI BQ24261 charger driver relies on extcon notificati

[PATCH v2 5/6] ia64/extable: use generic search and sort routines

2016-01-05 Thread Ard Biesheuvel
Replace the arch specific versions of search_extable() and sort_extable() with calls to the generic ones, which now support relative exception tables as well. Acked-by: Tony Luck Signed-off-by: Ard Biesheuvel --- arch/ia64/include/asm/uaccess.h | 8 +- arch/ia64/mm/extable.c | 97 +---

[PATCH v2 2/6] alpha/extable: use generic search and sort routines

2016-01-05 Thread Ard Biesheuvel
Replace the arch specific versions of search_extable() and sort_extable() with calls to the generic ones, which now support relative exception tables as well. Signed-off-by: Ard Biesheuvel --- arch/alpha/include/asm/uaccess.h | 10 ++- arch/alpha/mm/Makefile | 2 +- arch/alpha/mm/exta

Re: [PATCH 09/17] usb: host: ehci-dbg: fix up function definitions

2016-01-05 Thread Joe Perches
On Tue, 2016-01-05 at 10:12 -0500, Alan Stern wrote: > On Mon, 4 Jan 2016, Geyslan G. Bem wrote: > > > >> @@ -404,12 +422,8 @@ static inline char token_mark(struct ehci_hcd > > >> *ehci, __hc32 token) > > >>   return '/'; > > >>  } > > >> > > >> -static void qh_lines( > > >> - struct ehci

[PATCH] net: filter: make JITs zero A for SKF_AD_ALU_XOR_X

2016-01-05 Thread Rabin Vincent
The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data instructions since it XORs A with X while all the others replace A with some loaded value. All the BPF JITs fail to clear A if this is used as the first instruction in a filter. This was found using american fuzzy lop. Add a hel

Re: [PATCH] Add possibility to set /dev/tty number

2016-01-05 Thread Greg KH
On Tue, Jan 05, 2016 at 08:16:52AM -0500, Austin S. Hemmelgarn wrote: > >And those embedded devices can almost certainly save more by just not > >including the vt layer. > And a few pages can make a difference on _any_ device, not just an embedded > system. For a purpose specific system, that can

Re: [PATCH] Add possibility to set /dev/tty number

2016-01-05 Thread Greg KH
On Tue, Jan 05, 2016 at 09:51:14AM +0100, Pierre Paul MINGOT wrote: > In industrial sector, for obvious security and safety reasons we want > configure our system and have a full control of the devices within it. > So unused or dummy devices are not wanted , not nice to have. > One way to achieve

Re: [RFC] free_pages stuff

2016-01-05 Thread Al Viro
On Tue, Jan 05, 2016 at 02:59:03PM +0100, Michal Hocko wrote: > > 3) vmalloc() is for large allocations. They will be page-aligned, > > but *not* physically contiguous. OTOH, large physically contiguous > > allocations are generally a bad idea. Unlike other allocators, there's > > no variant th

Re: [PATCH v6 12/20] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-01-05 Thread Yury Norov
On Thu, Dec 17, 2015 at 09:50:52PM +0100, Arnd Bergmann wrote: > On Thursday 17 December 2015 12:14:20 Andrew Pinski wrote: > > On Thu, Dec 17, 2015 at 12:10 PM, Arnd Bergmann wrote: > > > On Thursday 17 December 2015 18:27:53 Catalin Marinas wrote: > > >> On Wed, Dec 16, 2015 at 12:42:38AM +0300,

Re: [PATCH 09/17] usb: host: ehci-dbg: fix up function definitions

2016-01-05 Thread Geyslan G. Bem
2016-01-05 12:23 GMT-03:00 Joe Perches : > On Tue, 2016-01-05 at 10:12 -0500, Alan Stern wrote: >> On Mon, 4 Jan 2016, Geyslan G. Bem wrote: >> >> > >> @@ -404,12 +422,8 @@ static inline char token_mark(struct ehci_hcd >> > >> *ehci, __hc32 token) >> > >> return '/'; >> > >> } >> > >> >> >

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