Subscribe: lkml.org
http://lkml.org/rss.php
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
add  arch  efi  git  irq  kernel  linux  patch  slave  spi slave  spi  summary  writes summary  writes  wrote  xen 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: lkml.org

lkml.org



lkml.org - the realtime linux kernel mailinglist archive



Last Build Date: Fri, 26 May 2017 17:21:44 +0200

 



[PATCH v1 1/1] intel_telemetry_debugfs: fix oops found while load/ ...
priyalee.kushwaha@intel ... writes: (Summary) Joule DVT3/SDS, BIOS GTPP181A.X64.0143.B30.1701132137 01/13/2017 [ 97.577518] task: ffff8801793a21c0 task.stack: ffff8801793f0000 [ 97.584162] RIP: 0010:blocking_notifier_chain_register+0x3a/0xa0 [ 97.590903] RSP: 0018:ffff8801793f3c58 EFLAGS: 00010286 [ 97.596802] RAX: ffffffffa006f000 RBX: ffffffff81e3ea20 RCX: 0000000000000000 [ 97.604812] RDX: ffff880179eaf210 RSI: ffffffffa0131000 RDI: ffffffff81e3ea20 [ 97.612821] RBP: ffff8801793f3c68 R08: 0000000000000006 R09: 000000000000005c [ 97.620847] R10: 0000000000000000 R11: 0000000000000006 R12: ffffffffa0131000 [ 97.628855] R13: 0000000000000000 R14: ffff880176e35f48 R15: ffff8801793f3ea8 [ 97.636865] FS: 00007f7eeba07700(0000) GS:ffff88017fc00000(0000) knlGS:0000000000000000 [ 97.645948] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 97.652423] CR2: ffffffffa006f010 CR3: 00000001775ef000 CR4: 00000000003406f0 [ 97.660423] Call Trace: [ 97.663166] ?



Re: [PATCH 5/5] MIPS: Add support for eBPF JIT.
Daniel Borkmann writes: (Summary) + ctx.offsets = kcalloc(prog->len + 1, sizeof(*ctx.offsets), GFP_KERNEL); + if (ctx.offsets == NULL) > + ctx.reg_val_types = kcalloc(prog->len + 1, sizeof(*ctx.reg_val_types), GFP_KERNEL); + if (ctx.reg_val_types == NULL) > + /* First pass discovers used resources */ > + /* Second pass generates offsets */ > + /* Clean it */ > + /* Third pass generates the code */ > + /* Update the icache */ > + flush_icache_range((ptr)ctx.target, (ptr)(ctx.target + ctx.idx)); + /* Dump JIT code */ >



Re: [PATCH] fork: fix kmemleak false positive due to thread stacks ...
Luis Henriques writes: (Summary) On Fri, May 26, 2017 at 03:22:54PM +0100, Catalin Marinas wrote: http://lkml.kernel.org/r/20170516133925.GA9453@e104818-lin.cambridge.arm.com Ok, looks like I need to improve my lkml search-fu -- I totally missed this discussion and the patchset with the new API!
this discussion and the patchset with the new API!
So, I guess it only makes sense to work around this issue with the current API when backporting the fix to stable kernels, in case you think it's worth fixing this in older kernels, of course.



[GIT PULL] Ceph fixes for 4.12-rc3
Ilya Dryomov writes: (Summary) Hi Linus,
Hi Linus,
The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)
Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)
are available in the git repository at:
are available in the git repository at:
https://github.com/ceph/ceph-client.git tags/ceph-for-4.12-rc3 https://github.com/ceph/ceph-client.git tags/ceph-for-4.12-rc3 for you to fetch changes up to 42c99fc4c7069371da7b04b9099319dd1c633ee2: for you to fetch changes up to 42c99fc4c7069371da7b04b9099319dd1c633ee2: ceph: check that the new inode size is within limits in ceph_fallocate() (2017-05-24 18:10:54 +0200) ceph: check that the new inode size is within limits in ceph_fallocate() (2017-05-24 18:10:54 +0200) -------------------------------------------------------



Re: [for-next][PATCH 09/33] selftests: ftrace: Add test to test re ...
Steven Rostedt writes: On Mon, 22 May 2017 12:23:08 +0900
Masami Hiramatsu wrote: Masami Hiramatsu wrote: set_ftrace_filter were different.
Probably one of the patches in this series before this one. Probably one of the patches in this series before this one. -- Steve
-- Steve
-- Steve



Re: [PATCH v2 net-next 1/3] perf, bpf: Add BPF support to all perf ...
David Miller writes: From: Alexei Starovoitov
Date: Thu, 25 May 2017 22:55:47 -0700
Date: Thu, 25 May 2017 22:55:47 -0700
+ goto err_out;
The attach_state member only exists when PERF_EVENTS is enabled. The attach_state member only exists when PERF_EVENTS is enabled. The attach_state member only exists when PERF_EVENTS is enabled.



Re: [PATCH v2] arm: dma-mapping: Reset the device's dma_ops
Sricharan R writes: Hi Laurent,
Hi Laurent,
On 5/26/2017 7:44 PM, Laurent Pinchart wrote:
noticed now that I forgot one word)
ok, will change the above and post it with the other patches. ok, will change the above and post it with the other patches. Regards,
Sricharan
Sricharan
}



Re: Memory corruption kernel issue (potentially exploitable), requ ...
Oliver Freyermuth writes: (Summary) Dear Kernel hackers,
Dear Kernel hackers,
a small follow up: The problem is reproducible with an Ubuntu 17.04 live system. So the problem must either be a kernel bug (then most likely for r8168 only), or a very strange firmware / hardware issue of this specific card. So the problem must either be a kernel bug (then most likely for r8168 only), or a very strange firmware / hardware issue of this specific card. If you have any further suggestions to debug this (if it's a kernel bug, I would guess it's exploitable since it allows writes to non-userspace memory), please let me know.



Re: [tip:timers/core] mmtimer: Remove the SGI SN2 mmtimer driver
Joe Perches writes: (Summary) On Fri, 2017-05-26 at 03:58 -0700, tip-bot for Christoph Hellwig wrote: Commit-ID: 07903ada96139ced48f2f893fe57a26a8fbc6043 Couple trivial comments:
Couple trivial comments:
[]
[]
-/*
[ etc...]
[ etc...]
In the future, please use git format-patch -M to avoid listing the
contents of the file deletion.
contents of the file deletion.
[]
#define MAX_CLOCKS 16
Here the "this" comment is a bit ambiguous.



[PATCH v3] hdlcdrv: Fix divide by zero in hdlcdrv_ioctl
Firo Yang writes: (Summary) syszkaller fuzzer triggered a divide by zero, when set calibration through ioctl().
through ioctl().
To fix it, test 'bitrate' if it is negative or 0, just return -EINVAL. 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/hamradio/hdlcdrv.c b/drivers/net/hamradio/hdlcdrv.c index 8c3633c..97e3bc6 100644 --- a/drivers/net/hamradio/hdlcdrv.c +++ b/drivers/net/hamradio/hdlcdrv.c @@ -576,6 +576,8 @@ static int hdlcdrv_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) case HDLCDRVCTL_CALIBRATE: if(!capable(CAP_SYS_RAWIO)) return -EPERM;



RE: [PATCH v3 1/2] net: phy: Add Cortina CS4340 driver (fwd)
Bogdan Purcareata writes: rg
The u32 values on lines 73 and 79 will not be less than 0. Will change to int for proper error checking.
Will change to int for proper error checking.
Thanks!
Bogdan P.
Bogdan P.
Bogdan P.



Re: [PATCH 2/2] arm64: dts: Add Mediatek SoC MT2712 and evaluation ...
YT Shen writes: (Summary) SPDX-License-Identifier: (GPL-2.0 OR MIT)
SPDX-License-Identifier: (GPL-2.0 OR MIT)
OK, will change to DT usage.
stdout-path = "serial0:921600n8";
linux,initrd-start = <...>;
linux,initrd-end = <...>;
linux,initrd-end = <...>;
Will check this part, thanks for the review.
Will check this part, thanks for the review.
yt.shen
yt.shen
More majordomo info at http://vger.kernel.org/majordomo-info.html More majordomo info at http://vger.kernel.org/majordomo-info.html More majordomo info at http://vger.kernel.org/majordomo-info.html



Re: [PATCH 1/3] [media] si2157: get chip id during probing
Steven Toth writes: (Summary) You're going to want to see ACKS/NAKS, clocks and other I2C bus activity.
ACKS/NAKS, clocks and other I2C bus activity.
You'll need to solder down scl/sda/gnd wiring to the PCB, I generally attached to the eeprom which tends to have larger pins (details on their respective datasheets).
their respective datasheets).
It's not hard to do, but does require a small investment in hardware. One the actual bus behavior is documented and understood, you'll likely get a better technical discussion going on.
likely get a better technical discussion going on.
Send me a detailed picture of the PCB and I can probably help spot the I2C bus for you, if you have a low cost bus analyzer and a soldering iron.
iron.



Re: [PATCH v3 1/1] partitions/msdos: FreeBSD UFS2 file systems are ...
Joe Perches writes: On Fri, 2017-05-26 at 03:48 -0700, Richard Narron wrote: []
[]
+ if (memcmp(flavour, "bsd\0", 4) == 0)
Weird code. Why not:
Weird code. Why not:
if (strcmp(flavor, "bsd") == 0)



Re: [PATCH v3 1/2] net: phy: Add Cortina CS4340 driver (fwd)
Julia Lawall writes: (Summary) 0 git remote add linux-review https://github.com/0day-ci/linux git remote update linux-review git checkout 84281ef4be227acc6a2f638da7a6842f7f55348d vim +73 drivers/net/phy/cortina.c 84281ef4 Bogdan Purcareata 2017-05-26 67 static int cortina_probe(struct phy_device *phydev) 84281ef4 Bogdan Purcareata 2017-05-26 68 { 84281ef4 Bogdan Purcareata 2017-05-26 69 u32 phy_id = 0, id_lsb, id_msb; 84281ef4 Bogdan Purcareata 2017-05-26 75 84281ef4 Bogdan Purcareata 2017-05-26 76 phy_id = id_lsb <<



Re: [Patch 2/2]: powerpc/hotplug/mm: Fix hot-add memory node assoc
Reza Arbab writes: On Fri, May 26, 2017 at 01:46:58PM +1000, Michael Ellerman wrote: But does that actually happen on any real system?
I don't know if anything currently tries to do this. My interest in having this working is so that in the future, our coherent gpu memory could be added as a distinct node by the device driver. could be added as a distinct node by the device driver.



Re: [PATCH] fork: fix kmemleak false positive due to thread stacks ...
Catalin Marinas writes: (Summary) On Fri, May 26, 2017 at 02:49:49PM +0100, Luis Henriques wrote: Signed-off-by: Luis Henriques We could however work around this with the current kmemleak API as in this patch:
current kmemleak API as in this patch:
http://lkml.kernel.org/r/20170516133925.GA9453@e104818-lin.cambridge.arm.com http://lkml.kernel.org/r/20170516133925.GA9453@e104818-lin.cambridge.arm.com Thanks.
Thanks.



Re: [PATCH 1/8] serial: exar: Preconfigure xr17v35x MPIOs as output
Andy Shevchenko writes: On Fri, May 26, 2017 at 4:04 PM, Jan Kiszka wrote: Greg,
I may also send a fix on top if that is preferred, just let me know. AFAIK what is in tty-next is left there, so, looks like latter is the option. AFAIK what is in tty-next is left there, so, looks like latter is the option.



Re: [PATCH 4/4] watchdog: provide watchdog_reconfigure() for arch ...
Don Zickus writes: (Summary) On Fri, May 26, 2017 at 10:39:09AM +1000, Nicholas Piggin wrote: definitely use several more passes to clean things up. :-)
minimal, and some may not even want to call C code (at least from the NMI Agreed.
Agreed.
on CPUs, adjust timeouts, etc.).
Hehe. I was hoping to avoid doing that, but it may lead there over time. keep working on the apis.
Agreed.
Let me know what you think after you poke at it though. I will.
I will.
Cheers,
Don
Don
Don



Re: [PATCH v2 2/2] xen: add sysfs node for guest type
Boris Ostrovsky writes: On 05/26/2017 08:56 AM, Juergen Gross wrote:
Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky Reviewed-by: Boris Ostrovsky (I would have preferred to have /sys/hypervisor/xen/ but given that some of the other files have been around for ages, and are now declared stable, it's too late).
stable, it's too late).
stable, it's too late).



Re: [PATCH 2/2] crypto: mediatek - update DT binding documentation
Matthias Brugger writes: On 26/05/17 11:43, Ryder Lee wrote:
---
In the driver clocks are get by name, so this change does not break backwards compatibility.
backwards compatibility.
Reviewed-by: Matthias Brugger Reviewed-by: Matthias Brugger };
};



Re: [PATCH v2] arm: dma-mapping: Reset the device's dma_ops
Laurent Pinchart writes: (Summary) Hi Sricharan,
Hi Sricharan,
Thank you for the patch.
Thank you for the patch.
On Friday 26 May 2017 16:13:37 Sricharan R wrote:
platform/amba/pci bus devices")
Reviewed-by: Laurent Pinchart Could you please push this upstream along with "[PATCH] ARM: dma-mapping: Don't tear third-party mappings" ?
Don't tear third-party mappings" ?
(And feel free to s/tear/tear down/ in the subject of that patch, I've only noticed now that I forgot one word)
noticed now that I forgot one word)
dev_name(dev));
}



Re: [PATCH 2/4] watchdog: introduce arch_touch_nmi_watchdog()
Don Zickus writes: (Summary) On Fri, May 26, 2017 at 10:31:03AM +1000, Nicholas Piggin wrote: that want a hardlockup watchdog and can use perf for it. Yeah, if you wouldn't mind trying that. Over the last year it seems there is a push to make the hld more of a separate thing if folks want to use perf. I have been trying to tweak it so it can be used in-place of the arch solution or just use the arch solution. And still retain the same function calls.
calls.
Cheers,
Don
Don
Nick
Nick



Re: [PATCH V2] x86/ftrace: Make sure that ftrace trampolines are n ...
Steven Rostedt writes: On Fri, 26 May 2017 15:50:38 +0200 (CEST)
Thomas Gleixner wrote:
Thomas Gleixner wrote:
Thomas Gleixner wrote:
BUG_ON(irqs_disabled() && !early_boot_irqs_disabled); I was thinking the same thing. I'll add a patch and retest. I was thinking the same thing. I'll add a patch and retest. Thanks!
Thanks!
-- Steve
-- Steve
-- Steve



Re: [PATCH v5 6/6] kernel.h: handle pointers to arrays better in c ...
Ian Abbott writes: On 25/05/17 19:35, Kees Cook wrote:
question: does this pass an allyesconfig?
Yes for ARCH=i386 at least.
Yes for ARCH=i386 at least.
Acked-by: Kees Cook
Thanks!
Thanks!



Re: [PATCH V2] x86/ftrace: Make sure that ftrace trampolines are n ...
Thomas Gleixner writes: (Summary) On Fri, 26 May 2017, Steven Rostedt wrote:
On Fri, 26 May 2017, Steven Rostedt wrote:
BUG_ON(irqs_disabled());
That's very early boot, right? So interrupts have to be disabled. That's very early boot, right? So interrupts have to be disabled. So this wants to be:
So this wants to be:
BUG_ON(irqs_disabled() && !early_boot_irqs_disabled); BUG_ON(irqs_disabled() && Thanks,
Thanks,
tglx
tglx
tglx



[PATCH] fork: fix kmemleak false positive due to thread stacks caching
Luis Henriques writes: (Summary) kmemleak has been reporting memory leaks since commit ac496bf48d97 ("fork: Optimize task creation by caching two thread stacks per CPU if CONFIG_VMAP_STACK=y"):
CONFIG_VMAP_STACK=y"):
unreferenced object 0xffffc900002b0000 (size 16384): comm "init", pid 147, jiffies 4294893306 (age 11.292s) hex dump (first 32 bytes): 9d 6e ac 57 00 00 00 00 00 00 00 00 00 00 00 00 .n.W............



Re: [PATCH] drm/rockchip: Don't allow zero sized gem buffer
Sean Paul writes: On Fri, May 26, 2017 at 10:30:09AM +0800, jeffy wrote: drm_mode_create_dumb_ioctl already did the size check. Ah, ok. In that case, fix the custom ioctl such that it ensures we never call this function with size == 0, and upload it downstream with a CHROMIUM prefix. this function with size == 0, and upload it downstream with a CHROMIUM prefix. Sean
Sean
Sean
2.1.4



RE: [PATCH v3 2/2] dt-bindings: net: Add Cortina device tree bindings
Bogdan Purcareata writes: cs4340_phy@10.
Will do, thanks!
Bogdan
Bogdan
Bogdan



Re: [PATCH V2] x86/ftrace: Make sure that ftrace trampolines are n ...
Steven Rostedt writes: (Summary) secondary_startup_64+0x9f/0x9f Code: 89 df e8 79 f4 ff ff 48 85 c0 74 12 f6 00 01 74 0d be 00 10 00 00 48 89 df e8 84 e8 ff ff 49 ff c4 eb a4 9c 58 0f ba e0 09 72 02 <0f> 0b 49 8d 84 24 ff 0f 00 00 48 25 00 f0 ff ff 49 39 c4 74 02 RIP: change_page_attr_set_clr+0x269/0x302 RSP: ffffffffb4203c88 ---[ end trace 418d67f4f812a298 ]--- Kernel panic - not syncing: Attempted to kill the idle task!



Re: [PATCH v3 2/2] dt-bindings: net: Add Cortina device tree bindings
Andrew Lunn writes: + reg = <0x10>;
The @1 and the reg value should be the same. Please change it to cs4340_phy@10.
cs4340_phy@10.
Andrew
Andrew
Andrew



Re: [PATCHv1, RFC 0/8] Boot-time switching between 4- and 5-level ...
Andi Kleen writes: logic during early boot doesn't look as huge win to me. Also giving kthreads a different VM would prevent lazy VM switching when switching from/to idle, which can be quite important for performance when doing fast IO.
when doing fast IO.
-Andi
-Andi
-Andi



Re: [Xen-devel] [PATCH v2 1/2] doc, xen: document hypervisor sysfs ...
Andrew Cooper writes: On 26/05/17 13:56, Juergen Gross wrote:
+ Virtual address of the hypervisor as a hex value. All properties above here, as well as "extra" below, may be deliberately elided by Xen. Is it perhaps worth having a general note to this effect at the top of the file?
at the top of the file?
~Andrew
~Andrew
~Andrew



Re: [PATCH v3 2/8] x86/mm: Change the leave_mm() condition for loc ...
Rik van Riel writes: On Thu, 2017-05-25 at 19:01 -0700, Andy Lutomirski wrote: smp_processor_id() warns if it's called in a preemptible context. Indeed, you are right. Looking at too much code at once... Indeed, you are right. Looking at too much code at once... Indeed, you are right. Looking at too much code at once...



Re: [PATCH v3 1/1] partitions/msdos: FreeBSD UFS2 file systems are ...
Jens Axboe writes: On 05/26/2017 04:48 AM, Richard Narron wrote:
the code for OpenBSD and NetBSD intact:
I queued this up 3 days ago, and replied as such. There's no need to keep sending it.
to keep sending it.



Re: [RESEND: PATCH v4 4/4] remoteproc: qcom: Add support for mss b ...
"Dwivedi, Avaneesh Kumar (avani)" writes: On 5/26/2017 11:39 AM, Bjorn Andersson wrote:
OK.
OK.
OK.
Bjorn



Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown
Thomas Gleixner writes: On Fri, 26 May 2017, Jeffy Chen wrote:
On Fri, 26 May 2017, Jeffy Chen wrote:
shutdown/disable/mask when freeing it.
Errr? What exactly is unbalanced? None of the called functions has any counter or whatever.
counter or whatever.
Can you please explain what you are trying to fix?
Can you please explain what you are trying to fix?
Thanks,
Thanks,
tglx
tglx
tglx



Re: [PATCH 1/5][v2] staging: fsl-mc: fix several checkpath.pl warnings
Laurentiu Tudor writes: Hi Greg,
Hi Greg,
On 05/25/2017 07:58 PM, Greg KH wrote:
you have been in the staging tree long enough to know this :( Sorry about that. Will take care of all your comments in the next respin. Sorry about that. Will take care of all your comments in the next respin. --- Thanks & Best Regards, Laurentiu=



Re: [RESEND: PATCH v4 3/4] remoteproc: qcom: Make secure world cal ...
"Dwivedi, Avaneesh Kumar (avani)" writes: (Summary) On 5/26/2017 7:46 AM, Bjorn Andersson wrote:
OK.
OK.
OK.
OK
OK
OK
OK
Then shall we BUG_ON here itself?
OK, will move one of reclaim path in mpss_load it self. Yes that any way will do.
Actually MBA image is transferred into internal memory of q6 and does not run from DDR
that is why it is OK to release it here. let me know if you dont want to do that.
Yes that is true.
Yes this is very good suggestion thanks.
There does not seem any restriction w.r.t.



[PATCH 2/2] leds: trigger: gpio: Use threaded IRQ
Jan Kiszka writes: (Summary) /* true when gpio is inverted */ @@ -32,22 +30,8 @@ static irqreturn_t gpio_trig_irq(int irq, void *_led) { struct led_classdev *led = _led; - - /* just schedule_work since gpio_get_value can sleep */ - schedule_work(&gpio_data->work); - -static void gpio_trig_work(struct work_struct *work) -{ - struct gpio_trig_data *gpio_data = container_of(work, - struct gpio_trig_data, work); } - ret = request_irq(gpio_to_irq(gpio), gpio_trig_irq, - IRQF_SHARED |



[PATCH 1/2] leds: trigger: gpio: Refresh LED state after GPIO change
Jan Kiszka writes: (Summary) The new GPIO may have a different state than the old one. 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/leds/trigger/ledtrig-gpio.c b/drivers/leds/trigger/ledtrig-gpio.c index 51288a45fbcb..93d6b82e6437 100644 --- a/drivers/leds/trigger/ledtrig-gpio.c +++ b/drivers/leds/trigger/ledtrig-gpio.c @@ -170,6 +170,8 @@ static ssize_t gpio_trig_gpio_store(struct device *dev, if (gpio_data->gpio != 0) free_irq(gpio_to_irq(gpio_data->gpio), led); + /* After changing the GPIO, we need to update the LED. } return ret ? ret : n;



[PATCH 0/2] leds: trigger: gpio: Add update point / use threaded IRQ
Jan Kiszka writes: See patches for details.
See patches for details.
Jan Kiszka (2):
leds: trigger: gpio: Refresh LED state after GPIO change leds: trigger: gpio: Use threaded IRQ
leds: trigger: gpio: Use threaded IRQ
drivers/leds/trigger/ledtrig-gpio.c | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) -- 2.12.0



[PATCH] genirq: Check irq disabled & masked states in irq_shutdown
Jeffy Chen writes: (Summary) If irq is already disabled and masked, we would hit a unbalanced irq shutdown/disable/mask when freeing it.
shutdown/disable/mask when freeing it.
Add a state check in irq_shutdown to prevent this.
Add a state check in irq_shutdown to prevent this.
Signed-off-by: Jeffy Chen 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 686be4b..816da03 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -206,14 +206,20 @@ int irq_startup(struct irq_desc *desc, bool resend) void irq_shutdown(struct irq_desc *desc) { - irq_state_set_disabled(desc);



Re: Change PAGE_SIZE from minimum 4k to 12k
Kevin McKinney writes: (Summary) On Thu, May 25, 2017 at 5:55 PM, Pavel Machek if we could get the kernel block layer to emit 6K or 12K aligned blocks sizes, then we could more easily stripe the data across the 12 drives in each bank. Essentially, we would move more data per I/O. Thanks for responding, and I apologize for wasting your time.
I apologize for wasting your time.
-Kevin
-Kevin
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



[GIT PULL] MMC fixes for v.4.12 rc3 - take 2/2
Ulf Hansson writes: (Summary) ---------------------------------------------------------------- Daniel Lezcano (2): mfd: dts: hi655x: Add clock binding for the pmic arm64: dts: hikey: Add clock for the pmic mfd Ulf Hansson (6): mmc: dt: pwrseq-simple: Invent power-off-delay-us mmc: pwrseq_simple: Parse DTS for the power-off-delay-us property arm64: dts: hi6220: Move the fixed_5v_hub regulator to the hikey dts arm64: dts: hikey: Add the SYS_5V and the VDD_3V3 regulators arm64: dts: hi6220: Move board data from the dwmmc nodes to hikey dts arm64: dts: hikey: Fix WiFi support .../devicetree/bindings/mfd/hisilicon,hi655x.txt |



Re: status of the Altix mmtimer driver
Dimitri Sivanich writes: (Summary) Note that the mmtimer struct can probably be removed from the k_itimer struct in include/linux/posix-timers.h, just for completeness. --- a/include/linux/posix-timers.h +++ b/include/linux/posix-timers.h @@ -73,12 +73,6 @@ struct k_itimer { } real; struct { - unsigned int clock; - } mmtimer; - struct { struct alarm alarmtimer; } alarm; On Tue, May 23, 2017 at 07:36:01PM -0500, Dimitri Sivanich wrote:




Re: [PATCH 1/8] serial: exar: Preconfigure xr17v35x MPIOs as output
Jan Kiszka writes: Greg,
Greg,
On 2017-05-13 09:28, Jan Kiszka wrote:
}
Please drop from this tty-next, it may break Commtech adapters. I have an update ready.
an update ready.
I may also send a fix on top if that is preferred, just let me know. I may also send a fix on top if that is preferred, just let me know. Thanks,
Jan
Jan



Re: [RESEND: PATCH v4 2/4] remoteproc: qcom: refactor mss fw image ...
"Dwivedi, Avaneesh Kumar (avani)" writes: On 5/26/2017 12:43 AM, Bjorn Andersson wrote:
Thanks. Sure will correct.
OK. Will reconsider.
OK.
OK
OK
Bjorn



[tip:x86/apic] x86/ioapic: Remove unused IO_APIC_irq_trigger() fun ...
tip-bot for Matthias Kaehlcke writes: (Summary) CommitDate: Fri, 26 May 2017 14:37:41 +0200
CommitDate: Fri, 26 May 2017 14:37:41 +0200
x86/ioapic: Remove unused IO_APIC_irq_trigger() function x86/ioapic: Remove unused IO_APIC_irq_trigger() function The function isn't used since commit:
The function isn't used since commit:
5ad274d41c1b ("x86/irq: Remove unused old IOAPIC irqdomain interfaces") 5ad274d41c1b ("x86/irq: Remove unused old IOAPIC irqdomain interfaces") Removing it fixes the following warning when building with clang: Removing it fixes the following warning when building with clang: arch/x86/kernel/apic/io_apic.c:1219:19: error: unused function 'IO_APIC_irq_trigger' [-Werror,-Wunused-function]
'IO_APIC_irq_trigger' [-Werror,-Wunused-function]
Signed-off-by: Matthias Kaehlcke - } - /* - * nonexistent IRQs are edge default - */ - return 0;



Re: [PATCHv1, RFC 0/8] Boot-time switching between 4- and 5-level ...
"Kirill A. Shutemov" writes: (Summary) On Thu, May 25, 2017 at 04:24:24PM -0700, Linus Torvalds wrote: paging at run-time?
Hm..
Hm..
I don't see how kernel threads can use 4-level paging. Kernel claims half of full virtual address space for itself -- 256 PGD entries, not one as we would effectively have in case of switching to 4-level paging. For instance, addresses, where vmalloc and vmemmap are mapped, are not canonical with 4-level paging. Currently, layout for 5-level paging allows up-to 55-bit physical memory. It means we loose benefit from global page table entries on such switching.



Re: [RESEND: PATCH v4 1/4] firmware: scm: Add new SCM call for swi ...
"Dwivedi, Avaneesh Kumar (avani)" writes: (Summary) On 5/26/2017 11:33 AM, Bjorn Andersson wrote:
OK.
Ok
OK
basically i made sizes of array as static for allocation of memory, i will now allocate memory based on count of current and next owner set's. and will remove static size as above.
In fact there is no need for this struct "qcom_scm_hyp_map_info" Thanks for this comment.
OK.
OK.
OK, will try to incorporate and if see any issue with it, will revert back. OK
OK.
ok.
OK. OK.
OK
OK.
You mean change name as QCOM_SCM_PERM_RWX instead of QCOM_SCM_PERM_RW ?



[PATCH v2] ktime: Simplify ktime_compare implementation
Mariusz Skamra writes: (Summary) 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/linux/ktime.h b/include/linux/ktime.h index 0c8bd45..04817b1 100644 --- a/include/linux/ktime.h +++ b/include/linux/ktime.h @@ -108,11 +108,7 @@ static inline ktime_t timeval_to_ktime(struct timeval tv) */ static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) { - if (cmp1 < cmp2) - return -1; cmp2) - return 1; VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 |



[tip:irq/core] genirq: Make early_irq_init() print out more inform ...
tip-bot for Vincent Legoll writes: (Summary) CommitDate: Fri, 26 May 2017 14:54:05 +0200
CommitDate: Fri, 26 May 2017 14:54:05 +0200
genirq: Make early_irq_init() print out more informative genirq: Make early_irq_init() print out more informative The printk in early_irq_init() is cryptic and badly formatted: The printk in early_irq_init() is cryptic and badly formatted: NR_IRQS:33024 nr_irqs:968 16
NR_IRQS:33024 nr_irqs:968 16
The last number is the number of preallocated interrupts, so add a prefix to it:
to it:
NR_IRQS: 33024, nr_irqs: 968, preallocated irqs: 16 NR_IRQS: 33024, nr_irqs: 968, preallocated irqs: 16 Cleanup the formatting for better readability as well.



[PATCH v2 0/2] xen: add xen sysfs node
Juergen Gross writes: (Summary) In order to be able to determine the Xen guest type from within the guest as a user there is currently no stable interface available. Add a sysfs node for that purpose as the guest type information is available for the kernel.
available for the kernel.
While doing this document all the other Xen related sysfs nodes. Juergen Gross (2):
doc,xen: document hypervisor sysfs nodes for xen
xen: add sysfs node for guest type
xen: add sysfs node for guest type
Documentation/ABI/stable/sysfs-hypervisor-xen | 2 + arch/arm/xen/enlighten.c |



[PATCH v2 2/2] xen: add sysfs node for guest type
Juergen Gross writes: (Summary) sysfs-hypervisor-xen} (67%) diff --git a/Documentation/ABI/testing/sysfs-hypervisor-pmu b/Documentation/ABI/testing/sysfs-hypervisor-xen similarity index 67% rename from Documentation/ABI/testing/sysfs-hypervisor-pmu rename to Documentation/ABI/testing/sysfs-hypervisor-xen index 224faa105e18..c0edb3fdd6eb 100644 --- a/Documentation/ABI/testing/sysfs-hypervisor-pmu +++ b/Documentation/ABI/testing/sysfs-hypervisor-xen @@ -1,8 +1,19 @@ +What: /sys/hypervisor/guest_type +Date: May 2017 +KernelVersion: 4.13 +Contact: xen-devel@lists.xenproject.org +Description: If running under Xen: + Type of guest: + "Xen": standard guest type on arm + "HVM": fully virtualized guest (x86) + "PV": paravirtualized guest (x86) + "PVH": fully virtualized guest without legacy emulation (x86) + What: /sys/hypervisor/pmu/pmu_mode Date: August 2015 KernelVersion: 4.3 Contact: Boris Ostrovsky



[PATCH v2 1/2] doc,xen: document hypervisor sysfs nodes for xen
Juergen Gross writes: (Summary) 2 + 2 files changed, 109 insertions(+) create mode 100644 Documentation/ABI/stable/sysfs-hypervisor-xen diff --git a/Documentation/ABI/stable/sysfs-hypervisor-xen b/Documentation/ABI/stable/sysfs-hypervisor-xen new file mode 100644 index 000000000000..97e4171508c4 --- /dev/null +++ b/Documentation/ABI/stable/sysfs-hypervisor-xen @@ -0,0 +1,107 @@ +What: /sys/hypervisor/compilation/compile_date +Date: March 2009 +KernelVersion: 2.6.30 +Contact: xen-devel@lists.xenproject.org +Description: If running under Xen: + Contains the build time stamp of the Xen hypervisor + +What: /sys/hypervisor/compilation/compiled_by +Date: March 2009 +KernelVersion: 2.6.30 +Contact: xen-devel@lists.xenproject.org +Description: If running under Xen: + Contains information who built the Xen hypervisor + +What: /sys/hypervisor/compilation/compiler +Date: March 2009 +KernelVersion: 2.6.30 +Contact: xen-devel@lists.xenproject.org +Description: If running under Xen: + Compiler which was used to build the Xen hypervisor + +



[PATCH V3 2/2] powerpc/hotplug/mm: Fix hot-add memory node assoc
Michael Bringmann writes: (Summary) Removing or adding memory via the PowerPC hotplug interface currently dumps newly added processors or memory into default node 0, instead of into the node that would be calculated based upon the VPHN affinity tables. 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 15c2dd5..18f3038 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -907,13 +907,6 @@ void __init initmem_init(void) memblock_dump_all(); - /* - * Reduce the possible NUMA nodes to the online NUMA nodes, - * since we do not support node hotplug.



[PATCH V3 1/2] powerpc/numa: Update CPU topology when VPHN enabled
Michael Bringmann writes: (Summary) 2 ++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 371792e..15c2dd5 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -29,6 +29,7 @@ #include !vphn_enabled) { + if (!topology_inited) + topology_update_needed = 1; ud = ud->next) { @@ -1423,6 +1434,7 @@ int arch_update_cpu_topology(void) out: kfree(updates); diff --git a/arch/powerpc/platforms/pseries/dlpar.c b/arch/powerpc/platforms/pseries/dlpar.c index bda18d8..5106263 100644 --- a/arch/powerpc/platforms/pseries/dlpar.c +++ b/arch/powerpc/platforms/pseries/dlpar.c @@ -592,6 +592,8 @@ static ssize_t dlpar_show(struct class *class, struct class_attribute *attr, static int __init pseries_dlpar_init(void) { + arch_update_cpu_topology();



Re: [RFC] tick/nohz: schedule TIMER_SOFTIRQ immediately for expire ...
Frederic Weisbecker writes: (Summary) - - /* - * If, OTOH, we did stop it, but there's a pending (expired) - * timer reprogram the timer hardware to fire now. - * - * We will not restart the tick proper, just prod the timer - * hardware into firing an interrupt to process the pending - * timers. - * - * Only once we exit the idle loop will we re-enable the tick, - * see tick_nohz_idle_exit(). - */ - if (delta == 0) { - tick_nohz_restart(ts, now);



Re: [PATCH v2] PCI: Add ATS-disable quirk for AMD Stoney GPUs
David Woodhouse writes: (Summary) On Fri, 2017-05-26 at 11:57 +0000, Deucher, Alexander wrote: > Instead of just performing a DMA transaction to a given bus address, and letting the IOMMU do the translation, the hardware might choose to first perform an IOTLB lookup, and then later do the actual DMA transaction to the pre-translated, raw physical address. Which kind of makes a mockery of any kind of protection the IOMMU is supposed to give you, but does shave a cycle or two of latency off the DMA when it finally happens, since the translation can be done in advance.



[PATCH] livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS
Miroslav Benes writes: (Summary) This effectively complicates things for out-of-tree modules.
complicates things for out-of-tree modules.
Livepatch exports functions to (un)register and enable/disable a live patch. 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/livepatch/Kconfig b/kernel/livepatch/Kconfig index 045022557936..ec4565122e65 100644 --- a/kernel/livepatch/Kconfig +++ b/kernel/livepatch/Kconfig @@ -10,6 +10,7 @@ config LIVEPATCH depends on SYSFS depends on KALLSYMS_ALL depends on HAVE_LIVEPATCH + depends on !TRIM_UNUSED_KSYMS help Say Y here if you want to support kernel live patching.



Re: [PATCH 3/5] Add the ability to lock down access to the running ...
David Howells writes: (Summary) wrote: a bit for each of those?
Actually, there are more than five in that list - there are three in the first item - and I'm not sure the remaining categories are quite as well defined as I made it seem.
I made it seem.
Also, that sort of categorisation might not be what we actually need: it might end up coming down to a no-write vs no-read-or-write split instead. It doesn't introduce so many calls that they're impossible to change.
many calls that they're impossible to change.
David
David
David



[tip:timers/core] posix-timers: Make posix_clocks immutable
tip-bot for Christoph Hellwig writes: (Summary) 64 ++++++++++++++++++++++++------------------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c index 7b5b7bf..4f4cc35 100644 --- a/kernel/time/alarmtimer.c +++ b/kernel/time/alarmtimer.c @@ -307,38 +307,6 @@ static int alarmtimer_resume(struct device *dev) } #endif -static void alarmtimer_freezerset(ktime_t absexp, enum alarmtimer_type type) -{ - struct alarm_base *base; - - switch(type) { - case ALARM_REALTIME: - base = &alarm_bases[ALARM_REALTIME]; - } - - delta = ktime_sub(absexp, base->gettime());



[tip:timers/core] posix-timers: Make posix_clocks immutable
tip-bot for Christoph Hellwig writes: (Summary) + /* * Initialize everything, well, just everything in Posix clocks/timers ;) */ static __init int init_posix_timers(void) { - struct k_clock clock_realtime = { - .clock_getres = posix_get_hrtimer_res, - .clock_get = posix_clock_realtime_get, - .clock_set = posix_clock_realtime_set, - .clock_adj = posix_clock_realtime_adj, - .nsleep = common_nsleep, - .nsleep_restart = hrtimer_nanosleep_restart, - .timer_create = common_timer_create, - .timer_set = common_timer_set, - .timer_get = common_timer_get, - .timer_del = common_timer_del, - };



Re: [PATCH v8 3/4] PCI: dwc: kirin: add PCIe Driver for HiSilicon ...
"Jingoo Han" writes: On Thursday, May 25, 2017 9:54 PM, Xiaowei Song wrote: Signed-off-by: Xiaowei Song It looks good.
It looks good.
Reviewed-by: Jingoo Han Reviewed-by: Jingoo Han Best regards,
Jingoo Han
Jingoo Han
syscon_regmap_lookup_by_compatible("hisilicon,hi3660-sctrl"); enable)
2.11.GIT
2.11.GIT
2.11.GIT



Re: [PATCH] s390: provide default ioremap and iounmap declaration
Heiko Carstens writes: (Summary) On Thu, May 25, 2017 at 09:43:48AM -0600, Logan Gunthorpe wrote: #endif /* CONFIG_PCI */
I'd rather move the #ifdef CONFIG_PCI than implementing this yet another time (see patch below). #define IO_SPACE_LIMIT 0 -#ifdef CONFIG_PCI - #define ioremap_nocache(addr, size) ioremap(addr, size) #define ioremap_wc ioremap_nocache #define ioremap_wt ioremap_nocache @@ -49,6 +47,8 @@ static inline void ioport_unmap(void __iomem *p) { } +#ifdef CONFIG_PCI + /* * s390 needs a private implementation of pci_iomap since ioremap with its * offset parameter isn't sufficient.



Re: [Patch 2/2]: powerpc/hotplug/mm: Fix hot-add memory node assoc
Michael Bringmann writes: I am running into this problem on PowerPC systems where Balbir's patch set was targeted. So, yes, I do need to be able to add/enable a new numa node during system execution in cases where more resources (memory, virtual processors) are added to the system dynamically.
processors) are added to the system dynamically.
On 05/25/2017 10:46 PM, Michael Ellerman wrote:
cheers



[PATCH 2/2] perf tests: Rename cycles event to HW event
Jiri Olsa writes: (Summary) } - /* Check cycles event got enabled */ - if (!switch_tracking.cycles_before_comm_1) { - pr_debug("Missing cycles events\n"); } - /* Check cycles event got disabled */ - if (switch_tracking.cycles_between_comm_2_and_comm_3) { - pr_debug("cycles events even though event was disabled\n"); } - /* Check cycles event got enabled again */ - if (!switch_tracking.cycles_after_comm_4) { - pr_debug("Missing cycles events\n");



[PATCH 1/2] perf tests: Fix switch tracking test for P4
Jiri Olsa writes: (Summary) The switch tracking test keeps failing on P4 cpu,
when NMI watchdog is enabled.
when NMI watchdog is enabled.
The reason is that P4 pmu uses substitute event for cycles when it's already taken (in our case by NMI watchdog), but this event does not give even results like cycles, and we could end up with no samples at all for our short
measuring period.
measuring period.
Fixing this by using "instructions:u" event instead, which seems to be stable enough.
which seems to be stable enough.
Cc: Michael Petlan
Link: http://lkml.kernel.org/n/tip-4s8vo7skneszacdckv7uiog3@git.kernel.org Signed-off-by: Jiri Olsa
--- tools/perf/tests/switch-tracking.c | + + /* + * P4 pmu uses substitute event for cycles if it's already + * taken, but it does not give even results like cycles, + * and we could end up with no samples at all for our



Re: [PATCH V2 2/2]: powerpc/hotplug/mm: Fix hot-add memory node assoc
Michael Bringmann writes: and rework.
Is there some other way to add a node to a dynamic, running system without crashing? I have not encountered one as yet.
crashing? I have not encountered one as yet.
Balbir Singh.



Re: [-next] memory hotplug regression
Heiko Carstens writes: (Summary) There are a two odd things:
1) With the new code I can generate overlapping zones for ZONE_DMA and ZONE_NORMAL:
ZONE_NORMAL:
--- new code: DMA [mem 0x0000000000000000-0x000000007fffffff] Normal [mem 0x0000000080000000-0x000000017fffffff] # cat /sys/devices/system/memory/block_size_bytes 10000000 # cat /sys/devices/system/memory/memory5/valid_zones DMA # echo 0 > /sys/devices/system/memory/memory5/online # cat /sys/devices/system/memory/memory5/valid_zones Normal # echo 1 > Even if it is brought offline afterwards: # cat /sys/devices/system/memory/memory16/valid_zones Normal Movable # echo online_movable >



Re: [PATCH 7/7] DWARF: add the config option
Josh Poimboeuf writes: (Summary) Here are the ones I see with my config:
are the ones I see with my config:
arch/x86/crypto/des3_ede-asm_64.o: warning: objtool: des3_ede_x86_64_crypt_blk uses BP as a scratch register arch/x86/crypto/des3_ede-asm_64.o: warning: objtool: des3_ede_x86_64_crypt_blk_3way uses BP as a scratch register arch/x86/crypto/blowfish-x86_64-asm_64.o: warning: objtool: __blowfish_enc_blk_4way uses BP as a scratch register arch/x86/crypto/blowfish-x86_64-asm_64.o: warning: objtool: blowfish_dec_blk_4way uses BP as a scratch register arch/x86/crypto/twofish-x86_64-asm_64-3way.o: warning: objtool: __twofish_enc_blk_3way uses BP as a scratch register arch/x86/crypto/twofish-x86_64-asm_64-3way.o: warning: objtool: twofish_dec_blk_3way uses BP as a scratch register arch/x86/crypto/sha256-avx2-asm.o: warning: objtool: sha256_transform_rorx uses BP as a scratch register arch/x86/crypto/cast5-avx-x86_64-asm_64.o: warning: objtool: __cast5_enc_blk16 uses BP as a scratch register arch/x86/crypto/cast5-av



Applied "spi: sh-msiof: Add slave mode support" to the spi tree
Mark Brown writes: (Summary) +} + +static int sh_msiof_wait_for_completion(struct sh_msiof_spi_priv *p) +{ + if (spi_controller_is_slave(p->master)) { + if (wait_for_completion_interruptible(&p->done) || + } + } else { + if (!wait_for_completion_timeout(&p->done, HZ)) { + dev_err(&p->pdev->dev, "timeout\n"); + } + } + + return 0; diff --git a/include/linux/spi/sh_msiof.h b/include/linux/spi/sh_msiof.h index b087a85f5f72..f74b581f242f 100644 --- a/include/linux/spi/sh_msiof.h +++ b/include/linux/spi/sh_msiof.h @@ -1,10 +1,16 @@ #ifndef __SPI_SH_MSIOF_H__ #define __SPI_SH_MSIOF_H__ +enum { + MSIOF_SPI_MASTER, + MSIOF_SPI_SLAVE, +};



Applied "spi: Document SPI slave controller support" to the spi tree
Mark Brown writes: (Summary) The patch
The patch
spi: Document SPI slave controller support
spi: Document SPI slave controller support
has been applied to the spi tree at
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.



Re: pxa3xx-nand failing to find device on linux-next
Boris Brezillon writes: (Summary) On 25/05/17 18:19, Boris Brezillon wrote: > Le Wed, 24 May 2017 22:58:53 +0000, > On 25/05/17 10:36, Boris Brezillon wrote: > pxa3xx-nand f10d0000.flash: non-supported command ef > pxa3xx-nand f10d0000.flash: non-supported command ee > pxa3xx-nand f10d0000.flash: non-supported command ef > pxa3xx-nand f10d0000.flash: non-supported command ee > pxa3xx-nand f10d0000.flash: failed to scan nand at cs 0 > Subject: [PATCH] mtd: nand: pxa3xx: Implement failing >



Applied "spi: slave: Add SPI slave handler reporting uptime at pre ...
Mark Brown writes: (Summary) + endif # SPI_SLAVE endif # SPI diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index e50852c6fcb8..fb078693dbe4 100644 --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile @@ -107,3 +107,4 @@ obj-$(CONFIG_SPI_XTENSA_XTFPGA) += spi-xtensa-xtfpga.o obj-$(CONFIG_SPI_ZYNQMP_GQSPI) += spi-zynqmp-gqspi.o # SPI slave protocol handlers +obj-$(CONFIG_SPI_SLAVE_TIME) += spi-slave-time.o diff --git a/drivers/spi/spi-slave-time.c b/drivers/spi/spi-slave-time.c new file mode 100644 index 000000000000..f2e07a392d68 --- /dev/null +++ b/drivers/spi/spi-slave-time.c @@ -0,0 +1,129 @@ +/* + * SPI slave handler reporting uptime at reception of previous SPI message + * + * This SPI slave handler sends the time of reception of the last SPI message + * as two 32-bit unsigned integers in binary format and in network byte order, + * representing the number of seconds and fractional seconds (in microseconds) + * since boot up. + * + * Usage (assuming /dev/spidev2.0 corresponds to the SPI master on the remote +



Applied "spi: slave: Add SPI slave handler controlling system stat ...
Mark Brown writes: (Summary) + * + * Usage (assuming /dev/spidev2.0 corresponds to the SPI master on the remote + * system): + * + * # reboot='\x7c\x50' + * # poweroff='\x71\x3f' + * # halt='\x38\x76' + * # suspend='\x1b\x1b' + * # spidev_test -D /dev/spidev2.0 -p $suspend # or $reboot, $poweroff, $halt + */ + +#include



Re: [PATCH 4/6] regulator: hi6421v530: add driver for hi6421v530 v ...
Javier Martinez Canillas writes: (Summary) [snip]
[snip]
+ tristate "HiSilicon Hi6421v530 PMIC voltage regulator support" The Kconfig symbol is tristate so the driver can be built as a module... but the driver doesn't have a platform device ID table nor export it as a module alias using MODULE_DEVICE_TABLE().
it as a module alias using MODULE_DEVICE_TABLE().
That means that if built as a module, it won't be autoloaded when the "hi6421v530-regulator" device is registered by the MFD driver.



Applied "spi: Document DT bindings for SPI controllers in slave mo ...
Mark Brown writes: (Summary) The patch
The patch
spi: Document DT bindings for SPI controllers in slave mode spi: Document DT bindings for SPI controllers in slave mode has been applied to the spi tree at
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.



Applied "spi: core: Add support for registering SPI slave controll ...
Mark Brown writes: (Summary) Date: Mon, 22 May 2017 15:11:41 +0200
Subject: [PATCH] spi: core: Add support for registering SPI slave controllers Subject: [PATCH] spi: core: Add support for registering SPI slave controllers Add support for registering SPI slave controllers using the existing SPI master framework:
- SPI slave controllers must use spi_alloc_slave() instead of spi_alloc_master(), and should provide an additional callback "slave_abort" to abort an ongoing SPI transfer request, - SPI slave controllers are added to a new "spi_slave" device class, - SPI slave handlers can be bound to the SPI slave device represented by an SPI slave controller using a DT child node named "slave", - Alternatively, (un)binding an SPI slave handler to the SPI slave device represented by an SPI slave controller can be done by (un)registering the slave device through a sysfs virtual file named "slave".
"slave".
From the point of view of an SPI slave protocol handler, an SPI slave controller look



Re: [PATCH v5 2/2] mfd: axp20x-i2c: Document that this must be bui ...
Chen-Yu Tsai writes: (Summary) On Fri, May 26, 2017 at 7:15 PM, Hans de Goede Extra "r" after OpRegion.
Extra "r" after OpRegion.
Signed-off-by: Hans de Goede As Hans mentioned, he is the only one improving the AXP288 part of the axp20x bunch of drivers, after the original authors dropped support for them.
dropped support for them.
FWIW,
FWIW,
Acked-by: Chen-Yu Tsai
Acked-by: Chen-Yu Tsai
Acked-by: Chen-Yu Tsai



[tip:x86/urgent] x86/timers: Move simple_udelay_calibration past ...
tip-bot for Jan Kiszka writes: (Summary) CommitDate: Fri, 26 May 2017 13:04:09 +0200
CommitDate: Fri, 26 May 2017 13:04:09 +0200
x86/timers: Move simple_udelay_calibration past init_hypervisor_platform x86/timers: Move simple_udelay_calibration past init_hypervisor_platform This ensures that adjustments to x86_platform done by the hypervisor setup is already respected by this simple calibration. 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 0b4d3c6..f818236 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -980,8 +980,6 @@ void __init setup_arch(char **cmdline_p) */ x86_configure_nx();



RE: [PATCH v2] PCI: Add ATS-disable quirk for AMD Stoney GPUs
"Deucher, Alexander" writes: (Summary) PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKb2VyZyBSb2VkZWwgW21haWx0 bzpqcm9lZGVsQHN1c2UuZGVdDQo+IFNlbnQ6IFdlZG5lc2RheSwgTWF5IDI0LCAyMDE3IDQ6NDUg QU0NCj4gVG86IERldWNoZXIsIEFsZXhhbmRlcg0KPiBDYzogJ0RhdmlkIFdvb2Rob3VzZSc7ICdK b2VyZyBSb2VkZWwnOyBCam9ybiBIZWxnYWFzOyBsaW51eC0NCj4gcGNpQHZnZXIua2VybmVsLm9y ZzsgbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZzsgRGFuaWVsIERyYWtlOyBTYW11ZWwNCj4g U2llYg0KPiBTdWJqZWN0OiBSZTogW1BBVENIIHYyXSBQQ0k6IEFkZCBBVFMtZGlzYWJsZSBxdWly ayBmb3IgQU1EIFN0b25leSBHUFVzDQo+IA0KPiBIaSBBbGV4YW5kZXIsDQo+IA0KPiBPbiBUdWUs IE1heSAyMywgMjAxNyBhdCAwNzo1NDoxMlBNICswMDAwLCBEZXVjaGVyLCBBbGV4YW5kZXIgd3Jv dGU6DQo+ID4gSSBmaW5hbGx5IGdvdCBhbiBhbnN3ZXIgZnJvbSB0aGUgaHcgdGVhbSBhbmQgd2Ug dmFsaWRhdGVkIEFUUyBvbg0KPiA+IHN0b25leSBhcyB3ZWxsIHNvIGluIHRoZW9yeSB0aGlzIHBh dGNoIHNob3VsZG7igJl0IGFjdHVhbGx5IGJlIG5lZWRlZC4NCj4gPiBJIHRoaW5rIHdlIG1heSBh Y3R1YWxseSBiZSBwYXBlcmluZyBvdmVyIHNvbWUgb3RoZXIgaXNzdWUuICBUaGUNCj4gPiBmb2xs b3dpbmcgcGF0Y2ggc2VlbXMgdG8gYWxzbyBmaXggdGhpcyBpc3N1ZSAoYW5kIG90aGVyIGlzc3Vl cyk6DQo+ID4gaHR0cHM6Ly9



Re: [PATCH 0/8] i2c: refactor core and break out blocks
Jani Nikula writes: On Fri, 26 May 2017, Wolfram Sang wrote: missing some.
If you don't mind sending the whole series to the intel-gfx list (Cc'd), our CI will run a bunch of tests on it, exercising our use of the I2C adapter interfaces for display data channel and I2C over Display Port native aux.
native aux.
BR,
Jani.
Jani.



[GIT][PULL] Improvements to max3421-hcd driver
Alexander Amelkin writes: (Summary) The following changes since commit
08332893e37af6ae779367e78e444f8f9571511d:
08332893e37af6ae779367e78e444f8f9571511d:
Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)
Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)
are available in the git repository at:
are available in the git repository at:
https://github.com/AlexanderAmelkin/linux-wandboard.git tags/max3421-improvements-1
tags/max3421-improvements-1
for you to fetch changes up to b9a7559d24c0b2cb6e69124d861a943f79272681: for you to fetch changes up to b9a7559d24c0b2cb6e69124d861a943f79272681: usb: max3421-hcd: Remove function name from dev_dbg calls (2017-05-25 11:52:13 +0300)
11:52:13 +0300)
The separate patches for these changes will be sent as a follow up.



Re: [PATCH 00/21] liblockdep fixes for v4.12
"Levin, Alexander (Sasha Levin)" writes: (Summary) On Fri, May 26, 2017 at 01:21:51PM +0200, Ingo Molnar wrote: like to see this fixed before I apply any more patches. There's no broken functionality as far as I can tell, so why is the header thing defined as a "fix" to begin with? I also don't see a single tools/ project to exclusively use tools/include at this point.
at this point.
Would you rather keep liblockdep broken for the next couple of months until this is sorted? I really doubt I could get something (+ enough time to soak in -next) for v4.13, so we're looking at v4.14 at the earliest.
earliest.
--=20
--=20
Thanks,
Sasha=
Sasha=
Sasha=



Applied "spi: omap2-mcspi: remove redundant check for error status ...
Mark Brown writes: (Summary) The patch
The patch
spi: omap2-mcspi: remove redundant check for error status spi: omap2-mcspi: remove redundant check for error status has been applied to the spi tree at
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.



Applied "spi: st-ssc4: whitespace cleanup" to the spi tree
Mark Brown writes: (Summary) The patch
The patch
spi: st-ssc4: whitespace cleanup
spi: st-ssc4: whitespace cleanup
has been applied to the spi tree at
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.



Applied "regulator: tps65917: Add support for SMPS12" to the regul ...
Mark Brown writes: (Summary) 2 ++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 31ae5ee3a80d..8018a44ed4f7 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c @@ -264,6 +264,13 @@ static struct palmas_regs_info tps65917_regs_info[] = { .sleep_id = TPS65917_EXTERNAL_REQSTR_ID_SMPS5, }, { + .name = "SMPS12", + .sname = "smps1-in", + .vsel_addr = TPS65917_SMPS1_VOLTAGE, + .ctrl_addr = TPS65917_SMPS1_CTRL, + .sleep_id = TPS65917_EXTERNAL_REQSTR_ID_SMPS12, + }, + { .name = "LDO1", .sname = "ldo1-in", .vsel_addr = TPS65917_LDO1_VOLTAGE, @@ -367,6 +374,7 @@ static struct palmas_sleep_requestor_info tps65917_sleep_req_info[] = { EXTERNAL_REQUESTOR_TPS65917(SMPS3, 1, 2), EXTERNAL_REQUESTOR_TPS65917(SMPS4, 1, 3), EXTERNAL_REQUESTOR_TPS65917(SMPS5, 1, 4), + EXTERNAL_REQUESTOR_TPS65917(SMPS12, 1, 5), EXTERNAL_REQUESTOR_TPS65917(LDO1, 2, 0), EXTERNAL_REQUESTOR_TPS65917(LDO2,



Applied "ASoC: wm_adsp: Fix typo in algorithm list warning message ...
Mark Brown writes: (Summary) The patch
The patch
ASoC: wm_adsp: Fix typo in algorithm list warning message ASoC: wm_adsp: Fix typo in algorithm list warning message has been applied to the asoc tree at
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.



Re: [PATCH V2] x86/ftrace: Make sure that ftrace trampolines are n ...
Michael Ellerman writes: Heiko Carstens writes: Heiko Carstens writes: Well, except for powerpc (cc'ed Michael).
[hangs head in shame]
[hangs head in shame]
Thanks, we are working on this stuff (stricter RWX perms) at the moment, so will add this to the list. It's complicated somewhat by the variety of MMUs we support, but still.
of MMUs we support, but still.
cheers
cheers
cheers



[PATCH 1/5] efi: Don't issue error message when booted under xen
Matt Fleming writes: (Summary) From: Juergen Gross
From: Juergen Gross
When booted as Xen dom0 there won't be an EFI memmap allocated. Avoid issuing an error message in this case:
issuing an error message in this case:
[ 0.144079] efi: Failed to allocate new EFI memmap [ 0.144079] efi: Failed to allocate new EFI memmap Signed-off-by: Juergen Gross



Re: [PATCH 4/6] regulator: hi6421v530: add driver for hi6421v530 v ...
Mark Brown writes: (Summary) On Fri, May 26, 2017 at 02:35:16PM +0800, Guodong Xu wrote: On Fri, May 26, 2017 at 02:35:16PM +0800, Guodong Xu wrote: Overall this driver needs quite a lot of modernization, it's at least a couple of years out of date in how it's using the framework - there's barely any use of helpers. I also can't tell what the lock is protecting, every use seems to be a call to regmap_update_bits() which is atomic anyway - could we just drop the whole thing?
the whole thing?
+}
This looks like it should be able to use the regmap helpers for all the enable operations rather than open coding.






[PATCH 4/5] x86/efi: Correct ident mapping of efi old_map when kal ...
Matt Fleming writes: (Summary) So for a given physical + * address X, the pud_index(X) != pud_index(__va(X)), we can only copy + * pud entry of __va(X) to fill in pud entry of X to build 1:1 mapping + * . i++) { + addr_p4d = addr_pgd + i * P4D_SIZE; j++) { + addr_pud = addr_p4d + j * PUD_SIZE; i++) { + p4d = p4d_offset(pgd, + pgd_idx * PGDIR_SIZE + i * P4D_SIZE);



[PATCH 3/5] x86/efi: Disable runtime services on kexec kernel if b ...
Matt Fleming writes: (Summary) Potentially there could be collisions when booting kexec if something else is mapped at the virtual address we allocated for runtime service regions in the initial boot - Matt Fleming ] Since kexec was never intended to work with efi=old_map, disable runtime services in kexec if booted with efi=old_map, so that we don't panic. 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 7e76a4d8304b..43b96f5f78ba 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c @@ -828,9 +828,11 @@ static void __init kexec_enter_virtual_mode(void) /* * We don't do virtual mode, since we don't do runtime services, on - * non-native EFI + * non-native EFI.



[PATCH 2/5] efi: Remove duplicate 'const' specifiers
Matt Fleming writes: (Summary) From: Arnd Bergmann
From: Arnd Bergmann
gcc-7 shows a harmless warning:
gcc-7 shows a harmless warning:
drivers/firmware/efi/libstub/secureboot.c:19:27: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier] static const efi_char16_t const efi_SecureBoot_name[] = { drivers/firmware/efi/libstub/secureboot.c:22:27: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier] Removing one of the specifiers gives us the expected behavior. -static const efi_char16_t const efi_SecureBoot_name[] = { +static const efi_char16_t efi_SecureBoot_name[] = { 'S', 'e', 'c', 'u', 'r', 'e', 'B', 'o', 'o', 't', 0 };



[GIT PULL 0/5] EFI urgent fixes
Matt Fleming writes: (Summary) The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)
Linux 4.12-rc2 (2017-05-21 19:30:23 -0700)
are available in the git repository at:
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-urgent git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-urgent for you to fetch changes up to 5d36982a80248b2dcce395e7fa4ba342e814ced1: for you to fetch changes up to 5d36982a80248b2dcce395e7fa4ba342e814ced1: efi/bgrt: Skip efi_bgrt_init in case of non-efi boot (2017-05-26 11:27:38 +0100) efi/bgrt: Skip efi_bgrt_init in case of non-efi boot (2017-05-26 11:27:38 +0100) ---------------------------------------------------------------- - Make the boot console quiet when using Xen on EFI by deleting a pointless error message - Juergen Gross - Silence harmless warnings emitt



Re: [PATCH V2] ARM: dts: rockchip:add sd card support for firefly ...
Robin Murphy writes: On 26/05/17 08:07, Eddie Cai wrote:
firefly reload board not support sd card yet. so support it. I'm confused... According to pictures and the schematic the microSD socket and vcc_sd supply are on the baseboard, not the core module, and these nodes already exist in rk3288-firefly-reload.dts :/ these nodes already exist in rk3288-firefly-reload.dts :/ Robin.
Robin.
&tsadc {
&tsadc {



[PATCH 3/3] usb: max3421-hcd: Remove function name from dev_dbg calls
Alexander Amelkin writes: (Summary) 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/max3421-hcd.c b/drivers/usb/host/max3421-hcd.c index bd59c16..cfca8a2 100644 --- a/drivers/usb/host/max3421-hcd.c +++ b/drivers/usb/host/max3421-hcd.c @@ -706,8 +706,8 @@ max3421_select_and_start_urb(struct usb_hcd *hcd) urb = list_first_entry(&ep->urb_list, struct urb, urb_list); 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/max3421-hcd.c b/drivers/usb/host/max3421-hcd.c index bd59c16..cfca8a2 100644 --- a/drivers/usb/host/max3421-hcd.c +++ b/drivers/usb/host/max3421-hcd.c @@ -706,8 +706,8 @@ max3421_select_and_start_urb(struct usb_hcd *hcd) urb = list_first_entry(&ep->urb_list, struct urb, urb_list);