Re: [PATCH] macvlan: Fix checksum errors when ip_summed is CHECKSUM_PARTIAL

2014-05-19 Thread Michael Spang
On Mon, May 19, 2014 at 1:44 PM, Eric Dumazet wrote: > > On Mon, 2014-05-19 at 13:24 -0400, Michael Spang wrote: > > Changing ip_summed from CHECKSUM_PARTIAL to CHECKSUM_UNNECESSARY > > will result in an incorrect checksum if the packet is sent off the box. > > > &

[PATCH] macvlan: Fix checksum errors when ip_summed is CHECKSUM_PARTIAL

2014-05-19 Thread Michael Spang
Changing ip_summed from CHECKSUM_PARTIAL to CHECKSUM_UNNECESSARY will result in an incorrect checksum if the packet is sent off the box. Cc: sta...@vger.kernel.org Signed-off-by: Michael Spang --- drivers/net/macvlan.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a

[PATCH] serial: samsung: Use printk instead of printascii for S3C_PMDBG

2013-03-27 Thread Michael Spang
ns if the user selects CONFIG_SAMSUNG_PM_DEBUG but does NOT disable console suspend, the system will hang during suspend. 2. It skips syslog and other console devices such as pstore. Signed-off-by: Michael Spang --- arch/arm/plat-samsung/include/plat/pm.h | 14 -- arch/arm/plat-sa

[PATCH 2/2] serial: samsung: Avoid waiting forever for TX ready

2013-03-27 Thread Michael Spang
been initialized. That way, we can use no_console_suspend without risk of hanging. Signed-off-by: Michael Spang --- drivers/tty/serial/samsung.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c

[PATCH 1/2] serial: samsung: Restore IRQ mask during noirq resume

2013-03-27 Thread Michael Spang
This closes a window where the system may hang in resume as soon as the UART interrupt is enabled and before the mask is restored. The hang occurs because the driver can't handle IRQs it thinks are masked. Signed-off-by: Michael Spang --- drivers/tty/serial/samsung.c

[PATCH] samsung: Add missing include guard to gpio-core.h

2012-12-05 Thread Michael Spang
Signed-off-by: Michael Spang --- arch/arm/plat-samsung/include/plat/gpio-core.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/gpio-core.h b/arch/arm/plat-samsung/include/plat/gpio-core.h index 1fe6917..8622c9a 100644 --- a/arch

Re: [PATCH] ARM: Fix page counting in mem_init and show_mem

2012-11-29 Thread Michael Spang
On Thu, Nov 29, 2012 at 8:08 AM, Russell King - ARM Linux wrote: > On Mon, Oct 22, 2012 at 09:34:51PM -0400, Michael Spang wrote: >> for_each_bank (i, mi) { >> struct membank *bank = &mi->bank[i]; >> - unsigned int pfn1, pfn2; >&g

[PATCH] ARM: Fix page counting in mem_init and show_mem

2012-10-22 Thread Michael Spang
page structs for such pages. Avoid this by skipping pages that fail pfn_valid(). If the memory map has holes, the free & total page counts are wrong. Signed-off-by: Michael Spang --- arch/arm/mm/init.c | 40 ++-- 1 files changed, 22 insertion

Re: USB keyboard backlight powering down.

2012-10-16 Thread Michael Spang
keyboard. > > Looking over the 3.6.1 changelog, I see this change, which sounds > like it might be responsible ? > > commit ee537508bdc0c00b96ac497f3d82a68f820e6182 > Author: Michael Spang > Date: Fri Sep 14 13:05:49 2012 -0400 > > Increase XHCI suspend timeout to 16

Re: hung task when USB storage probe occurs during suspend

2012-10-15 Thread Michael Spang
[oops, fixing LKML address] If you plug in a USB storage device and then suspend, resume, and quickly suspend again, the system may freeze. 2 minutes later you'll get the following message. I believe this is a regression introduced in 62d3c543 ("Block: use a freezable workqueue for disk-event pol

[PATCH] Increase XHCI suspend timeout to 16ms

2012-09-14 Thread Michael Spang
oblem. Signed-off-by: Michael Spang --- drivers/usb/host/xhci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index c59d5b5..7710ccf 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -785,7 +785,7 @