[PATCH 10/10] tty: implement BTM as mutex instead of BKL
The tty locking now follows the rules for mutexes, so we can replace the BKL usage with a new subsystem wide mutex. This patch for now makes the new behaviour an optional experimental feature that can be enabled for testing purposes. Using a regular mutex here will change the behaviour when blocked on the BT... 15 May 2010 18:05
[PATCH v2] MFD: rdc321x: change resources flags to IORESOURCE_IO
The rdc321x southbridge PCI device has no MEM PCI resources that we could pass to mfd_add_devices. Since 33254dd5, mfd_add_device checks for the mem_base argument that we set to NULL. Changing the resources passed to our MFD cells from IORESOURCE_MEM to IORESOURCE_IO fixes that. Since we use those resources as offs... 15 May 2010 18:04
[PATCH] MFD: rdc321x: change resources flags to IORESOURCE_IO
The rdc321x southbridge PCI device has no MEM PCI resources that we could pass to mfd_add_devices. Since 33254dd5, mfd_add_device checks for the mem_base argument that we set to NULL. Changing the resources passed to our MFD cells from IORESOURCE_MEM to IORESOURCE_IO fixes that. Since we use those resources as offs... 15 May 2010 16:59
MFD: prevent null pointer dereference in mfd_add_device
Hi Samuel, I just saw that your for-next branch contains the proper fix, this patch can be discarded. Le samedi 15 mai 2010 21:57:10, Florian Fainelli a écrit : If a driver calls mfd_add_device with a NULL argument for the mem_base resource we will end up dereferencing it without checking for its validit... 15 May 2010 16:59
[PATCH] MFD: prevent null pointer dereference in mfd_add_device
If a driver calls mfd_add_device with a NULL argument for the mem_base resource we will end up dereferencing it without checking for its validity here: res[r].start = mem_base->start cell->resources[r].start; (line 53 of mfd-core.c) This patch adds the checking on the mem_base argument and bails out accordingly i... 15 May 2010 16:59
libata: implement on-demand HPA unlocking
On 05/15/2010 02:09 PM, Tejun Heo wrote: Implement ata_scsi_unlock_native_capacity() which will be called through SCSI layer when block layer notices that partitions on a device extend beyond the end of the device. It requests EH to unlock HPA, waits for completion and returns the current device capacity. ... 16 May 2010 03:47
libata: use the enlarged capacity after late HPA unlock
On 05/15/2010 02:09 PM, Tejun Heo wrote: After late HPA unlock, libata kept using the original capacity ignoring the new larger native capacity. Enlarging device on the fly doesn't cause any harm. Use the larger native capacity instead. This will enable on-demand HPA unlocking. Signed-off-by: Tejun... 16 May 2010 03:47
[stable-2.6.33.4 PATCH] USB: option.c: OLIVETTI OLICARD100 support
From: Nils Radtke <lkml(a)Think-Future.de> This patch adds support for an olivetti olicard100 HЅDPA usb-stick. This device is a zeroCD one with ID 0b3c:c700 that needs switching via eject or usb-modeswitch with MessageContent="5553424312345678000000000000061b000000030000000000000000000000". After switching it ... 15 May 2010 15:54
[PATCH 2/8] block: restart partition scan after resizing a device
Device resize via ->set_capacity() can reveal new partitions (e.g. in chained partition table formats such as dos extended parts). Restart partition scan from the beginning after resizing a device. This change also makes libata always revalidate the disk after resize which makes lower layer native capacity unlock... 15 May 2010 14:49
[PATCH 6/8] SCSI: implement sd_unlock_native_capacity()
Implement sd_unlock_native_capacity() method which calls into hostt->unlock_native_capacity() if implemented. This will be invoked by block layer if partitions extend beyond the end of the device and can be used to implement, for example, on-demand ATA host protected area unlocking. Signed-off-by: Tejun Heo <tj... 15 May 2010 14:49