Linux 2.6.32.53
Subsystems (15)
I'm announcing the release of the 2.6.32.53 kernel.
All users of the 2.6.32 kernel series must upgrade.
The updated 2.6.32.y git tree can be found at (NOTE THE ADDRESS CHANGE):
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-2.6.32.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=shortlog;h=refs/heads/linux-2.6.32.y
thanks,
greg k-h
------------
Makefile | 2 +- arch/arm/plat-mxc/pwm.c | 16 +++++++++++++++- block/cfq-iosched.c | 11 +++++++++-- drivers/mmc/host/mmci.c | 6 +++++- drivers/net/wireless/ath/ath9k/main.c | 3 +++ drivers/scsi/mpt2sas/mpt2sas_scsih.c | 2 +- drivers/watchdog/hpwdt.c | 5 ++++- kernel/hung_task.c | 14 ++++++++++---- mm/filemap.c | 7 ++----- 9 files changed, 50 insertions(+), 16 deletions(-)
Anton Blanchard (1):
SCSI: mpt2sas: _scsih_smart_predicted_fault uses GFP_KERNEL in interrupt context
Dave Kleikamp (1):
vfs: __read_cache_page should use gfp argument rather than GFP_KERNEL
Greg Kroah-Hartman (1):
Linux 2.6.32.53
Jason Chen (2):
MXC PWM: should active during DOZE/WAIT/DBG mode ARM:imx:fix pwm period value
Mandeep Singh Baines (1):
hung_task: fix false positive during vfork
Mingarelli, Thomas (1):
watchdog: hpwdt: Changes to handle NX secure bit in 32bit path
Mohammed Shafi Shajakhan (1):
ath9k: Fix kernel panic in AR2427 in AP mode
Ulf Hansson (1):
ARM: 7220/1: mmc: mmci: Fixup error handling for dma
Yasuaki Ishimatsu (1):
cfq-iosched: fix cfq_cic_link() race confition
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 32 -EXTRAVERSION = .52 +EXTRAVERSION = .53 NAME = Man-Eating Seals of Antiquity # *DOCUMENTATION*
arch/arm/plat-mxc/pwm.c +15 -1
@@ -31,6 +31,9 @@#define MX3_PWMSAR 0x0C/* PWM Sample Register */ #define MX3_PWMPR 0x10/* PWM Period Register */ #define MX3_PWMCR_PRESCALER (x) (((x - 1) & 0xFFF) << 4) +#define MX3_PWMCR_DOZEEN (1 << 24) +#define MX3_PWMCR_WAITEN (1 << 23) +#define MX3_PWMCR_DBGEN (1 << 22)#define MX3_PWMCR_CLKSRC_IPG_HIGH (2 << 16)#define MX3_PWMCR_CLKSRC_IPG (1 << 16)#define MX3_PWMCR_EN (1 << 0)
@@ -73,10 +76,21 @@ int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)do_div (c, period_ns); duty_cycles = c; +/* +* according to imx pwm RM, the real period value should be +* PERIOD value in PWMPR plus 2. +*/ +if (period_cycles >2 ) + period_cycles -=2 ; +else + period_cycles =0 ; +writel (duty_cycles, pwm->mmio_base +MX3_PWMSAR );writel (period_cycles, pwm->mmio_base +MX3_PWMPR ); - cr =MX3_PWMCR_PRESCALER (prescale) |MX3_PWMCR_EN ; + cr =MX3_PWMCR_PRESCALER (prescale) | +MX3_PWMCR_DOZEEN |MX3_PWMCR_WAITEN | +MX3_PWMCR_DBGEN |MX3_PWMCR_EN ;if (cpu_is_mx25 ()) cr |=MX3_PWMCR_CLKSRC_IPG ;
block/cfq-iosched.c +9 -2
@@ -1981,7 +1981,7 @@ static int cfq_cic_link(struct cfq_data *cfqd, struct io_context *ioc, } } -if (ret) +if (ret && ret != -EEXIST )printk (KERN_ERR "cfq: cic link failed!\n" );return ret;
@@ -1997,6 +1997,7 @@ cfq_get_io_context(struct cfq_data *cfqd, gfp_t gfp_mask) {struct io_context *ioc =NULL ;struct cfq_io_context *cic; +int ret;might_sleep_if (gfp_mask & __GFP_WAIT);
@@ -2004,6 +2005,7 @@ cfq_get_io_context(struct cfq_data *cfqd, gfp_t gfp_mask)if (!ioc)return NULL ; +retry: cic =cfq_cic_lookup (cfqd, ioc);if (cic) goto out;
@@ -2012,7 +2014,12 @@ cfq_get_io_context(struct cfq_data *cfqd, gfp_t gfp_mask)if (cic ==NULL ) goto err; -if (cfq_cic_link (cfqd, ioc, cic, gfp_mask)) + ret =cfq_cic_link (cfqd, ioc, cic, gfp_mask); +if (ret == -EEXIST ) { +/* someone has linked cic to ioc already */ +cfq_cic_free (cic); + goto retry; + }else if (ret) goto err_free; out:
drivers/mmc/host/mmci.c +5 -1
@@ -232,8 +232,12 @@ mmci_cmd_irq(struct mmci_host *host, struct mmc_command *cmd, }if (!cmd->data || cmd->error) { -if (host->data) +if (host->data) { +/* Terminate the DMA transfer */ +if (dma_inprogress (host)) +mmci_dma_data_error (host);mmci_stop_data (host); + }mmci_request_end (host, cmd->mrq); }else if (!(cmd->data->flags &MMC_DATA_READ )) {mmci_start_data (host, cmd->data);
drivers/net/wireless/ath/ath9k/main.c +3 -0
@@ -2472,6 +2472,9 @@ static void ath9k_sta_notify(struct ieee80211_hw *hw,struct ath_wiphy *aphy = hw->priv;struct ath_softc *sc = aphy->sc; +if (!(sc->sc_flags &SC_OP_TXAGGR )) +return ; +switch (cmd) {case STA_NOTIFY_ADD :ath_node_attach (sc, sta);
drivers/scsi/mpt2sas/mpt2sas_scsih.c +1 -1
@@ -3145,7 +3145,7 @@ _scsih_smart_predicted_fault(struct MPT2SAS_ADAPTER *ioc, u16 handle)/* insert into event log */ sz = offsetof(Mpi2EventNotificationReply_t , EventData) +sizeof (Mpi2EventDataSasDeviceStatusChange_t); - event_reply =kzalloc (sz,GFP_KERNEL ); + event_reply =kzalloc (sz,GFP_ATOMIC );if (!event_reply) {printk (MPT2SAS_ERR_FMT "failure at %s:%d/%s()!\n" , ioc->name, __FILE__, __LINE__, __func__);
drivers/watchdog/hpwdt.c +4 -1
@@ -220,6 +220,7 @@ static int __devinit cru_detect(unsigned long map_entry, cmn_regs.u1.reax =CRU_BIOS_SIGNATURE_VALUE ; +set_memory_x ((unsigned long )bios32_entrypoint, (2 *PAGE_SIZE ));asminline_call (&cmn_regs, bios32_entrypoint);if (cmn_regs.u1.ral !=0 ) {
@@ -237,8 +238,10 @@ static int __devinit cru_detect(unsigned long map_entry,if ((physical_bios_base + physical_bios_offset)) { cru_rom_addr =ioremap (cru_physical_address, cru_length); -if (cru_rom_addr) +if (cru_rom_addr) { +set_memory_x ((unsigned long )cru_rom_addr, cru_length); retval =0 ; + } } printk(KERN_DEBUG "hpwdt: CRU Base Address: 0x%lx\n",
kernel/hung_task.c +10 -4
@@ -74,11 +74,17 @@ static void check_hung_task(struct task_struct *t, unsigned long timeout)/* * Ensure the task is not frozen. -* Also, when a freshly created task is scheduled once, changes -* its state to TASK_UNINTERRUPTIBLE without having ever been -* switched out once, it musn't be checked. +* Also, skip vfork and any other user process that freezer should skip. */ -if (unlikely (t->flags &PF_FROZEN || !switch_count)) +if (unlikely (t->flags & (PF_FROZEN |PF_FREEZER_SKIP ))) +return ; + +/* +* When a freshly created task is scheduled once, changes its state to +* TASK_UNINTERRUPTIBLE without having ever been switched out once, it +* musn't be checked. +*/ +if (unlikely (!switch_count))return ;if (switch_count != t->last_switch_count) {
mm/filemap.c +2 -5
@@ -1675,7 +1675,7 @@ repeat: page =__page_cache_alloc (gfp | __GFP_COLD);if (!page)return ERR_PTR (-ENOMEM ); - err =add_to_page_cache_lru (page, mapping, index,GFP_KERNEL ); + err =add_to_page_cache_lru (page, mapping, index, gfp);if (unlikely (err)) {page_cache_release (page);if (err == -EEXIST )
@@ -1772,10 +1772,7 @@ static struct page *wait_on_page_read(struct page *page)* @gfp: the page allocator flags to use if allocating * * This is the same as "read_mapping_page(mapping, index, NULL)", but with -* any new page allocations done using the specified allocation flags. Note -* that the Radix tree operations will still use GFP_KERNEL, so you can't -* expect to do this atomically or anything like that - but you can pass in -* other page requirements. +* any new page allocations done using the specified allocation flags. * * If the page does not get brought uptodate, return -EIO. */