Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI: Fix typos

Fix typos and whitespace errors.

Link: https://lore.kernel.org/r/20250307231715.438518-1-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

+84 -78
+4 -4
drivers/pci/controller/cadence/pcie-cadence-ep.c
··· 301 301 val |= interrupts; 302 302 cdns_pcie_ep_fn_writew(pcie, fn, reg, val); 303 303 304 - /* Set MSIX BAR and offset */ 304 + /* Set MSI-X BAR and offset */ 305 305 reg = cap + PCI_MSIX_TABLE; 306 306 val = offset | bir; 307 307 cdns_pcie_ep_fn_writel(pcie, fn, reg, val); 308 308 309 - /* Set PBA BAR and offset. BAR must match MSIX BAR */ 309 + /* Set PBA BAR and offset. BAR must match MSI-X BAR */ 310 310 reg = cap + PCI_MSIX_PBA; 311 311 val = (offset + (interrupts * PCI_MSIX_ENTRY_SIZE)) | bir; 312 312 cdns_pcie_ep_fn_writel(pcie, fn, reg, val); ··· 573 573 574 574 /* 575 575 * Next function field in ARI_CAP_AND_CTR register for last function 576 - * should be 0. 577 - * Clearing Next Function Number field for the last function used. 576 + * should be 0. Clear Next Function Number field for the last 577 + * function used. 578 578 */ 579 579 last_fn = find_last_bit(&epc->function_num_map, BITS_PER_LONG); 580 580 reg = CDNS_PCIE_CORE_PF_I_ARI_CAP_AND_CTRL(last_fn);
+6 -6
drivers/pci/controller/dwc/pcie-qcom-ep.c
··· 48 48 #define PARF_DBI_BASE_ADDR_HI 0x354 49 49 #define PARF_SLV_ADDR_SPACE_SIZE 0x358 50 50 #define PARF_SLV_ADDR_SPACE_SIZE_HI 0x35c 51 - #define PARF_NO_SNOOP_OVERIDE 0x3d4 51 + #define PARF_NO_SNOOP_OVERRIDE 0x3d4 52 52 #define PARF_ATU_BASE_ADDR 0x634 53 53 #define PARF_ATU_BASE_ADDR_HI 0x638 54 54 #define PARF_SRIS_MODE 0x644 ··· 89 89 #define PARF_DEBUG_INT_CFG_BUS_MASTER_EN BIT(2) 90 90 #define PARF_DEBUG_INT_RADM_PM_TURNOFF BIT(3) 91 91 92 - /* PARF_NO_SNOOP_OVERIDE register fields */ 93 - #define WR_NO_SNOOP_OVERIDE_EN BIT(1) 94 - #define RD_NO_SNOOP_OVERIDE_EN BIT(3) 92 + /* PARF_NO_SNOOP_OVERRIDE register fields */ 93 + #define WR_NO_SNOOP_OVERRIDE_EN BIT(1) 94 + #define RD_NO_SNOOP_OVERRIDE_EN BIT(3) 95 95 96 96 /* PARF_DEVICE_TYPE register fields */ 97 97 #define PARF_DEVICE_TYPE_EP 0x0 ··· 529 529 writel_relaxed(val, pcie_ep->parf + PARF_LTSSM); 530 530 531 531 if (pcie_ep->cfg && pcie_ep->cfg->override_no_snoop) 532 - writel_relaxed(WR_NO_SNOOP_OVERIDE_EN | RD_NO_SNOOP_OVERIDE_EN, 533 - pcie_ep->parf + PARF_NO_SNOOP_OVERIDE); 532 + writel_relaxed(WR_NO_SNOOP_OVERRIDE_EN | RD_NO_SNOOP_OVERRIDE_EN, 533 + pcie_ep->parf + PARF_NO_SNOOP_OVERRIDE); 534 534 535 535 return 0; 536 536
+6 -6
drivers/pci/controller/dwc/pcie-qcom.c
··· 61 61 #define PARF_DBI_BASE_ADDR_V2_HI 0x354 62 62 #define PARF_SLV_ADDR_SPACE_SIZE_V2 0x358 63 63 #define PARF_SLV_ADDR_SPACE_SIZE_V2_HI 0x35c 64 - #define PARF_NO_SNOOP_OVERIDE 0x3d4 64 + #define PARF_NO_SNOOP_OVERRIDE 0x3d4 65 65 #define PARF_ATU_BASE_ADDR 0x634 66 66 #define PARF_ATU_BASE_ADDR_HI 0x638 67 67 #define PARF_DEVICE_TYPE 0x1000 ··· 135 135 #define PARF_INT_ALL_LINK_UP BIT(13) 136 136 #define PARF_INT_MSI_DEV_0_7 GENMASK(30, 23) 137 137 138 - /* PARF_NO_SNOOP_OVERIDE register fields */ 139 - #define WR_NO_SNOOP_OVERIDE_EN BIT(1) 140 - #define RD_NO_SNOOP_OVERIDE_EN BIT(3) 138 + /* PARF_NO_SNOOP_OVERRIDE register fields */ 139 + #define WR_NO_SNOOP_OVERRIDE_EN BIT(1) 140 + #define RD_NO_SNOOP_OVERRIDE_EN BIT(3) 141 141 142 142 /* PARF_DEVICE_TYPE register fields */ 143 143 #define DEVICE_TYPE_RC 0x4 ··· 1007 1007 const struct qcom_pcie_cfg *pcie_cfg = pcie->cfg; 1008 1008 1009 1009 if (pcie_cfg->override_no_snoop) 1010 - writel(WR_NO_SNOOP_OVERIDE_EN | RD_NO_SNOOP_OVERIDE_EN, 1011 - pcie->parf + PARF_NO_SNOOP_OVERIDE); 1010 + writel(WR_NO_SNOOP_OVERRIDE_EN | RD_NO_SNOOP_OVERRIDE_EN, 1011 + pcie->parf + PARF_NO_SNOOP_OVERRIDE); 1012 1012 1013 1013 qcom_pcie_clear_aspm_l0s(pcie->pci); 1014 1014 qcom_pcie_clear_hpc(pcie->pci);
+1 -1
drivers/pci/controller/pci-mvebu.c
··· 1422 1422 } 1423 1423 1424 1424 /* 1425 - * devm_of_pci_get_host_bridge_resources() only sets up translateable resources, 1425 + * devm_of_pci_get_host_bridge_resources() only sets up translatable resources, 1426 1426 * so we need extra resource setup parsing our special DT properties encoding 1427 1427 * the MEM and IO apertures. 1428 1428 */
+1 -1
drivers/pci/controller/pci-thunder-ecam.c
··· 204 204 205 205 v = readl(addr); 206 206 if (v & 0xff00) 207 - pr_err("Bad MSIX cap header: %08x\n", v); 207 + pr_err("Bad MSI-X cap header: %08x\n", v); 208 208 v |= 0xbc00; /* next capability is EA at 0xbc */ 209 209 set_val(v, where, size, val); 210 210 return PCIBIOS_SUCCESSFUL;
+1 -1
drivers/pci/controller/pci-xgene-msi.c
··· 154 154 * X-Gene v1 only has 16 MSI GIC IRQs for 2048 MSI vectors. To maintain 155 155 * the expected behaviour of .set_affinity for each MSI interrupt, the 16 156 156 * MSI GIC IRQs are statically allocated to 8 X-Gene v1 cores (2 GIC IRQs 157 - * for each core). The MSI vector is moved fom 1 MSI GIC IRQ to another 157 + * for each core). The MSI vector is moved from 1 MSI GIC IRQ to another 158 158 * MSI GIC IRQ to steer its MSI interrupt to correct X-Gene v1 core. As a 159 159 * consequence, the total MSI vectors that X-Gene v1 supports will be 160 160 * reduced to 256 (2048/8) vectors.
+1 -1
drivers/pci/controller/pcie-altera.c
··· 149 149 * Altera PCIe port uses BAR0 of RC's configuration space as the translation 150 150 * from PCI bus to native BUS. Entire DDR region is mapped into PCIe space 151 151 * using these registers, so it can be reached by DMA from EP devices. 152 - * This BAR0 will also access to MSI vector when receiving MSI/MSIX interrupt 152 + * This BAR0 will also access to MSI vector when receiving MSI/MSI-X interrupt 153 153 * from EP devices, eventually trigger interrupt to GIC. The BAR0 of bridge 154 154 * should be hidden during enumeration to avoid the sizing and resource 155 155 * allocation by PCIe core.
+2 -2
drivers/pci/controller/pcie-brcmstb.c
··· 40 40 /* Broadcom STB PCIe Register Offsets */ 41 41 #define PCIE_RC_CFG_VENDOR_VENDOR_SPECIFIC_REG1 0x0188 42 42 #define PCIE_RC_CFG_VENDOR_VENDOR_SPECIFIC_REG1_ENDIAN_MODE_BAR2_MASK 0xc 43 - #define PCIE_RC_CFG_VENDOR_SPCIFIC_REG1_LITTLE_ENDIAN 0x0 43 + #define PCIE_RC_CFG_VENDOR_SPECIFIC_REG1_LITTLE_ENDIAN 0x0 44 44 45 45 #define PCIE_RC_CFG_PRIV1_ID_VAL3 0x043c 46 46 #define PCIE_RC_CFG_PRIV1_ID_VAL3_CLASS_CODE_MASK 0xffffff ··· 1180 1180 1181 1181 /* PCIe->SCB endian mode for inbound window */ 1182 1182 tmp = readl(base + PCIE_RC_CFG_VENDOR_VENDOR_SPECIFIC_REG1); 1183 - u32p_replace_bits(&tmp, PCIE_RC_CFG_VENDOR_SPCIFIC_REG1_LITTLE_ENDIAN, 1183 + u32p_replace_bits(&tmp, PCIE_RC_CFG_VENDOR_SPECIFIC_REG1_LITTLE_ENDIAN, 1184 1184 PCIE_RC_CFG_VENDOR_VENDOR_SPECIFIC_REG1_ENDIAN_MODE_BAR2_MASK); 1185 1185 writel(tmp, base + PCIE_RC_CFG_VENDOR_VENDOR_SPECIFIC_REG1); 1186 1186
+6 -4
drivers/pci/controller/pcie-rcar-host.c
··· 178 178 * space, it's generally only accessible when in endpoint mode. 179 179 * When in root complex mode, the controller is unable to target 180 180 * itself with either type 0 or type 1 accesses, and indeed, any 181 - * controller initiated target transfer to its own config space 182 - * result in a completer abort. 181 + * controller-initiated target transfer to its own config space 182 + * results in a completer abort. 183 183 * 184 184 * Each channel effectively only supports a single device, but as 185 185 * the same channel <-> device access works for any PCI_SLOT() ··· 775 775 if (err) 776 776 return err; 777 777 778 - /* Two irqs are for MSI, but they are also used for non-MSI irqs */ 778 + /* Two IRQs are for MSI, but they are also used for non-MSI IRQs */ 779 779 err = devm_request_irq(dev, msi->irq1, rcar_pcie_msi_irq, 780 780 IRQF_SHARED | IRQF_NO_THREAD, 781 781 rcar_msi_bottom_chip.name, host); ··· 792 792 goto err; 793 793 } 794 794 795 - /* disable all MSIs */ 795 + /* Disable all MSIs */ 796 796 rcar_pci_write_reg(pcie, 0, PCIEMSIIER); 797 797 798 798 /* ··· 892 892 dev_err(pcie->dev, "Failed to map inbound regions!\n"); 893 893 return -EINVAL; 894 894 } 895 + 895 896 /* 896 897 * If the size of the range is larger than the alignment of 897 898 * the start address, we have to use multiple entries to ··· 904 903 905 904 size = min(size, alignment); 906 905 } 906 + 907 907 /* Hardware supports max 4GiB inbound region */ 908 908 size = min(size, 1ULL << 32); 909 909
+1 -1
drivers/pci/endpoint/Kconfig
··· 26 26 help 27 27 This will enable the configfs entry that can be used to 28 28 configure the endpoint function and used to bind the 29 - function with a endpoint controller. 29 + function with an endpoint controller. 30 30 31 31 source "drivers/pci/endpoint/functions/Kconfig" 32 32
+1 -1
drivers/pci/endpoint/functions/pci-epf-test.c
··· 632 632 case IRQ_TYPE_MSIX: 633 633 count = pci_epc_get_msix(epc, epf->func_no, epf->vfunc_no); 634 634 if (reg->irq_number > count || count <= 0) { 635 - dev_err(dev, "Invalid MSIX IRQ number %d / %d\n", 635 + dev_err(dev, "Invalid MSI-X IRQ number %d / %d\n", 636 636 reg->irq_number, count); 637 637 return; 638 638 }
+1 -1
drivers/pci/hotplug/Kconfig
··· 97 97 tristate "Ziatech ZT5550 CompactPCI Hotplug driver" 98 98 depends on HOTPLUG_PCI_CPCI && X86 99 99 help 100 - Say Y here if you have an Performance Technologies (formerly Intel, 100 + Say Y here if you have a Performance Technologies (formerly Intel, 101 101 formerly just Ziatech) Ziatech ZT5550 CompactPCI system card. 102 102 103 103 To compile this driver as a module, choose M here: the
+1 -1
drivers/pci/hotplug/pciehp_hpc.c
··· 430 430 * removed immediately after the check so the caller may need to take 431 431 * this into account. 432 432 * 433 - * It the hotplug controller itself is not available anymore returns 433 + * If the hotplug controller itself is not available anymore returns 434 434 * %-ENODEV. 435 435 */ 436 436 int pciehp_card_present(struct controller *ctrl)
+1 -1
drivers/pci/msi/api.c
··· 162 162 EXPORT_SYMBOL_GPL(pci_msix_alloc_irq_at); 163 163 164 164 /** 165 - * pci_msix_free_irq - Free an interrupt on a PCI/MSIX interrupt domain 165 + * pci_msix_free_irq - Free an interrupt on a PCI/MSI-X interrupt domain 166 166 * 167 167 * @dev: The PCI device to operate on 168 168 * @map: A struct msi_map describing the interrupt to free
+6 -3
drivers/pci/of.c
··· 455 455 * @out_irq: structure of_phandle_args filled by this function 456 456 * 457 457 * This function resolves the PCI interrupt for a given PCI device. If a 458 - * device-node exists for a given pci_dev, it will use normal OF tree 458 + * device node exists for a given pci_dev, it will use normal OF tree 459 459 * walking. If not, it will implement standard swizzling and walk up the 460 - * PCI tree until an device-node is found, at which point it will finish 460 + * PCI tree until a device node is found, at which point it will finish 461 461 * resolving using the OF tree walking. 462 462 */ 463 463 static int of_irq_parse_pci(const struct pci_dev *pdev, struct of_phandle_args *out_irq) ··· 517 517 } 518 518 519 519 /* 520 - * Ok, we have found a parent with a device-node, hand over to 520 + * Ok, we have found a parent with a device node, hand over to 521 521 * the OF parsing code. 522 + * 522 523 * We build a unit address from the linux device to be used for 523 524 * resolution. Note that we use the linux bus number which may 524 525 * not match your firmware bus numbering. 526 + * 525 527 * Fortunately, in most cases, interrupt-map-mask doesn't 526 528 * include the bus number as part of the matching. 529 + * 527 530 * You should still be careful about that though if you intend 528 531 * to rely on this function (you ship a firmware that doesn't 529 532 * create device nodes for all PCI devices).
+1 -1
drivers/pci/pci.c
··· 4766 4766 4767 4767 /* 4768 4768 * PCIe r4.0 sec 6.6.1, a component must enter LTSSM Detect within 20ms, 4769 - * after which we should expect an link active if the reset was 4769 + * after which we should expect the link to be active if the reset was 4770 4770 * successful. If so, software must wait a minimum 100ms before sending 4771 4771 * configuration requests to devices downstream this port. 4772 4772 *
+34 -34
drivers/pci/pcie/aer.c
··· 2 2 /* 3 3 * Implement the AER root port service driver. The driver registers an IRQ 4 4 * handler. When a root port triggers an AER interrupt, the IRQ handler 5 - * collects root port status and schedules work. 5 + * collects Root Port status and schedules work. 6 6 * 7 7 * Copyright (C) 2006 Intel Corp. 8 8 * Tom Long Nguyen (tom.l.nguyen@intel.com) ··· 56 56 /* 57 57 * Fields for all AER capable devices. They indicate the errors 58 58 * "as seen by this device". Note that this may mean that if an 59 - * end point is causing problems, the AER counters may increment 60 - * at its link partner (e.g. root port) because the errors will be 61 - * "seen" by the link partner and not the problematic end point 59 + * Endpoint is causing problems, the AER counters may increment 60 + * at its link partner (e.g. Root Port) because the errors will be 61 + * "seen" by the link partner and not the problematic Endpoint 62 62 * itself (which may report all counters as 0 as it never saw any 63 63 * problems). 64 64 */ ··· 76 76 u64 dev_total_nonfatal_errs; 77 77 78 78 /* 79 - * Fields for Root ports & root complex event collectors only, these 79 + * Fields for Root Ports & Root Complex Event Collectors only; these 80 80 * indicate the total number of ERR_COR, ERR_FATAL, and ERR_NONFATAL 81 - * messages received by the root port / event collector, INCLUDING the 82 - * ones that are generated internally (by the rootport itself) 81 + * messages received by the Root Port / Event Collector, INCLUDING the 82 + * ones that are generated internally (by the Root Port itself) 83 83 */ 84 84 u64 rootport_total_cor_errs; 85 85 u64 rootport_total_fatal_errs; ··· 138 138 * enable_ecrc_checking - enable PCIe ECRC checking for a device 139 139 * @dev: the PCI device 140 140 * 141 - * Returns 0 on success, or negative on failure. 141 + * Return: 0 on success, or negative on failure. 142 142 */ 143 143 static int enable_ecrc_checking(struct pci_dev *dev) 144 144 { ··· 159 159 } 160 160 161 161 /** 162 - * disable_ecrc_checking - disables PCIe ECRC checking for a device 162 + * disable_ecrc_checking - disable PCIe ECRC checking for a device 163 163 * @dev: the PCI device 164 164 * 165 - * Returns 0 on success, or negative on failure. 165 + * Return: 0 on success, or negative on failure. 166 166 */ 167 167 static int disable_ecrc_checking(struct pci_dev *dev) 168 168 { ··· 283 283 * pci_aer_raw_clear_status - Clear AER error registers. 284 284 * @dev: the PCI device 285 285 * 286 - * Clearing AER error status registers unconditionally, regardless of 286 + * Clear AER error status registers unconditionally, regardless of 287 287 * whether they're owned by firmware or the OS. 288 288 * 289 - * Returns 0 on success, or negative on failure. 289 + * Return: 0 on success, or negative on failure. 290 290 */ 291 291 int pci_aer_raw_clear_status(struct pci_dev *dev) 292 292 { ··· 378 378 /* 379 379 * We save/restore PCI_ERR_UNCOR_MASK, PCI_ERR_UNCOR_SEVER, 380 380 * PCI_ERR_COR_MASK, and PCI_ERR_CAP. Root and Root Complex Event 381 - * Collectors also implement PCI_ERR_ROOT_COMMAND (PCIe r5.0, sec 382 - * 7.8.4). 381 + * Collectors also implement PCI_ERR_ROOT_COMMAND (PCIe r6.0, sec 382 + * 7.8.4.9). 383 383 */ 384 384 n = pcie_cap_has_rtctl(dev) ? 5 : 4; 385 385 pci_add_ext_cap_save_buffer(dev, PCI_EXT_CAP_ID_ERR, sizeof(u32) * n); ··· 825 825 u16 reg16; 826 826 827 827 /* 828 - * When bus id is equal to 0, it might be a bad id 829 - * reported by root port. 828 + * When bus ID is equal to 0, it might be a bad ID 829 + * reported by Root Port. 830 830 */ 831 831 if ((PCI_BUS_NUM(e_info->id) != 0) && 832 832 !(dev->bus->bus_flags & PCI_BUS_FLAGS_NO_AERSID)) { ··· 834 834 if (e_info->id == pci_dev_id(dev)) 835 835 return true; 836 836 837 - /* Continue id comparing if there is no multiple error */ 837 + /* Continue ID comparing if there is no multiple error */ 838 838 if (!e_info->multi_error_valid) 839 839 return false; 840 840 } 841 841 842 842 /* 843 843 * When either 844 - * 1) bus id is equal to 0. Some ports might lose the bus 845 - * id of error source id; 844 + * 1) bus ID is equal to 0. Some ports might lose the bus 845 + * ID of error source id; 846 846 * 2) bus flag PCI_BUS_FLAGS_NO_AERSID is set 847 847 * 3) There are multiple errors and prior ID comparing fails; 848 848 * We check AER status registers to find possible reporter. ··· 894 894 /** 895 895 * find_source_device - search through device hierarchy for source device 896 896 * @parent: pointer to Root Port pci_dev data structure 897 - * @e_info: including detailed error information such like id 897 + * @e_info: including detailed error information such as ID 898 898 * 899 - * Return true if found. 899 + * Return: true if found. 900 900 * 901 901 * Invoked by DPC when error is detected at the Root Port. 902 902 * Caller of this function must set id, severity, and multi_error_valid of ··· 938 938 939 939 /** 940 940 * pci_aer_unmask_internal_errors - unmask internal errors 941 - * @dev: pointer to the pcie_dev data structure 941 + * @dev: pointer to the pci_dev data structure 942 942 * 943 - * Unmasks internal errors in the Uncorrectable and Correctable Error 943 + * Unmask internal errors in the Uncorrectable and Correctable Error 944 944 * Mask registers. 945 945 * 946 946 * Note: AER must be enabled and supported by the device which must be ··· 1003 1003 if (!is_cxl_mem_dev(dev) || !cxl_error_is_native(dev)) 1004 1004 return 0; 1005 1005 1006 - /* protect dev->driver */ 1006 + /* Protect dev->driver */ 1007 1007 device_lock(&dev->dev); 1008 1008 1009 1009 err_handler = dev->driver ? dev->driver->err_handler : NULL; ··· 1195 1195 1196 1196 /** 1197 1197 * aer_get_device_error_info - read error status from dev and store it to info 1198 - * @dev: pointer to the device expected to have a error record 1198 + * @dev: pointer to the device expected to have an error record 1199 1199 * @info: pointer to structure to store the error record 1200 1200 * 1201 - * Return 1 on success, 0 on error. 1201 + * Return: 1 on success, 0 on error. 1202 1202 * 1203 1203 * Note that @info is reused among all error devices. Clear fields properly. 1204 1204 */ ··· 1256 1256 { 1257 1257 int i; 1258 1258 1259 - /* Report all before handle them, not to lost records by reset etc. */ 1259 + /* Report all before handling them, to not lose records by reset etc. */ 1260 1260 for (i = 0; i < e_info->error_dev_num && e_info->dev[i]; i++) { 1261 1261 if (aer_get_device_error_info(e_info->dev[i], e_info)) 1262 1262 aer_print_error(e_info->dev[i], e_info); ··· 1268 1268 } 1269 1269 1270 1270 /** 1271 - * aer_isr_one_error - consume an error detected by root port 1272 - * @rpc: pointer to the root port which holds an error 1271 + * aer_isr_one_error - consume an error detected by Root Port 1272 + * @rpc: pointer to the Root Port which holds an error 1273 1273 * @e_src: pointer to an error source 1274 1274 */ 1275 1275 static void aer_isr_one_error(struct aer_rpc *rpc, ··· 1319 1319 } 1320 1320 1321 1321 /** 1322 - * aer_isr - consume errors detected by root port 1322 + * aer_isr - consume errors detected by Root Port 1323 1323 * @irq: IRQ assigned to Root Port 1324 1324 * @context: pointer to Root Port data structure 1325 1325 * 1326 - * Invoked, as DPC, when root port records new detected error 1326 + * Invoked, as DPC, when Root Port records new detected error 1327 1327 */ 1328 1328 static irqreturn_t aer_isr(int irq, void *context) 1329 1329 { ··· 1383 1383 int aer = pdev->aer_cap; 1384 1384 u32 reg32; 1385 1385 1386 - /* Disable Root's interrupt in response to error messages */ 1386 + /* Disable Root Port's interrupt in response to error messages */ 1387 1387 pci_read_config_dword(pdev, aer + PCI_ERR_ROOT_COMMAND, &reg32); 1388 1388 reg32 &= ~ROOT_PORT_INTR_ON_MESG_MASK; 1389 1389 pci_write_config_dword(pdev, aer + PCI_ERR_ROOT_COMMAND, reg32); ··· 1583 1583 }; 1584 1584 1585 1585 /** 1586 - * pcie_aer_init - register AER root service driver 1586 + * pcie_aer_init - register AER service driver 1587 1587 * 1588 - * Invoked when AER root service driver is loaded. 1588 + * Invoked when AER service driver is loaded. 1589 1589 */ 1590 1590 int __init pcie_aer_init(void) 1591 1591 {
+1 -1
drivers/pci/setup-bus.c
··· 1880 1880 * Make sure prefetchable memory is reduced from 1881 1881 * the correct resource. Specifically we put 32-bit 1882 1882 * prefetchable memory in non-prefetchable window 1883 - * if there is an 64-bit prefetchable window. 1883 + * if there is a 64-bit prefetchable window. 1884 1884 * 1885 1885 * See comments in __pci_bus_size_bridges() for 1886 1886 * more information.
+9 -8
include/linux/pci-epf.h
··· 38 38 * @baseclass_code: broadly classifies the type of function the device performs 39 39 * @cache_line_size: specifies the system cacheline size in units of DWORDs 40 40 * @subsys_vendor_id: vendor of the add-in card or subsystem 41 - * @subsys_id: id specific to vendor 41 + * @subsys_id: ID specific to vendor 42 42 * @interrupt_pin: interrupt pin the device (or device function) uses 43 43 */ 44 44 struct pci_epf_header { ··· 59 59 * @bind: ops to perform when a EPC device has been bound to EPF device 60 60 * @unbind: ops to perform when a binding has been lost between a EPC device 61 61 * and EPF device 62 - * @add_cfs: ops to initialize function specific configfs attributes 62 + * @add_cfs: ops to initialize function-specific configfs attributes 63 63 */ 64 64 struct pci_epf_ops { 65 65 int (*bind)(struct pci_epf *epf); ··· 138 138 * @epc: the EPC device to which this EPF device is bound 139 139 * @epf_pf: the physical EPF device to which this virtual EPF device is bound 140 140 * @driver: the EPF driver to which this EPF device is bound 141 - * @id: Pointer to the EPF device ID 141 + * @id: pointer to the EPF device ID 142 142 * @list: to add pci_epf as a list of PCI endpoint functions to pci_epc 143 143 * @lock: mutex to protect pci_epf_ops 144 144 * @sec_epc: the secondary EPC device to which this EPF device is bound ··· 151 151 * @is_vf: true - virtual function, false - physical function 152 152 * @vfunction_num_map: bitmap to manage virtual function number 153 153 * @pci_vepf: list of virtual endpoint functions associated with this function 154 - * @event_ops: Callbacks for capturing the EPC events 154 + * @event_ops: callbacks for capturing the EPC events 155 155 */ 156 156 struct pci_epf { 157 157 struct device dev; ··· 185 185 }; 186 186 187 187 /** 188 - * struct pci_epf_msix_tbl - represents the MSIX table entry structure 189 - * @msg_addr: Writes to this address will trigger MSIX interrupt in host 190 - * @msg_data: Data that should be written to @msg_addr to trigger MSIX interrupt 188 + * struct pci_epf_msix_tbl - represents the MSI-X table entry structure 189 + * @msg_addr: Writes to this address will trigger MSI-X interrupt in host 190 + * @msg_data: Data that should be written to @msg_addr to trigger MSI-X 191 + * interrupt 191 192 * @vector_ctrl: Identifies if the function is prohibited from sending a message 192 - * using this MSIX table entry 193 + * using this MSI-X table entry 193 194 */ 194 195 struct pci_epf_msix_tbl { 195 196 u64 msg_addr;