Linux 3.0.78
Greg KH
maintainerI'm announcing the release of the 3.0.78 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/powerpc/mm/numa.c | 2 - arch/x86/kernel/cpu/amd.c | 14 -------- arch/x86/mm/init.c | 5 +++ drivers/gpu/drm/i915/intel_dvo.c | 13 +++++++ drivers/gpu/drm/i915/intel_lvds.c | 8 ++++ drivers/gpu/drm/radeon/atom.c | 6 +-- drivers/gpu/drm/radeon/evergreen.c | 10 ++++++ drivers/gpu/drm/radeon/radeon_atombios.c | 10 +++++- drivers/gpu/drm/radeon/radeon_pm.c | 6 +++ fs/autofs4/expire.c | 9 ----- kernel/audit_tree.c | 2 - kernel/trace/trace.c | 51 ++++++++++++------------------- kernel/trace/trace_selftest.c | 9 +++-- net/netfilter/ipvs/ip_vs_pe_sip.c | 6 --- 15 files changed, 82 insertions(+), 71 deletions(-)
Alex Deucher (4):
drm/radeon: don't use get_engine_clock() on APUs drm/radeon/evergreen+: don't enable HPD interrupts on eDP/LVDS drm/radeon: fix endian bugs in atom_allocate_fb_scratch() drm/radeon: fix possible segfault when parsing pm tables
Andre Przywara (1):
Revert "x86, amd: Disable way access filter on Piledriver CPUs" it is duplicated
Chen Gang (1):
kernel/audit_tree.c: tree will leak memory when failure occurs in audit_trim_trees()
Christian Lamparter (1):
drm/i915: Add no-lvds quirk for Fujitsu Esprimo Q900
David Jeffery (1):
autofs - remove autofs dentry mount check
David Müller (1):
drm/i915: Fall back to bit banging mode for DVO transmitter detection
Greg Kroah-Hartman (1):
Linux 3.0.78
Hans Schillstrom (1):
ipvs: ip_vs_sip_fill_param() BUG: bad check of return value
Jerry Hoemann (1):
x86/mm: account for PGDIR_SIZE alignment
Steven Rostedt (Red Hat) (1):
tracing: Fix ftrace_dump()
Vaidyanathan Srinivasan (1):
powerpc: fix numa distance for form0 device tree
Greg KH
maintainerMakefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 0 -SUBLEVEL = 77 +SUBLEVEL = 78 EXTRAVERSION = NAME = Sneaky Weasel
arch/powerpc/mm/numa.c +1 -1
@@ -221,7 +221,7 @@ int __node_distance(int a, int b)int distance =LOCAL_DISTANCE ;if (!form1_affinity) -return distance; +return ((a == b) ?LOCAL_DISTANCE :REMOTE_DISTANCE );for (i =0 ; i < distance_ref_points_depth; i++) {if (distance_lookup_table[a][i] == distance_lookup_table[b][i])
arch/x86/kernel/cpu/amd.c +0 -14
@@ -568,20 +568,6 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c) } } -/* -* The way access filter has a performance penalty on some workloads. -* Disable it on the affected CPUs. -*/ -if ((c->x86 ==0x15 ) && - (c->x86_model >=0x02 ) && (c->x86_model <0x20 )) { -u64 val; - -if (!rdmsrl_safe (0xc0011021 , &val) && !(val &0x1E )) { - val |=0x1E ; -checking_wrmsrl (0xc0011021 , val); - } - } -cpu_detect_cache_sizes (c);/* Multi core CPU? */
arch/x86/mm/init.c +5 -0
@@ -44,11 +44,15 @@ static void __init find_early_table_space(struct map_range *mr, int nr_range)int i;unsigned long puds =0 , pmds =0 , ptes =0 , tables;unsigned long start =0 , good_end; +unsigned long pgd_extra =0 ;phys_addr_t base;for (i =0 ; i < nr_range; i++) {unsigned long range, extra; +if ((mr[i].end >>PGDIR_SHIFT ) - (mr[i].start >>PGDIR_SHIFT )) + pgd_extra++; + range = mr[i].end - mr[i].start; puds += (range +PUD_SIZE -1 ) >>PUD_SHIFT ;
@@ -73,6 +77,7 @@ static void __init find_early_table_space(struct map_range *mr, int nr_range) tables =roundup (puds *sizeof (pud_t),PAGE_SIZE ); tables +=roundup (pmds *sizeof (pmd_t),PAGE_SIZE ); tables +=roundup (ptes *sizeof (pte_t),PAGE_SIZE ); + tables += (pgd_extra *PAGE_SIZE );#ifdef CONFIG_X86_32 /* for fixmap */
drivers/gpu/drm/i915/intel_dvo.c +12 -1
@@ -371,6 +371,7 @@ void intel_dvo_init(struct drm_device *dev)const struct intel_dvo_device *dvo = &intel_dvo_devices[i];struct i2c_adapter *i2c;int gpio; +bool dvoinit;/* Allow the I2C driver info to specify the GPIO to be used in * special cases, but otherwise default to what's defined
@@ -390,7 +391,17 @@ void intel_dvo_init(struct drm_device *dev) i2c = &dev_priv->gmbus[gpio].adapter; intel_dvo->dev = *dvo; -if (!dvo->dev_ops->init (&intel_dvo->dev, i2c)) + +/* GMBUS NAK handling seems to be unstable, hence let the +* transmitter detection run in bit banging mode for now. +*/ +intel_gmbus_force_bit (i2c, true); + + dvoinit = dvo->dev_ops->init (&intel_dvo->dev, i2c); + +intel_gmbus_force_bit (i2c, false); + +if (!dvoinit)continue ; intel_encoder->type =INTEL_OUTPUT_DVO ;
drivers/gpu/drm/i915/intel_lvds.c +8 -0
@@ -767,6 +767,14 @@ static const struct dmi_system_id intel_no_lvds[] = { DMI_MATCH(DMI_PRODUCT_NAME, "X7SPA-H"), }, }, + { + .callback = intel_no_lvds_dmi_callback, + .ident = "Fujitsu Esprimo Q900", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), + DMI_MATCH(DMI_PRODUCT_NAME, "ESPRIMO Q900"), + }, + }, { }/* terminating entry */ };
drivers/gpu/drm/radeon/atom.c +3 -3
@@ -1384,10 +1384,10 @@ int atom_allocate_fb_scratch(struct atom_context *ctx) firmware_usage = (struct _ATOM_VRAM_USAGE_BY_FIRMWARE *)(ctx->bios + data_offset);DRM_DEBUG ("atom firmware requested %08x %dkb\n" , - firmware_usage->asFirmwareVramReserveInfo[0 ].ulStartAddrUsedByFirmware, - firmware_usage->asFirmwareVramReserveInfo[0 ].usFirmwareUseInKb); +le32_to_cpu (firmware_usage->asFirmwareVramReserveInfo[0 ].ulStartAddrUsedByFirmware), +le16_to_cpu (firmware_usage->asFirmwareVramReserveInfo[0 ].usFirmwareUseInKb)); - usage_bytes = firmware_usage->asFirmwareVramReserveInfo[0 ].usFirmwareUseInKb *1024 ; + usage_bytes =le16_to_cpu (firmware_usage->asFirmwareVramReserveInfo[0 ].usFirmwareUseInKb) *1024 ; } ctx->scratch_size_bytes =0 ;if (usage_bytes ==0 )
drivers/gpu/drm/radeon/evergreen.c +10 -0
@@ -330,6 +330,16 @@ void evergreen_hpd_init(struct radeon_device *rdev)list_for_each_entry (connector, &dev->mode_config.connector_list, head) {struct radeon_connector *radeon_connector =to_radeon_connector (connector); + +if (connector->connector_type == DRM_MODE_CONNECTOR_eDP || + connector->connector_type ==DRM_MODE_CONNECTOR_LVDS ) { +/* don't try to enable hpd on eDP or LVDS avoid breaking the +* aux dp channel on imac and help (but not completely fix) +* https://bugzilla.redhat.com/show_bug.cgi?id=726143 +* also avoid interrupt storms during dpms. +*/ +continue ; + }switch (radeon_connector->hpd.hpd) {case RADEON_HPD_1 :WREG32 (DC_HPD1_CONTROL , tmp);
drivers/gpu/drm/radeon/radeon_atombios.c +9 -1
@@ -2031,6 +2031,8 @@ static int radeon_atombios_parse_power_table_1_3(struct radeon_device *rdev) num_modes = power_info->info.ucNumOfPowerModeEntries;if (num_modes >ATOM_MAX_NUMBEROF_POWER_BLOCK ) num_modes =ATOM_MAX_NUMBEROF_POWER_BLOCK ; +if (num_modes ==0 ) +return state_index; rdev->pm.power_state =kzalloc (sizeof (struct radeon_power_state ) * num_modes,GFP_KERNEL );if (!rdev->pm.power_state)return state_index;
@@ -2401,6 +2403,8 @@ static int radeon_atombios_parse_power_table_4_5(struct radeon_device *rdev) power_info = (union power_info *)(mode_info->atom_context->bios + data_offset);radeon_atombios_add_pplib_thermal_controller (rdev, &power_info->pplib.sThermalController); +if (power_info->pplib.ucNumStates ==0 ) +return state_index; rdev->pm.power_state =kzalloc (sizeof (struct radeon_power_state ) * power_info->pplib.ucNumStates,GFP_KERNEL );if (!rdev->pm.power_state)
@@ -2485,6 +2489,8 @@ static int radeon_atombios_parse_power_table_6(struct radeon_device *rdev) non_clock_info_array = (struct NonClockInfoArray *) (mode_info->atom_context->bios + data_offset +le16_to_cpu (power_info->pplib.usNonClockInfoArrayOffset)); +if (state_array->ucNumEntries ==0 ) +return state_index; rdev->pm.power_state =kzalloc (sizeof (struct radeon_power_state ) * state_array->ucNumEntries,GFP_KERNEL );if (!rdev->pm.power_state)
@@ -2561,7 +2567,9 @@ void radeon_atombios_get_power_modes(struct radeon_device *rdev)default :break ; } - }else { + } + +if (state_index ==0 ) { rdev->pm.power_state =kzalloc (sizeof (struct radeon_power_state ),GFP_KERNEL );if (rdev->pm.power_state) {/* add the default mode */
drivers/gpu/drm/radeon/radeon_pm.c +5 -1
@@ -845,7 +845,11 @@ static int radeon_debugfs_pm_info(struct seq_file *m, void *data)struct radeon_device *rdev = dev->dev_private;seq_printf (m,"default engine clock: %u0 kHz\n" , rdev->pm.default_sclk); -seq_printf (m,"current engine clock: %u0 kHz\n" ,radeon_get_engine_clock (rdev)); +/* radeon_get_engine_clock is not reliable on APUs so just print the current clock */ +if ((rdev->family >=CHIP_PALM ) && (rdev->flags &RADEON_IS_IGP )) +seq_printf (m,"current engine clock: %u0 kHz\n" , rdev->pm.current_sclk); +else +seq_printf (m,"current engine clock: %u0 kHz\n" ,radeon_get_engine_clock (rdev));seq_printf (m,"default memory clock: %u0 kHz\n" , rdev->pm.default_mclk);if (rdev->asic->get_memory_clock)seq_printf (m,"current memory clock: %u0 kHz\n" ,radeon_get_memory_clock (rdev));
fs/autofs4/expire.c +0 -9
@@ -61,15 +61,6 @@ static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry)/* This is an autofs submount, we can't expire it */ if (autofs_type_indirect (sbi->type)) goto done; - -/* -* Otherwise it's an offset mount and we need to check -* if we can umount its mount, if there is one. -*/ -if (!d_mountpoint (path.dentry)) { - status =0 ; - goto done; - } }/* Update the expiry counter if fs is busy */
kernel/audit_tree.c +1 -1
@@ -614,9 +614,9 @@ void audit_trim_trees(void) }spin_unlock (&hash_lock);trim_marked (tree); -put_tree (tree);drop_collected_mounts (root_mnt); skip_it: +put_tree (tree);mutex_lock (&audit_filter_mutex); }list_del (&cursor);
kernel/trace/trace.c +21 -30
77 lines not on this page · raw message
kernel/trace/trace_selftest.c +5 -4
@@ -461,8 +461,6 @@ trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr)/* Maximum number of functions to trace before diagnosing a hang */ #define GRAPH_MAX_FUNC_TEST 100000000 -static void -__ftrace_dump (bool disable_tracing,enum ftrace_dump_mode oops_dump_mode);static unsigned int graph_hang_thresh;/* Wrap the real function entry probe to avoid possible hanging */
@@ -472,8 +470,11 @@ static int trace_graph_entry_watchdog(struct ftrace_graph_ent *trace)if (unlikely (++graph_hang_thresh >GRAPH_MAX_FUNC_TEST )) {ftrace_graph_stop ();printk (KERN_WARNING "BUG: Function graph tracer hang!\n" ); -if (ftrace_dump_on_oops) -__ftrace_dump (false,DUMP_ALL ); +if (ftrace_dump_on_oops) { +ftrace_dump (DUMP_ALL ); +/* ftrace_dump() disables tracing */ +tracing_on (); + }return 0 ; }
net/netfilter/ipvs/ip_vs_pe_sip.c +1 -5
@@ -37,14 +37,10 @@ static int get_callid(const char *dptr, unsigned int dataoff,if (ret >0 )break ;if (!ret) -return 0 ; +return -EINVAL ; dataoff += *matchoff; } -/* Empty callid is useless */ -if (!*matchlen) -return -EINVAL ; -/* Too large is useless */ if (*matchlen >IP_VS_PEDATA_MAXLEN )return -EINVAL ;