Linux 3.0.56
Greg KH
maintainerI'm announcing the release of the 3.0.56 kernel.
All users of the 3.0 kernel series must upgrade.
The updated 3.0.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 +- arch/arm/mach-dove/include/mach/pm.h | 2 +- arch/arm/mach-dove/irq.c | 14 +++++++++++++- block/scsi_ioctl.c | 5 ++++- drivers/acpi/processor_driver.c | 1 + drivers/gpu/drm/i915/intel_lvds.c | 16 ++++++++++++++++ kernel/sched_autogroup.c | 4 ---- kernel/sched_autogroup.h | 5 ----- kernel/workqueue.c | 4 +++- mm/memory-failure.c | 8 ++++++++ mm/sparse.c | 10 ++++------ net/ipv4/route.c | 4 ++++ 12 files changed, 55 insertions(+), 20 deletions(-)
Alan Cox (1):
ACPI: missing break
Calvin Walton (1):
i915: Quirk no_lvds on Gigabyte GA-D525TUD ITX motherboard
Chris Wilson (1):
drm/i915: Add no-lvds quirk for Supermicro X7SPA-H
Greg Kroah-Hartman (1):
Linux 3.0.56
Jan Kara (1):
scsi: Silence unnecessary warnings about ioctl to partition
Jianguo Wu (1):
mm/vmemmap: fix wrong use of virt_to_page
Michal Kubecek (1):
route: release dst_entry.hh_cache when handling redirects
Mike Galbraith (2):
workqueue: exit rescuer_thread() as TASK_RUNNING
Revert "sched, autogroup: Stop going ahead if autogroup is disabled"
Naoya Horiguchi (1):
mm: soft offline: split thp at the beginning of soft_offline_page()
Russell King - ARM Linux (2):
Dove: Attempt to fix PMU/RTC interrupts
Dove: Fix irq_to_pmu()
Greg KH
maintainerMakefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 0 -SUBLEVEL = 55 +SUBLEVEL = 56 EXTRAVERSION = NAME = Sneaky Weasel
arch/arm/mach-dove/include/mach/pm.h +1 -1
@@ -45,7 +45,7 @@ static inline int pmu_to_irq(int pin)static inline int irq_to_pmu (int irq) { -if (IRQ_DOVE_PMU_START < irq && irq <NR_IRQS ) +if (IRQ_DOVE_PMU_START <= irq && irq <NR_IRQS )return irq -IRQ_DOVE_PMU_START ;return -EINVAL ;
arch/arm/mach-dove/irq.c +13 -1
@@ -61,8 +61,20 @@ static void pmu_irq_ack(struct irq_data *d)int pin =irq_to_pmu (d->irq);u32 u; +/* +* The PMU mask register is not RW0C: it is RW. This means that +* the bits take whatever value is written to them; if you write +* a '1', you will set the interrupt. +* +* Unfortunately this means there is NO race free way to clear +* these interrupts. +* +* So, let's structure the code so that the window is as small as +* possible. +*/ u = ~(1 << (pin &31 )); -writel (u,PMU_INTERRUPT_CAUSE ); + u &=readl_relaxed (PMU_INTERRUPT_CAUSE ); +writel_relaxed (u,PMU_INTERRUPT_CAUSE ); }static struct irq_chip pmu_irq_chip = {
block/scsi_ioctl.c +4 -1
@@ -722,11 +722,14 @@ int scsi_verify_blk_ioctl(struct block_device *bd, unsigned int cmd)break ; } +if (capable (CAP_SYS_RAWIO )) +return 0 ; +/* In particular, rule out all resets and host-specific ioctls. */ printk_ratelimited (KERN_WARNING "%s: sending ioctl %x to a partition!\n" , current->comm, cmd); -return capable (CAP_SYS_RAWIO ) ?0 : -ENOTTY ; +return -ENOTTY ; }EXPORT_SYMBOL (scsi_verify_blk_ioctl);
drivers/acpi/processor_driver.c +1 -0
@@ -409,6 +409,7 @@ static void acpi_processor_notify(struct acpi_device *device, u32 event)acpi_bus_generate_proc_event (device, event,0 );acpi_bus_generate_netlink_event (device->pnp.device_class,dev_name (&device->dev), event,0 ); +break ;default :ACPI_DEBUG_PRINT ((ACPI_DB_INFO ,"Unsupported event [0x%x]\n" , event));
drivers/gpu/drm/i915/intel_lvds.c +16 -0
@@ -759,6 +759,22 @@ static const struct dmi_system_id intel_no_lvds[] = { DMI_MATCH(DMI_BOARD_NAME, "ZBOXSD-ID12/ID13"), }, }, + { + .callback = intel_no_lvds_dmi_callback, + .ident = "Gigabyte GA-D525TUD", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Gigabyte Technology Co., Ltd."), + DMI_MATCH(DMI_BOARD_NAME, "D525TUD"), + }, + }, + { + .callback = intel_no_lvds_dmi_callback, + .ident = "Supermicro X7SPA-H", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Supermicro"), + DMI_MATCH(DMI_PRODUCT_NAME, "X7SPA-H"), + }, + }, { }/* terminating entry */ };
kernel/sched_autogroup.c +0 -4
@@ -160,15 +160,11 @@ autogroup_move_group(struct task_struct *p, struct autogroup *ag) p->signal->autogroup =autogroup_kref_get (ag); -if (!ACCESS_ONCE (sysctl_sched_autogroup_enabled)) - goto out; - t = p; do { sched_move_task(t); } while_each_thread(p, t); -out: unlock_task_sighand(p, &flags); autogroup_kref_put(prev); }
kernel/sched_autogroup.h +0 -5
@@ -1,11 +1,6 @@ #ifdef CONFIG_SCHED_AUTOGROUP struct autogroup { - /* - * reference doesn't mean how many thread attach to this - * autogroup now. It just stands for the number of task - * could use this autogroup. - */ struct kref kref; struct task_group *tg; struct rw_semaphore lock;
kernel/workqueue.c +3 -1
@@ -2044,8 +2044,10 @@ static int rescuer_thread(void *__wq) repeat:set_current_state (TASK_INTERRUPTIBLE ); -if (kthread_should_stop ()) +if (kthread_should_stop ()) { +__set_current_state (TASK_RUNNING );return 0 ; + }/* * See whether any cpu is asking for help. Unbounded
mm/memory-failure.c +8 -0
@@ -1382,9 +1382,17 @@ int soft_offline_page(struct page *page, int flags) {int ret;unsigned long pfn =page_to_pfn (page); +struct page *hpage =compound_trans_head (page);if (PageHuge (page))return soft_offline_huge_page (page, flags); +if (PageTransHuge (hpage)) { +if (PageAnon (hpage) &&unlikely (split_huge_page (hpage))) { +pr_info ("soft offline: %#lx: failed to split THP\n" , + pfn); +return -EBUSY ; + } + } ret =get_any_page (page, pfn, flags);if (ret <0 )
mm/sparse.c +4 -6
@@ -619,7 +619,7 @@ static void __kfree_section_memmap(struct page *memmap, unsigned long nr_pages) {return ;/* XXX: Not implemented yet */ } -static void free_map_bootmem (struct page *page,unsigned long nr_pages) +static void free_map_bootmem (struct page *memmap,unsigned long nr_pages) { }#else
@@ -660,10 +660,11 @@ static void __kfree_section_memmap(struct page *memmap, unsigned long nr_pages) get_order(sizeof(struct page) * nr_pages)); } -static void free_map_bootmem (struct page *page,unsigned long nr_pages) +static void free_map_bootmem (struct page *memmap,unsigned long nr_pages) {unsigned long maps_section_nr, removing_section_nr, i;unsigned long magic; +struct page *page =virt_to_page (memmap);for (i =0 ; i < nr_pages; i++, page++) { magic = (unsigned long ) page->lru.next;
@@ -712,13 +713,10 @@ static void free_section_usemap(struct page *memmap, unsigned long *usemap)*/ if (memmap) { -struct page *memmap_page; - memmap_page =virt_to_page (memmap); - nr_pages =PAGE_ALIGN (PAGES_PER_SECTION *sizeof (struct page )) >>PAGE_SHIFT ; -free_map_bootmem (memmap_page, nr_pages); +free_map_bootmem (memmap, nr_pages); } }
net/ipv4/route.c +4 -0
@@ -1374,6 +1374,7 @@ static int check_peer_redir(struct dst_entry *dst, struct inet_peer *peer)struct rtable *rt = (struct rtable *) dst;__be32 orig_gw = rt->rt_gateway;struct neighbour *n, *old_n; +struct hh_cache *old_hh;dst_confirm (&rt->dst);
@@ -1381,6 +1382,9 @@ static int check_peer_redir(struct dst_entry *dst, struct inet_peer *peer) n =__arp_bind_neighbour (&rt->dst, rt->rt_gateway);if (IS_ERR (n))return PTR_ERR (n); + old_hh =xchg (&rt->dst.hh,NULL ); +if (old_hh) +hh_cache_put (old_hh); old_n =xchg (&rt->dst._neighbour, n);if (old_n)neigh_release (old_n);