* [patch 0/7] fixes for 2.6.13-rc6
@ 2005-08-16 22:15 ` Greg Kroah-Hartman
2005-08-16 22:15 ` [patch 1/7] Driver core: potentially fix use after free in class_device_attr_show Greg Kroah-Hartman
` (6 more replies)
0 siblings, 7 replies; 10+ messages in thread
From: Greg Kroah-Hartman @ 2005-08-16 22:15 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel
Here are a series of patches against 2.6.13-rc6 that fix a few
minor bugs in the driver core, USB, and PCI subsystems.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 10+ messages in thread
* [patch 1/7] Driver core: potentially fix use after free in class_device_attr_show
2005-08-16 22:15 ` [patch 0/7] fixes for 2.6.13-rc6 Greg Kroah-Hartman
@ 2005-08-16 22:15 ` Greg Kroah-Hartman
2005-08-16 22:15 ` [patch 2/7] PCI: 6700/6702PXH quirk Greg Kroah-Hartman
` (5 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Greg Kroah-Hartman @ 2005-08-16 22:15 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, maneesh
[-- Attachment #1: driver-use-after-free-fix-for-class_device_attr_show.patch --]
[-- Type: text/plain, Size: 1314 bytes --]
From: Maneesh Soni <maneesh@in.ibm.com>
o moves the code to free devt_attr from class_device_del() to
class_dev_release() which is called after the last reference to the
corresponding kobject() is gone. This allows to keep the devt_attr
alive while the corresponding sysfs file is open.
Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/class.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
--- gregkh-2.6.orig/drivers/base/class.c 2005-08-16 14:51:44.000000000 -0700
+++ gregkh-2.6/drivers/base/class.c 2005-08-16 14:56:58.000000000 -0700
@@ -299,6 +299,11 @@ static void class_dev_release(struct kob
pr_debug("device class '%s': release.\n", cd->class_id);
+ if (cd->devt_attr) {
+ kfree(cd->devt_attr);
+ cd->devt_attr = NULL;
+ }
+
if (cls->release)
cls->release(cd);
else {
@@ -591,11 +596,8 @@ void class_device_del(struct class_devic
if (class_dev->dev)
sysfs_remove_link(&class_dev->kobj, "device");
- if (class_dev->devt_attr) {
+ if (class_dev->devt_attr)
class_device_remove_file(class_dev, class_dev->devt_attr);
- kfree(class_dev->devt_attr);
- class_dev->devt_attr = NULL;
- }
class_device_remove_attrs(class_dev);
kobject_hotplug(&class_dev->kobj, KOBJ_REMOVE);
--
^ permalink raw reply [flat|nested] 10+ messages in thread
* [patch 2/7] PCI: 6700/6702PXH quirk
2005-08-16 22:15 ` [patch 0/7] fixes for 2.6.13-rc6 Greg Kroah-Hartman
2005-08-16 22:15 ` [patch 1/7] Driver core: potentially fix use after free in class_device_attr_show Greg Kroah-Hartman
@ 2005-08-16 22:15 ` Greg Kroah-Hartman
2005-08-16 22:16 ` [patch 3/7] PCI: fix quirk-6700-fix.patch Greg Kroah-Hartman
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Greg Kroah-Hartman @ 2005-08-16 22:15 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, kristen.c.accardi
[-- Attachment #1: pci-quirk-6700.patch --]
[-- Type: text/plain, Size: 4369 bytes --]
From: Kristen Accardi <kristen.c.accardi@intel.com>
On the 6700/6702 PXH part, a MSI may get corrupted if an ACPI hotplug
driver and SHPC driver in MSI mode are used together. This patch will
prevent MSI from being enabled for the SHPC as part of an early pci
quirk, as well as on any pci device which sets the no_msi bit.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/pci/msi.c | 5 ++++-
drivers/pci/pci.h | 2 +-
drivers/pci/quirks.c | 21 +++++++++++++++++++++
include/linux/pci.h | 3 ++-
include/linux/pci_ids.h | 5 +++++
5 files changed, 33 insertions(+), 3 deletions(-)
--- gregkh-2.6.orig/drivers/pci/msi.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/msi.c 2005-08-16 14:57:12.000000000 -0700
@@ -453,7 +453,7 @@ static void enable_msi_mode(struct pci_d
}
}
-static void disable_msi_mode(struct pci_dev *dev, int pos, int type)
+void disable_msi_mode(struct pci_dev *dev, int pos, int type)
{
u16 control;
@@ -699,6 +699,9 @@ int pci_enable_msi(struct pci_dev* dev)
if (!pci_msi_enable || !dev)
return status;
+ if (dev->no_msi)
+ return status;
+
temp = dev->irq;
if ((status = msi_init()) < 0)
--- gregkh-2.6.orig/drivers/pci/pci.h 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/pci.h 2005-08-16 14:57:12.000000000 -0700
@@ -46,7 +46,7 @@ extern int pci_msi_quirk;
#else
#define pci_msi_quirk 0
#endif
-
+void disable_msi_mode(struct pci_dev *dev, int pos, int type);
extern int pcie_mch_quirk;
extern struct device_attribute pci_dev_attrs[];
extern struct class_device_attribute class_device_attr_cpuaffinity;
--- gregkh-2.6.orig/drivers/pci/quirks.c 2005-08-16 14:55:51.000000000 -0700
+++ gregkh-2.6/drivers/pci/quirks.c 2005-08-16 14:57:12.000000000 -0700
@@ -1291,6 +1291,27 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_IN
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_E7320_MCH, quirk_pcie_mch );
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_E7525_MCH, quirk_pcie_mch );
+
+/*
+ * It's possible for the MSI to get corrupted if shpc and acpi
+ * are used together on certain PXH-based systems.
+ */
+static void __devinit quirk_pcie_pxh(struct pci_dev *dev)
+{
+ disable_msi_mode(dev, pci_find_capability(dev, PCI_CAP_ID_MSI),
+ PCI_CAP_ID_MSI);
+ dev->no_msi = 1;
+
+ printk(KERN_WARNING "PCI: PXH quirk detected, "
+ "disabling MSI for SHPC device\n");
+}
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PXHD_0, quirk_pcie_pxh);
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PXHD_1, quirk_pcie_pxh);
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PXH_0, quirk_pcie_pxh);
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PXH_1, quirk_pcie_pxh);
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PXHV, quirk_pcie_pxh);
+
+
static void __devinit quirk_netmos(struct pci_dev *dev)
{
unsigned int num_parallel = (dev->subsystem_device & 0xf0) >> 4;
--- gregkh-2.6.orig/include/linux/pci.h 2005-08-16 14:55:51.000000000 -0700
+++ gregkh-2.6/include/linux/pci.h 2005-08-16 14:57:37.000000000 -0700
@@ -556,7 +556,8 @@ struct pci_dev {
/* keep track of device state */
unsigned int is_enabled:1; /* pci_enable_device has been called */
unsigned int is_busmaster:1; /* device is busmaster */
-
+ unsigned int no_msi:1; /* device may not use msi */
+
u32 saved_config_space[16]; /* config space saved at suspend time */
struct bin_attribute *rom_attr; /* attribute descriptor for sysfs ROM entry */
int rom_attr_enabled; /* has display of the rom attribute been enabled? */
--- gregkh-2.6.orig/include/linux/pci_ids.h 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/include/linux/pci_ids.h 2005-08-16 14:57:12.000000000 -0700
@@ -2281,6 +2281,11 @@
#define PCI_VENDOR_ID_INTEL 0x8086
#define PCI_DEVICE_ID_INTEL_EESSC 0x0008
#define PCI_DEVICE_ID_INTEL_21145 0x0039
+#define PCI_DEVICE_ID_INTEL_PXHD_0 0x0320
+#define PCI_DEVICE_ID_INTEL_PXHD_1 0x0321
+#define PCI_DEVICE_ID_INTEL_PXH_0 0x0329
+#define PCI_DEVICE_ID_INTEL_PXH_1 0x032A
+#define PCI_DEVICE_ID_INTEL_PXHV 0x032C
#define PCI_DEVICE_ID_INTEL_82375 0x0482
#define PCI_DEVICE_ID_INTEL_82424 0x0483
#define PCI_DEVICE_ID_INTEL_82378 0x0484
--
^ permalink raw reply [flat|nested] 10+ messages in thread
* [patch 3/7] PCI: fix quirk-6700-fix.patch
2005-08-16 22:15 ` [patch 0/7] fixes for 2.6.13-rc6 Greg Kroah-Hartman
2005-08-16 22:15 ` [patch 1/7] Driver core: potentially fix use after free in class_device_attr_show Greg Kroah-Hartman
2005-08-16 22:15 ` [patch 2/7] PCI: 6700/6702PXH quirk Greg Kroah-Hartman
@ 2005-08-16 22:16 ` Greg Kroah-Hartman
2005-08-17 0:27 ` Andrew Morton
2005-08-16 22:16 ` [patch 4/7] PCI Hotplug: new contact info Greg Kroah-Hartman
` (3 subsequent siblings)
6 siblings, 1 reply; 10+ messages in thread
From: Greg Kroah-Hartman @ 2005-08-16 22:16 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel
[-- Attachment #1: pci-quirk-6700-fix.patch --]
[-- Type: text/plain, Size: 917 bytes --]
From: Andrew Morton <akpm@osdl.org>
drivers/built-in.o(.text+0x32c3): In function `quirk_pcie_pxh':
/usr/src/25/drivers/pci/quirks.c:1312: undefined reference to `disable_msi_mode'
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/pci/pci.h | 6 ++++++
1 files changed, 6 insertions(+)
--- gregkh-2.6.orig/drivers/pci/pci.h 2005-08-16 14:57:46.000000000 -0700
+++ gregkh-2.6/drivers/pci/pci.h 2005-08-16 14:57:47.000000000 -0700
@@ -46,7 +46,13 @@ extern int pci_msi_quirk;
#else
#define pci_msi_quirk 0
#endif
+
+#ifdef CONFIG_PCI_MSI
void disable_msi_mode(struct pci_dev *dev, int pos, int type);
+#else
+static inline void disable_msi_mode(struct pci_dev *dev, int pos, int type) { }
+#endif
+
extern int pcie_mch_quirk;
extern struct device_attribute pci_dev_attrs[];
extern struct class_device_attribute class_device_attr_cpuaffinity;
--
^ permalink raw reply [flat|nested] 10+ messages in thread
* [patch 4/7] PCI Hotplug: new contact info
2005-08-16 22:15 ` [patch 0/7] fixes for 2.6.13-rc6 Greg Kroah-Hartman
` (2 preceding siblings ...)
2005-08-16 22:16 ` [patch 3/7] PCI: fix quirk-6700-fix.patch Greg Kroah-Hartman
@ 2005-08-16 22:16 ` Greg Kroah-Hartman
2005-08-16 22:16 ` [patch 5/7] PCI: update documentation Greg Kroah-Hartman
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Greg Kroah-Hartman @ 2005-08-16 22:16 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, kristen.c.accardi
[-- Attachment #1: pci-hotplug-new-contact-info.patch --]
[-- Type: text/plain, Size: 11343 bytes --]
From: Kristen Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
MAINTAINERS | 12 ++++++++++++
drivers/pci/hotplug/pciehp.h | 2 +-
drivers/pci/hotplug/pciehp_core.c | 2 +-
drivers/pci/hotplug/pciehp_ctrl.c | 2 +-
drivers/pci/hotplug/pciehp_hpc.c | 2 +-
drivers/pci/hotplug/pciehp_pci.c | 2 +-
drivers/pci/hotplug/pciehprm.h | 2 +-
drivers/pci/hotplug/pciehprm_acpi.c | 2 +-
drivers/pci/hotplug/pciehprm_nonacpi.c | 2 +-
drivers/pci/hotplug/pciehprm_nonacpi.h | 2 +-
drivers/pci/hotplug/shpchp.h | 2 +-
drivers/pci/hotplug/shpchp_core.c | 2 +-
drivers/pci/hotplug/shpchp_ctrl.c | 2 +-
drivers/pci/hotplug/shpchp_hpc.c | 2 +-
drivers/pci/hotplug/shpchp_pci.c | 2 +-
drivers/pci/hotplug/shpchprm.h | 2 +-
drivers/pci/hotplug/shpchprm_acpi.c | 2 +-
drivers/pci/hotplug/shpchprm_legacy.c | 2 +-
drivers/pci/hotplug/shpchprm_legacy.h | 2 +-
drivers/pci/hotplug/shpchprm_nonacpi.c | 2 +-
drivers/pci/hotplug/shpchprm_nonacpi.h | 2 +-
21 files changed, 32 insertions(+), 20 deletions(-)
--- gregkh-2.6.orig/drivers/pci/hotplug/pciehp_core.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/pciehp_core.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/pciehp_ctrl.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/pciehp_ctrl.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/pciehp.h 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/pciehp.h 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
#ifndef _PCIEHP_H
--- gregkh-2.6.orig/drivers/pci/hotplug/pciehp_hpc.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/pciehp_hpc.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>,<dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>,<kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/pciehp_pci.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/pciehp_pci.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/pciehprm_acpi.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/pciehprm_acpi.c 2005-08-16 14:57:52.000000000 -0700
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <dely.l.sy@intel.com>
+ * Send feedback to <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/pciehprm.h 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/pciehprm.h 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/pciehprm_nonacpi.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/pciehprm_nonacpi.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/pciehprm_nonacpi.h 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/pciehprm_nonacpi.h 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchp_core.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchp_core.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchp_ctrl.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchp_ctrl.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchp.h 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchp.h 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>,<dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>,<kristen.c.accardi@intel.com>
*
*/
#ifndef _SHPCHP_H
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchp_hpc.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchp_hpc.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>,<dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>,<kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchp_pci.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchp_pci.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchprm_acpi.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchprm_acpi.c 2005-08-16 14:57:52.000000000 -0700
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <dely.l.sy@intel.com>
+ * Send feedback to <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchprm.h 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchprm.h 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchprm_legacy.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchprm_legacy.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>,<dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>,<kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchprm_legacy.h 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchprm_legacy.h 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchprm_nonacpi.c 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchprm_nonacpi.c 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/drivers/pci/hotplug/shpchprm_nonacpi.h 2005-08-16 14:51:31.000000000 -0700
+++ gregkh-2.6/drivers/pci/hotplug/shpchprm_nonacpi.h 2005-08-16 14:57:52.000000000 -0700
@@ -23,7 +23,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
+ * Send feedback to <greg@kroah.com>, <kristen.c.accardi@intel.com>
*
*/
--- gregkh-2.6.orig/MAINTAINERS 2005-08-16 14:55:51.000000000 -0700
+++ gregkh-2.6/MAINTAINERS 2005-08-16 14:57:52.000000000 -0700
@@ -1825,6 +1825,12 @@ P: Greg Kroah-Hartman
M: greg@kroah.com
S: Maintained
+PCIE HOTPLUG DRIVER
+P: Kristen Carlson Accardi
+M: kristen.c.accardi@intel.com
+L: pcihpd-discuss@lists.sourceforge.net
+S: Maintained
+
PCMCIA SUBSYSTEM
P: Linux PCMCIA Team
L: http://lists.infradead.org/mailman/listinfo/linux-pcmcia
@@ -2201,6 +2207,12 @@ W: http://projects.buici.com/arm
L: linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
S: Maintained
+SHPC HOTPLUG DRIVER
+P: Kristen Carlson Accardi
+M: kristen.c.accardi@intel.com
+L: pcihpd-discuss@lists.sourceforge.net
+S: Maintained
+
SPARC (sparc32):
P: William L. Irwin
M: wli@holomorphy.com
--
^ permalink raw reply [flat|nested] 10+ messages in thread
* [patch 5/7] PCI: update documentation
2005-08-16 22:15 ` [patch 0/7] fixes for 2.6.13-rc6 Greg Kroah-Hartman
` (3 preceding siblings ...)
2005-08-16 22:16 ` [patch 4/7] PCI Hotplug: new contact info Greg Kroah-Hartman
@ 2005-08-16 22:16 ` Greg Kroah-Hartman
2005-08-16 22:16 ` [patch 6/7] USB: fix usb wacom tablet driver bug Greg Kroah-Hartman
2005-08-16 22:16 ` [patch 7/7] USB: usbmon: Copyrights and a typo Greg Kroah-Hartman
6 siblings, 0 replies; 10+ messages in thread
From: Greg Kroah-Hartman @ 2005-08-16 22:16 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, jirislaby
[-- Attachment #1: pci-update-docs.patch --]
[-- Type: text/plain, Size: 1518 bytes --]
From: Jiri Slaby <jirislaby@gmail.com>
This removes very old functions from pci docs, which aren't no longer in the
kernel.
Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Documentation/pci.txt | 14 --------------
1 files changed, 14 deletions(-)
--- gregkh-2.6.orig/Documentation/pci.txt 2005-08-16 14:51:30.000000000 -0700
+++ gregkh-2.6/Documentation/pci.txt 2005-08-16 14:57:58.000000000 -0700
@@ -266,20 +266,6 @@ port an old driver to the new PCI interf
in the kernel as they aren't compatible with hotplug or PCI domains or
having sane locking.
-pcibios_present() and Since ages, you don't need to test presence
-pci_present() of PCI subsystem when trying to talk to it.
- If it's not there, the list of PCI devices
- is empty and all functions for searching for
- devices just return NULL.
-pcibios_(read|write)_* Superseded by their pci_(read|write)_*
- counterparts.
-pcibios_find_* Superseded by their pci_get_* counterparts.
-pci_for_each_dev() Superseded by pci_get_device()
-pci_for_each_dev_reverse() Superseded by pci_find_device_reverse()
-pci_for_each_bus() Superseded by pci_find_next_bus()
pci_find_device() Superseded by pci_get_device()
pci_find_subsys() Superseded by pci_get_subsys()
pci_find_slot() Superseded by pci_get_slot()
-pcibios_find_class() Superseded by pci_get_class()
-pci_find_class() Superseded by pci_get_class()
-pci_(read|write)_*_nodev() Superseded by pci_bus_(read|write)_*()
--
^ permalink raw reply [flat|nested] 10+ messages in thread
* [patch 6/7] USB: fix usb wacom tablet driver bug
2005-08-16 22:15 ` [patch 0/7] fixes for 2.6.13-rc6 Greg Kroah-Hartman
` (4 preceding siblings ...)
2005-08-16 22:16 ` [patch 5/7] PCI: update documentation Greg Kroah-Hartman
@ 2005-08-16 22:16 ` Greg Kroah-Hartman
2005-08-16 22:16 ` [patch 7/7] USB: usbmon: Copyrights and a typo Greg Kroah-Hartman
6 siblings, 0 replies; 10+ messages in thread
From: Greg Kroah-Hartman @ 2005-08-16 22:16 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, pingc
[-- Attachment #1: usb-fix-wacom-bug.patch --]
[-- Type: text/plain, Size: 1941 bytes --]
From: Ping Cheng <pingc@wacom.com>
This patch fixes bug 4905 and a Cintiq 21UX bug.
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/input/wacom.c | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
--- gregkh-2.6.orig/drivers/usb/input/wacom.c 2005-08-16 14:51:29.000000000 -0700
+++ gregkh-2.6/drivers/usb/input/wacom.c 2005-08-16 14:58:01.000000000 -0700
@@ -342,9 +342,6 @@ static void wacom_graphire_irq(struct ur
goto exit;
}
- x = le16_to_cpu(*(__le16 *) &data[2]);
- y = le16_to_cpu(*(__le16 *) &data[4]);
-
input_regs(dev, regs);
if (data[1] & 0x10) { /* in prox */
@@ -373,15 +370,17 @@ static void wacom_graphire_irq(struct ur
}
}
- if (data[1] & 0x80) {
+ if (data[1] & 0x90) {
+ x = le16_to_cpu(*(__le16 *) &data[2]);
+ y = le16_to_cpu(*(__le16 *) &data[4]);
input_report_abs(dev, ABS_X, x);
input_report_abs(dev, ABS_Y, y);
- }
- if (wacom->tool[0] != BTN_TOOL_MOUSE) {
- input_report_abs(dev, ABS_PRESSURE, le16_to_cpu(*(__le16 *) &data[6]));
- input_report_key(dev, BTN_TOUCH, data[1] & 0x01);
- input_report_key(dev, BTN_STYLUS, data[1] & 0x02);
- input_report_key(dev, BTN_STYLUS2, data[1] & 0x04);
+ if (wacom->tool[0] != BTN_TOOL_MOUSE) {
+ input_report_abs(dev, ABS_PRESSURE, le16_to_cpu(*(__le16 *) &data[6]));
+ input_report_key(dev, BTN_TOUCH, data[1] & 0x01);
+ input_report_key(dev, BTN_STYLUS, data[1] & 0x02);
+ input_report_key(dev, BTN_STYLUS2, data[1] & 0x04);
+ }
}
input_report_key(dev, wacom->tool[0], data[1] & 0x10);
@@ -568,7 +567,7 @@ static void wacom_intuos_irq(struct urb
/* Cintiq doesn't send data when RDY bit isn't set */
if ((wacom->features->type == CINTIQ) && !(data[1] & 0x40))
- return;
+ goto exit;
if (wacom->features->type >= INTUOS3) {
input_report_abs(dev, ABS_X, (data[2] << 9) | (data[3] << 1) | ((data[9] >> 1) & 1));
--
^ permalink raw reply [flat|nested] 10+ messages in thread
* [patch 7/7] USB: usbmon: Copyrights and a typo
2005-08-16 22:15 ` [patch 0/7] fixes for 2.6.13-rc6 Greg Kroah-Hartman
` (5 preceding siblings ...)
2005-08-16 22:16 ` [patch 6/7] USB: fix usb wacom tablet driver bug Greg Kroah-Hartman
@ 2005-08-16 22:16 ` Greg Kroah-Hartman
6 siblings, 0 replies; 10+ messages in thread
From: Greg Kroah-Hartman @ 2005-08-16 22:16 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, zaitcev
[-- Attachment #1: usb-usbmon-copyright.patch --]
[-- Type: text/plain, Size: 1308 bytes --]
From: Pete Zaitcev <zaitcev@redhat.com>
Add copyright statements and fix a typo.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/mon/mon_main.c | 4 +++-
drivers/usb/mon/usb_mon.h | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
--- gregkh-2.6.orig/drivers/usb/mon/mon_main.c 2005-06-17 12:48:29.000000000 -0700
+++ gregkh-2.6/drivers/usb/mon/mon_main.c 2005-08-15 23:40:15.000000000 -0700
@@ -2,6 +2,8 @@
* The USB Monitor, inspired by Dave Harding's USBMon.
*
* mon_main.c: Main file, module initiation and exit, registrations, etc.
+ *
+ * Copyright (C) 2005 Pete Zaitcev (zaitcev@redhat.com)
*/
#include <linux/kernel.h>
@@ -311,7 +313,7 @@
mondir = debugfs_create_dir("usbmon", NULL);
if (IS_ERR(mondir)) {
- printk(KERN_NOTICE TAG ": debugs is not available\n");
+ printk(KERN_NOTICE TAG ": debugfs is not available\n");
return -ENODEV;
}
if (mondir == NULL) {
--- gregkh-2.6.orig/drivers/usb/mon/usb_mon.h 2005-08-15 23:40:08.000000000 -0700
+++ gregkh-2.6/drivers/usb/mon/usb_mon.h 2005-08-15 23:40:15.000000000 -0700
@@ -1,5 +1,7 @@
/*
* The USB Monitor, inspired by Dave Harding's USBMon.
+ *
+ * Copyright (C) 2005 Pete Zaitcev (zaitcev@redhat.com)
*/
#ifndef __USB_MON_H
--
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [patch 3/7] PCI: fix quirk-6700-fix.patch
2005-08-16 22:16 ` [patch 3/7] PCI: fix quirk-6700-fix.patch Greg Kroah-Hartman
@ 2005-08-17 0:27 ` Andrew Morton
2005-08-17 18:45 ` Greg KH
0 siblings, 1 reply; 10+ messages in thread
From: Andrew Morton @ 2005-08-17 0:27 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: torvalds, linux-kernel
Greg Kroah-Hartman <gregkh@suse.de> wrote:
>
> From: Andrew Morton <akpm@osdl.org>
>
> drivers/built-in.o(.text+0x32c3): In function `quirk_pcie_pxh':
> /usr/src/25/drivers/pci/quirks.c:1312: undefined reference to `disable_msi_mode'
>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
>
> ---
> drivers/pci/pci.h | 6 ++++++
> 1 files changed, 6 insertions(+)
>
> --- gregkh-2.6.orig/drivers/pci/pci.h 2005-08-16 14:57:46.000000000 -0700
> +++ gregkh-2.6/drivers/pci/pci.h 2005-08-16 14:57:47.000000000 -0700
> @@ -46,7 +46,13 @@ extern int pci_msi_quirk;
> #else
> #define pci_msi_quirk 0
> #endif
> +
> +#ifdef CONFIG_PCI_MSI
> void disable_msi_mode(struct pci_dev *dev, int pos, int type);
> +#else
> +static inline void disable_msi_mode(struct pci_dev *dev, int pos, int type) { }
> +#endif
> +
> extern int pcie_mch_quirk;
> extern struct device_attribute pci_dev_attrs[];
> extern struct class_device_attribute class_device_attr_cpuaffinity;
>
hm. I normally fold crappy little patches like this into the main patch
before sending it Linuswards. The submitter gets a mention in the s-o-b
record and perhaps a one-line description if the fix was less than utterly
trivial.
That's one advantage of the patch-scripts/quilt approach: these little
post-facto fixups don't pollute the upstream changelog record.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [patch 3/7] PCI: fix quirk-6700-fix.patch
2005-08-17 0:27 ` Andrew Morton
@ 2005-08-17 18:45 ` Greg KH
0 siblings, 0 replies; 10+ messages in thread
From: Greg KH @ 2005-08-17 18:45 UTC (permalink / raw)
To: Andrew Morton; +Cc: torvalds, linux-kernel
On Tue, Aug 16, 2005 at 05:27:11PM -0700, Andrew Morton wrote:
>
> hm. I normally fold crappy little patches like this into the main patch
> before sending it Linuswards. The submitter gets a mention in the s-o-b
> record and perhaps a one-line description if the fix was less than utterly
> trivial.
Ok, I will do that in the future, I just wanted to make sure everyone
got the proper credit.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-08-17 18:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20050816220001.699316000@press.kroah.org>
2005-08-16 22:15 ` [patch 0/7] fixes for 2.6.13-rc6 Greg Kroah-Hartman
2005-08-16 22:15 ` [patch 1/7] Driver core: potentially fix use after free in class_device_attr_show Greg Kroah-Hartman
2005-08-16 22:15 ` [patch 2/7] PCI: 6700/6702PXH quirk Greg Kroah-Hartman
2005-08-16 22:16 ` [patch 3/7] PCI: fix quirk-6700-fix.patch Greg Kroah-Hartman
2005-08-17 0:27 ` Andrew Morton
2005-08-17 18:45 ` Greg KH
2005-08-16 22:16 ` [patch 4/7] PCI Hotplug: new contact info Greg Kroah-Hartman
2005-08-16 22:16 ` [patch 5/7] PCI: update documentation Greg Kroah-Hartman
2005-08-16 22:16 ` [patch 6/7] USB: fix usb wacom tablet driver bug Greg Kroah-Hartman
2005-08-16 22:16 ` [patch 7/7] USB: usbmon: Copyrights and a typo Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox