Re: [PATCH v4 01/23] reset: Add renesas,rst DT bindings

2016-10-21 Thread Philipp Zabel
Am Freitag, den 21.10.2016, 15:17 +0200 schrieb Geert Uytterhoeven: > Add DT bindings for the Renesas R-Car Reset Controller (R-Car Gen1 > RESET/WDT and R-Car Gen2/Gen3 and RZ/G RST). > > As the features provided by the hardware module differ a lot across the > various SoC families and members,

[PATCH 0/5] Remove STiH415/416 SoC platform support remaining parts

2016-10-21 Thread patrice.chotard
From: Patrice Chotard ST have sent patches which remove clock support for these SoCs [1] which once applied mean the platform will no longer boot. This series cleans up remaining STi drivers which have support for these SoC's, by removing code, and updating the DT

Re: [PATCH] pci: pcie-designware-plat: changing driver authors e-mail

2016-10-21 Thread Joao Pinto
Thank you Bjorn! On 10/21/2016 3:57 PM, Bjorn Helgaas wrote: > On Fri, Oct 21, 2016 at 10:31:48AM +0100, Joao Pinto wrote: >> Although I am leaving Synopsys, I would like to keep working with the >> linux kernel community and help in what you might find useful. For that >> I am sending this

Re: [PATCH] x86/AMD: Apply erratum 688 on machines without a BIOS fix

2016-10-21 Thread sonofagun
Sorry for the late reply! This machine has caused nothing but trouble. HP will not fix it and we will not choose their laptops anymore... My brother told me that we apply a quirk to the last Ontario APUs that do not need it but I did not think it would be an issue since they have fixed the

RE: [PATCH] PCI: layerscape: Fix kernel panic on accessing NULL pointer

2016-10-21 Thread Leo Li
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Friday, October 21, 2016 10:37 AM > To: Leo Li > Cc: Bjorn Helgaas ; Minghuan Lian > ; Mingkai Hu ; > Roy Zang

Re: [PATCH v2] drm/arcpgu: Accommodate adv7511 switch to DRM bridge

2016-10-21 Thread Ramiro Oliveira
On 10/19/2016 01:16 PM, Eugeniy Paltsev wrote: > ARC PGU driver starts crashing on initialization after > 'commit e12c2f645557 ("drm/i2c: adv7511: Convert to drm_bridge")' > This happenes because in "arcpgu_drm_hdmi_init" function we get pointer > of "drm_i2c_encoder_driver" structure, which

Re: [PATCH 3/3] clocksource: Add clockevent support to NPS400 driver

2016-10-21 Thread Daniel Lezcano
On Thu, Oct 13, 2016 at 05:52:30PM +0300, Noam Camus wrote: > From: Noam Camus > > Till now we used clockevent from generic ARC driver. > This was enough as long as we worked with simple multicore SoC. > When we are working with multithread SoC each HW thread can be >

Re: 4.9 regression/bisection - 761ed4a94582 tty: serial_core: convert uart_close to use tty_port_close

2016-10-21 Thread Mike Galbraith
On Fri, 2016-10-21 at 10:00 -0500, Rob Herring wrote: > On Fri, Oct 21, 2016 at 9:40 AM, Mike Galbraith > wrote: > > On Fri, 2016-10-21 at 08:51 -0500, Rob Herring wrote: > > > On Fri, Oct 21, 2016 at 7:45 AM, Mike Galbraith > > > wrote: > > >

Re: [PATCH/RFC 0/5] cpu_relax: introduce yield, remove lowlatency

2016-10-21 Thread Christian Borntraeger
On 10/21/2016 04:57 PM, David Miller wrote: > From: Christian Borntraeger > Date: Fri, 21 Oct 2016 13:58:53 +0200 > >> For spinning loops people did often use barrier() or cpu_relax(). >> For most architectures cpu_relax and barrier are the same, but on >> some

Re: [PATCH v2 1/4] cpufreq: pxa: use generic platdev driver for device-tree

2016-10-21 Thread Robert Jarzmik
Viresh Kumar writes: > On 19-10-16, 22:06, Robert Jarzmik wrote: >> Viresh Kumar writes: >> >> >> >> + { .compatible = "marvell,pxa250", }, >> >> >> + { .compatible = "marvell,pxa270", }, >> >> >> >> >> >>{ .compatible =

Re: [PATCH net-next] hv_netvsc: fix a race between netvsc_send() and netvsc_init_buf()

2016-10-21 Thread Vitaly Kuznetsov
David Miller writes: > From: Vitaly Kuznetsov > Date: Fri, 21 Oct 2016 13:15:53 +0200 > >> David Miller writes: >> >>> From: Vitaly Kuznetsov >>> Date: Thu, 20 Oct 2016 10:51:04 +0200 >>> Stephen

Re: [PATCH net-next] hv_netvsc: fix a race between netvsc_send() and netvsc_init_buf()

2016-10-21 Thread David Miller
From: Vitaly Kuznetsov Date: Fri, 21 Oct 2016 17:17:18 +0200 > David Miller writes: > >> From: Vitaly Kuznetsov >> Date: Fri, 21 Oct 2016 13:15:53 +0200 >> >>> David Miller writes: >>> From: Vitaly

[PATCH 2/2] drm/i915/gvt: fix compilation

2016-10-21 Thread Arnd Bergmann
Two functions in the newly added gvt render code are obviously broken, as they reference a variable without initialization and don't reference another variable at all: drivers/gpu/drm/i915/gvt/render.c: In function ‘intel_gvt_load_render_mmio’: drivers/gpu/drm/i915/gvt/render.c:148:13: error:

Re: [PATCH] net: sched: make default fifo qdiscs appear in the dump

2016-10-21 Thread Eric Dumazet
On Fri, 2016-10-21 at 10:55 -0400, David Miller wrote: > From: Eric Dumazet > Date: Fri, 21 Oct 2016 04:36:57 -0700 > > > I guess we'll need to not pull this patch in our kernels. > > Eric, quite frankly, this whole "we won't pull this patch into Google > kernels" threat

Re: [PATCH net-next] hv_netvsc: fix a race between netvsc_send() and netvsc_init_buf()

2016-10-21 Thread David Miller
From: Vitaly Kuznetsov Date: Wed, 19 Oct 2016 15:53:01 +0200 > Fix in commit 880988348270 ("hv_netvsc: set nvdev link after populating > chn_table") turns out to be incomplete. A crash in > netvsc_get_next_send_section() is observed on mtu change when the device > is under

[PATCH] sd: fix uninitialized variable access in error handling

2016-10-21 Thread Arnd Bergmann
If sd_zbc_report_zones fails, the check for 'zone_blocks == 0' later in the function accesses uninitialized data: drivers/scsi/sd_zbc.c: In function ‘sd_zbc_read_zones’: drivers/scsi/sd_zbc.c:520:7: error: ‘zone_blocks’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

2016-10-21 Thread Andrew Lunn
On Fri, Oct 21, 2016 at 04:40:33PM +0200, Neil Armstrong wrote: > The Meson GXL dwmac Glue Layer also provides switching between an external PHY > and an internal RMII 10/100 PHY. > Add a way to setup the correct PHY switching from a device tree attribute. Hi Neil Can this be made automatic?

Re: [PATCH 4.8 00/57] 4.8.4-stable review

2016-10-21 Thread Shuah Khan
On 10/21/2016 03:17 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.8.4 release. > There are 57 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH] Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-21 Thread Theodore Ts'o
On Fri, Oct 21, 2016 at 11:00:22AM +0200, SF Markus Elfring wrote: > > > It is harder to see how the arguments fit into the strings > > and it is harder to see where the strings end and the arguments begin. > > Is it really so difficult to interpret the suggested construction > of a single (and

[PATCH] leds: netxbig: fix module autoload for OF registration

2016-10-21 Thread Javier Martinez Canillas
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Before this patch: $ modinfo

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

2016-10-21 Thread Neil Armstrong
On 10/21/2016 05:54 PM, Andrew Lunn wrote: > On Fri, Oct 21, 2016 at 04:40:33PM +0200, Neil Armstrong wrote: >> The Meson GXL dwmac Glue Layer also provides switching between an external >> PHY >> and an internal RMII 10/100 PHY. >> Add a way to setup the correct PHY switching from a device tree

[PATCH v5 2/2] timers: Fix documentation for schedule_timeout() and similar

2016-10-21 Thread Douglas Anderson
The documentatoin for schedule_timeout(), schedule_hrtimeout(), and schedule_hrtimeout_range() all claimed that the routines couldn't possibly return early if the task state was TASK_UNINTERRUPTIBLE. This was simply not true since anyone calling wake_up_process() would cause those routines to

Re: [PATCH net] net: remove MTU limits on a few ether_setup callers

2016-10-21 Thread Andrew Lunn
> I'm all for fine-tuning things to be more correct, but my initial > approach here was to restore the ranges that were previously there, > and DSA had no upper or lower bounds checks. I'm not at all familiar > with DSA either way. Please just restore the old behaviour. We can consider changes

Re: [PATCH v3 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-21 Thread Marek Vasut
On 10/21/2016 08:27 PM, Krzysztof Kozlowski wrote: > On Thu, Oct 20, 2016 at 07:42:44PM -0200, Sergio Prado wrote: >> Removing CONFIG_MTD_NAND_S3C2410_HWECC option and adding a ecc_mode >> field in the drivers's platform data structure so it can be selectable >> via platform data. >> >> Also

Re: [PATCH v2 3/4] soc: ti: Add ti_sci_pm_domains driver

2016-10-21 Thread Kevin Hilman
Dave Gerlach writes: > Introduce a ti_sci_pm_domains driver to act as a generic pm domain provider > to allow each device to attach and associate it's ti-sci-id so that it can > be controlled through the TI SCI protocol. > > This driver implements a simple genpd where each

Re: [PATCH 5/5] ARM: dts: Add LEGO MINDSTORTMS EV3 dts

2016-10-21 Thread Kevin Hilman
David Lechner writes: > This adds a device tree definition file for LEGO MINDSTORMS EV3. > > What is working: > > * Pin muxing > * MicroSD card reader > * UART on input port 1 > > What is partially working: > > * Buttons - working after GPIO fix > * LEDs - working after

Re: [PATCH v2 1/2] watchdog: Introduce arch_watchdog_nmi_enable and arch_watchdog_nmi_disable

2016-10-21 Thread Andrew Morton
On Fri, 21 Oct 2016 11:11:14 -0400 Don Zickus wrote: > On Thu, Oct 20, 2016 at 08:25:27PM -0700, Andrew Morton wrote: > > On Thu, 20 Oct 2016 12:14:14 -0400 Don Zickus wrote: > > > > > > > -static int watchdog_nmi_enable(unsigned int cpu) { return 0; } >

Re: [PATCH 4.8 00/57] 4.8.4-stable review

2016-10-21 Thread Guenter Roeck
On Fri, Oct 21, 2016 at 11:17:23AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.8.4 release. > There are 57 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH 3/3] thermal/intel_powerclamp: Convert to CPU hotplug state

2016-10-21 Thread Jacob Pan
On Mon, 17 Oct 2016 14:32:52 +0200 Petr Mladek wrote: > From: Sebastian Andrzej Siewior > Hi Sebastian, I applied this patchset on 4.9-rc1 and run some cpu online/offline loops test while injecting idle, e.g. 25%. I got system hang after a few cycles.

Re: [PATCH v2 3/4] soc: ti: Add ti_sci_pm_domains driver

2016-10-21 Thread Santosh Shilimkar
On 10/21/2016 12:00 PM, Kevin Hilman wrote: Dave Gerlach writes: [...] BTW, what is the the status of the TI-SCI protocol drivers themselves? This can't be merged until that is or this won't even compile. I was just about to ask the same question. Regards, Santosh

[GIT PULL] KVM fixes for v4.9-rc2

2016-10-21 Thread Radim Krčmář
Linus, The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to

Re: [PATCH v9 1/2] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-10-21 Thread John Youn
On 10/20/2016 11:38 AM, Randy Li wrote: > On the rk3288 USB host-only port (the one that's not the OTG-enabled > port) the PHY can get into a bad state when a wakeup is asserted (not > just a wakeup from full system suspend but also a wakeup from > autosuspend). > > We can get the PHY out of its

RE: [PATCH] ACPICA: arm64: fix compile apci tools fail for arm64

2016-10-21 Thread Zheng, Lv
Hi, I generated a solution with tools/power/acpi makefiles. Please give it a try. Sorry for the hackish build includes. Thanks and best regards Lv > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Zheng, > Lv > Subject: RE: [PATCH] ACPICA: arm64:

Re: bio linked list corruption.

2016-10-21 Thread Dave Jones
On Fri, Oct 21, 2016 at 04:17:48PM -0400, Chris Mason wrote: > > BTRFS warning (device sda3): csum failed ino 130654 off 0 csum 2566472073 > > expected csum 3008371513 > > BTRFS warning (device sda3): csum failed ino 131057 off 4096 csum > > 3563910319 expected csum 738595262 > > BTRFS

[PATCH] checkpatch: Fix warnings when --no-tree is used

2016-10-21 Thread Jeff Kirsher
When users run checkpatch.pl with --no-tree option, $root is not defined, which causes an ugly warning that it is not initialized at line 764. The test for whether or not a file is maintained should only be run when a kernel tree is defined (i.e. not when --no-tree option is being used)

Re: [PATCH v3 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-21 Thread Sergio Prado
On Fri, Oct 21, 2016 at 09:27:10PM +0300, Krzysztof Kozlowski wrote: > > I acked this twice (v1 and v2)... and still you are ignoring them. I am > sorry, I am not gonna to ack this third time! > > For v2 I acked also other patches but it it is not there as well... > > BR, > Krzysztof I'm

Re: Disabling an interrupt in the handler locks the system up

2016-10-21 Thread Marc Zyngier
On Fri, 21 Oct 2016 20:39:41 +0200 Mason wrote: > On 21/10/2016 19:46, Marc Zyngier wrote: > > > On 21/10/16 17:37, Mason wrote: > > > >> On my platform, one HW block pulls the interrupt line high > >> as long as it remains idle, and low when it is busy. > >> > >> The

Re: [PATCH] perf c2c report: Properly check data presence in rb_tree loop

2016-10-21 Thread Kim Phillips
ee it's been merged here now: https://git.kernel.org/cgit/linux/kernel/git/acme/linux.git/commit/?h=perf/c2c=5a1a99cd2e4e15571a74f65facf05f806d5303fd and the updated perf-c2c-for-mingo-20161021 works, so thanks all. Kim

Re: [REVIEW][PATCH] mount: In propagate_umount handle overlapping mount propagation trees

2016-10-21 Thread Eric W. Biederman
Andrei Vagin writes: >> Barring some stupid mistake this looks like it fixes both the performance >> and the correctness issues I was able to spot earlier. Andrei if you >> could give this version a look over I would appreciate it. > > Eric, could you try out this script:

Re: Disabling an interrupt in the handler locks the system up

2016-10-21 Thread Mason
On 21/10/2016 21:14, Marc Zyngier wrote: > Mason wrote: > >> On 21/10/2016 19:46, Marc Zyngier wrote: >> >>> On 21/10/16 17:37, Mason wrote: >>> On my platform, one HW block pulls the interrupt line high as long as it remains idle, and low when it is busy. The device tree

Re: PROBLEM: OHCI watchdog timeouts inside VirtualBox, probably due to timer wheel rework

2016-10-21 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Michal Necasek wrote: > I'll get back to you on whether increasing the timeout helps, it'll take > a bit of testing. Does it actually sound plausible that some controllers > could not get things done in 250ms but could in 275ms? There is a bug in the new timer wheel code,

Re: [PATCH v2 2/4] dt-bindings: Add TI SCI PM Domains

2016-10-21 Thread Dave Gerlach
Hi, On 10/21/2016 01:48 PM, Kevin Hilman wrote: Dave Gerlach writes: Add a generic power domain implementation, TI SCI PM Domains, that will hook into the genpd framework and allow the TI SCI protocol to control device power states. Also, provide macros representing each

Re: [PATCH v3 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-21 Thread Krzysztof Kozlowski
On Fri, Oct 21, 2016 at 08:51:51PM +0200, Marek Vasut wrote: > On 10/21/2016 08:27 PM, Krzysztof Kozlowski wrote: > > On Thu, Oct 20, 2016 at 07:42:44PM -0200, Sergio Prado wrote: > >> Removing CONFIG_MTD_NAND_S3C2410_HWECC option and adding a ecc_mode > >> field in the drivers's platform data

Re: Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-21 Thread SF Markus Elfring
> When the author of the semantic patch language is telling you to stand down, The collaboration evolved between Julia and me during the years somehow. Different software development opinions occur then as usual. Further opinions from contributors like you can eventually show variations between

[PATCHv4] shmem: avoid huge pages for small files

2016-10-21 Thread Kirill A. Shutemov
Huge pages are detrimental for small file: they causes noticible overhead on both allocation performance and memory footprint. This patch aimed to address this issue by avoiding huge pages until file grown to size of huge page. This would cover most of the cases where huge pages causes

Re: [PATCH] dmaengine: DW DMAC: split pdata to hardware properties and platform quirks

2016-10-21 Thread Andy Shevchenko
On Thu, 2016-10-20 at 13:16 +, Eugeniy Paltsev wrote: > On Thu, 2016-10-20 at 13:48 +0300, Andy Shevchenko wrote: > > On Thu, 2016-09-15 at 16:14 +0300, Eugeniy Paltsev wrote: > > > > > > This patch is to address a proposal by Andy in this thread: > > >

Re: [PATCH 4.4 00/25] 4.4.27-stable review

2016-10-21 Thread Guenter Roeck
On Fri, Oct 21, 2016 at 11:15:51AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.27 release. > There are 25 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.7 00/45] 4.7.10-stable review

2016-10-21 Thread Guenter Roeck
On Fri, Oct 21, 2016 at 11:17:20AM +0200, Greg Kroah-Hartman wrote: > > NOTE, this will be the last 4.7.y kernel to be released. After this > one, the 4.7.y series is end-of-life. You should be moving to the 4.8.y > kernel series at this point in time. >

Re: [PATCH v2 3/4] soc: ti: Add ti_sci_pm_domains driver

2016-10-21 Thread Dave Gerlach
On 10/21/2016 02:02 PM, Santosh Shilimkar wrote: On 10/21/2016 12:00 PM, Kevin Hilman wrote: Dave Gerlach writes: [...] BTW, what is the the status of the TI-SCI protocol drivers themselves? This can't be merged until that is or this won't even compile. I was just

Re: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-10-21 Thread Michael S. Tsirkin
On Fri, Oct 21, 2016 at 10:25:21AM -0700, Dave Hansen wrote: > On 10/20/2016 11:24 PM, Liang Li wrote: > > Dave Hansen suggested a new scheme to encode the data structure, > > because of additional complexity, it's not implemented in v3. > > So, what do you want done with this patch set? Do you

Re: [RFC][PATCH 2/2] usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220

2016-10-21 Thread John Youn
On 10/20/2016 5:43 PM, Chen Yu wrote: > On 2016/10/19 6:21, John Youn wrote: >> On 10/16/2016 7:42 PM, Chen Yu wrote: >>> >>> >>> On 2016/10/15 3:37, John Youn wrote: On 10/13/2016 4:36 PM, John Stultz wrote: > From: Chen Yu > > The Hi6220's usb controller is

Re: [PATCH 1/2] fscrypto: Fix log string in do_crypto()

2016-10-21 Thread Eric Biggers
On Tue, Oct 18, 2016 at 10:54:48PM +0200, Richard Weinberger wrote: > The operations supports both encryption and decryption. > > Signed-off-by: Richard Weinberger > --- > fs/crypto/crypto.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git

Re: bio linked list corruption.

2016-10-21 Thread Chris Mason
On 10/21/2016 04:02 PM, Dave Jones wrote: On Thu, Oct 20, 2016 at 04:23:32PM -0700, Andy Lutomirski wrote: > On Thu, Oct 20, 2016 at 4:03 PM, Dave Jones wrote: > > On Thu, Oct 20, 2016 at 04:01:12PM -0700, Andy Lutomirski wrote: > > > On Thu, Oct 20, 2016 at 3:50

Re: [PATCH v2 2/4] dt-bindings: Add TI SCI PM Domains

2016-10-21 Thread Kevin Hilman
Dave Gerlach writes: > Add a generic power domain implementation, TI SCI PM Domains, that > will hook into the genpd framework and allow the TI SCI protocol to > control device power states. > > Also, provide macros representing each device index as understood > by TI SCI to be

Re: [PATCH] kexec: Export kexec_in_progress to modules

2016-10-21 Thread Florian Fainelli
On 10/21/2016 11:37 AM, Eric W. Biederman wrote: > David Miller writes: > >> From: ebied...@xmission.com (Eric W. Biederman) >> Date: Fri, 21 Oct 2016 00:26:55 -0500 >> >>> So as far as I can tell you are advocating for a change to support a >>> driver doing something that

Re: [PATCH V7 4/4] dmaengine: qcom_hidma: add MSI support for interrupts

2016-10-21 Thread Andy Shevchenko
On Fri, Oct 21, 2016 at 7:37 PM, Sinan Kaya wrote: > The interrupts can now be delivered as platform MSI interrupts on newer > platforms. The code looks for a new OF and ACPI strings in order to enable > the functionality. > +#ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN > +static

Re: PROBLEM: OHCI watchdog timeouts inside VirtualBox, probably due to timer wheel rework

2016-10-21 Thread Michal Necasek
Alan, I'll get back to you on whether increasing the timeout helps, it'll take a bit of testing. Does it actually sound plausible that some controllers could not get things done in 250ms but could in 275ms? I will note that according to the table in <1>, a 250ms timeout with a HZ=250

Re: Disabling an interrupt in the handler locks the system up

2016-10-21 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Mason wrote: > On 21/10/2016 21:14, Marc Zyngier wrote: > > If connecting a device that signals its interrupt as level low to an > > input line configured as level high doesn't strike you as a major > > issue, nothing will. At that point, you can put anything you want in > >

Re: bio linked list corruption.

2016-10-21 Thread Dave Jones
On Thu, Oct 20, 2016 at 04:23:32PM -0700, Andy Lutomirski wrote: > On Thu, Oct 20, 2016 at 4:03 PM, Dave Jones wrote: > > On Thu, Oct 20, 2016 at 04:01:12PM -0700, Andy Lutomirski wrote: > > > On Thu, Oct 20, 2016 at 3:50 PM, Dave Jones > >

Re: [PATCH] drm/fb-helper: Don't call dirty callback for untouched clips

2016-10-21 Thread Chris Wilson
On Fri, Oct 21, 2016 at 08:19:03PM +0200, Daniel Vetter wrote: > On Fri, Oct 21, 2016 at 01:57:28PM +0100, Chris Wilson wrote: > > I think of a use for sending an empty clip: where you don't want to > > push any new pixel data, but you do want to be sure that the pipeline > > has been flushed. >

Re: [PATCH 2/2] fscrypto: Fix fscrypt_decrypt_page() doc string

2016-10-21 Thread Eric Biggers
On Tue, Oct 18, 2016 at 10:54:49PM +0200, Richard Weinberger wrote: > Most likely a copy error from the f2fs import. > > Signed-off-by: Richard Weinberger > --- > fs/crypto/crypto.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/crypto/crypto.c

Re: [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up

2016-10-21 Thread Vivek Goyal
On Fri, Oct 21, 2016 at 11:53:41AM +0300, Amir Goldstein wrote: > On Thu, Oct 20, 2016 at 11:54 PM, Vivek Goyal wrote: > > On Thu, Oct 20, 2016 at 04:46:30PM -0400, Vivek Goyal wrote: > > > > [..] > >> > +static ssize_t ovl_read_iter(struct kiocb *iocb, struct iov_iter *to) >

Re: Disabling an interrupt in the handler locks the system up

2016-10-21 Thread Mason
On 21/10/2016 21:49, Thomas Gleixner wrote: > On Fri, 21 Oct 2016, Mason wrote: >> On 21/10/2016 21:14, Marc Zyngier wrote: >>> If connecting a device that signals its interrupt as level low to an >>> input line configured as level high doesn't strike you as a major >>> issue, nothing will. At

Re: 4.9-rc1 boot regression, ambiguous bisect result

2016-10-21 Thread Matt Fleming
On Fri, 21 Oct, at 04:41:29PM, Matt Fleming wrote: > > FYI, I've been able to reproduce some crash when using your EFI memory > map layout under Qemu and forcing the ESRT driver to reserve the space. Nope, that was a bug in my hack. I can't get Qemu to crash while using your memory map layout.

Re: [PATCH] Documentation/sphinx: rename kernel-doc.py to kerneldoc.py

2016-10-21 Thread Jonathan Corbet
On Wed, 19 Oct 2016 13:44:37 +0300 Jani Nikula wrote: > Python module names should not have hyphens per [PEP 8]. Drop the hyphen > from kernel-doc.py. The extension directive remains unchanged. > > [PEP 8] https://www.python.org/dev/peps/pep-0008/#package-and-module-names

[PATCH 1/5] fs/dcache: include wait.h

2016-10-21 Thread Sebastian Andrzej Siewior
Since commit d9171b934526 ("parallel lookups machinery, part 4 (and last)") dcache.h is using but does not include wait.h. It works as long as it is included somehow earlier and fails otherwise. Cc: Al Viro Cc: Miklos Szeredi Signed-off-by:

[PATCH 5/5] iommu/vt-d: don't disable preemption while accessing deferred_flush()

2016-10-21 Thread Sebastian Andrzej Siewior
get_cpu() disables preemption and returns the current CPU number. The CPU number is later only used once while retrieving the address of the local's CPU deferred_flush pointer. We can instead use raw_cpu_ptr() while we remain preemptible. The worst thing that can happen is that

[PATCH 3/5] fs/dcache: init in_lookup_hashtable

2016-10-21 Thread Sebastian Andrzej Siewior
in_lookup_hashtable was introduced in commit 94bdd655caba ("parallel lookups machinery, part 3") and never initialized but since it is in the data it is all zeros. But we need this for -RT. Cc: Alexander Viro Cc: linux-fsde...@vger.kernel.org Signed-off-by: Sebastian

[PATCH 2/5] rbtree: include rcu.h because we use it

2016-10-21 Thread Sebastian Andrzej Siewior
Since commit c1adf20052d8 ("Introduce rb_replace_node_rcu()") rbtree_augmented.h uses RCU related data structures but does not include them. It works as long as gets somehow included before that and fails otherwise. Cc: David Howells Cc: "Peter Zijlstra (Intel)"

[PATCH 4/5] iommu/iova: don't disable preempt around this_cpu_ptr()

2016-10-21 Thread Sebastian Andrzej Siewior
Commit 583248e6620a ("iommu/iova: Disable preemption around use of this_cpu_ptr()") disables preemption while accessing a per-CPU variable. This does keep lockdep quiet. However I don't see the point why it is bad if we get migrated after its access to another CPU. __iova_rcache_insert() and

[PATCH 0/2] Broadcom BCM54612E support

2016-10-21 Thread Xo Wang
This series is based on tip of torvalds/master. The first patch adds register definitions from Broadcom docs. The second patch adds the BCM54612E PHY ID, flags, and device-specific RGMII internal delay initialization. I tested on a custom board with an Aspeed AST2500 SOC with its second MAC

[PATCH V4 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-10-21 Thread Tyler Baicar
When a memory error, CPU error, PCIe error, or other type of hardware error that's covered by RAS occurs, firmware should populate the shared GHES memory location with the proper GHES structures to notify the OS of the error. For example, platforms that implement firmware first handling may

[PATCH V4 01/10] acpi: apei: read ack upon ghes record consumption

2016-10-21 Thread Tyler Baicar
A RAS (Reliability, Availability, Serviceability) controller may be a separate processor running in parallel with OS execution, and may generate error records for consumption by the OS. If the RAS controller produces multiple error records, then they may be overwritten before the OS has consumed

[PATCH V4 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2016-10-21 Thread Tyler Baicar
Currently when a RAS error is reported it is not timestamped. The ACPI 6.1 spec adds the timestamp field to the generic error data entry v3 structure. The timestamp of when the firmware generated the error is now being reported. Signed-off-by: Jonathan (Zhixiong) Zhang

Re: Disabling an interrupt in the handler locks the system up

2016-10-21 Thread Marc Zyngier
On 21/10/16 17:37, Mason wrote: > Hello, > > On my platform, one HW block pulls the interrupt line high > as long as it remains idle, and low when it is busy. > > The device tree node is: > > test@2 { > compatible = "vendor,testme"; >

Re: [PATCH 1/8] mtd: nand: sunxi: fix support for 512bytes ECC chunks

2016-10-21 Thread Boris Brezillon
On Thu, 20 Oct 2016 10:12:42 +0200 Maxime Ripard wrote: > From: Boris Brezillon > > The driver is incorrectly assuming that the ECC block size is always 1k > which is not always true. > > Also take the other cases into

Re: Pull request for 4.9 for IPMI

2016-10-21 Thread Corey Minyard
On 10/21/2016 12:48 PM, Linus Torvalds wrote: On Fri, Oct 21, 2016 at 7:02 AM, Corey Minyard wrote: This has been in linux-next for a month or so. Clearly not. It was committed yesterday. What the hell is wrong with people? If you had it in linux-next and it was tested, why

Re: [RESEND PATCH] usb: chipidea: Configure DMA properties and ops from DT

2016-10-21 Thread Bjorn Andersson
On Fri 21 Oct 10:38 PDT 2016, Stephen Boyd wrote: > On 10/21, Bjorn Andersson wrote: > > hcd_alloc_coherent() and usb_alloc_coherent() ends up allocating coherent > > memory on behalf of ci_hdrc driver. But as the ci_hdrc is instantiated > > manually > > it will not have any dma_mem or dma_ops

Pull request for 4.9 for IPMI (version 2)

2016-10-21 Thread Corey Minyard
The following changes since commit c6169de7308b397824bd418c5b871b5a42de83d2: Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm (2016-09-29 14:59:11 -0700) are available in the git repository at: git://git.code.sf.net/p/openipmi/linux-ipmi

Pure polling mode for netdevices

2016-10-21 Thread Zach Brown
Is there a way to get NAPI to poll all the time? Or just any way to get netdevices to use only polling and no interrupts? We have some rt targets where the jitter can be improved by disabling interrupts and using just polling. In these cases we're okay with the performance downsides that come

Re: [PATCH 15/26] ubifs: Implement encrypt/decrypt for all IO

2016-10-21 Thread Richard Weinberger
On 21.10.2016 19:52, Michael Halcrow wrote: > On Fri, Oct 21, 2016 at 07:21:04PM +0200, Richard Weinberger wrote: >> On 21.10.2016 19:14, Michael Halcrow wrote: >>> Compress-before-encrypt is a hazard. >>> >>> http://www.iacr.org/cryptodb/archive/2002/FSE/3091/3091.pdf >> >> I'm fully aware of

Re: [PATCH 15/26] ubifs: Implement encrypt/decrypt for all IO

2016-10-21 Thread Eric Biggers
On Fri, Oct 21, 2016 at 02:48:30PM +0200, Richard Weinberger wrote: > + > + if (ubifs_crypt_is_encrypted(inode)) { > + int clen = le16_to_cpu(dn->compr_size); > + > + if (clen <= 0 || clen > UBIFS_BLOCK_SIZE || clen > dlen) > + goto dump; > + > +

Re: [PATCH V3 0/3] Add support for session ID user filtering

2016-10-21 Thread Paul Moore
On Fri, Oct 21, 2016 at 2:46 AM, Richard Guy Briggs wrote: > On 2016-10-20 15:27, Paul Moore wrote: >> On Thursday, August 18, 2016 01:43:12 PM Richard Guy Briggs wrote: >> > https://github.com/linux-audit/audit-kernel/wiki/RFE-Session-ID-User-Filter >> > RFE Session ID User

[PATCH libdrm 1/2] Return an -ENODEV from drmGetDevice() when no device was found.

2016-10-21 Thread Eric Anholt
From: Rob Herring Fixes crashes in Mesa on platform device, which expected *device to have a device when 0 was returned. (code from a paste by Rob, commit message by anholt) Signed-off-by: Eric Anholt --- xf86drm.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH libdrm 2/2] Silence runtime complaints on platform devices

2016-10-21 Thread Eric Anholt
glxgears was spamming this 12 times at startup because of Mesa's probing of the DRM device code, which doesn't support platform devices. Signed-off-by: Eric Anholt --- xf86drm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xf86drm.c b/xf86drm.c index

Re: [PATCH 15/26] ubifs: Implement encrypt/decrypt for all IO

2016-10-21 Thread Richard Weinberger
On 21.10.2016 19:14, Michael Halcrow wrote: > Compress-before-encrypt is a hazard. > > http://www.iacr.org/cryptodb/archive/2002/FSE/3091/3091.pdf I'm fully aware of that. But as usual it depends on the use case. Compression is optional in UBIFS, paranoid users can disable it when encryption is

[PATCH 2/2] net: phy: broadcom: Add support for BCM54612E

2016-10-21 Thread Xo Wang
This PHY has internal delays enabled after reset. This clears the internal delay enables unless the interface specifically requests them. Signed-off-by: Xo Wang --- drivers/net/phy/broadcom.c | 48 ++ include/linux/brcmphy.h| 1 +

[PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros

2016-10-21 Thread Xo Wang
Add the RXD-to-RXC skew (delay) time bit in the Miscellaneous Control shadow register and a mask for the shadow selector field. Remove a re-definition of MII_BCM54XX_AUXCTL_SHDWSEL_AUXCTL. Signed-off-by: Xo Wang --- include/linux/brcmphy.h | 3 ++- 1 file changed, 2

Re: [PATCH libdrm 1/2] Return an -ENODEV from drmGetDevice() when no device was found.

2016-10-21 Thread Alex Deucher
On Fri, Oct 21, 2016 at 1:12 PM, Eric Anholt wrote: > From: Rob Herring > > Fixes crashes in Mesa on platform device, which expected *device to > have a device when 0 was returned. > > (code from a paste by Rob, commit message by anholt) > > Signed-off-by: Eric

Re: [PATCH 01/12] Documentation/HOWTO: Mark subsection in rst format

2016-10-21 Thread Mauro Carvalho Chehab
Em Sat, 22 Oct 2016 01:42:00 +0900 SeongJae Park escreveu: > On Sat, Oct 22, 2016 at 12:45 AM, Mauro Carvalho Chehab > wrote: > > Em Sat, 22 Oct 2016 00:19:46 +0900 > > SeongJae Park escreveu: > > > >> Subsections in HOWTO

Re: [PATCH v2 0/8] mm/swap: Regular page swap optimizations

2016-10-21 Thread Tim Chen
On Fri, Oct 21, 2016 at 12:05:19PM +0200, Christian Borntraeger wrote: > On 10/21/2016 10:16 AM, Christian Borntraeger wrote: > > [ 308.206297] Call Trace: > > [ 308.206299] ([<0025d3ec>] __alloc_pages_nodemask+0x134/0xdf8) > > [ 308.206303] ([<00280d6a>]

[PATCH V2 linux-next] ext4: make online resizing conditional

2016-10-21 Thread Fabian Frederick
This patch tries to address the following comment in ext4/resize.c "This could probably be made into a module, because it is not often in use." Having ext4 resizing in a module would give a lot of depmod dependency cycles but we can make it an option. resize.h has been added for more

Re: [PATCH V2 linux-next] ext4: make online resizing conditional

2016-10-21 Thread Andreas Dilger
On Oct 21, 2016, at 12:16 PM, Fabian Frederick wrote: > > This patch tries to address the following comment in ext4/resize.c > "This could probably be made into a module, because it is not often in use." > > Having ext4 resizing in a module would give a lot of depmod >

[PATCH V4 04/10] arm64: exception: handle Synchronous External Abort

2016-10-21 Thread Tyler Baicar
SEA exceptions are often caused by an uncorrected hardware error, and are handled when data abort and instruction abort exception classes have specific values for their Fault Status Code. When SEA occurs, before killing the process, go through the handlers registered in the notification list.

[PATCH V4 06/10] acpi: apei: panic OS with fatal error status block

2016-10-21 Thread Tyler Baicar
From: "Jonathan (Zhixiong) Zhang" Even if an error status block's severity is fatal, the kernel does not honor the severity level and panic. With the firmware first model, the platform could inform the OS about a fatal hardware error through the non-NMI GHES notification

Re: [PATCH libdrm 2/2] Silence runtime complaints on platform devices

2016-10-21 Thread Alex Deucher
On Fri, Oct 21, 2016 at 1:12 PM, Eric Anholt wrote: > glxgears was spamming this 12 times at startup because of Mesa's > probing of the DRM device code, which doesn't support platform > devices. > > Signed-off-by: Eric Anholt Reviewed-by: Alex Deucher

Re: [PATCH v6 06/07] iommu/ipmmu-vmsa: ARM and ARM64 archdata access

2016-10-21 Thread Robin Murphy
Hi Magnus, On 20/10/16 00:36, Magnus Damm wrote: > From: Magnus Damm > > Not all architectures have an iommu member in their archdata, so > use #ifdefs support build wit COMPILE_TEST on any architecture. As an alternative to this we could now use iommu_fwspec in

Re: [RFC][PATCH v3] cgroup: Use CAP_SYS_RESOURCE to allow a process to migrate other tasks between cgroups

2016-10-21 Thread John Stultz
On Thu, Oct 20, 2016 at 11:42 PM, Michael Kerrisk (man-pages) wrote: > Hi John, > > On 10/21/2016 03:24 AM, John Stultz wrote: >> This patch adds logic to allows a process to migrate other tasks >> between cgroups if they have CAP_SYS_RESOURCE. > > This appears to be a

Re: [PATCH/RFC 4/4] soc: renesas: Identify SoC and register with the SoC bus

2016-10-21 Thread Geert Uytterhoeven
Hi Arnd, On Wed, Oct 19, 2016 at 12:59 PM, Arnd Bergmann wrote: > On Wednesday, October 19, 2016 10:02:57 AM CEST Geert Uytterhoeven wrote: >> On Mon, Oct 10, 2016 at 4:23 PM, Arnd Bergmann wrote: >> > On Tuesday, October 4, 2016 11:09:27 AM CEST Geert Uytterhoeven

Re: [PATCH 25/26] ubifs: Implement UBIFS_FLG_ENCRYPTION

2016-10-21 Thread Eric Biggers
On Fri, Oct 21, 2016 at 02:48:40PM +0200, Richard Weinberger wrote: > @@ -190,6 +191,10 @@ long ubifs_ioctl(struct file *file, unsigned int cmd, > unsigned long arg) > sizeof(policy))) > return -EFAULT; > > + err =

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