aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* [IA64] MCA recovery: kernel context recovery tableRuss Anderson2006-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Memory errors encountered by user applications may surface when the CPU is running in kernel context. The current code will not attempt recovery if the MCA surfaces in kernel context (privilage mode 0). This patch adds a check for cases where the user initiated the load that surfaces in kernel interrupt code. An example is a user process lauching a load from memory and the data in memory had bad ECC. Before the bad data gets to the CPU register, and interrupt comes in. The code jumps to the IVT interrupt entry point and begins execution in kernel context. The process of saving the user registers (SAVE_REST) causes the bad data to be loaded into a CPU register, triggering the MCA. The MCA surfaces in kernel context, even though the load was initiated from user context. As suggested by David and Tony, this patch uses an exception table like approach, puting the tagged recovery addresses in a searchable table. One difference from the exception table is that MCAs do not surface in precise places (such as with a TLB miss), so instead of tagging specific instructions, address ranges are registers. A single macro is used to do the tagging, with the input parameter being the label of the starting address and the macro being the ending address. This limits clutter in the code. This patch only tags one spot, the interrupt ivt entry. Testing showed that spot to be a "heavy hitter" with MCAs surfacing while saving user registers. Other spots can be added as needed by adding a single macro. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck <tony.luck@intel.com>
* IA64: Use early_parm to handle mvec_name and nomcaHorms2006-03-23
| | | | | | | | | | | | | | I'm not sure of the worthiness of this idea, so please consider it an RFC. Its key merits are: * Reuse existing infrastructure * Greatly tightens up the parsing of nomca * Greatly simplifies the parsing of machvec Addition cleanup (moving setup_mvec() to machvec.c) by Ken Chen. Signed-Off-By: Horms <horms@verge.net.au> Signed-Off-By: Tony Luck <tony.luck@intel.com>
* [IA64] move patchlist and machvec into init sectionChen, Kenneth W2006-03-22
| | | | | | | | | | | | | ia64_mv is initialized based on platform detected or specified. However, there is one instantiation of each platform type. We don't expect to switch platform vector during run time. Move those platform specific type into init section since a copy is made into global ia64_mv at initialization. Also move instruction patch list into init section as well. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64] add init declaration - nolwsysChen, Kenneth W2006-03-22
| | | | | | | Add __initdata to nolwsys. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64] add init declaration - gate page functionsChen, Kenneth W2006-03-22
| | | | | | | | Add init declaration to bunch of patch functions and gate page setup function. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64] add init declaration to memory initialization functionsChen, Kenneth W2006-03-22
| | | | | | | | | Add init declaration to variables/functions used for memory initialization. I don't think they would clash with memory hotplug. If they do, please yell. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64] add init declaration to cpu initialization functionsChen, Kenneth W2006-03-22
| | | | | | | Add init declaration to cpu initialization functions. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64] add __init declaration to mca functionsChen, Kenneth W2006-03-22
| | | | | | | | Mark init related variable and functions with appropriate __init* declaration to mca functions. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64] Ignore disabled Local SAPIC Affinity Structure in SRATKenji Kaneshige2006-03-22
| | | | | | | | | | | | According to the ACPI spec, the OSPM must ignore the contents of the Processor Local APIC/SAPIC Affinity Structure in System Resource Affinity Table (SRAT), if its enable flag is cleared. However, ia64 linux refers all of the Processor Local APIC/SAPIC Affinity Structures in SRAT regardless of the enable flag. This is obviously against the ACPI spec. This patch fixes this bug. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64] sn_check_intr: use ia64_get_irr()Bjorn Helgaas2006-03-22
| | | | | | | | Use the recently-added ia64_get_irr() rather than duplicating the code. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64] fix ia64 is_hugepage_only_rangeChen, Kenneth W2006-03-22
| | | | | | | | | | | fix is_hugepage_only_range() definition to be "overlaps" instead of "within architectural restricted hugetlb address range". Simplify the ia64 specific code that used to use is_hugepage_only_range() to just check which region the address is in. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsaLinus Torvalds2006-03-22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa: (124 commits) [ALSA] version 1.0.11rc4 [PATCH] Intruduce DMA_28BIT_MASK [ALSA] hda-codec - Add support for ASUS P4GPL-X [ALSA] hda-codec - Add support for HP nx9420 laptop [ALSA] Fix memory leaks in error path of control.c [ALSA] AMD Au1x00: AC'97 controller is memory mapped [ALSA] AMD Au1x00: fix DMA init/cleanup [ALSA] hda-codec - Fix generic auto-configurator [ALSA] hda-codec - Fix BIOS auto-configuration [ALSA] Fixes typos in Audiophile-USB.txt [ALSA] ice1712 - typo fixes for dxr_enable module option [ALSA] AMD Au1x00: make driver build after cleanup [ALSA] ice1712 - Fix wrong value types for enum items [ALSA] fix resource leak in usbmixer [ALSA] Fix gus_pcm dereference before NULL [ALSA] Fix seq_clientmgr dereferences before NULL check [ALSA] hda-codec - Fix for Samsung R65 and ASUS A6J [ALSA] hda-codec - Add support for VAIO FE550G and SZ110 [ALSA] usb-audio: add Maya44 mixer control names [ALSA] usb-audio: add Casio PL-40R support ...
| * [ALSA] version 1.0.11rc4Jaroslav Kysela2006-03-22
| |
| * Merge with ↵Jaroslav Kysela2006-03-22
| |\ | | | | | | | | | rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
| * | [PATCH] Intruduce DMA_28BIT_MASKTobias Klauser2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the DMA_28BIT_MASK constant in dma-mapping.h ALSA drivers using this mask are changed to use the new constant. Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Acked-by: Takashi Iwai <tiwai@suse.de> Acked-by: Jaroslav Kysela <perex@suse.cz>
| * | [ALSA] hda-codec - Add support for ASUS P4GPL-XTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | Modules: HDA Codec driver Added the support ASUS P4GPL-X with ALC880 codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] hda-codec - Add support for HP nx9420 laptopTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | Modules: HDA Codec driver Added the support for HP nx9420 (AngelFire) laptop with AD1981HD codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Fix memory leaks in error path of control.cTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | Modules: Control Midlevel Fix memory leaks in error path of control.c (only with CONFIG_SND_DEBUG=y). Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] AMD Au1x00: AC'97 controller is memory mappedSergei Shtylyov2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver erroneously calls request_region() for AC'97 controller registers -- the controller is actually memory mapped at addresses 0x10000000 thru 0x100FFFFF. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] AMD Au1x00: fix DMA init/cleanupSergei Shtylyov2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver causes kernel oops in au1000_init() by trying to set DMA channel to -1 in yet unallocated audio streams. Here's the patch that staightens up DMA init/cleanup code. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] hda-codec - Fix generic auto-configuratorTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: HDA generic driver Fixed the generic auto-configurator to check speaker pins in addition. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] hda-codec - Fix BIOS auto-configurationTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: HDA Codec driver,HDA generic driver - Fix autoconfig speaker/hp detection Now it allows multiple speaker pins (e.g. Dell laptops have such config) - Use speaker or hp pins if no line-outs are available This fixes the silence output on recent Dell laptops with STAC9200 (ALSA bug#1843) - Fix analog/realtek/sigmatel autoconfig parser Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Fixes typos in Audiophile-USB.txtThibault LE MEUR2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Documentation Fixes typos in Audiophile-USB.txt. Signed-off-by: Thibault LE MEUR <Thibault.LeMeur@supelec.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] ice1712 - typo fixes for dxr_enable module optionAlan Horstmann2006-03-22
| | | | | | | | | | | | | | | | | | Modules: ICE1712 driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * | [ALSA] AMD Au1x00: make driver build after cleanupSergei Shtylylov2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver doesn't build after the recent code cleanup: sound/mips/au1x00.c: In function 'au1000_setup_dma_link': sound/mips/au1x00.c:173: error: 'pointer' undeclared (first use in this function) sound/mips/au1x00.c:173: error: (Each undeclared identifier is reported only once sound/mips/au1x00.c:173: error: for each function it appears in.) sound/mips/au1x00.c: In function 'snd_au1000_hw_params': sound/mips/au1x00.c:339: warning: implicit declaration of function 'snd_mask_min' Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] ice1712 - Fix wrong value types for enum itemsTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ICE1712 driver Fix the access to wrong type values for enum items in aureon.c (ALSA bug#1527). Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] fix resource leak in usbmixerJesper Juhl2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: USB generic driver We may leak 'namelist' in sound/usb/usbmixer.c::parse_audio_selector_unit() Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Fix gus_pcm dereference before NULLEugene Teo2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: GUS Library The NULL check of substream is simply superfluous. It is guaranteed to receive non-NULL substream. Thanks Takashi. Coverity bug #861 Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Fix seq_clientmgr dereferences before NULL checkEugene Teo2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ALSA sequencer cptr->pool must be non-NULL there, so just the if (cptr->pool) is superfluous. Thanks Takashi. Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] hda-codec - Fix for Samsung R65 and ASUS A6JTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Documentation,HDA Codec driver Added a new model 'laptop-eapd' to AD1986A codec for Samsung R65 and ASUS A6J laptops. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] hda-codec - Add support for VAIO FE550G and SZ110Takashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Documentation,HDA Codec driver Add support for VAIO FE550G and SZ110 laptops with Sigmatel codec (7661). The new model 'vaio' is added. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] usb-audio: add Maya44 mixer control namesClemens Ladisch2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | Modules: USB generic driver Add mixer control names for the AudioTrak Maya44 USB. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] usb-audio: add Casio PL-40R supportClemens Ladisch2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | Modules: USB generic driver Add a quirk entry for the Casio PL-40R. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] hda-codec - Add model entry for FIC P4M-915GD1Takashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | Modules: HDA Codec driver Add model entry for FIC P4M-915GD1 with ALC880 codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] ac97 - Clean up obsolete workaroundsTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | Modules: AC97 Codec Clean up obsolete workarounds provided only for nm256. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Fix NM256 hard lock upFlorian Schlichting2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: NM256 driver Treat the nm256 mixer as a write-only device so as to avoid hangs on initialisation. Signed-off-by: Florian Schlichting <Florian.Schlichting@gmx.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] ac97 - Allow drivers to set static volume resolution tableTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: AC97 Codec Add the pointer to a static volume resolution table to ac97 template, so that the drivers can define the volume resolution, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] usb-audio: add MDP-5/EZ-J24 supportClemens Ladisch2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | Modules: USB generic driver Add support for the Yamaha MDP-5 and EZ-J24. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] Fixes audiophile usb analog capture with the new device_setup parameterThibault LE MEUR2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Documentation,USB generic driver The patch adds the 'device_setup' module parameter and a specific quirk to correctly initialize the audiophile usb device: this fixes the distorted sound bug on the Analog capture port. Backward compatibility is achieved by simply omitting the new parameter. Signed-off-by: Thibault LE MEUR <Thibault.LeMeur@supelec.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] sound/pci/ice1712/delta.c: make 2 functions staticAdrian Bunk2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ICE1712 driver This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] fix some memory leaksAdrian Bunk2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Generic drivers,ES18xx driver,CS46xx driver This patch fixes two memory leaks spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] usb-audio: add error message about missing split iso supportClemens Ladisch2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: USB generic driver Add an error message for -ENOSYS for situations when split iso support is needed but not enabled. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] hda-codec - Fix Aopen i915GMm-HFS moboTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | Modules: HDA Codec driver Add a model entry for Aopen i915GMm-HFS mobo with ALC880 codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] sound/pci/rme9652/hdspm.c: fix off-by-one errorsAdrian Bunk2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: RME9652 driver This patch fixes off-by-one errors found by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] sound/core/: fix 3 off-by-one errorsAdrian Bunk2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ALSA Core This patch fixes three off-by-one errors found by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] make control.c suspend awareGiuliano Pochini2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Control Midlevel This patch prevents user-space apps from accessing the hardware via control interface while the soundcard is suspended. Signed-off-by: Giuliano Pochini <pochini@shiny.it> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] hda-codec - Fix support of laptops with AD1986A codecTakashi Iwai2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Documentation,HDA Codec driver Fix the support of laptops with AD1986A HD-audio codec. Added new models '3stack' and 'laptop'. Currently, fixed for FSC V2060 and Samsung M50. Also fixed the description of missing models in ALSA-Configuration.txt. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] bt87x: add more DVB card IDsClemens Ladisch2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: BT87x driver Add more PCI subsystem IDs of DVB cards to the blacklist of cards the driver is to ignore. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] usb-audio: change Casio quirk product nameClemens Ladisch2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: USB generic driver Use a generic name for USB device 0x07cf:0x6802 because this ID is used by several devices without a product ID. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] usb-audio: show USB error descriptionsClemens Ladisch2006-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: USB generic driver When usb_submit_urb() fails, show an error description instead of just the error code. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>