- 25 Jan, 2005 1 commit
-
-
Len Brown authored
Fixed a recently introduced problem with the Global Lock where the underlying semaphore was not created. This problem was introduced in version 20050114, and caused an AE_AML_NO_OPERAND exception during an Acquire() operation on _GL. The local object cache is now optional, and is disabled by default. #define ACPI_ENABLE_OBJECT_CACHE to enable the local cache. Fixed an issue in the internal function acpi_ut_evaluate_object() concerning the optional "implicit return" support where an error was returned if no return object was expected, but one was implicitly returned. AE_OK is now returned in this case and the implicitly returned object is deleted. acpi_ut_evaluate_object() is only occasionally used, and only to execute reserved methods such as _STA and _INI where the return type is known up front. Fixed a few issues with the internal convert-to-integer code. It now returns an error if an attempt is made to convert a null string, a string of only blanks/tabs, or a zero-length buffer. This affects both implicit conversion and explicit conversion via the ToInteger() operator. The internal debug code in acpi_ut_acquire_mutex() has been commented out. It is not needed for normal operation and should increase the performance of the entire subsystem. The code remains in case it is needed for debug purposes again. acpica-unix-20050125.patch
-
- 21 Jan, 2005 1 commit
-
-
Len Brown authored
caused by "implicit return" BIOS workaround returning unsolicited (and thus mis-typed) AML values. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
-
- 20 Jan, 2005 3 commits
-
-
Len Brown authored
Added 2005 copyright to all ACPICA files. Fixed an issue with the String-to-Buffer conversion code where the string null terminator was not included in the buffer after conversion, but there is existing ASL that assumes the string null terminator is included. This is the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was introduced in the previous version when the code was updated to correctly set the converted buffer size as per the ACPI specification. The ACPI spec is ambiguous and will be updated to specify that the null terminator must be included in the converted buffer. This also affects the ToBuffer() ASL operator. Fixed a problem with the Mid() ASL/AML operator where it did not work correctly on Buffer objects. Newly created sub-buffers were not being marked as initialized. Fixed a problem in acpi_tb_find_table where incorrect string compares were performed on the oem_id and oem_table_d table header fields. These fields are not null terminated, so strncmp is now used instead of strcmp. Implemented a restriction on the Store() ASL/AML operator to align the behavior with the ACPI specification. Previously, any object could be used as the source operand. Now, the only objects that may be used are Integers, Buffers, Strings, Packages, Object References, and DDB Handles. As acpi_gbl_enable_interpreter_slack is FALSE by default, "acpi=strict" is needed to enable this check. Enhanced the optional "implicit return" support to allow an implicit return value from methods that are invoked externally via the AcpiEvaluateObject interface. This enables implicit returns from the _STA and _INI methods, for example. Changed the Revision() ASL/AML operator to return the current version of the AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned the supported ACPI version (This is the function of the _REV method). Updated the _REV predefined method to return the currently supported version of ACPI, now 3.
-
Len Brown authored
we remember when entering C3 -- /sys/module/processor/parameters/bm_history Default varies with HZ -- 40ms for 25 - 800 HZ, 32ms for 1000 HZ. Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
of the check being called. This means bus mastering activity is assumed if bm_check isn't called; and multiple calls during one jiffy will be |='ed. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Len Brown <len.brown@intel.com>
-
- 07 Jan, 2005 1 commit
-
-
Len Brown authored
Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
-
- 05 Jan, 2005 1 commit
-
-
Linus Torvalds authored
It didn't allocate space for the final terminating entry, which caused it to overwrite the next slab entry, which in turn sometimes ended up being a slab array cache pointer. End result: total slab cache corruption at a random time afterwards. Very nasty.
-
- 04 Jan, 2005 1 commit
-
-
Len Brown authored
into intel.com:/home/lenb/src/26-stable-dev
-
- 24 Dec, 2004 6 commits
-
-
Linus Torvalds authored
Merry Christmas everyone. Ho ho ho!
-
Linus Torvalds authored
rth tells me that some versions of gcc may end up using the SSE registers for data movement when you do that. Use "-march=i686 -mtune=xxxx" instead. (We do the same thing for march=pentium2/4 too, just for consistency).
-
Dmitry Torokhov authored
evdev, joydev, mousedev, tsdev - remove class device and devfs entry when hardware driver disconnects instead of waiting for the last user to drop off. This way hardware drivers can be unloaded at any time. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Vladimir Saveliev authored
This patch adds missing lock_kernel()/unlock_kernel() pair in reiserfs_get_dentry Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
mm/rmap.c contains an open-coded reference to swap_token_default_timeout Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
CFQ v2 has some spare queue logic that was never enabled. It has an SMP deadlock because it attempts to regrab the queue lock in the exit path, so kill the spare queue stuff completely for 2.6.10. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 23 Dec, 2004 15 commits
-
-
Len Brown authored
into intel.com:/home/lenb/src/26-latest-dev
-
Len Brown authored
into intel.com:/home/lenb/src/26-latest-dev
-
Len Brown authored
by leaving Bus Master Arbitration enabled. The ACPI spec mandates it be disabled only for C3. http://bugzilla.kernel.org/show_bug.cgi?id=3599Signed-off-by: David Shaohua Li <shaohua.li@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
the same way it is applied in legacy mode. Delete redundant quirks. http://bugzilla.kernel.org/show_bug.cgi?id=3319Signed-off-by: David Shaohua Li <shaohua.li@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
http://bugzilla.kernel.org/show_bug.cgi?id=2901Signed-off-by: Len Brown <len.brown@intel.com>
-
Andrew Morton authored
switch_uid() doesn't care about tasklist_lock, so do it outside the lock and avoid a subtle (and very very unlikely to trigger) AB-BA deadlock. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Len Brown authored
into intel.com:/home/lenb/src/26-latest-dev
-
Len Brown authored
Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
http://bugzilla.kernel.org/show_bug.cgi?id=2901Signed-off-by: Len Brown <len.brown@intel.com>
-
Jesper Juhl authored
This fixes a build failure with gcc-3.4.1, where we use some functions before we define them inline. The simple way to fix those is to simply un-inline the functions in question. Since they are somewhat large that's what I did. An alternative would be to rework the ordering of the file so the functions are defined before their first use. Signed-off-by: Jesper juhl <juhl-lkml@dif.dk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Len Brown authored
which blocks _CST parsing and always uses FADT info instead. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
[ACPI] tweak /proc/acpi/processor/CPU0/power format Current policy is to name both C-state-types and the actual C-States "C[0-n]". Follow this rule... Signed-off-by: Dominik Brodowski <linux@brodo.de Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Len Brown <len.brown@intel.com>
-
bk://linux.bkbits.net/linux-2.5Nathan Scott authored
into oss.sgi.com:/oss4/bitkeeper/xfs-linux-2.6
-
- 22 Dec, 2004 7 commits
-
-
Len Brown authored
into intel.com:/home/lenb/src/26-latest-dev
-
bk://gkernel.bkbits.net/libata-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Jeff Garzik authored
Remove ATA_FLAG_SATA_RESET. See comment in code and http://bugme.osdl.org/show_bug.cgi?id=3352 for more details. This problem needs more investigation. Removing the flag appears to fix the problems in the field, so it's the best temporary solution.
-
Greg Kroah-Hartman authored
I missed this in the previous usb_kill_urb() cleanup. Thanks to Pat Mochel for reporting this. Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Kroah-Hartman authored
This is the patch to fix the case when snd_padding is not zero, updated according to Duncan's comments. Also it changes the driver name to reflect its generic nature. Signed-off-by: Roman Kagan <rkagan@mail.ru> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Moxa have released several driver updates now including support up to 2.6.8 but don't themselves feel its worth the effort of doing a cleaned up merge for the base kernel. So I pulled their latest driver release (1.8) and removed all the macro gunge that makes it build on 2.2.0->2.6.8. I then fixed it to run on 2.6.9/10 and fixed a bug in the break handling. It still doesn't do PCI hotplug but I don't have any PCI moxa cards to really tackle that particular case. I've also merged Adriank Bunk's two 'could be static' changes into this diff set. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Takashi Iwai authored
Fix suggested by Benjamin Herrenschmidt <benh@kernel.crashing.org> On architectures like PPC, char is handled as "unsigned char", thus the pcm_format_data table entries with -1 give a positive 255. This results in Oops with OSS-emulation on such architectures. The patch simply adds the right signed/unsigned prefix to fix this problem. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 21 Dec, 2004 4 commits
-
-
Len Brown authored
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
Only symbols "exported" are _init(), _exit() and _cst_has_changed() Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
http://bugzilla.kernel.org/show_bug.cgi?id=1958Signed-off-by: Bruno Ducrot <ducrot@poupinou.org> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
-
Len Brown authored
It is necessary to unload the processor idle handle for a short period of time to avoid for nasty races -- and we don't want to grab too many locks so that the idle handler continues to be speedy. http://bugzilla.kernel.org/show_bug.cgi?id=1958Signed-off-by: Bruno Ducrot <ducrot@poupinou.org> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
-