Merge tag 'char-misc-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc and other driver updates from Greg KH:
"Here is the large set of char/misc and other small driver subsystem
changes for 6.1-rc1. Loads of different things in here:
- IIO driver updates, additions, and changes. Probably the largest
part of the diffstat
- habanalabs driver update with support for new hardware and
features, the second largest part of the diff.
- fpga subsystem driver updates and additions
- mhi subsystem updates
- Coresight driver updates
- gnss subsystem updates
- extcon driver updates
- icc subsystem updates
- fsi subsystem updates
- nvmem subsystem and driver updates
- misc driver updates
- speakup driver additions for new features
- lots of tiny driver updates and cleanups
All of these have been in the linux-next tree for a while with no
reported issues"
* tag 'char-misc-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (411 commits)
w1: Split memcpy() of struct cn_msg flexible array
spmi: pmic-arb: increase SPMI transaction timeout delay
spmi: pmic-arb: block access for invalid PMIC arbiter v5 SPMI writes
spmi: pmic-arb: correct duplicate APID to PPID mapping logic
spmi: pmic-arb: add support to dispatch interrupt based on IRQ status
spmi: pmic-arb: check apid against limits before calling irq handler
spmi: pmic-arb: do not ack and clear peripheral interrupts in cleanup_irq
spmi: pmic-arb: handle spurious interrupt
spmi: pmic-arb: add a print in cleanup_irq
drivers: spmi: Directly use ida_alloc()/free()
MAINTAINERS: add TI ECAP driver info
counter: ti-ecap-capture: capture driver support for ECAP
Documentation: ABI: sysfs-bus-counter: add frequency & num_overflows items
dt-bindings: counter: add ti,am62-ecap-capture.yaml
counter: Introduce the COUNTER_COMP_ARRAY component type
counter: Consolidate Counter extension sysfs attribute creation
counter: Introduce the Count capture component
counter: 104-quad-8: Add Signal polarity component
counter: Introduce the Signal polarity component
counter: interrupt-cnt: Implement watch_validate callback
...
This commit is contained in:
@@ -198,7 +198,7 @@ static int vbg_report_guest_info(struct vbg_dev *gdev)
|
||||
req2->additions_revision = VBG_SVN_REV;
|
||||
req2->additions_features =
|
||||
VMMDEV_GUEST_INFO2_ADDITIONS_FEATURES_REQUESTOR_INFO;
|
||||
strlcpy(req2->name, VBG_VERSION_STRING,
|
||||
strscpy(req2->name, VBG_VERSION_STRING,
|
||||
sizeof(req2->name));
|
||||
|
||||
/*
|
||||
|
||||
@@ -270,6 +270,13 @@ static ssize_t host_features_show(struct device *dev,
|
||||
static DEVICE_ATTR_RO(host_version);
|
||||
static DEVICE_ATTR_RO(host_features);
|
||||
|
||||
static struct attribute *vbg_pci_attrs[] = {
|
||||
&dev_attr_host_version.attr,
|
||||
&dev_attr_host_features.attr,
|
||||
NULL,
|
||||
};
|
||||
ATTRIBUTE_GROUPS(vbg_pci);
|
||||
|
||||
/**
|
||||
* Does the PCI detection and init of the device.
|
||||
*
|
||||
@@ -390,12 +397,6 @@ static int vbg_pci_probe(struct pci_dev *pci, const struct pci_device_id *id)
|
||||
}
|
||||
|
||||
pci_set_drvdata(pci, gdev);
|
||||
device_create_file(dev, &dev_attr_host_version);
|
||||
device_create_file(dev, &dev_attr_host_features);
|
||||
|
||||
vbg_info("vboxguest: misc device minor %d, IRQ %d, I/O port %x, MMIO at %pap (size %pap)\n",
|
||||
gdev->misc_device.minor, pci->irq, gdev->io_port,
|
||||
&mmio, &mmio_len);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -422,8 +423,6 @@ static void vbg_pci_remove(struct pci_dev *pci)
|
||||
mutex_unlock(&vbg_gdev_mutex);
|
||||
|
||||
free_irq(pci->irq, gdev);
|
||||
device_remove_file(gdev->dev, &dev_attr_host_features);
|
||||
device_remove_file(gdev->dev, &dev_attr_host_version);
|
||||
misc_deregister(&gdev->misc_device_user);
|
||||
misc_deregister(&gdev->misc_device);
|
||||
vbg_core_exit(gdev);
|
||||
@@ -488,6 +487,7 @@ MODULE_DEVICE_TABLE(pci, vbg_pci_ids);
|
||||
|
||||
static struct pci_driver vbg_pci_driver = {
|
||||
.name = DEVICE_NAME,
|
||||
.dev_groups = vbg_pci_groups,
|
||||
.id_table = vbg_pci_ids,
|
||||
.probe = vbg_pci_probe,
|
||||
.remove = vbg_pci_remove,
|
||||
|
||||
Reference in New Issue
Block a user