mailweb.openeuler.org
Manage this list

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

Kernel

Threads by month
  • ----- 2025 -----
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
kernel@openeuler.org

  • 57 participants
  • 19203 discussions
[openeuler:openEuler-1.0-LTS 14594/23707] arch/arm64/kvm/../../../virt/kvm/arm/arm.c:411:36: error: 'struct sched_info' has no member named 'run_delay'
by kernel test robot 14 Sep '24

14 Sep '24
Hi chenjiajun, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: c46f803e3465bd0ca66716804a4d3e20f586ac0d commit: b94fc31d4e16ff65dc2141f0a1a3af6a3aac5bb2 [14594/23707] kvm: debugfs: aarch64 export cpu time related items to debugfs config: arm64-randconfig-004-20240913 (https://download.01.org/0day-ci/archive/20240914/202409140415.hpdzSPWA-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140415.hpdzSPWA-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202409140415.hpdzSPWA-lkp@intel.com/ All errors (new ones prefixed by >>): arch/arm64/kvm/../../../virt/kvm/arm/arm.c: In function 'update_steal_time': >> arch/arm64/kvm/../../../virt/kvm/arm/arm.c:411:36: error: 'struct sched_info' has no member named 'run_delay' 411 | delta = current->sched_info.run_delay - vcpu->stat.steal; | ^ arch/arm64/kvm/../../../virt/kvm/arm/arm.c:412:47: error: 'struct sched_info' has no member named 'run_delay' 412 | vcpu->stat.steal = current->sched_info.run_delay; | ^ vim +411 arch/arm64/kvm/../../../virt/kvm/arm/arm.c 406 407 static void update_steal_time(struct kvm_vcpu *vcpu) 408 { 409 u64 delta; 410 > 411 delta = current->sched_info.run_delay - vcpu->stat.steal; 412 vcpu->stat.steal = current->sched_info.run_delay; 413 vcpu->stat.st_max = max(vcpu->stat.st_max, delta); 414 } 415 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 19836/30000] drivers/gpu/drm/phytium/phytium_pci.c:237:23: error: implicit declaration of function 'pci_enable_msi'; did you mean 'pci_enable_sriov'?
by kernel test robot 14 Sep '24

14 Sep '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 5a1d9701155c6908c76c68951170f10279685143 commit: b2a83bcdafcaaaa60199147d04798d431cc800cc [19836/30000] DRM: Phytium display DRM driver config: arm64-randconfig-004-20240914 (https://download.01.org/0day-ci/archive/20240914/202409140348.idogTrbh-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140348.idogTrbh-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202409140348.idogTrbh-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/phytium/phytium_pci.c:23:6: warning: no previous prototype for 'phytium_pci_vram_hw_init' [-Wmissing-prototypes] 23 | void phytium_pci_vram_hw_init(struct phytium_display_private *priv) | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/phytium/phytium_pci.c:30:5: warning: no previous prototype for 'phytium_pci_vram_init' [-Wmissing-prototypes] 30 | int phytium_pci_vram_init(struct pci_dev *pdev, struct phytium_display_private *priv) | ^~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/phytium/phytium_pci.c:68:6: warning: no previous prototype for 'phytium_pci_vram_fini' [-Wmissing-prototypes] 68 | void phytium_pci_vram_fini(struct pci_dev *pdev, struct phytium_display_private *priv) | ^~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/phytium/phytium_pci.c:89:5: warning: no previous prototype for 'phytium_pci_dma_init' [-Wmissing-prototypes] 89 | int phytium_pci_dma_init(struct phytium_display_private *priv) | ^~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/phytium/phytium_pci.c:137:6: warning: no previous prototype for 'phytium_pci_dma_fini' [-Wmissing-prototypes] 137 | void phytium_pci_dma_fini(struct phytium_display_private *priv) | ^~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/phytium/phytium_pci.c: In function 'phytium_pci_probe': >> drivers/gpu/drm/phytium/phytium_pci.c:237:23: error: implicit declaration of function 'pci_enable_msi'; did you mean 'pci_enable_sriov'? [-Werror=implicit-function-declaration] 237 | ret = pci_enable_msi(pdev); | ^~~~~~~~~~~~~~ | pci_enable_sriov >> drivers/gpu/drm/phytium/phytium_pci.c:272:17: error: implicit declaration of function 'pci_disable_msi'; did you mean 'pci_disable_sriov'? [-Werror=implicit-function-declaration] 272 | pci_disable_msi(pdev); | ^~~~~~~~~~~~~~~ | pci_disable_sriov cc1: some warnings being treated as errors vim +237 drivers/gpu/drm/phytium/phytium_pci.c 88 > 89 int phytium_pci_dma_init(struct phytium_display_private *priv) 90 { 91 struct pci_dev *dma_dev, *gpu_dev; 92 struct drm_device *drm_dev = priv->dev; 93 dma_cap_mask_t mask; 94 struct phytium_dma_slave s; 95 int ret = 0; 96 u16 cmd; 97 98 /* check px210 gpu enable */ 99 gpu_dev = pci_get_device(PCI_VENDOR_ID_PHYTIUM, 0xdc20, NULL); 100 if (!gpu_dev) { 101 DRM_INFO("failed to get gpu_dev\n"); 102 ret = -ENODEV; 103 goto failed; 104 } 105 106 pci_read_config_word(gpu_dev, PCI_COMMAND, &cmd); 107 if (!(cmd & PCI_COMMAND_MASTER)) { 108 DRM_INFO("gpu_dev master is disabled\n"); 109 ret = -ENODEV; 110 goto failed; 111 } 112 113 dma_dev = pci_get_device(PCI_VENDOR_ID_PHYTIUM, 0xdc3c, NULL); 114 if (!dma_dev) { 115 DRM_INFO("failed to get dma_dev\n"); 116 ret = -ENODEV; 117 goto failed; 118 } 119 120 dma_cap_zero(mask); 121 dma_cap_set(DMA_SLAVE, mask); 122 123 s.dma_dev = &dma_dev->dev; 124 s.chan_id = 2; 125 priv->dma_chan = dma_request_channel(mask, phytium_pci_dma_chan_filter, &s); 126 if (!priv->dma_chan) { 127 DRM_DEV_ERROR(drm_dev->dev, "failed to request dma chan\n"); 128 ret = -EBUSY; 129 goto failed; 130 } 131 priv->dma_inited = 1; 132 133 failed: 134 return ret; 135 } 136 > 137 void phytium_pci_dma_fini(struct phytium_display_private *priv) 138 { 139 if (priv->dma_inited) 140 dma_release_channel(priv->dma_chan); 141 priv->dma_inited = 0; 142 priv->dma_chan = NULL; 143 } 144 145 static struct phytium_display_private* 146 phytium_pci_private_init(struct pci_dev *pdev, const struct pci_device_id *ent) 147 { 148 struct drm_device *dev = pci_get_drvdata(pdev); 149 struct phytium_display_private *priv = NULL; 150 struct phytium_pci_private *pci_priv = NULL; 151 struct phytium_device_info *phytium_info = (struct phytium_device_info *)ent->driver_data; 152 int i = 0; 153 resource_size_t io_addr, io_size; 154 155 pci_priv = devm_kzalloc(&pdev->dev, sizeof(*pci_priv), GFP_KERNEL); 156 if (!pci_priv) { 157 DRM_ERROR("no memory to allocate for drm_display_private\n"); 158 goto failed_malloc_priv; 159 } 160 161 memset(pci_priv, 0, sizeof(*pci_priv)); 162 priv = &pci_priv->base; 163 phytium_display_private_init(priv, dev); 164 165 memcpy(&(priv->info), phytium_info, sizeof(struct phytium_device_info)); 166 DRM_DEBUG_KMS("priv->info.num_pipes :%d\n", priv->info.num_pipes); 167 priv->info.pipe_mask = ((pdev->subsystem_device >> PIPE_MASK_SHIFT) & PIPE_MASK_MASK); 168 priv->info.edp_mask = ((pdev->subsystem_device >> EDP_MASK_SHIFT) & EDP_MASK_MASK); 169 priv->info.num_pipes = 0; 170 for_each_pipe_masked(priv, i) 171 priv->info.num_pipes++; 172 if (priv->info.num_pipes == 0) { 173 DRM_ERROR("num_pipes is zero, so exit init\n"); 174 goto failed_init_numpipe; 175 } 176 177 io_addr = pci_resource_start(pdev, 0); 178 io_size = pci_resource_len(pdev, 0); 179 priv->regs = ioremap(io_addr, io_size); 180 if (priv->regs == NULL) { 181 DRM_ERROR("pci bar0 ioremap fail, addr:0x%llx, size:0x%llx\n", io_addr, io_size); 182 goto failed_ioremap; 183 } 184 185 priv->irq = pdev->irq; 186 if (IS_PX210(priv)) { 187 pci_priv->dc_hw_vram_init = px210_dc_hw_vram_init; 188 priv->dc_hw_clear_msi_irq = px210_dc_hw_clear_msi_irq; 189 priv->dc_hw_fb_format_check = px210_dc_hw_fb_format_check; 190 } else if (IS_PE220X(priv)) { 191 pci_priv->dc_hw_vram_init = pe220x_dc_hw_vram_init; 192 priv->dc_hw_clear_msi_irq = NULL; 193 priv->dc_hw_fb_format_check = pe220x_dc_hw_fb_format_check; 194 } 195 196 return priv; 197 198 failed_ioremap: 199 failed_init_numpipe: 200 devm_kfree(&pdev->dev, pci_priv); 201 failed_malloc_priv: 202 return NULL; 203 } 204 205 static void 206 phytium_pci_private_fini(struct pci_dev *pdev, struct phytium_display_private *priv) 207 { 208 struct phytium_pci_private *pci_priv = to_pci_priv(priv); 209 210 if (priv->regs) 211 iounmap(priv->regs); 212 213 devm_kfree(&pdev->dev, pci_priv); 214 } 215 216 static int phytium_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 217 { 218 struct phytium_display_private *priv = NULL; 219 struct drm_device *dev = NULL; 220 int ret = 0; 221 222 dev = drm_dev_alloc(&phytium_display_drm_driver, &pdev->dev); 223 if (IS_ERR(dev)) { 224 DRM_ERROR("failed to allocate drm_device\n"); 225 return PTR_ERR(dev); 226 } 227 dev->pdev = pdev; 228 pci_set_drvdata(pdev, dev); 229 pci_set_master(pdev); 230 ret = pci_enable_device(pdev); 231 if (ret) { 232 DRM_ERROR("pci enable device fail\n"); 233 goto failed_enable_device; 234 } 235 236 if (dc_msi_enable) { > 237 ret = pci_enable_msi(pdev); 238 if (ret) 239 DRM_ERROR("pci enable msi fail\n"); 240 } 241 242 dma_set_mask(&pdev->dev, DMA_BIT_MASK(40)); 243 244 priv = phytium_pci_private_init(pdev, ent); 245 if (priv) 246 dev->dev_private = priv; 247 else 248 goto failed_pci_private_init; 249 250 ret = phytium_pci_vram_init(pdev, priv); 251 if (ret) { 252 DRM_ERROR("failed to init pci vram\n"); 253 goto failed_pci_vram_init; 254 } 255 256 ret = drm_dev_register(dev, 0); 257 if (ret) { 258 DRM_ERROR("failed to register drm dev\n"); 259 goto failed_register_drm; 260 } 261 262 phytium_dp_hpd_irq_setup(dev, true); 263 264 return 0; 265 266 failed_register_drm: 267 phytium_pci_vram_fini(pdev, priv); 268 failed_pci_vram_init: 269 phytium_pci_private_fini(pdev, priv); 270 failed_pci_private_init: 271 if (pdev->msi_enabled) > 272 pci_disable_msi(pdev); 273 pci_disable_device(pdev); 274 failed_enable_device: 275 pci_set_drvdata(pdev, NULL); 276 drm_dev_put(dev); 277 278 return -1; 279 } 280 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 11160/30000] drivers/iommu/arm/arm-smmu-v3/ascend_smmu.c:145:18: error: implicit declaration of function 'acpi_evaluate_integer'; did you mean 'acpi_evaluate_object'?
by kernel test robot 14 Sep '24

14 Sep '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 5a1d9701155c6908c76c68951170f10279685143 commit: 3bf501c87ffe1f045f86af89e8958fed62c02c94 [11160/30000] ascend agent smmu: an implementation of ARM SMMUv3 ATOS feature config: arm64-randconfig-002-20240914 (https://download.01.org/0day-ci/archive/20240914/202409140251.mPlaSy6Z-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140251.mPlaSy6Z-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202409140251.mPlaSy6Z-lkp@intel.com/ All error/warnings (new ones prefixed by >>): >> drivers/iommu/arm/arm-smmu-v3/ascend_smmu.c:71:20: warning: no previous prototype for 'agent_smmu_unlocked_find' [-Wmissing-prototypes] 71 | struct agent_smmu *agent_smmu_unlocked_find(u64 device_id) | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/iommu/arm/arm-smmu-v3/ascend_smmu.c: In function 'agent_smmu_platform_probe': >> drivers/iommu/arm/arm-smmu-v3/ascend_smmu.c:145:18: error: implicit declaration of function 'acpi_evaluate_integer'; did you mean 'acpi_evaluate_object'? [-Werror=implicit-function-declaration] 145 | status = acpi_evaluate_integer(ACPI_HANDLE(&pdev->dev), METHOD_NAME__UID, | ^~~~~~~~~~~~~~~~~~~~~ | acpi_evaluate_object drivers/iommu/arm/arm-smmu-v3/ascend_smmu.c: At top level: >> drivers/iommu/arm/arm-smmu-v3/ascend_smmu.c:420:36: warning: 'agent_smmu_acpi_match' defined but not used [-Wunused-const-variable=] 420 | static const struct acpi_device_id agent_smmu_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +145 drivers/iommu/arm/arm-smmu-v3/ascend_smmu.c 70 > 71 struct agent_smmu *agent_smmu_unlocked_find(u64 device_id) 72 { 73 struct agent_smmu *temp = NULL; 74 75 list_for_each_entry(temp, &agent_smmu_list, list) { 76 if (temp->device_id == device_id) { 77 return temp; 78 } 79 } 80 return NULL; 81 } 82 83 static int agent_smmu_register(struct agent_smmu *agent) 84 { 85 struct device *dev = agent->dev; 86 87 spin_lock(&agent_smmu_lock); 88 if (agent_smmu_unlocked_find(agent->device_id)) { 89 dev_err(dev, "already added for %lld.\n", agent->device_id); 90 spin_unlock(&agent_smmu_lock); 91 return -EFAULT; 92 } 93 list_add_tail(&agent->list, &agent_smmu_list); 94 spin_unlock(&agent_smmu_lock); 95 96 return 0; 97 } 98 99 static void agent_smmu_unregister(struct agent_smmu *agent) 100 { 101 spin_lock(&agent_smmu_lock); 102 list_del(&agent->list); 103 spin_unlock(&agent_smmu_lock); 104 } 105 106 static int agent_smmu_platform_probe(struct platform_device *pdev) 107 { 108 struct agent_smmu *agent = NULL; 109 struct device *dev = &pdev->dev; 110 struct resource *res = NULL; 111 u32 reg = 0; 112 int ret = 0; 113 acpi_status status = AE_OK; 114 115 agent = devm_kzalloc(dev, sizeof(*agent), GFP_KERNEL); 116 if (!agent) { 117 dev_err(dev, "failed to allocate agent smmu.\n"); 118 return -ENOMEM; 119 } 120 121 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 122 if (!res || resource_size(res) + 1 < ENHANCED_ATOS_UNIT_ADDR + 123 ENHANCED_ATOS_UNIT_SIZE * MAX_REGISTERS) { 124 dev_err(dev, "MMIO region is null or too small, check it.\n"); 125 ret = -EINVAL; 126 goto err_free; 127 } 128 129 // agent smmu may probe as smmu in device, so keep using ioreamp 130 agent->base = ioremap(res->start, resource_size(res)); 131 if (!agent->base) { 132 dev_err(dev, "unable to map agent smmu.\n"); 133 ret = -ENOMEM; 134 goto err_free; 135 } 136 137 /* check agent smmu is enabled */ 138 reg = readl_relaxed(agent->base + AGENT_SMMU_CR0); 139 if (!(reg & CR0_SMMUEN)) { 140 dev_err(dev, "agent smmu is not enabled, check it.\n"); 141 ret = -EPERM; 142 goto err_iounmap; 143 } 144 > 145 status = acpi_evaluate_integer(ACPI_HANDLE(&pdev->dev), METHOD_NAME__UID, 146 NULL, &agent->device_id); 147 if (ACPI_FAILURE(status)) { 148 dev_err(dev, "Unable to get agent smmu _UID.\n"); 149 ret = -ENODEV; 150 goto err_iounmap; 151 } 152 153 if (agent_smmu_register(agent)) { 154 ret = -EINVAL; 155 goto err_iounmap; 156 } 157 158 reg = readl_relaxed(agent->base + AGENT_SMMU_IDR1); 159 agent->max_sid = (1U << FIELD_GET(IDR1_SIDSIZE, reg)) - 1; 160 agent->max_ssid = (1U << FIELD_GET(IDR1_SSIDSIZE, reg)) - 1; 161 bitmap_zero(agent->regs, MAX_REGISTERS); 162 rwlock_init(&agent->rw_lock); 163 agent->dev = dev; 164 platform_set_drvdata(pdev, agent); 165 166 dev_info(dev, "agent smmu 0x%llx probed successfully.\n", agent->device_id); 167 return ret; 168 err_iounmap: 169 iounmap(agent->base); 170 agent->base = NULL; 171 err_free: 172 devm_kfree(dev, agent); 173 return ret; 174 } 175 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 27796/30000] mm/mem_sampling.c:164:35: error: 'sysctl_mem_sampling_enable' undeclared here (not in a function); did you mean 'sysctl_mem_sampling_mode'?
by kernel test robot 14 Sep '24

14 Sep '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 5a1d9701155c6908c76c68951170f10279685143 commit: 9878268b0b9f6144b3bf066fa54124ce9c401072 [27796/30000] mm/mem_sampling.c: Add controlling interface for mem_sampling config: arm64-randconfig-001-20240914 (https://download.01.org/0day-ci/archive/20240914/202409140253.h1BCVyaA-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140253.h1BCVyaA-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202409140253.h1BCVyaA-lkp@intel.com/ All errors (new ones prefixed by >>): >> mm/mem_sampling.c:164:35: error: 'sysctl_mem_sampling_enable' undeclared here (not in a function); did you mean 'sysctl_mem_sampling_mode'? 164 | .proc_handler = sysctl_mem_sampling_enable, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | sysctl_mem_sampling_mode vim +164 mm/mem_sampling.c 157 158 static struct ctl_table ctl_table[] = { 159 { 160 .procname = "mem_sampling_enable", 161 .data = NULL, /* filled in by handler */ 162 .maxlen = sizeof(unsigned int), 163 .mode = 0644, > 164 .proc_handler = sysctl_mem_sampling_enable, 165 .extra1 = SYSCTL_ZERO, 166 .extra2 = SYSCTL_ONE, 167 }, 168 {} 169 }; 170 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 5448/30000] fs/proc/etmem_scan.c:1247:45: warning: suggest braces around empty body in an 'else' statement
by kernel test robot 14 Sep '24

14 Sep '24
Hi liubo, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 5a1d9701155c6908c76c68951170f10279685143 commit: 79246e864484015e1ef3c7ecec2d18a6b27199ec [5448/30000] etmem: etmem scan module Replace WARN_ONCE() with debug_printk for "nothing read" config: arm64-randconfig-004-20240914 (https://download.01.org/0day-ci/archive/20240914/202409140258.tMEI5GEF-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140258.tMEI5GEF-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202409140258.tMEI5GEF-lkp@intel.com/ All warnings (new ones prefixed by >>): fs/proc/etmem_scan.c: In function 'mm_idle_walk_range': fs/proc/etmem_scan.c:1244:61: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 1244 | pic->next_hva, end); | ^ >> fs/proc/etmem_scan.c:1247:45: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 1247 | debug_printk("nothing read"); | ^ vim +/else +1247 fs/proc/etmem_scan.c 1201 1202 static int mm_idle_walk_range(struct page_idle_ctrl *pic, 1203 unsigned long start, 1204 unsigned long end, 1205 struct mm_walk *walk) 1206 { 1207 struct vm_area_struct *vma; 1208 int ret = 0; 1209 1210 ret = init_page_idle_ctrl_buffer(pic); 1211 if (ret) 1212 return ret; 1213 1214 for (; start < end;) { 1215 down_read(&walk->mm->mmap_lock); 1216 vma = find_vma(walk->mm, start); 1217 if (vma) { 1218 if (end > vma->vm_start) { 1219 local_irq_disable(); 1220 ret = walk_page_range(walk->mm, start, end, 1221 walk->ops, walk->private); 1222 local_irq_enable(); 1223 } else 1224 set_restart_gpa(vma->vm_start, "VMA-HOLE"); 1225 } else 1226 set_restart_gpa(TASK_SIZE, "EOF"); 1227 up_read(&walk->mm->mmap_lock); 1228 1229 WARN_ONCE(pic->gpa_to_hva, "non-zero gpa_to_hva"); 1230 if (ret != PAGE_IDLE_KBUF_FULL && end > pic->restart_gpa) 1231 pic->restart_gpa = end; 1232 start = pic->restart_gpa; 1233 ret = page_idle_copy_user(pic, start, end); 1234 if (ret) 1235 break; 1236 } 1237 1238 if (start > pic->next_hva) 1239 set_next_hva(start, "NEXT-START"); 1240 1241 if (pic->bytes_copied) { 1242 if (ret != PAGE_IDLE_BUF_FULL && pic->next_hva < end) 1243 debug_printk("partial scan: next_hva=%pK end=%pK\n", > 1244 pic->next_hva, end); 1245 ret = 0; 1246 } else > 1247 debug_printk("nothing read"); 1248 return ret; 1249 } 1250 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10] BUILD REGRESSION 5a1d9701155c6908c76c68951170f10279685143
by kernel test robot 14 Sep '24

14 Sep '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10 branch HEAD: 5a1d9701155c6908c76c68951170f10279685143 !11456 Backport 5.10.216 LTS patches from upstream Error/Warning (recently discovered and may have been fixed): https://lore.kernel.org/oe-kbuild-all/202409131250.EMUg1KnI-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202409131316.GLZstznv-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202409131601.MyaN9hL3-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202409131803.dBKueHy8-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202409140014.U3Yy9wN5-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202409140022.9cw3pzYT-lkp@intel.com arch/arm64/mm/pmem_reserve.c:13:13: warning: no previous prototype for 'setup_reserve_pmem' [-Wmissing-prototypes] arch/arm64/mm/pmem_reserve.c:25:13: warning: no previous prototype for 'request_pmem_res_resource' [-Wmissing-prototypes] arch/arm64/mm/pmem_reserve.c:40:13: warning: no previous prototype for 'reserve_pmem' [-Wmissing-prototypes] drivers/acpi/numa/hmat.c:726:6: warning: no previous prototype for 'hmat_restore_target' [-Wmissing-prototypes] drivers/ub/urma/uburma/uburma_cmd.c:144:6: warning: no previous prototype for 'uburma_jfs_event_cb' [-Wmissing-prototypes] drivers/ub/urma/uburma/uburma_cmd.c:156:6: warning: no previous prototype for 'uburma_jfr_event_cb' [-Wmissing-prototypes] mm/mem_reliable.c:405:13: warning: 'mem_reliable_ctrl_bit_disabled' defined but not used [-Wunused-function] mm/mem_reliable.c:430:9: error: implicit declaration of function 'mem_reliable_ctrl_bit_disable'; did you mean 'mem_reliable_ctrl_bit_disabled'? [-Werror=implicit-function-declaration] security/integrity/ima/ima_main.c:440:29: error: too few arguments to function call, expected 8, have 7 Error/Warning ids grouped by kconfigs: recent_errors |-- arm64-allnoconfig | `-- include-linux-backing-dev.h:warning:struct-cgroup_subsys-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration |-- arm64-randconfig-001-20240914 | |-- arch-arm64-mm-quick_kexec.c:warning:no-previous-prototype-for-request_quick_kexec_res | |-- arch-arm64-mm-quick_kexec.c:warning:no-previous-prototype-for-reserve_quick_kexec | |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_rearm_jfc | |-- drivers-ub-urma-ubcore-ubcore_main.c:warning:no-previous-prototype-for-ubcore_open | |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:Function-parameter-or-member-ctx-not-described-in-ubcore_update_uvs_eid_ret | |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:Function-parameter-or-member-dev-not-described-in-ubcore_asyn_send_fe2tpf_msg | |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:Function-parameter-or-member-req-not-described-in-ubcore_asyn_send_fe2tpf_msg | |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_get | |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_release | |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfr_event_cb | |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfs_event_cb | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_close | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_mmap | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_open | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_release_file | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-dev_name-will-never-be-NULL | |-- mm-mem_reliable.c:error:implicit-declaration-of-function-mem_reliable_ctrl_bit_disable | `-- mm-mem_reliable.c:warning:mem_reliable_ctrl_bit_disabled-defined-but-not-used |-- arm64-randconfig-002-20240914 | |-- arch-arm64-mm-quick_kexec.c:warning:no-previous-prototype-for-request_quick_kexec_res | |-- arch-arm64-mm-quick_kexec.c:warning:no-previous-prototype-for-reserve_quick_kexec | |-- include-linux-backing-dev.h:warning:struct-cgroup_subsys-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration | `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init |-- arm64-randconfig-003-20240914 | |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r0-in-asm | |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r1-in-asm | |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r2-in-asm | |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r3-in-asm | `-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-x16-in-asm |-- arm64-randconfig-004-20240912 | |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfr_event_cb | `-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfs_event_cb |-- arm64-randconfig-004-20240914 | |-- arch-arm64-mm-pmem_reserve.c:warning:no-previous-prototype-for-request_pmem_res_resource | |-- arch-arm64-mm-pmem_reserve.c:warning:no-previous-prototype-for-reserve_pmem | |-- arch-arm64-mm-pmem_reserve.c:warning:no-previous-prototype-for-setup_reserve_pmem | |-- arch-arm64-mm-quick_kexec.c:warning:no-previous-prototype-for-request_quick_kexec_res | |-- arch-arm64-mm-quick_kexec.c:warning:no-previous-prototype-for-reserve_quick_kexec | `-- mm-share_pool.c:warning:no-previous-prototype-for-__mg_sp_alloc_nodemask |-- x86_64-allnoconfig | |-- include-linux-backing-dev.h:warning:declaration-of-struct-cgroup_subsys-will-not-be-visible-outside-of-this-function | |-- kernel-static_call_inline.c:warning:no-previous-prototype-for-function-klp_static_call_register | `-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration |-- x86_64-allyesconfig | |-- arch-x86-kvm-x86.c:warning:no-previous-prototype-for-function-kvm_post_set_cr0 | |-- arch-x86-kvm-x86.c:warning:no-previous-prototype-for-function-kvm_post_set_cr4 | |-- arch-x86-kvm-x86.c:warning:no-previous-prototype-for-function-kvm_read_guest_page_mmu | |-- drivers-acpi-numa-hmat.c:warning:no-previous-prototype-for-function-hmat_restore_target | |-- drivers-net-can-spi-mcp251xfd-mcp251xfd-core.c:warning:no-previous-prototype-for-function-mcp251xfd_tx_obj_write_sync | |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_tm.c:warning:no-previous-prototype-for-function-hclge_mbx_set_vf_multi_tc | |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_tm.c:warning:no-previous-prototype-for-function-hclge_tm_vf_tc_dwrr_cfg | |-- drivers-net-ethernet-mucse-rnpgbe-rnpgbe_main.c:warning:variable-err-is-used-uninitialized-whenever-if-condition-is-false | |-- drivers-net-ethernet-mucse-rnpgbevf-rnpgbevf_main.c:warning:Excess-function-parameter-direction-description-in-rnpgbevf_set_ring_vector | |-- drivers-net-ethernet-mucse-rnpgbevf-rnpgbevf_main.c:warning:Excess-function-parameter-msix_vector-description-in-rnpgbevf_set_ring_vector | |-- drivers-net-ethernet-mucse-rnpgbevf-rnpgbevf_main.c:warning:Excess-function-parameter-queue-description-in-rnpgbevf_set_ring_vector | |-- drivers-net-ethernet-mucse-rnpvf-rnpvf_main.c:warning:Excess-function-parameter-direction-description-in-rnpvf_set_ring_vector | |-- drivers-net-ethernet-mucse-rnpvf-rnpvf_main.c:warning:Excess-function-parameter-msix_vector-description-in-rnpvf_set_ring_vector | |-- drivers-net-ethernet-mucse-rnpvf-rnpvf_main.c:warning:Excess-function-parameter-queue-description-in-rnpvf_set_ring_vector | |-- drivers-ub-urma-ubcore-ubcore_cdev_file.c:warning:no-previous-prototype-for-function-ubcore_create_dev_attr_files | |-- drivers-ub-urma-ubcore-ubcore_cdev_file.c:warning:no-previous-prototype-for-function-ubcore_create_port_attr_files | |-- drivers-ub-urma-ubcore-ubcore_cdev_file.c:warning:no-previous-prototype-for-function-ubcore_remove_dev_attr_files | |-- drivers-ub-urma-ubcore-ubcore_cdev_file.c:warning:no-previous-prototype-for-function-ubcore_remove_port_attr_files | |-- drivers-ub-urma-ubcore-ubcore_ctp.c:warning:comparison-of-address-of-dev-ht-UBCORE_HT_CTP-.head-equal-to-a-null-pointer-is-always-false | |-- drivers-ub-urma-ubcore-ubcore_device.c:warning:no-previous-prototype-for-function-ubcore_dispatch_event | |-- drivers-ub-urma-ubcore-ubcore_device.c:warning:no-previous-prototype-for-function-ubcore_net_exit | |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:Function-parameter-or-member-ctx-not-described-in-ubcore_update_uvs_eid_ret | |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:Function-parameter-or-member-dev-not-described-in-ubcore_asyn_send_fe2tpf_msg | |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:Function-parameter-or-member-req-not-described-in-ubcore_asyn_send_fe2tpf_msg | |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:no-previous-prototype-for-function-ubcore_asyn_send_fe2tpf_msg | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-function-ubcore_fill_port_netdev | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-function-ubcore_lookup_sip_info_without_lock | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-function-ubcore_new_sip_req_msg | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-function-ubcore_update_sip_entry | |-- drivers-ub-urma-ubcore-ubcore_netlink.c:warning:no-previous-prototype-for-function-ubcore_genl_unicast | |-- drivers-ub-urma-ubcore-ubcore_tpg.c:warning:comparison-of-address-of-dev-ht-UBCORE_HT_TP-.head-equal-to-a-null-pointer-is-always-false | |-- drivers-ub-urma-ubcore-ubcore_tpg.c:warning:comparison-of-address-of-dev-ht-UBCORE_HT_TPG-.head-equal-to-a-null-pointer-is-always-false | |-- drivers-ub-urma-ubcore-ubcore_tpg.c:warning:no-previous-prototype-for-function-ubcore_tpg_kref_get | |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-function-ubcore_umem_find_best_page_size | |-- drivers-ub-urma-ubcore-ubcore_utp.c:warning:comparison-of-address-of-dev-ht-UBCORE_HT_UTP-.head-equal-to-a-null-pointer-is-always-false | |-- drivers-ub-urma-ubcore-ubcore_vtp.c:warning:no-previous-prototype-for-function-ubcore_hash_table_rmv_vtpn | |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-function-uburma_get_umap_ops | |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-function-uburma_umap_priv_init | |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-function-uburma_unmap_vma_pages | `-- kernel-static_call_inline.c:warning:no-previous-prototype-for-function-klp_static_call_register |-- x86_64-buildonly-randconfig-001-20240914 | |-- kernel-static_call_inline.c:warning:no-previous-prototype-for-function-klp_static_call_register | `-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration |-- x86_64-buildonly-randconfig-002-20240914 | |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_OPCODE-undeclared-(first-use-in-this-function) | |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_SIZE-undeclared-(first-use-in-this-function) | |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn | |-- include-linux-backing-dev.h:warning:struct-cgroup_subsys-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration | `-- kernel-static_call_inline.c:warning:no-previous-prototype-for-klp_static_call_register |-- x86_64-buildonly-randconfig-003-20240914 | |-- include-linux-backing-dev.h:warning:declaration-of-struct-cgroup_subsys-will-not-be-visible-outside-of-this-function | |-- kernel-static_call_inline.c:warning:no-previous-prototype-for-function-klp_static_call_register | `-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration |-- x86_64-buildonly-randconfig-004-20240913 | `-- security-integrity-ima-ima_main.c:error:too-few-arguments-to-function-call-expected-have |-- x86_64-defconfig | `-- kernel-static_call_inline.c:warning:no-previous-prototype-for-klp_static_call_register |-- x86_64-randconfig-076-20240913 | `-- drivers-acpi-numa-hmat.c:warning:no-previous-prototype-for-hmat_restore_target `-- x86_64-rhel-8.3-rust |-- arch-x86-kvm-x86.c:warning:no-previous-prototype-for-function-kvm_post_set_cr0 |-- arch-x86-kvm-x86.c:warning:no-previous-prototype-for-function-kvm_post_set_cr4 |-- arch-x86-kvm-x86.c:warning:no-previous-prototype-for-function-kvm_read_guest_page_mmu |-- drivers-acpi-numa-hmat.c:warning:no-previous-prototype-for-function-hmat_restore_target `-- kernel-static_call_inline.c:warning:no-previous-prototype-for-function-klp_static_call_register elapsed time: 893m configs tested: 13 configs skipped: 111 tested configs: arm64 allmodconfig clang-20 arm64 allnoconfig gcc-14.1.0 arm64 randconfig-001-20240914 gcc-14.1.0 arm64 randconfig-002-20240914 gcc-14.1.0 arm64 randconfig-003-20240914 clang-20 arm64 randconfig-004-20240914 gcc-14.1.0 x86_64 allnoconfig clang-18 x86_64 allyesconfig clang-18 x86_64 buildonly-randconfig-001-20240914 clang-18 x86_64 buildonly-randconfig-002-20240914 gcc-12 x86_64 buildonly-randconfig-003-20240914 clang-18 x86_64 defconfig gcc-11 x86_64 rhel-8.3-rust clang-18 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 11451/30000] mm/mem_reliable.c:430:9: error: implicit declaration of function 'mem_reliable_ctrl_bit_disable'; did you mean 'mem_reliable_ctrl_bit_disabled'?
by kernel test robot 14 Sep '24

14 Sep '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 5a1d9701155c6908c76c68951170f10279685143 commit: 2525d04c6308006b789564ed955081602727f38f [11451/30000] mm: Introduce proc interface to disable memory reliable features config: arm64-randconfig-001-20240914 (https://download.01.org/0day-ci/archive/20240914/202409140014.U3Yy9wN5-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140014.U3Yy9wN5-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202409140014.U3Yy9wN5-lkp@intel.com/ All error/warnings (new ones prefixed by >>): mm/mem_reliable.c: In function 'mem_reliable_feature_disable': >> mm/mem_reliable.c:430:9: error: implicit declaration of function 'mem_reliable_ctrl_bit_disable'; did you mean 'mem_reliable_ctrl_bit_disabled'? [-Werror=implicit-function-declaration] 430 | mem_reliable_ctrl_bit_disable(idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | mem_reliable_ctrl_bit_disabled mm/mem_reliable.c: At top level: >> mm/mem_reliable.c:405:13: warning: 'mem_reliable_ctrl_bit_disabled' defined but not used [-Wunused-function] 405 | static void mem_reliable_ctrl_bit_disabled(int idx) {} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +430 mm/mem_reliable.c 387 388 static int __init reliable_sysctl_init(void) 389 { 390 if (!mem_reliable_is_enabled()) 391 return 0; 392 393 if (!register_sysctl_table(reliable_dir_table)) { 394 pr_err("register sysctl failed."); 395 return -ENOMEM; 396 } 397 398 percpu_counter_init(&pagecache_reliable_pages, 0, GFP_KERNEL); 399 percpu_counter_init(&anon_reliable_pages, 0, GFP_KERNEL); 400 401 return 0; 402 } 403 arch_initcall(reliable_sysctl_init); 404 #else > 405 static void mem_reliable_ctrl_bit_disabled(int idx) {} 406 #endif 407 408 static void mem_reliable_feature_disable(int idx) 409 { 410 char *str = NULL; 411 412 switch (idx) { 413 case MEM_RELIABLE_FALLBACK: 414 reliable_allow_fallback = false; 415 str = "fallback"; 416 break; 417 case MEM_RELIABLE_SHMEM: 418 shmem_reliable = false; 419 str = "shmem"; 420 break; 421 case MEM_RELIABLE_PAGECACHE: 422 pagecache_use_reliable_mem = false; 423 str = "pagecache"; 424 break; 425 default: 426 pr_err("unknown index: %d", idx); 427 return; 428 } 429 > 430 mem_reliable_ctrl_bit_disable(idx); 431 pr_info("%s is disabled\n", str); 432 } 433 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 4908/30000] arch/arm64/mm/pmem_reserve.c:13:13: warning: no previous prototype for 'setup_reserve_pmem'
by kernel test robot 14 Sep '24

14 Sep '24
Hi Zhuling, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 5a1d9701155c6908c76c68951170f10279685143 commit: db4cd75bc674e6f473c0a7303b1744155352882c [4908/30000] arm64: register persistent memory via protected memory config: arm64-randconfig-004-20240914 (https://download.01.org/0day-ci/archive/20240914/202409140022.9cw3pzYT-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140022.9cw3pzYT-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202409140022.9cw3pzYT-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/arm64/mm/pmem_reserve.c:13:13: warning: no previous prototype for 'setup_reserve_pmem' [-Wmissing-prototypes] 13 | void __init setup_reserve_pmem(u64 start, u64 size) | ^~~~~~~~~~~~~~~~~~ >> arch/arm64/mm/pmem_reserve.c:25:13: warning: no previous prototype for 'request_pmem_res_resource' [-Wmissing-prototypes] 25 | void __init request_pmem_res_resource(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/arm64/mm/pmem_reserve.c:40:13: warning: no previous prototype for 'reserve_pmem' [-Wmissing-prototypes] 40 | void __init reserve_pmem(void) | ^~~~~~~~~~~~ vim +/setup_reserve_pmem +13 arch/arm64/mm/pmem_reserve.c 12 > 13 void __init setup_reserve_pmem(u64 start, u64 size) 14 { 15 if (pmem_res_cnt >= MAX_REGIONS) { 16 pr_err("protected memory regions above upper limit %d\n", MAX_REGIONS); 17 return; 18 } 19 20 pmem_res[pmem_res_cnt].start = start; 21 pmem_res[pmem_res_cnt].end = start + size - 1; 22 pmem_res_cnt++; 23 } 24 > 25 void __init request_pmem_res_resource(void) 26 { 27 struct resource *res; 28 int i; 29 30 for (i = 0; i < pmem_res_cnt; i++) { 31 res = &pmem_res[i]; 32 res->name = "Persistent Memory (legacy)"; 33 res->flags = IORESOURCE_MEM; 34 res->desc = IORES_DESC_PERSISTENT_MEMORY_LEGACY; 35 if (res->start && res->end) 36 request_resource(&iomem_resource, res); 37 } 38 } 39 > 40 void __init reserve_pmem(void) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 13472/13930] drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:25: sparse: sparse: cast from restricted __le32
by kernel test robot 13 Sep '24

13 Sep '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 13706c950ff941dc015e16f76812077f9861e378 commit: 641a2595f7f5a1b8c5a8ef8ae44b7318c7a6108e [13472/13930] crypto: ccp: support sm2 on Hygon generation 4th CPU config: x86_64-randconfig-123-20240913 (https://download.01.org/0day-ci/archive/20240913/202409132105.XzvWqk04-lkp@…) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409132105.XzvWqk04-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202409132105.XzvWqk04-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:25: sparse: sparse: cast from restricted __le32 >> drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@ drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:23: sparse: expected unsigned int [usertype] drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:23: sparse: got restricted __le32 [usertype] >> drivers/crypto/ccp/hygon/ccp-dev-v5.c:490:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] sm3_len_lo @@ got unsigned int [usertype] @@ drivers/crypto/ccp/hygon/ccp-dev-v5.c:490:40: sparse: expected restricted __le32 [usertype] sm3_len_lo drivers/crypto/ccp/hygon/ccp-dev-v5.c:490:40: sparse: got unsigned int [usertype] >> drivers/crypto/ccp/hygon/ccp-dev-v5.c:491:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] sm3_len_hi @@ got unsigned int [usertype] @@ drivers/crypto/ccp/hygon/ccp-dev-v5.c:491:40: sparse: expected restricted __le32 [usertype] sm3_len_hi drivers/crypto/ccp/hygon/ccp-dev-v5.c:491:40: sparse: got unsigned int [usertype] vim +294 drivers/crypto/ccp/hygon/ccp-dev-v5.c 274 275 static int ccp5_do_multi_cmds(struct ccp5_desc *desc, 276 struct ccp_cmd_queue *cmd_q) 277 { 278 u32 *mP; 279 __le32 *dP; 280 int i; 281 282 cmd_q->total_ops++; 283 284 if (CCP5_CMD_SOC(desc)) { 285 CCP5_CMD_IOC(desc) = 1; 286 CCP5_CMD_SOC(desc) = 0; 287 } 288 289 mutex_lock(&cmd_q->q_mutex); 290 291 mP = (u32 *) &cmd_q->qbase[cmd_q->qidx]; 292 dP = (__le32 *) desc; 293 for (i = 0; i < 8; i++) > 294 mP[i] = cpu_to_le32(dP[i]); /* handle endianness */ 295 296 cmd_q->qidx = (cmd_q->qidx + 1) % CCP5_COMMANDS_PER_QUEUE; 297 298 mutex_unlock(&cmd_q->q_mutex); 299 300 return 0; 301 } 302 303 static int ccp5_do_run_cmd(struct ccp_op *op) 304 { 305 struct ccp_cmd_queue *cmd_q = op->cmd_q; 306 u32 tail; 307 int ret = 0; 308 309 mutex_lock(&cmd_q->q_mutex); 310 311 /* The data used by this command must be flushed to memory */ 312 wmb(); 313 314 /* Write the new tail address back to the queue register */ 315 tail = low_address(cmd_q->qdma_tail + cmd_q->qidx * Q_DESC_SIZE); 316 iowrite32(tail, cmd_q->reg_tail_lo); 317 318 /* Turn the queue back on using our cached control register */ 319 iowrite32(cmd_q->qcontrol | CMD5_Q_RUN, cmd_q->reg_control); 320 mutex_unlock(&cmd_q->q_mutex); 321 322 if (op->ioc) { 323 /* Wait for the job to complete */ 324 ret = wait_event_interruptible(cmd_q->int_queue, 325 cmd_q->int_rcvd); 326 if (ret || cmd_q->cmd_error) { 327 /* Log the error and flush the queue by 328 * moving the head pointer 329 */ 330 if (cmd_q->cmd_error) 331 ccp_log_error(cmd_q->ccp, cmd_q->cmd_error); 332 iowrite32(tail, cmd_q->reg_head_lo); 333 if (!ret) 334 ret = -EIO; 335 } 336 cmd_q->int_rcvd = 0; 337 } 338 339 return ret; 340 } 341 342 static int ccp5_do_cmd(struct ccp5_desc *desc, 343 struct ccp_cmd_queue *cmd_q) 344 { 345 __le32 *mP; 346 u32 *dP; 347 u32 tail; 348 int i; 349 int ret = 0; 350 351 cmd_q->total_ops++; 352 353 if (CCP5_CMD_SOC(desc)) { 354 CCP5_CMD_IOC(desc) = 1; 355 CCP5_CMD_SOC(desc) = 0; 356 } 357 mutex_lock(&cmd_q->q_mutex); 358 359 mP = (__le32 *)&cmd_q->qbase[cmd_q->qidx]; 360 dP = (u32 *)desc; 361 for (i = 0; i < 8; i++) 362 mP[i] = cpu_to_le32(dP[i]); /* handle endianness */ 363 364 cmd_q->qidx = (cmd_q->qidx + 1) % CCP5_COMMANDS_PER_QUEUE; 365 366 /* The data used by this command must be flushed to memory */ 367 wmb(); 368 369 /* Write the new tail address back to the queue register */ 370 tail = low_address(cmd_q->qdma_tail + cmd_q->qidx * Q_DESC_SIZE); 371 iowrite32(tail, cmd_q->reg_tail_lo); 372 373 /* Turn the queue back on using our cached control register */ 374 iowrite32(cmd_q->qcontrol | CMD5_Q_RUN, cmd_q->reg_control); 375 mutex_unlock(&cmd_q->q_mutex); 376 377 if (CCP5_CMD_IOC(desc)) { 378 /* Wait for the job to complete */ 379 ret = wait_event_interruptible(cmd_q->int_queue, 380 cmd_q->int_rcvd); 381 if (ret || cmd_q->cmd_error) { 382 /* Log the error and flush the queue by 383 * moving the head pointer 384 */ 385 if (cmd_q->cmd_error) 386 ccp_log_error(cmd_q->ccp, 387 cmd_q->cmd_error); 388 iowrite32(tail, cmd_q->reg_head_lo); 389 if (!ret) 390 ret = -EIO; 391 } 392 cmd_q->int_rcvd = 0; 393 } 394 395 return ret; 396 } 397 398 static int ccp5_perform_sm2(struct ccp_op *op) 399 { 400 struct ccp5_desc desc; 401 union ccp_function function; 402 struct ccp_dma_info *saddr = &op->src.u.dma; 403 struct ccp_dma_info *daddr = &op->dst.u.dma; 404 dma_addr_t kaddr; 405 unsigned int slen = saddr->length; 406 int ret = 0; 407 408 op->cmd_q->total_sm2_ops++; 409 410 memset(&desc, 0, Q_DESC_SIZE); 411 412 CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_SM2; 413 414 CCP5_CMD_SOC(&desc) = 0; 415 CCP5_CMD_IOC(&desc) = 1; 416 CCP5_CMD_INIT(&desc) = 1; 417 CCP5_CMD_EOM(&desc) = 1; 418 CCP5_CMD_PROT(&desc) = 0; 419 420 function.raw = 0; 421 422 /* 423 * ccp support both sm2 and ecc, the rand,mode filed are different 424 * with previous, and run on ecc or sm2 also should be indicated 425 */ 426 if (op->cmd_q->ccp->support_sm2_ecc) { 427 ret = ccp5_get_keyinfo(op, &kaddr, &slen); 428 if (ret) 429 return ret; 430 431 CCP_SM2_ECC_RAND(&function) = op->u.sm2.rand; 432 CCP_SM2_ECC_MODE(&function) = op->u.sm2.mode; 433 CCP_SM2_ECC_ECC_MODE(&function) = 0; /* 0: SM2 1: ECC */ 434 } else { 435 CCP_SM2_RAND(&function) = op->u.sm2.rand; 436 CCP_SM2_MODE(&function) = op->u.sm2.mode; 437 } 438 439 CCP5_CMD_FUNCTION(&desc) = function.raw; 440 441 /* Length of source data must match with mode */ 442 CCP5_CMD_LEN(&desc) = slen; 443 CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(saddr); 444 CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(saddr); 445 CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM; 446 447 CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(daddr); 448 CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(daddr); 449 CCP5_CMD_DST_MEM(&desc) = CCP_MEMTYPE_SYSTEM; 450 451 if (op->cmd_q->ccp->support_sm2_ecc && 452 op->u.sm2.mode != CCP_SM2_MODE_KG) { 453 CCP5_CMD_KEY_LO(&desc) = low_address(kaddr); 454 CCP5_CMD_KEY_HI(&desc) = high_address(kaddr); 455 CCP5_CMD_KEY_MEM(&desc) = CCP_MEMTYPE_SYSTEM; 456 } 457 458 return ccp5_do_cmd(&desc, op->cmd_q); 459 } 460 461 static int ccp5_perform_sm3(struct ccp_op *op) 462 { 463 struct ccp5_desc desc; 464 union ccp_function function; 465 466 op->cmd_q->total_sm3_ops++; 467 468 memset(&desc, 0, Q_DESC_SIZE); 469 470 CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_SM3; 471 472 CCP5_CMD_SOC(&desc) = op->soc; 473 CCP5_CMD_IOC(&desc) = op->ioc; 474 CCP5_CMD_INIT(&desc) = op->init; 475 CCP5_CMD_EOM(&desc) = op->eom; 476 CCP5_CMD_PROT(&desc) = 0; 477 478 function.raw = 0; 479 CCP_SM3_TYPE(&function) = op->u.sm3.type; 480 CCP5_CMD_FUNCTION(&desc) = function.raw; 481 482 CCP5_CMD_LEN(&desc) = op->src.u.dma.length; 483 484 CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); 485 CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); 486 CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM; 487 CCP5_CMD_LSB_ID(&desc) = op->sb_ctx; 488 489 if (op->eom) { > 490 CCP5_CMD_SM3_LO(&desc) = lower_32_bits(op->u.sm3.msg_bits); > 491 CCP5_CMD_SM3_HI(&desc) = upper_32_bits(op->u.sm3.msg_bits); 492 } 493 494 return ccp5_do_multi_cmds(&desc, op->cmd_q); 495 } 496 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 7838/23707] fs/debugfs/file.o: warning: objtool: full_proxy_open()+0x55a: unreachable instruction
by kernel test robot 13 Sep '24

13 Sep '24
Hi Drew, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: c46f803e3465bd0ca66716804a4d3e20f586ac0d commit: d4bdc26bcd632cee393b5171345d5fa6293fe42b [7838/23707] include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures config: x86_64-randconfig-012-20240913 (https://download.01.org/0day-ci/archive/20240913/202409131958.GH1DFWnD-lkp@…) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409131958.GH1DFWnD-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202409131958.GH1DFWnD-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from fs/debugfs/file.c:15: include/linux/pagemap.h:401:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict] 401 | filler_t *filler = (filler_t *)mapping->a_ops->readpage; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. >> fs/debugfs/file.o: warning: objtool: full_proxy_open()+0x55a: unreachable instruction objdump-func vmlinux.o full_proxy_open: 0000 0000000000c15070 <full_proxy_open>: 0000 c15070: 55 push %rbp 0001 c15071: 48 89 e5 mov %rsp,%rbp 0004 c15074: 41 57 push %r15 0006 c15076: 41 56 push %r14 0008 c15078: 41 55 push %r13 000a c1507a: 41 54 push %r12 000c c1507c: 53 push %rbx 000d c1507d: 48 83 ec 30 sub $0x30,%rsp 0011 c15081: 4c 8d 76 18 lea 0x18(%rsi),%r14 0015 c15085: 48 b8 00 00 00 00 00 fc ff df movabs $0xdffffc0000000000,%rax 001f c1508f: 49 89 f7 mov %rsi,%r15 0022 c15092: 48 89 7d a8 mov %rdi,-0x58(%rbp) 0026 c15096: 4d 89 f4 mov %r14,%r12 0029 c15099: 49 c1 ec 03 shr $0x3,%r12 002d c1509d: 41 80 3c 04 00 cmpb $0x0,(%r12,%rax,1) 0032 c150a2: 74 08 je c150ac <full_proxy_open+0x3c> 0034 c150a4: 4c 89 f7 mov %r14,%rdi 0037 c150a7: e8 00 00 00 00 call c150ac <full_proxy_open+0x3c> c150a8: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 003c c150ac: 49 8b 1e mov (%r14),%rbx 003f c150af: 48 89 df mov %rbx,%rdi 0042 c150b2: e8 00 00 00 00 call c150b7 <full_proxy_open+0x47> c150b3: R_X86_64_PLT32 debugfs_file_get-0x4 0047 c150b7: 83 f8 fb cmp $0xfffffffb,%eax 004a c150ba: 0f 84 3d 04 00 00 je c154fd <full_proxy_open+0x48d> 0050 c150c0: 41 89 c5 mov %eax,%r13d 0053 c150c3: 85 c0 test %eax,%eax 0055 c150c5: 0f 85 d0 04 00 00 jne c1559b <full_proxy_open+0x52b> 005b c150cb: 49 bd 00 00 00 00 00 fc ff df movabs $0xdffffc0000000000,%r13 0065 c150d5: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) 006a c150da: 74 08 je c150e4 <full_proxy_open+0x74> 006c c150dc: 4c 89 f7 mov %r14,%rdi 006f c150df: e8 00 00 00 00 call c150e4 <full_proxy_open+0x74> c150e0: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 0074 c150e4: 41 bc f8 00 00 00 mov $0xf8,%r12d 007a c150ea: 4d 03 26 add (%r14),%r12 007d c150ed: 4c 89 e0 mov %r12,%rax 0080 c150f0: 48 c1 e8 03 shr $0x3,%rax 0084 c150f4: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 0089 c150f9: 74 08 je c15103 <full_proxy_open+0x93> 008b c150fb: 4c 89 e7 mov %r12,%rdi 008e c150fe: e8 00 00 00 00 call c15103 <full_proxy_open+0x93> c150ff: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 0093 c15103: 4d 8b 34 24 mov (%r12),%r14 0097 c15107: 41 f6 c6 01 test $0x1,%r14b 009b c1510b: 0f 85 28 04 00 00 jne c15539 <full_proxy_open+0x4c9> 00a1 c15111: 4c 89 f0 mov %r14,%rax 00a4 c15114: 48 c1 e8 03 shr $0x3,%rax 00a8 c15118: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 00ad c1511d: 74 08 je c15127 <full_proxy_open+0xb7> 00af c1511f: 4c 89 f7 mov %r14,%rdi 00b2 c15122: e8 00 00 00 00 call c15127 <full_proxy_open+0xb7> c15123: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 00b7 c15127: 4d 8b 36 mov (%r14),%r14 00ba c1512a: 4d 85 f6 test %r14,%r14 00bd c1512d: 0f 84 14 04 00 00 je c15547 <full_proxy_open+0x4d7> 00c3 c15133: 4d 89 f4 mov %r14,%r12 00c6 c15136: 49 c1 ec 03 shr $0x3,%r12 00ca c1513a: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) 00cf c1513f: 74 08 je c15149 <full_proxy_open+0xd9> 00d1 c15141: 4c 89 f7 mov %r14,%rdi 00d4 c15144: e8 00 00 00 00 call c15149 <full_proxy_open+0xd9> c15145: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 00d9 c15149: 49 8b 3e mov (%r14),%rdi 00dc c1514c: e8 00 00 00 00 call c15151 <full_proxy_open+0xe1> c1514d: R_X86_64_PLT32 try_module_get-0x4 00e1 c15151: 84 c0 test %al,%al 00e3 c15153: 0f 84 ee 03 00 00 je c15547 <full_proxy_open+0x4d7> 00e9 c15159: 48 c7 c0 00 00 00 00 mov $0x0,%rax c1515c: R_X86_64_32S kmalloc_caches+0x48 00f0 c15160: 48 c1 e8 03 shr $0x3,%rax 00f4 c15164: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 00f9 c15169: 74 0c je c15177 <full_proxy_open+0x107> 00fb c1516b: 48 c7 c7 00 00 00 00 mov $0x0,%rdi c1516e: R_X86_64_32S kmalloc_caches+0x48 0102 c15172: e8 00 00 00 00 call c15177 <full_proxy_open+0x107> c15173: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 0107 c15177: 48 8b 3d 00 00 00 00 mov 0x0(%rip),%rdi # c1517e <full_proxy_open+0x10e> c1517a: R_X86_64_PC32 kmalloc_caches+0x44 010e c1517e: ba 20 01 00 00 mov $0x120,%edx 0113 c15183: be c0 80 60 00 mov $0x6080c0,%esi 0118 c15188: e8 00 00 00 00 call c1518d <full_proxy_open+0x11d> c15189: R_X86_64_PLT32 kmem_cache_alloc_trace-0x4 011d c1518d: 48 85 c0 test %rax,%rax 0120 c15190: 0f 84 72 03 00 00 je c15508 <full_proxy_open+0x498> 0126 c15196: 4c 89 65 b0 mov %r12,-0x50(%rbp) 012a c1519a: 4c 8d 60 78 lea 0x78(%rax),%r12 012e c1519e: 48 89 45 d0 mov %rax,-0x30(%rbp) 0132 c151a2: 4c 89 e0 mov %r12,%rax 0135 c151a5: 48 c1 e8 03 shr $0x3,%rax 0139 c151a9: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 013e c151ae: 74 08 je c151b8 <full_proxy_open+0x148> 0140 c151b0: 4c 89 e7 mov %r12,%rdi 0143 c151b3: e8 00 00 00 00 call c151b8 <full_proxy_open+0x148> c151b4: R_X86_64_PLT32 __asan_report_store8_noabort-0x4 0148 c151b8: 49 c7 04 24 00 00 00 00 movq $0x0,(%r12) c151bc: R_X86_64_32S .text+0xc160d0 0150 c151c0: 4d 8d 66 08 lea 0x8(%r14),%r12 0154 c151c4: 4c 89 e0 mov %r12,%rax 0157 c151c7: 48 c1 e8 03 shr $0x3,%rax 015b c151cb: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 0160 c151d0: 74 08 je c151da <full_proxy_open+0x16a> 0162 c151d2: 4c 89 e7 mov %r12,%rdi 0165 c151d5: e8 00 00 00 00 call c151da <full_proxy_open+0x16a> c151d6: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 016a c151da: 49 83 3c 24 00 cmpq $0x0,(%r12) 016f c151df: 74 26 je c15207 <full_proxy_open+0x197> 0171 c151e1: 48 8b 45 d0 mov -0x30(%rbp),%rax 0175 c151e5: 4c 8d 60 08 lea 0x8(%rax),%r12 0179 c151e9: 4c 89 e0 mov %r12,%rax 017c c151ec: 48 c1 e8 03 shr $0x3,%rax 0180 c151f0: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 0185 c151f5: 74 08 je c151ff <full_proxy_open+0x18f> 0187 c151f7: 4c 89 e7 mov %r12,%rdi 018a c151fa: e8 00 00 00 00 call c151ff <full_proxy_open+0x18f> c151fb: R_X86_64_PLT32 __asan_report_store8_noabort-0x4 018f c151ff: 49 c7 04 24 00 00 00 00 movq $0x0,(%r12) c15203: R_X86_64_32S .text+0xc16320 0197 c15207: 4d 8d 66 10 lea 0x10(%r14),%r12 019b c1520b: 4c 89 e0 mov %r12,%rax 019e c1520e: 48 c1 e8 03 shr $0x3,%rax 01a2 c15212: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 01a7 c15217: 74 08 je c15221 <full_proxy_open+0x1b1> 01a9 c15219: 4c 89 e7 mov %r12,%rdi 01ac c1521c: e8 00 00 00 00 call c15221 <full_proxy_open+0x1b1> c1521d: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 01b1 c15221: 49 83 3c 24 00 cmpq $0x0,(%r12) 01b6 c15226: 74 26 je c1524e <full_proxy_open+0x1de> 01b8 c15228: 48 8b 45 d0 mov -0x30(%rbp),%rax 01bc c1522c: 4c 8d 60 10 lea 0x10(%rax),%r12 01c0 c15230: 4c 89 e0 mov %r12,%rax 01c3 c15233: 48 c1 e8 03 shr $0x3,%rax 01c7 c15237: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 01cc c1523c: 74 08 je c15246 <full_proxy_open+0x1d6> 01ce c1523e: 4c 89 e7 mov %r12,%rdi 01d1 c15241: e8 00 00 00 00 call c15246 <full_proxy_open+0x1d6> c15242: R_X86_64_PLT32 __asan_report_store8_noabort-0x4 01d6 c15246: 49 c7 04 24 00 00 00 00 movq $0x0,(%r12) c1524a: R_X86_64_32S .text+0xc16470 01de c1524e: 4d 8d 66 18 lea 0x18(%r14),%r12 01e2 c15252: 4c 89 e0 mov %r12,%rax 01e5 c15255: 48 c1 e8 03 shr $0x3,%rax 01e9 c15259: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 01ee c1525e: 74 08 je c15268 <full_proxy_open+0x1f8> 01f0 c15260: 4c 89 e7 mov %r12,%rdi 01f3 c15263: e8 00 00 00 00 call c15268 <full_proxy_open+0x1f8> c15264: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 01f8 c15268: 49 83 3c 24 00 cmpq $0x0,(%r12) 01fd c1526d: 74 26 je c15295 <full_proxy_open+0x225> 01ff c1526f: 48 8b 45 d0 mov -0x30(%rbp),%rax 0203 c15273: 4c 8d 60 18 lea 0x18(%rax),%r12 0207 c15277: 4c 89 e0 mov %r12,%rax 020a c1527a: 48 c1 e8 03 shr $0x3,%rax 020e c1527e: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 0213 c15283: 74 08 je c1528d <full_proxy_open+0x21d> 0215 c15285: 4c 89 e7 mov %r12,%rdi 0218 c15288: e8 00 00 00 00 call c1528d <full_proxy_open+0x21d> c15289: R_X86_64_PLT32 __asan_report_store8_noabort-0x4 021d c1528d: 49 c7 04 24 00 00 00 00 movq $0x0,(%r12) c15291: R_X86_64_32S .text+0xc165c0 0225 c15295: 4d 8d 66 40 lea 0x40(%r14),%r12 0229 c15299: 4c 89 e0 mov %r12,%rax 022c c1529c: 48 c1 e8 03 shr $0x3,%rax 0230 c152a0: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 0235 c152a5: 74 08 je c152af <full_proxy_open+0x23f> 0237 c152a7: 4c 89 e7 mov %r12,%rdi 023a c152aa: e8 00 00 00 00 call c152af <full_proxy_open+0x23f> c152ab: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 023f c152af: 49 83 3c 24 00 cmpq $0x0,(%r12) 0244 c152b4: 74 26 je c152dc <full_proxy_open+0x26c> 0246 c152b6: 48 8b 45 d0 mov -0x30(%rbp),%rax 024a c152ba: 4c 8d 60 40 lea 0x40(%rax),%r12 024e c152be: 4c 89 e0 mov %r12,%rax 0251 c152c1: 48 c1 e8 03 shr $0x3,%rax 0255 c152c5: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 025a c152ca: 74 08 je c152d4 <full_proxy_open+0x264> 025c c152cc: 4c 89 e7 mov %r12,%rdi 025f c152cf: e8 00 00 00 00 call c152d4 <full_proxy_open+0x264> c152d0: R_X86_64_PLT32 __asan_report_store8_noabort-0x4 0264 c152d4: 49 c7 04 24 00 00 00 00 movq $0x0,(%r12) c152d8: R_X86_64_32S .text+0xc16710 026c c152dc: 4d 8d 66 48 lea 0x48(%r14),%r12 0270 c152e0: 4c 89 e0 mov %r12,%rax 0273 c152e3: 48 c1 e8 03 shr $0x3,%rax 0277 c152e7: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 027c c152ec: 74 08 je c152f6 <full_proxy_open+0x286> 027e c152ee: 4c 89 e7 mov %r12,%rdi 0281 c152f1: e8 00 00 00 00 call c152f6 <full_proxy_open+0x286> c152f2: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 0286 c152f6: 49 83 3c 24 00 cmpq $0x0,(%r12) 028b c152fb: 74 26 je c15323 <full_proxy_open+0x2b3> 028d c152fd: 48 8b 45 d0 mov -0x30(%rbp),%rax 0291 c15301: 4c 8d 60 48 lea 0x48(%rax),%r12 0295 c15305: 4c 89 e0 mov %r12,%rax 0298 c15308: 48 c1 e8 03 shr $0x3,%rax 029c c1530c: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 02a1 c15311: 74 08 je c1531b <full_proxy_open+0x2ab> 02a3 c15313: 4c 89 e7 mov %r12,%rdi 02a6 c15316: e8 00 00 00 00 call c1531b <full_proxy_open+0x2ab> c15317: R_X86_64_PLT32 __asan_report_store8_noabort-0x4 02ab c1531b: 49 c7 04 24 00 00 00 00 movq $0x0,(%r12) c1531f: R_X86_64_32S .text+0xc16850 02b3 c15323: 4d 8d 67 28 lea 0x28(%r15),%r12 02b7 c15327: 4c 89 e0 mov %r12,%rax 02ba c1532a: 48 c1 e8 03 shr $0x3,%rax 02be c1532e: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 02c3 c15333: 48 89 45 c8 mov %rax,-0x38(%rbp) 02c7 c15337: 74 08 je c15341 <full_proxy_open+0x2d1> 02c9 c15339: 4c 89 e7 mov %r12,%rdi 02cc c1533c: e8 00 00 00 00 call c15341 <full_proxy_open+0x2d1> c1533d: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 02d1 c15341: 49 83 3c 24 00 cmpq $0x0,(%r12) 02d6 c15346: 4c 89 65 c0 mov %r12,-0x40(%rbp) 02da c1534a: 74 3a je c15386 <full_proxy_open+0x316> 02dc c1534c: 48 8b 45 c8 mov -0x38(%rbp),%rax 02e0 c15350: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 02e5 c15355: 74 08 je c1535f <full_proxy_open+0x2ef> 02e7 c15357: 4c 89 e7 mov %r12,%rdi 02ea c1535a: e8 00 00 00 00 call c1535f <full_proxy_open+0x2ef> c1535b: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 02ef c1535f: 4d 8b 24 24 mov (%r12),%r12 02f3 c15363: 4c 89 e0 mov %r12,%rax 02f6 c15366: 48 c1 e8 03 shr $0x3,%rax 02fa c1536a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 02ff c1536f: 74 08 je c15379 <full_proxy_open+0x309> 0301 c15371: 4c 89 e7 mov %r12,%rdi 0304 c15374: e8 00 00 00 00 call c15379 <full_proxy_open+0x309> c15375: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 0309 c15379: 49 8b 3c 24 mov (%r12),%rdi 030d c1537d: e8 00 00 00 00 call c15382 <full_proxy_open+0x312> c1537e: R_X86_64_PLT32 module_put-0x4 0312 c15382: 4c 8b 65 c0 mov -0x40(%rbp),%r12 0316 c15386: 48 8b 45 c8 mov -0x38(%rbp),%rax 031a c1538a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 031f c1538f: 74 08 je c15399 <full_proxy_open+0x329> 0321 c15391: 4c 89 e7 mov %r12,%rdi 0324 c15394: e8 00 00 00 00 call c15399 <full_proxy_open+0x329> c15395: R_X86_64_PLT32 __asan_report_store8_noabort-0x4 0329 c15399: 48 8b 45 d0 mov -0x30(%rbp),%rax 032d c1539d: 4c 89 75 b8 mov %r14,-0x48(%rbp) 0331 c153a1: 49 83 c6 68 add $0x68,%r14 0335 c153a5: 49 89 04 24 mov %rax,(%r12) 0339 c153a9: 4d 89 f4 mov %r14,%r12 033c c153ac: 49 c1 ec 03 shr $0x3,%r12 0340 c153b0: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) 0345 c153b5: 74 08 je c153bf <full_proxy_open+0x34f> 0347 c153b7: 4c 89 f7 mov %r14,%rdi 034a c153ba: e8 00 00 00 00 call c153bf <full_proxy_open+0x34f> c153bb: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 034f c153bf: 45 31 ed xor %r13d,%r13d 0352 c153c2: 49 83 3e 00 cmpq $0x0,(%r14) 0356 c153c6: 0f 84 92 01 00 00 je c1555e <full_proxy_open+0x4ee> 035c c153cc: 48 b8 00 00 00 00 00 fc ff df movabs $0xdffffc0000000000,%rax 0366 c153d6: 41 80 3c 04 00 cmpb $0x0,(%r12,%rax,1) 036b c153db: 74 08 je c153e5 <full_proxy_open+0x375> 036d c153dd: 4c 89 f7 mov %r14,%rdi 0370 c153e0: e8 00 00 00 00 call c153e5 <full_proxy_open+0x375> c153e1: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 0375 c153e5: 4d 8b 1e mov (%r14),%r11 0378 c153e8: 48 8b 7d a8 mov -0x58(%rbp),%rdi 037c c153ec: 4c 89 fe mov %r15,%rsi 037f c153ef: e8 00 00 00 00 call c153f4 <full_proxy_open+0x384> c153f0: R_X86_64_PLT32 __x86_indirect_thunk_r11-0x4 0384 c153f4: 48 8b 4d c8 mov -0x38(%rbp),%rcx 0388 c153f8: 41 89 c7 mov %eax,%r15d 038b c153fb: 48 b8 00 00 00 00 00 fc ff df movabs $0xdffffc0000000000,%rax 0395 c15405: 4c 8b 65 b0 mov -0x50(%rbp),%r12 0399 c15409: 4c 8b 75 c0 mov -0x40(%rbp),%r14 039d c1540d: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) 03a1 c15411: 74 08 je c1541b <full_proxy_open+0x3ab> 03a3 c15413: 4c 89 f7 mov %r14,%rdi 03a6 c15416: e8 00 00 00 00 call c1541b <full_proxy_open+0x3ab> c15417: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 03ab c1541b: 49 8b 06 mov (%r14),%rax 03ae c1541e: 45 85 ff test %r15d,%r15d 03b1 c15421: 0f 84 86 01 00 00 je c155ad <full_proxy_open+0x53d> 03b7 c15427: 48 85 c0 test %rax,%rax 03ba c1542a: 49 be 00 00 00 00 00 fc ff df movabs $0xdffffc0000000000,%r14 03c4 c15434: 74 3a je c15470 <full_proxy_open+0x400> 03c6 c15436: 48 8b 45 c8 mov -0x38(%rbp),%rax 03ca c1543a: 4c 8b 65 c0 mov -0x40(%rbp),%r12 03ce c1543e: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) 03d3 c15443: 74 08 je c1544d <full_proxy_open+0x3dd> 03d5 c15445: 4c 89 e7 mov %r12,%rdi 03d8 c15448: e8 00 00 00 00 call c1544d <full_proxy_open+0x3dd> c15449: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 03dd c1544d: 4d 8b 24 24 mov (%r12),%r12 03e1 c15451: 4c 89 e0 mov %r12,%rax 03e4 c15454: 48 c1 e8 03 shr $0x3,%rax 03e8 c15458: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) 03ed c1545d: 74 08 je c15467 <full_proxy_open+0x3f7> 03ef c1545f: 4c 89 e7 mov %r12,%rdi 03f2 c15462: e8 00 00 00 00 call c15467 <full_proxy_open+0x3f7> c15463: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 03f7 c15467: 49 8b 3c 24 mov (%r12),%rdi 03fb c1546b: e8 00 00 00 00 call c15470 <full_proxy_open+0x400> c1546c: R_X86_64_PLT32 module_put-0x4 0400 c15470: 4c 8d 63 68 lea 0x68(%rbx),%r12 0404 c15474: 4c 89 e0 mov %r12,%rax 0407 c15477: 48 c1 e8 03 shr $0x3,%rax 040b c1547b: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) 0410 c15480: 74 08 je c1548a <full_proxy_open+0x41a> 0412 c15482: 4c 89 e7 mov %r12,%rdi 0415 c15485: e8 00 00 00 00 call c1548a <full_proxy_open+0x41a> c15486: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 041a c1548a: 41 bd 00 02 00 00 mov $0x200,%r13d 0420 c15490: 48 b9 00 00 00 00 00 fc ff df movabs $0xdffffc0000000000,%rcx 042a c1549a: 4d 03 2c 24 add (%r12),%r13 042e c1549e: 4c 89 e8 mov %r13,%rax 0431 c154a1: 48 c1 e8 03 shr $0x3,%rax 0435 c154a5: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) 0439 c154a9: 74 08 je c154b3 <full_proxy_open+0x443> 043b c154ab: 4c 89 ef mov %r13,%rdi 043e c154ae: e8 00 00 00 00 call c154b3 <full_proxy_open+0x443> c154af: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 0443 c154b3: 48 8b 4d c8 mov -0x38(%rbp),%rcx 0447 c154b7: 48 b8 00 00 00 00 00 fc ff df movabs $0xdffffc0000000000,%rax 0451 c154c1: 4d 8b 75 00 mov 0x0(%r13),%r14 0455 c154c5: 4c 8b 65 b0 mov -0x50(%rbp),%r12 0459 c154c9: 4c 8b 6d c0 mov -0x40(%rbp),%r13 045d c154cd: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) 0461 c154d1: 74 08 je c154db <full_proxy_open+0x46b> 0463 c154d3: 4c 89 ef mov %r13,%rdi 0466 c154d6: e8 00 00 00 00 call c154db <full_proxy_open+0x46b> c154d7: R_X86_64_PLT32 __asan_report_store8_noabort-0x4 046b c154db: 4d 89 75 00 mov %r14,0x0(%r13) 046f c154df: 4d 85 f6 test %r14,%r14 0472 c154e2: 4c 8b 75 b8 mov -0x48(%rbp),%r14 0476 c154e6: 48 8b 7d d0 mov -0x30(%rbp),%rdi 047a c154ea: 45 89 fd mov %r15d,%r13d 047d c154ed: 75 22 jne c15511 <full_proxy_open+0x4a1> 047f c154ef: 0f 0b ud2 0481 c154f1: 48 c7 c7 00 00 00 00 mov $0x0,%rdi c154f4: R_X86_64_32S .data+0x3dced8 0488 c154f8: e8 00 00 00 00 call c154fd <full_proxy_open+0x48d> c154f9: R_X86_64_PLT32 __ubsan_handle_builtin_unreachable-0x4 048d c154fd: 41 bd fe ff ff ff mov $0xfffffffe,%r13d 0493 c15503: e9 93 00 00 00 jmp c1559b <full_proxy_open+0x52b> 0498 c15508: 41 bd f4 ff ff ff mov $0xfffffff4,%r13d 049e c1550e: 48 89 c7 mov %rax,%rdi 04a1 c15511: e8 00 00 00 00 call c15516 <full_proxy_open+0x4a6> c15512: R_X86_64_PLT32 kfree-0x4 04a6 c15516: 48 b8 00 00 00 00 00 fc ff df movabs $0xdffffc0000000000,%rax 04b0 c15520: 41 80 3c 04 00 cmpb $0x0,(%r12,%rax,1) 04b5 c15525: 74 08 je c1552f <full_proxy_open+0x4bf> 04b7 c15527: 4c 89 f7 mov %r14,%rdi 04ba c1552a: e8 00 00 00 00 call c1552f <full_proxy_open+0x4bf> c1552b: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 04bf c1552f: 49 8b 3e mov (%r14),%rdi 04c2 c15532: e8 00 00 00 00 call c15537 <full_proxy_open+0x4c7> c15533: R_X86_64_PLT32 module_put-0x4 04c7 c15537: eb 25 jmp c1555e <full_proxy_open+0x4ee> 04c9 c15539: 48 c7 c7 00 00 00 00 mov $0x0,%rdi c1553c: R_X86_64_32S .rodata+0x1c1380 04d0 c15540: e8 00 00 00 00 call c15545 <full_proxy_open+0x4d5> c15541: R_X86_64_PLT32 printk-0x4 04d5 c15545: 0f 0b ud2 04d7 c15547: 48 c7 c7 00 00 00 00 mov $0x0,%rdi c1554a: R_X86_64_32S .rodata+0x1c4e60 04de c1554e: 48 89 de mov %rbx,%rsi 04e1 c15551: e8 00 00 00 00 call c15556 <full_proxy_open+0x4e6> c15552: R_X86_64_PLT32 __warn_printk-0x4 04e6 c15556: 0f 0b ud2 04e8 c15558: 41 bd fa ff ff ff mov $0xfffffffa,%r13d 04ee c1555e: 48 81 c3 f8 00 00 00 add $0xf8,%rbx 04f5 c15565: 48 b9 00 00 00 00 00 fc ff df movabs $0xdffffc0000000000,%rcx 04ff c1556f: 48 89 d8 mov %rbx,%rax 0502 c15572: 48 c1 e8 03 shr $0x3,%rax 0506 c15576: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) 050a c1557a: 74 08 je c15584 <full_proxy_open+0x514> 050c c1557c: 48 89 df mov %rbx,%rdi 050f c1557f: e8 00 00 00 00 call c15584 <full_proxy_open+0x514> c15580: R_X86_64_PLT32 __asan_report_load8_noabort-0x4 0514 c15584: 48 8b 3b mov (%rbx),%rdi 0517 c15587: ff 4f 08 decl 0x8(%rdi) 051a c1558a: 0f 88 00 00 00 00 js c15590 <full_proxy_open+0x520> c1558c: R_X86_64_PC32 .text..refcount+0x4fb 0520 c15590: 75 09 jne c1559b <full_proxy_open+0x52b> 0522 c15592: 48 83 c7 10 add $0x10,%rdi 0526 c15596: e8 00 00 00 00 call c1559b <full_proxy_open+0x52b> c15597: R_X86_64_PLT32 complete-0x4 052b c1559b: 44 89 e8 mov %r13d,%eax 052e c1559e: 48 83 c4 30 add $0x30,%rsp 0532 c155a2: 5b pop %rbx 0533 c155a3: 41 5c pop %r12 0535 c155a5: 41 5d pop %r13 0537 c155a7: 41 5e pop %r14 0539 c155a9: 41 5f pop %r15 053b c155ab: 5d pop %rbp 053c c155ac: c3 ret 053d c155ad: 48 8b 4d d0 mov -0x30(%rbp),%rcx 0541 c155b1: 48 39 c8 cmp %rcx,%rax 0544 c155b4: 74 a8 je c1555e <full_proxy_open+0x4ee> 0546 c155b6: 48 c7 c7 00 00 00 00 mov $0x0,%rdi c155b9: R_X86_64_32S .rodata+0x1c4ec0 054d c155bd: 48 89 de mov %rbx,%rsi 0550 c155c0: 49 89 ce mov %rcx,%r14 0553 c155c3: e8 00 00 00 00 call c155c8 <full_proxy_open+0x558> c155c4: R_X86_64_PLT32 __warn_printk-0x4 0558 c155c8: 0f 0b ud2 055a c155ca: 4c 89 f7 mov %r14,%rdi 055d c155cd: 4c 8b 75 b8 mov -0x48(%rbp),%r14 0561 c155d1: 45 31 ed xor %r13d,%r13d 0564 c155d4: e9 38 ff ff ff jmp c15511 <full_proxy_open+0x4a1> 0569 c155d9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 662
  • 663
  • 664
  • 665
  • 666
  • 667
  • 668
  • ...
  • 1921
  • Older →

HyperKitty Powered by HyperKitty