drivers/mtd/nand/raw/cadence-nand-controller.c:1283:12: warning: cast to pointer from integer of different size
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 81b6b96475ac7a4ebfceae9f16fb3758327adbfe
commit: ec4ba01e894d3165e4d1ccbef782ef5593b708b4 mtd: rawnand: Add new Cadence NAND driver to MTD subsystem
date: 8 weeks ago
config: i386-randconfig-f002-20191129 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-1) 7.5.0
reproduce:
git checkout ec4ba01e894d3165e4d1ccbef782ef5593b708b4
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/mtd/nand/raw/cadence-nand-controller.c: In function 'cadence_nand_cdma_transfer':
>> drivers/mtd/nand/raw/cadence-nand-controller.c:1283:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void *)dma_buf, (void *)dma_ctrl_dat,
^
drivers/mtd/nand/raw/cadence-nand-controller.c:1283:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void *)dma_buf, (void *)dma_ctrl_dat,
^
vim +1283 drivers/mtd/nand/raw/cadence-nand-controller.c
1246
1247 static int
1248 cadence_nand_cdma_transfer(struct cdns_nand_ctrl *cdns_ctrl, u8 chip_nr,
1249 int page, void *buf, void *ctrl_dat, u32 buf_size,
1250 u32 ctrl_dat_size, enum dma_data_direction dir,
1251 bool with_ecc)
1252 {
1253 dma_addr_t dma_buf, dma_ctrl_dat = 0;
1254 u8 thread_nr = chip_nr;
1255 int status;
1256 u16 ctype;
1257
1258 if (dir == DMA_FROM_DEVICE)
1259 ctype = CDMA_CT_RD;
1260 else
1261 ctype = CDMA_CT_WR;
1262
1263 cadence_nand_set_ecc_enable(cdns_ctrl, with_ecc);
1264
1265 dma_buf = dma_map_single(cdns_ctrl->dev, buf, buf_size, dir);
1266 if (dma_mapping_error(cdns_ctrl->dev, dma_buf)) {
1267 dev_err(cdns_ctrl->dev, "Failed to map DMA buffer\n");
1268 return -EIO;
1269 }
1270
1271 if (ctrl_dat && ctrl_dat_size) {
1272 dma_ctrl_dat = dma_map_single(cdns_ctrl->dev, ctrl_dat,
1273 ctrl_dat_size, dir);
1274 if (dma_mapping_error(cdns_ctrl->dev, dma_ctrl_dat)) {
1275 dma_unmap_single(cdns_ctrl->dev, dma_buf,
1276 buf_size, dir);
1277 dev_err(cdns_ctrl->dev, "Failed to map DMA buffer\n");
1278 return -EIO;
1279 }
1280 }
1281
1282 cadence_nand_cdma_desc_prepare(cdns_ctrl, chip_nr, page,
> 1283 (void *)dma_buf, (void *)dma_ctrl_dat,
1284 ctype);
1285
1286 status = cadence_nand_cdma_send_and_wait(cdns_ctrl, thread_nr);
1287
1288 dma_unmap_single(cdns_ctrl->dev, dma_buf,
1289 buf_size, dir);
1290
1291 if (ctrl_dat && ctrl_dat_size)
1292 dma_unmap_single(cdns_ctrl->dev, dma_ctrl_dat,
1293 ctrl_dat_size, dir);
1294 if (status)
1295 return status;
1296
1297 return cadence_nand_cdma_finish(cdns_ctrl);
1298 }
1299
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
1 year, 4 months
[linux-review:UPDATE-20191127-073645/James-Sewart/PCI-Add-DMA-alias-quirk-for-PLX-PEX-NTB/20191127-072545 1/1] drivers//pci/quirks.c:5387:2: error: implicit declaration of function 'pci_add_dma_alias_range'; did you mean 'pci_add_dma_alias'?
by kbuild test robot
tree: https://github.com/0day-ci/linux/commits/UPDATE-20191127-073645/James-Sew...
head: d9604ccbe460b68657fafe31b7fbdf11a96c38b7
commit: d9604ccbe460b68657fafe31b7fbdf11a96c38b7 [1/1] PCI: Add DMA alias quirk for PLX PEX NTB
config: riscv-defconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d9604ccbe460b68657fafe31b7fbdf11a96c38b7
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers//pci/quirks.c: In function 'quirk_plx_ntb_dma_alias':
>> drivers//pci/quirks.c:5387:2: error: implicit declaration of function 'pci_add_dma_alias_range'; did you mean 'pci_add_dma_alias'? [-Werror=implicit-function-declaration]
pci_add_dma_alias_range(pdev, 0, 256);
^~~~~~~~~~~~~~~~~~~~~~~
pci_add_dma_alias
cc1: some warnings being treated as errors
vim +5387 drivers//pci/quirks.c
5376
5377 /*
5378 * PLX NTB uses devfn proxy IDs to move TLPs between NT endpoints. These IDs
5379 * are used to forward responses to the originator on the other side of the
5380 * NTB. Alias all possible IDs to the NTB to permit access when the IOMMU is
5381 * turned on.
5382 */
5383 static void quirk_plx_ntb_dma_alias(struct pci_dev *pdev)
5384 {
5385 pci_info(pdev, "Setting PLX NTB proxy ID aliases\n");
5386 /* PLX NTB may use all 256 devfns */
> 5387 pci_add_dma_alias_range(pdev, 0, 256);
5388 }
5389 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_PLX, 0x87b0, quirk_plx_ntb_dma_alias);
5390 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_PLX, 0x87b1, quirk_plx_ntb_dma_alias);
5391
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
1 year, 4 months
[sashal-linux-stable:queue-4.19 309/309] drivers/net//ethernet/hisilicon/hns3/hns3_enet.c:2675:4: error: label 'map_ring_fail' used but not defined
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.19
head: 4b01732de5278618d8b013fa300638742392d507
commit: 4b01732de5278618d8b013fa300638742392d507 [309/309] net: hns3: fix error handling int the hns3_get_vector_ring_chain
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 4b01732de5278618d8b013fa300638742392d507
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/net//ethernet/hisilicon/hns3/hns3_enet.c: In function 'hns3_nic_init_vector_data':
>> drivers/net//ethernet/hisilicon/hns3/hns3_enet.c:2675:4: error: label 'map_ring_fail' used but not defined
goto map_ring_fail;
^~~~
vim +/map_ring_fail +2675 drivers/net//ethernet/hisilicon/hns3/hns3_enet.c
2631
2632 static int hns3_nic_init_vector_data(struct hns3_nic_priv *priv)
2633 {
2634 struct hnae3_ring_chain_node vector_ring_chain;
2635 struct hnae3_handle *h = priv->ae_handle;
2636 struct hns3_enet_tqp_vector *tqp_vector;
2637 int ret = 0;
2638 u16 i;
2639
2640 for (i = 0; i < priv->vector_num; i++) {
2641 tqp_vector = &priv->tqp_vector[i];
2642 hns3_vector_gl_rl_init_hw(tqp_vector, priv);
2643 tqp_vector->num_tqps = 0;
2644 }
2645
2646 for (i = 0; i < h->kinfo.num_tqps; i++) {
2647 u16 vector_i = i % priv->vector_num;
2648 u16 tqp_num = h->kinfo.num_tqps;
2649
2650 tqp_vector = &priv->tqp_vector[vector_i];
2651
2652 hns3_add_ring_to_group(&tqp_vector->tx_group,
2653 priv->ring_data[i].ring);
2654
2655 hns3_add_ring_to_group(&tqp_vector->rx_group,
2656 priv->ring_data[i + tqp_num].ring);
2657
2658 priv->ring_data[i].ring->tqp_vector = tqp_vector;
2659 priv->ring_data[i + tqp_num].ring->tqp_vector = tqp_vector;
2660 tqp_vector->num_tqps++;
2661 }
2662
2663 for (i = 0; i < priv->vector_num; i++) {
2664 tqp_vector = &priv->tqp_vector[i];
2665
2666 tqp_vector->rx_group.total_bytes = 0;
2667 tqp_vector->rx_group.total_packets = 0;
2668 tqp_vector->tx_group.total_bytes = 0;
2669 tqp_vector->tx_group.total_packets = 0;
2670 tqp_vector->handle = h;
2671
2672 ret = hns3_get_vector_ring_chain(tqp_vector,
2673 &vector_ring_chain);
2674 if (ret)
> 2675 goto map_ring_fail;
2676
2677 ret = h->ae_algo->ops->map_ring_to_vector(h,
2678 tqp_vector->vector_irq, &vector_ring_chain);
2679
2680 hns3_free_vector_ring_chain(tqp_vector, &vector_ring_chain);
2681
2682 if (ret)
2683 return ret;
2684
2685 netif_napi_add(priv->netdev, &tqp_vector->napi,
2686 hns3_nic_common_poll, NAPI_POLL_WEIGHT);
2687 }
2688
2689 return 0;
2690 }
2691
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
1 year, 4 months
[lkp] [+1445 bytes kernel size regression] [i386-tinyconfig] [d50ba5357c] perf/x86/intel/lbr: Support Architectural LBRs
by kbuild test robot
FYI, we noticed a +1445 bytes kernel size regression due to commit:
commit: d50ba5357cba1a4c27916f444f41a3c272644168 (perf/x86/intel/lbr: Support Architectural LBRs)
Details as below (size data is obtained by `nm --size-sort vmlinux`):
1193a053: x86/cpufeatures: Add Architectural LBRs feature bit
d50ba535: perf/x86/intel/lbr: Support Architectural LBRs
+---------------------------------+----------+----------+-------+
| symbol | 1193a053 | d50ba535 | delta |
+---------------------------------+----------+----------+-------+
| bzImage | 439968 | 440672 | 704 |
| nm.T.intel_pmu_lbr_read | 851 | 1324 | 473 |
| nm.T.intel_pmu_arch_lbr_init | 0 | 339 | 339 |
| nm.T.intel_pmu_init | 4493 | 4620 | 127 |
| nm.T.intel_pmu_setup_lbr_filter | 491 | 615 | 124 |
| nm.T.intel_pmu_lbr_enable_all | 122 | 245 | 123 |
| nm.T.intel_pmu_lbr_sched_task | 554 | 637 | 83 |
| nm.d.arch_lbr_ctl_map | 0 | 68 | 68 |
| nm.d.arch_lbr_br_type_map | 0 | 64 | 64 |
| nm.T.intel_pmu_lbr_reset | 142 | 169 | 27 |
| nm.t.intel_pmu_lbr_filter | 430 | 448 | 18 |
| nm.D.x86_pmu | 340 | 356 | 16 |
| nm.t.intel_pmu_cpu_starting | 256 | 269 | 13 |
| nm.T.intel_cpuc_prepare | 227 | 236 | 9 |
| nm.T.intel_pmu_lbr_disable_all | 39 | 33 | -6 |
| nm.t.wrlbr_from | 33 | 0 | -33 |
+---------------------------------+----------+----------+-------+
Thanks,
Kbuild test robot
1 year, 4 months
[tobetter-linux:odroidxu4-5.4.y 11/74] drivers/gpu/drm/exynos/exynos_hdmi.c:725:22: warning: large integer implicitly truncated to unsigned type
by kbuild test robot
tree: https://github.com/tobetter/linux odroidxu4-5.4.y
head: 3f6a9e533ea5b61bc00304f73365796aeba1756b
commit: 87001ca11bea3006a3a3e18b43210d5851509806 [11/74] drm/exynos: add new HDMI PHY pll and resolutions + pre-build EDIDs
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 87001ca11bea3006a3a3e18b43210d5851509806
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/exynos/exynos_hdmi.c:725:22: warning: large integer implicitly truncated to unsigned type [-Woverflow]
0x01, 0xD1, 0x29, 0x1618, 0x418, 0x190, 0xF5, 0xCF,
^~~~~~
drivers/gpu/drm/exynos/exynos_hdmi.c:725:30: warning: large integer implicitly truncated to unsigned type [-Woverflow]
0x01, 0xD1, 0x29, 0x1618, 0x418, 0x190, 0xF5, 0xCF,
^~~~~
drivers/gpu/drm/exynos/exynos_hdmi.c:725:37: warning: large integer implicitly truncated to unsigned type [-Woverflow]
0x01, 0xD1, 0x29, 0x1618, 0x418, 0x190, 0xF5, 0xCF,
^~~~~
drivers/gpu/drm/exynos/exynos_hdmi.c:726:10: warning: large integer implicitly truncated to unsigned type [-Woverflow]
0x8D, 0x168, 0xF5, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
^~~~~
drivers/gpu/drm/exynos/exynos_hdmi.c:163:19: warning: 'hdmi_hpd_enable' defined but not used [-Wunused-function]
static int __init hdmi_hpd_enable(char *str)
^~~~~~~~~~~~~~~
drivers/gpu/drm/exynos/exynos_hdmi.c:149:19: warning: 'dvi_force_enable' defined but not used [-Wunused-function]
static int __init dvi_force_enable(char *str)
^~~~~~~~~~~~~~~~
vim +725 drivers/gpu/drm/exynos/exynos_hdmi.c
395
396 static const struct hdmiphy_config hdmiphy_5420_configs[] = {
397 {
398 .pixel_clock = 25200000,
399 .conf = {
400 0x01, 0x52, 0x3F, 0x55, 0x40, 0x01, 0x00, 0xC8,
401 0x82, 0xC8, 0xBD, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
402 0x06, 0x80, 0x01, 0x84, 0x05, 0x02, 0x24, 0x66,
403 0x54, 0xF4, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
404 },
405 },
406 {
407 .pixel_clock = 27000000,
408 .conf = {
409 0x01, 0xD1, 0x22, 0x51, 0x40, 0x08, 0xFC, 0xE0,
410 0x98, 0xE8, 0xCB, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
411 0x06, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
412 0x54, 0xE4, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
413 },
414 },
415 {
416 .pixel_clock = 27027000,
417 .conf = {
418 0x01, 0xD1, 0x2D, 0x72, 0x40, 0x64, 0x12, 0xC8,
419 0x43, 0xE8, 0x0E, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
420 0x26, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
421 0x54, 0xE3, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
422 },
423 },
424 {
425 .pixel_clock = 31490000,
426 .conf = {
427 0x01, 0xD1, 0x34, 0x74, 0x44, 0x3C, 0x3A, 0xC2,
428 0x81, 0xE8, 0x3B, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
429 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
430 0x54, 0xC3, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
431 },
432 },
433 {
434 .pixel_clock = 32000000,
435 .conf = {
436 0x01, 0x51, 0x28, 0x55, 0x44, 0x40, 0x00, 0xC8,
437 0x02, 0xC8, 0xF0, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
438 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
439 0x54, 0x80, 0x25, 0x01, 0x00, 0x00, 0x01, 0x80,
440 },
441 },
442 /*
443 * To support Vu5A, pixel clock 33.9MHz is needed
444 * but we don't have the exact HDMI PHY table
445 * so as a workaround, the closest table will be used.
446 */
447 {
448 .pixel_clock = 33900000,
449 .conf = {
450 0x01, 0x51, 0x28, 0x55, 0x44, 0x40, 0x00, 0xC8,
451 0x02, 0xC8, 0xF0, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
452 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
453 0x54, 0x80, 0x25, 0x01, 0x00, 0x00, 0x01, 0x80,
454 },
455 },
456 {
457 .pixel_clock = 36000000,
458 .conf = {
459 0x01, 0x51, 0x2D, 0x55, 0x40, 0x40, 0x00, 0xC8,
460 0x02, 0xC8, 0x0E, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
461 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
462 0x54, 0xAB, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
463 },
464 },
465 {
466 .pixel_clock = 40000000,
467 .conf = {
468 0x01, 0xD1, 0x21, 0x31, 0x40, 0x3C, 0x28, 0xC8,
469 0x87, 0xE8, 0xC8, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
470 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
471 0x54, 0x9A, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
472 },
473 },
474 /*
475 * To support Vu7A+, pixel clock 49MHz is needed
476 * but we don't have the exact HDMI PHY table
477 * so as a workaround, the closest table will be used.
478 */
479 {
480 .pixel_clock = 49000000,
481 .conf = {
482 0x01, 0x51, 0x2A, 0x32, 0x42, 0x30, 0x00, 0xC4,
483 0x83, 0xE8, 0xFC, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
484 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
485 0x54, 0x7A, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
486 },
487 },
488 {
489 .pixel_clock = 50400000,
490 .conf = {
491 0x01, 0x51, 0x2A, 0x32, 0x42, 0x30, 0x00, 0xC4,
492 0x83, 0xE8, 0xFC, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
493 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
494 0x54, 0x7A, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
495 },
496 },
497 {
498 .pixel_clock = 65000000,
499 .conf = {
500 0x01, 0xD1, 0x36, 0x34, 0x40, 0x0C, 0x04, 0xC8,
501 0x82, 0xE8, 0x45, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
502 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
503 0x54, 0xBD, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
504 },
505 },
506 {
507 .pixel_clock = 71000000,
508 .conf = {
509 0x01, 0xD1, 0x3B, 0x35, 0x40, 0x0C, 0x04, 0xC8,
510 0x85, 0xE8, 0x63, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
511 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
512 0x54, 0x57, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
513 },
514 },
515 {
516 .pixel_clock = 73250000,
517 .conf = {
518 0x01, 0xD1, 0x1F, 0x10, 0x40, 0x78, 0x8D, 0xC8,
519 0x81, 0xE8, 0xB7, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
520 0x56, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
521 0x54, 0xA8, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
522 },
523 },
524 {
525 .pixel_clock = 74170000,
526 .conf = {
527 0x01, 0xD1, 0x1F, 0x10, 0x40, 0x5B, 0xEF, 0xC8,
528 0x81, 0xE8, 0xB9, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
529 0x56, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
530 0x54, 0xA6, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
531 },
532 },
533 {
534 .pixel_clock = 74250000,
535 .conf = {
536 0x01, 0xD1, 0x1F, 0x10, 0x40, 0x40, 0xF8, 0x08,
537 0x81, 0xE8, 0xBA, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
538 0x26, 0x80, 0x09, 0x84, 0x05, 0x22, 0x24, 0x66,
539 0x54, 0xA5, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
540 },
541 },
542 {
543 .pixel_clock = 80140000,
544 .conf = {
545 0x01, 0xD1, 0x21, 0x11, 0x40, 0x3C, 0x2F, 0xC8,
546 0x87, 0xE8, 0xC8, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
547 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
548 0x54, 0x99, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
549 },
550 },
551 {
552 .pixel_clock = 83500000,
553 .conf = {
554 0x01, 0xD1, 0x23, 0x11, 0x40, 0x0C, 0xFB, 0xC8,
555 0x85, 0xE8, 0xD1, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
556 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
557 0x54, 0x4A, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
558 },
559 },
560 {
561 .pixel_clock = 84750000,
562 .conf = {
563 0x01, 0xD1, 0x23, 0x11, 0x40, 0x30, 0x1E, 0xC7,
564 0x84, 0xE8, 0xD4, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
565 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
566 0x54, 0x48, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
567 },
568 },
569 {
570 .pixel_clock = 85860000,
571 .conf = {
572 0x01, 0xD1, 0x24, 0x11, 0x40, 0x30, 0xD2, 0xC8,
573 0x84, 0xE8, 0xD5, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
574 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
575 0x54, 0x48, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
576 },
577 },
578 {
579 .pixel_clock = 88750000,
580 .conf = {
581 0x01, 0xD1, 0x25, 0x11, 0x40, 0x18, 0xFF, 0xC8,
582 0x83, 0xE8, 0xDE, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
583 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
584 0x54, 0x45, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
585 },
586 },
587 {
588 .pixel_clock = 89750000,
589 .conf = {
590 0x01, 0xD1, 0x25, 0x11, 0x40, 0x30, 0x26, 0xC9,
591 0x83, 0xE8, 0xE0, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
592 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
593 0x54, 0x89, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
594 },
595 },
596 {
597 .pixel_clock = 104990000,
598 .conf = {
599 0x01, 0xD1, 0x2C, 0x12, 0x40, 0x78, 0xC3, 0xC2,
600 0x81, 0xE8, 0x06, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
601 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
602 0x54, 0x3B, 0x24, 0x00, 0x00, 0x00, 0x01, 0x80,
603 },
604 },
605 {
606 .pixel_clock = 106500000,
607 .conf = {
608 0x01, 0xD1, 0x2C, 0x12, 0x40, 0x0C, 0x09, 0xC8,
609 0x84, 0xE8, 0x0A, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
610 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
611 0x54, 0x73, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
612 },
613 },
614 {
615 .pixel_clock = 106560000,
616 .conf = {
617 0x01, 0xD1, 0x2C, 0x12, 0x40, 0x78, 0x73, 0xCA,
618 0x85, 0xE8, 0x0B, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
619 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
620 0x54, 0x73, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
621 },
622 },
623 {
624 .pixel_clock = 107800000,
625 .conf = {
626 0x01, 0x51, 0x2D, 0x15, 0x40, 0x01, 0x00, 0xC8,
627 0x82, 0xC8, 0x0E, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
628 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
629 0x54, 0xC7, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
630 },
631 },
632 {
633 .pixel_clock = 108000000,
634 .conf = {
635 0x01, 0x51, 0x2D, 0x15, 0x40, 0x01, 0x00, 0xC8,
636 0x82, 0xC8, 0x0E, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
637 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
638 0x54, 0xC7, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
639 },
640 },
641 {
642 .pixel_clock = 115500000,
643 .conf = {
644 0x01, 0xD1, 0x30, 0x14, 0x40, 0x0C, 0x03, 0xC8,
645 0x88, 0xE8, 0x21, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
646 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
647 0x54, 0x6A, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
648 },
649 },
650 {
651 .pixel_clock = 119000000,
652 .conf = {
653 0x01, 0xD1, 0x31, 0x14, 0x40, 0x78, 0x41, 0xCB,
654 0x89, 0xE8, 0x28, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
655 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
656 0x54, 0x68, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
657 },
658 },
659 {
660 .pixel_clock = 122000000,
661 .conf = {
662 0x01, 0xD1, 0x33, 0x14, 0x40, 0x30, 0xF0, 0xC8,
663 0x85, 0xE8, 0x31, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
664 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
665 0x54, 0x65, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
666 },
667 },
668 {
669 .pixel_clock = 125590000,
670 .conf = {
671 0x01, 0xD1, 0x34, 0x14, 0x40, 0x78, 0x4F, 0xC2,
672 0x81, 0xE8, 0x3A, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
673 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
674 0x54, 0x87, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
675 },
676 },
677 {
678 .pixel_clock = 146250000,
679 .conf = {
680 0x01, 0xD1, 0x3D, 0x15, 0x40, 0x18, 0xFD, 0xC8,
681 0x83, 0xE8, 0x6E, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
682 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x66,
683 0x54, 0x54, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
684 },
685 },
686 {
687 .pixel_clock = 148500000,
688 .conf = {
689 0x01, 0xD1, 0x1F, 0x00, 0x40, 0x40, 0xF8, 0x08,
690 0x81, 0xE8, 0xBA, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
691 0x26, 0x80, 0x09, 0x84, 0x05, 0x22, 0x24, 0x66,
692 0x54, 0x4B, 0x25, 0x03, 0x00, 0x80, 0x01, 0x80,
693 },
694 },
695 {
696 .pixel_clock = 154000000,
697 .conf = {
698 0x01, 0xD1, 0x20, 0x01, 0x40, 0x30, 0x08, 0xCC,
699 0x8C, 0xE8, 0xC1, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
700 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
701 0x54, 0x3F, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
702 },
703 },
704 {
705 .pixel_clock = 162000000,
706 .conf = {
707 0x01, 0xD1, 0x22, 0x01, 0x40, 0x30, 0xD4, 0xCD,
708 0x89, 0xE8, 0xC9, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
709 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
710 0x54, 0x31, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
711 },
712 },
713 {
714 .pixel_clock = 164100000,
715 .conf = {
716 0x01, 0xD1, 0x22, 0x89, 0x49, 0xB0, 0x15, 0xCE,
717 0x8A, 0xF8, 0xCD, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
718 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
719 0x54, 0x2B, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
720 },
721 },
722 {
723 .pixel_clock = 196900000,
724 .conf = {
> 725 0x01, 0xD1, 0x29, 0x1618, 0x418, 0x190, 0xF5, 0xCF,
726 0x8D, 0x168, 0xF5, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
727 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
728 0x54, 0xFA, 0x24, 0x03, 0x00, 0x00, 0x01, 0x80,
729 },
730 },
731 {
732 .pixel_clock = 204800000,
733 .conf = {
734 0x01, 0xD1, 0x2B, 0x02, 0x40, 0x30, 0xE0, 0xC8,
735 0x85, 0xE8, 0x00, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
736 0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
737 0x54, 0x3C, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
738 },
739 },
740 };
741
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
1 year, 4 months
Re: [RFC PATCH v5 6/7] scripts/sorttable: Add ORC unwind tables sort concurrently
by kbuild test robot
Hi Shile,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on linus/master]
[also build test ERROR on v5.4 next-20191128]
[cannot apply to kbuild/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Shile-Zhang/Speed-booting-by-sor...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a6ed68d6468bd5a3da78a103344ded1435fed57a
config: x86_64-lkp (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from scripts/sorttable.c:187:0:
>> scripts/sorttable.h:89:10: fatal error: asm/orc_types.h: No such file or directory
#include <asm/orc_types.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/sorttable] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [scripts] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
433 real 7 user 7 sys 3.42% cpu make prepare
vim +89 scripts/sorttable.h
84
85 #if defined(SORTTABLE_64) && defined(UNWINDER_ORC_ENABLED)
86 /* ORC unwinder only support X86_64 */
87 #include <errno.h>
88 #include <pthread.h>
> 89 #include <asm/orc_types.h>
90
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
1 year, 4 months
Re: [PATCH v2 12/12] x86/ACPI/sleep: Move acpi_get_wakeup_address() into sleep.c, remove <asm/realmode.h> from <asm/acpi.h>
by kbuild test robot
Hi Sean,
I love your patch! Yet something to improve:
[auto build test ERROR on next-20191126]
[cannot apply to tip/x86/core tip/auto-latest efi/next v5.4 v5.4-rc8 v5.4-rc7 v5.4]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Sean-Christopherson/treewide-bre...
base: 131b7b67e6c2926531dd92915647335bec2e64fb
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/platform/intel-quark/imr_selftest.c: In function 'imr_self_test':
>> arch/x86/platform/intel-quark/imr_selftest.c:59:22: error: implicit declaration of function 'virt_to_phys'; did you mean 'virt_to_page'? [-Werror=implicit-function-declaration]
phys_addr_t base = virt_to_phys(&_text);
^~~~~~~~~~~~
virt_to_page
cc1: some warnings being treated as errors
vim +59 arch/x86/platform/intel-quark/imr_selftest.c
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 49
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 50 /**
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 51 * imr_self_test
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 52 *
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 53 * Verify IMR self_test with some simple tests to verify overlap,
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 54 * zero sized allocations and 1 KiB sized areas.
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 55 *
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 56 */
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 57 static void __init imr_self_test(void)
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 58 {
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 @59 phys_addr_t base = virt_to_phys(&_text);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 60 size_t size = virt_to_phys(&__end_rodata) - base;
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 61 const char *fmt_over = "overlapped IMR @ (0x%08lx - 0x%08lx)\n";
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 62 int ret;
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 63
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 64 /* Test zero zero. */
c637fa5294cefe Bryan O'Donoghue 2016-02-23 65 ret = imr_add_range(0, 0, 0, 0);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 66 imr_self_test_result(ret < 0, "zero sized IMR\n");
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 67
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 68 /* Test exact overlap. */
c637fa5294cefe Bryan O'Donoghue 2016-02-23 69 ret = imr_add_range(base, size, IMR_CPU, IMR_CPU);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 70 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size));
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 71
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 72 /* Test overlap with base inside of existing. */
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 73 base += size - IMR_ALIGN;
c637fa5294cefe Bryan O'Donoghue 2016-02-23 74 ret = imr_add_range(base, size, IMR_CPU, IMR_CPU);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 75 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size));
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 76
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 77 /* Test overlap with end inside of existing. */
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 78 base -= size + IMR_ALIGN * 2;
c637fa5294cefe Bryan O'Donoghue 2016-02-23 79 ret = imr_add_range(base, size, IMR_CPU, IMR_CPU);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 80 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size));
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 81
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 82 /* Test that a 1 KiB IMR @ zero with read/write all will bomb out. */
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 83 ret = imr_add_range(0, IMR_ALIGN, IMR_READ_ACCESS_ALL,
c637fa5294cefe Bryan O'Donoghue 2016-02-23 84 IMR_WRITE_ACCESS_ALL);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 85 imr_self_test_result(ret < 0, "1KiB IMR @ 0x00000000 - access-all\n");
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 86
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 87 /* Test that a 1 KiB IMR @ zero with CPU only will work. */
c637fa5294cefe Bryan O'Donoghue 2016-02-23 88 ret = imr_add_range(0, IMR_ALIGN, IMR_CPU, IMR_CPU);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 89 imr_self_test_result(ret >= 0, "1KiB IMR @ 0x00000000 - cpu-access\n");
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 90 if (ret >= 0) {
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 91 ret = imr_remove_range(0, IMR_ALIGN);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 92 imr_self_test_result(ret == 0, "teardown - cpu-access\n");
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 93 }
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 94
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 95 /* Test 2 KiB works. */
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 96 size = IMR_ALIGN * 2;
c637fa5294cefe Bryan O'Donoghue 2016-02-23 97 ret = imr_add_range(0, size, IMR_READ_ACCESS_ALL, IMR_WRITE_ACCESS_ALL);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 98 imr_self_test_result(ret >= 0, "2KiB IMR @ 0x00000000\n");
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 99 if (ret >= 0) {
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 100 ret = imr_remove_range(0, size);
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 101 imr_self_test_result(ret == 0, "teardown 2KiB\n");
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 102 }
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 103 }
28a375df16c2b6 Bryan O'Donoghue 2015-01-30 104
:::::: The code at line 59 was first introduced by commit
:::::: 28a375df16c2b6d01227541f3956568995aa5fda x86/intel/quark: Add Isolated Memory Regions for Quark X1000
:::::: TO: Bryan O'Donoghue <pure.logic(a)nexus-software.ie>
:::::: CC: Ingo Molnar <mingo(a)kernel.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
1 year, 4 months
Re: [PATCH v4 01/19] x86/msr-index: Clean up bit defines for IA32_FEATURE_CONTROL MSR
by kbuild test robot
Hi Sean,
I love your patch! Yet something to improve:
[auto build test ERROR on tip/auto-latest]
[also build test ERROR on next-20191128]
[cannot apply to tip/x86/core kvm/linux-next v5.4]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Sean-Christopherson/x86-cpu-Clea...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git e445033e58108a9891abfbc0dea90b066a75e4a9
config: i386-randconfig-a002-20191128 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/x86/include/asm/processor.h:22:0,
from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:38,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:78,
from include/linux/percpu.h:6,
from include/linux/cpuidle.h:14,
from drivers//idle/intel_idle.c:45:
drivers//idle/intel_idle.c: In function 'sklh_idle_state_table_update':
>> drivers//idle/intel_idle.c:1287:10: error: 'MSR_IA32_FEATURE_CONTROL' undeclared (first use in this function)
rdmsrl(MSR_IA32_FEATURE_CONTROL, msr);
^
arch/x86/include/asm/msr.h:279:28: note: in definition of macro 'rdmsrl'
((val) = native_read_msr((msr)))
^~~
drivers//idle/intel_idle.c:1287:10: note: each undeclared identifier is reported only once for each function it appears in
rdmsrl(MSR_IA32_FEATURE_CONTROL, msr);
^
arch/x86/include/asm/msr.h:279:28: note: in definition of macro 'rdmsrl'
((val) = native_read_msr((msr)))
^~~
vim +/MSR_IA32_FEATURE_CONTROL +1287 drivers//idle/intel_idle.c
5dcef694860100 Len Brown 2016-04-06 1189
5dcef694860100 Len Brown 2016-04-06 1190 /*
5dcef694860100 Len Brown 2016-04-06 1191 * Translate IRTL (Interrupt Response Time Limit) MSR to usec
5dcef694860100 Len Brown 2016-04-06 1192 */
5dcef694860100 Len Brown 2016-04-06 1193
5dcef694860100 Len Brown 2016-04-06 1194 static unsigned int irtl_ns_units[] = {
5dcef694860100 Len Brown 2016-04-06 1195 1, 32, 1024, 32768, 1048576, 33554432, 0, 0 };
5dcef694860100 Len Brown 2016-04-06 1196
5dcef694860100 Len Brown 2016-04-06 1197 static unsigned long long irtl_2_usec(unsigned long long irtl)
5dcef694860100 Len Brown 2016-04-06 1198 {
5dcef694860100 Len Brown 2016-04-06 1199 unsigned long long ns;
5dcef694860100 Len Brown 2016-04-06 1200
3451ab3ebf92b1 Jan Beulich 2016-06-27 1201 if (!irtl)
3451ab3ebf92b1 Jan Beulich 2016-06-27 1202 return 0;
3451ab3ebf92b1 Jan Beulich 2016-06-27 1203
bef450962597ff Jan Beulich 2016-06-27 1204 ns = irtl_ns_units[(irtl >> 10) & 0x7];
5dcef694860100 Len Brown 2016-04-06 1205
5dcef694860100 Len Brown 2016-04-06 1206 return div64_u64((irtl & 0x3FF) * ns, 1000);
5dcef694860100 Len Brown 2016-04-06 1207 }
5dcef694860100 Len Brown 2016-04-06 1208 /*
5dcef694860100 Len Brown 2016-04-06 1209 * bxt_idle_state_table_update(void)
5dcef694860100 Len Brown 2016-04-06 1210 *
5dcef694860100 Len Brown 2016-04-06 1211 * On BXT, we trust the IRTL to show the definitive maximum latency
5dcef694860100 Len Brown 2016-04-06 1212 * We use the same value for target_residency.
5dcef694860100 Len Brown 2016-04-06 1213 */
5dcef694860100 Len Brown 2016-04-06 1214 static void bxt_idle_state_table_update(void)
5dcef694860100 Len Brown 2016-04-06 1215 {
5dcef694860100 Len Brown 2016-04-06 1216 unsigned long long msr;
3451ab3ebf92b1 Jan Beulich 2016-06-27 1217 unsigned int usec;
5dcef694860100 Len Brown 2016-04-06 1218
5dcef694860100 Len Brown 2016-04-06 1219 rdmsrl(MSR_PKGC6_IRTL, msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1220 usec = irtl_2_usec(msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1221 if (usec) {
5dcef694860100 Len Brown 2016-04-06 1222 bxt_cstates[2].exit_latency = usec;
5dcef694860100 Len Brown 2016-04-06 1223 bxt_cstates[2].target_residency = usec;
5dcef694860100 Len Brown 2016-04-06 1224 }
5dcef694860100 Len Brown 2016-04-06 1225
5dcef694860100 Len Brown 2016-04-06 1226 rdmsrl(MSR_PKGC7_IRTL, msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1227 usec = irtl_2_usec(msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1228 if (usec) {
5dcef694860100 Len Brown 2016-04-06 1229 bxt_cstates[3].exit_latency = usec;
5dcef694860100 Len Brown 2016-04-06 1230 bxt_cstates[3].target_residency = usec;
5dcef694860100 Len Brown 2016-04-06 1231 }
5dcef694860100 Len Brown 2016-04-06 1232
5dcef694860100 Len Brown 2016-04-06 1233 rdmsrl(MSR_PKGC8_IRTL, msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1234 usec = irtl_2_usec(msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1235 if (usec) {
5dcef694860100 Len Brown 2016-04-06 1236 bxt_cstates[4].exit_latency = usec;
5dcef694860100 Len Brown 2016-04-06 1237 bxt_cstates[4].target_residency = usec;
5dcef694860100 Len Brown 2016-04-06 1238 }
5dcef694860100 Len Brown 2016-04-06 1239
5dcef694860100 Len Brown 2016-04-06 1240 rdmsrl(MSR_PKGC9_IRTL, msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1241 usec = irtl_2_usec(msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1242 if (usec) {
5dcef694860100 Len Brown 2016-04-06 1243 bxt_cstates[5].exit_latency = usec;
5dcef694860100 Len Brown 2016-04-06 1244 bxt_cstates[5].target_residency = usec;
5dcef694860100 Len Brown 2016-04-06 1245 }
5dcef694860100 Len Brown 2016-04-06 1246
5dcef694860100 Len Brown 2016-04-06 1247 rdmsrl(MSR_PKGC10_IRTL, msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1248 usec = irtl_2_usec(msr);
3451ab3ebf92b1 Jan Beulich 2016-06-27 1249 if (usec) {
5dcef694860100 Len Brown 2016-04-06 1250 bxt_cstates[6].exit_latency = usec;
5dcef694860100 Len Brown 2016-04-06 1251 bxt_cstates[6].target_residency = usec;
5dcef694860100 Len Brown 2016-04-06 1252 }
5dcef694860100 Len Brown 2016-04-06 1253
5dcef694860100 Len Brown 2016-04-06 1254 }
d70e28f57e14a4 Len Brown 2016-03-13 1255 /*
d70e28f57e14a4 Len Brown 2016-03-13 1256 * sklh_idle_state_table_update(void)
d70e28f57e14a4 Len Brown 2016-03-13 1257 *
d70e28f57e14a4 Len Brown 2016-03-13 1258 * On SKL-H (model 0x5e) disable C8 and C9 if:
d70e28f57e14a4 Len Brown 2016-03-13 1259 * C10 is enabled and SGX disabled
d70e28f57e14a4 Len Brown 2016-03-13 1260 */
d70e28f57e14a4 Len Brown 2016-03-13 1261 static void sklh_idle_state_table_update(void)
d70e28f57e14a4 Len Brown 2016-03-13 1262 {
d70e28f57e14a4 Len Brown 2016-03-13 1263 unsigned long long msr;
d70e28f57e14a4 Len Brown 2016-03-13 1264 unsigned int eax, ebx, ecx, edx;
d70e28f57e14a4 Len Brown 2016-03-13 1265
d70e28f57e14a4 Len Brown 2016-03-13 1266
d70e28f57e14a4 Len Brown 2016-03-13 1267 /* if PC10 disabled via cmdline intel_idle.max_cstate=7 or shallower */
d70e28f57e14a4 Len Brown 2016-03-13 1268 if (max_cstate <= 7)
d70e28f57e14a4 Len Brown 2016-03-13 1269 return;
d70e28f57e14a4 Len Brown 2016-03-13 1270
d70e28f57e14a4 Len Brown 2016-03-13 1271 /* if PC10 not present in CPUID.MWAIT.EDX */
d70e28f57e14a4 Len Brown 2016-03-13 1272 if ((mwait_substates & (0xF << 28)) == 0)
d70e28f57e14a4 Len Brown 2016-03-13 1273 return;
d70e28f57e14a4 Len Brown 2016-03-13 1274
6cfb2374f83bc7 Len Brown 2017-01-07 1275 rdmsrl(MSR_PKG_CST_CONFIG_CONTROL, msr);
d70e28f57e14a4 Len Brown 2016-03-13 1276
d70e28f57e14a4 Len Brown 2016-03-13 1277 /* PC10 is not enabled in PKG C-state limit */
d70e28f57e14a4 Len Brown 2016-03-13 1278 if ((msr & 0xF) != 8)
d70e28f57e14a4 Len Brown 2016-03-13 1279 return;
d70e28f57e14a4 Len Brown 2016-03-13 1280
d70e28f57e14a4 Len Brown 2016-03-13 1281 ecx = 0;
d70e28f57e14a4 Len Brown 2016-03-13 1282 cpuid(7, &eax, &ebx, &ecx, &edx);
d70e28f57e14a4 Len Brown 2016-03-13 1283
d70e28f57e14a4 Len Brown 2016-03-13 1284 /* if SGX is present */
d70e28f57e14a4 Len Brown 2016-03-13 1285 if (ebx & (1 << 2)) {
d70e28f57e14a4 Len Brown 2016-03-13 1286
d70e28f57e14a4 Len Brown 2016-03-13 @1287 rdmsrl(MSR_IA32_FEATURE_CONTROL, msr);
d70e28f57e14a4 Len Brown 2016-03-13 1288
d70e28f57e14a4 Len Brown 2016-03-13 1289 /* if SGX is enabled */
d70e28f57e14a4 Len Brown 2016-03-13 1290 if (msr & (1 << 18))
0138d8f0755b5b Len Brown 2014-04-04 1291 return;
0138d8f0755b5b Len Brown 2014-04-04 1292 }
0138d8f0755b5b Len Brown 2014-04-04 1293
d70e28f57e14a4 Len Brown 2016-03-13 1294 skl_cstates[5].disabled = 1; /* C8-SKL */
d70e28f57e14a4 Len Brown 2016-03-13 1295 skl_cstates[6].disabled = 1; /* C9-SKL */
d70e28f57e14a4 Len Brown 2016-03-13 1296 }
d70e28f57e14a4 Len Brown 2016-03-13 1297 /*
d70e28f57e14a4 Len Brown 2016-03-13 1298 * intel_idle_state_table_update()
d70e28f57e14a4 Len Brown 2016-03-13 1299 *
d70e28f57e14a4 Len Brown 2016-03-13 1300 * Update the default state_table for this CPU-id
d70e28f57e14a4 Len Brown 2016-03-13 1301 */
d70e28f57e14a4 Len Brown 2016-03-13 1302
:::::: The code at line 1287 was first introduced by commit
:::::: d70e28f57e14a481977436695b0c9ba165472431 intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled
:::::: TO: Len Brown <len.brown(a)intel.com>
:::::: CC: Len Brown <len.brown(a)intel.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
1 year, 4 months
[superna9999:amlogic/v5.6/vdec-g12a 9/20] htmldocs: include/media/v4l2-mem2mem.h:116: warning: Function parameter or member 'stopped' not described in 'v4l2_m2m_ctx'
by kbuild test robot
tree: https://github.com/superna9999/linux amlogic/v5.6/vdec-g12a
head: e0ae665785a240bb328472375d199b5924f6e41f
commit: 4566207f98ed4b8f73d363781a3edd85ccf23510 [9/20] media: v4l2-mem2mem: mark DONE any OUTPUT queued buffer after CMD_STOP
reproduce: make htmldocs
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
Warning: The Sphinx 'sphinx_rtd_theme' HTML theme was not found. Make sure you have the theme installed to produce pretty HTML output. Falling back to the default theme.
WARNING: dot(1) not found, for better output quality install graphviz from http://www.graphviz.org
WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org)
Error: Cannot open file drivers/dma-buf/reservation.c
Error: Cannot open file drivers/dma-buf/reservation.c
Error: Cannot open file drivers/dma-buf/reservation.c
Error: Cannot open file include/linux/reservation.h
Error: Cannot open file include/linux/reservation.h
drivers/gpio/gpiolib-of.c:92: warning: Excess function parameter 'dev' description in 'of_gpio_need_valid_mask'
include/linux/i2c.h:337: warning: Function parameter or member 'init_irq' not described in 'i2c_client'
include/linux/spi/spi.h:190: warning: Function parameter or member 'driver_override' not described in 'spi_device'
lib/genalloc.c:1: warning: 'gen_pool_add_virt' not found
lib/genalloc.c:1: warning: 'gen_pool_alloc' not found
lib/genalloc.c:1: warning: 'gen_pool_free' not found
lib/genalloc.c:1: warning: 'gen_pool_alloc_algo' not found
drivers/usb/typec/bus.c:1: warning: 'typec_altmode_register_driver' not found
drivers/usb/typec/bus.c:1: warning: 'typec_altmode_unregister_driver' not found
drivers/usb/typec/class.c:1: warning: 'typec_altmode_register_notifier' not found
drivers/usb/typec/class.c:1: warning: 'typec_altmode_unregister_notifier' not found
include/linux/w1.h:277: warning: Function parameter or member 'of_match_table' not described in 'w1_family'
fs/posix_acl.c:647: warning: Function parameter or member 'inode' not described in 'posix_acl_update_mode'
fs/posix_acl.c:647: warning: Function parameter or member 'mode_p' not described in 'posix_acl_update_mode'
fs/posix_acl.c:647: warning: Function parameter or member 'acl' not described in 'posix_acl_update_mode'
kernel/dma/coherent.c:1: warning: no structured comments found
include/linux/input/sparse-keymap.h:43: warning: Function parameter or member 'sw' not described in 'key_entry'
include/linux/regulator/machine.h:196: warning: Function parameter or member 'max_uV_step' not described in 'regulation_constraints'
include/linux/regulator/driver.h:223: warning: Function parameter or member 'resume' not described in 'regulator_ops'
>> include/media/v4l2-mem2mem.h:116: warning: Function parameter or member 'stopped' not described in 'v4l2_m2m_ctx'
include/linux/rculist.h:374: warning: Excess function parameter 'cond' description in 'list_for_each_entry_rcu'
include/linux/rculist.h:651: warning: Excess function parameter 'cond' description in 'hlist_for_each_entry_rcu'
mm/util.c:1: warning: 'get_user_pages_fast' not found
include/linux/skbuff.h:888: warning: Function parameter or member 'dev_scratch' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'list' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'ip_defrag_offset' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'skb_mstamp_ns' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member '__cloned_offset' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'head_frag' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member '__pkt_type_offset' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'encapsulation' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'encap_hdr_csum' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'csum_valid' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member '__pkt_vlan_present_offset' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'vlan_present' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'csum_complete_sw' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'csum_level' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'inner_protocol_type' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'remcsum_offload' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'sender_cpu' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'reserved_tailroom' not described in 'sk_buff'
include/linux/skbuff.h:888: warning: Function parameter or member 'inner_ipproto' not described in 'sk_buff'
include/net/sock.h:233: warning: Function parameter or member 'skc_addrpair' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_portpair' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_ipv6only' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_net_refcnt' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_v6_daddr' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_v6_rcv_saddr' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_cookie' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_listener' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_tw_dr' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_rcv_wnd' not described in 'sock_common'
include/net/sock.h:233: warning: Function parameter or member 'skc_tw_rcv_nxt' not described in 'sock_common'
include/net/sock.h:515: warning: Function parameter or member 'sk_rx_skb_cache' not described in 'sock'
include/net/sock.h:515: warning: Function parameter or member 'sk_wq_raw' not described in 'sock'
include/net/sock.h:515: warning: Function parameter or member 'tcp_rtx_queue' not described in 'sock'
include/net/sock.h:515: warning: Function parameter or member 'sk_tx_skb_cache' not described in 'sock'
include/net/sock.h:515: warning: Function parameter or member 'sk_route_forced_caps' not described in 'sock'
include/net/sock.h:515: warning: Function parameter or member 'sk_txtime_report_errors' not described in 'sock'
include/net/sock.h:515: warning: Function parameter or member 'sk_validate_xmit_skb' not described in 'sock'
include/net/sock.h:515: warning: Function parameter or member 'sk_bpf_storage' not described in 'sock'
include/net/sock.h:2455: warning: Function parameter or member 'tcp_rx_skb_cache_key' not described in 'DECLARE_STATIC_KEY_FALSE'
include/net/sock.h:2455: warning: Excess function parameter 'sk' description in 'DECLARE_STATIC_KEY_FALSE'
include/net/sock.h:2455: warning: Excess function parameter 'skb' description in 'DECLARE_STATIC_KEY_FALSE'
include/linux/netdevice.h:1765: warning: bad line: spinlock
include/linux/netdevice.h:2063: warning: Function parameter or member 'gso_partial_features' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'l3mdev_ops' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'xfrmdev_ops' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'tlsdev_ops' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'name_assign_type' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'ieee802154_ptr' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'mpls_ptr' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'xdp_prog' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'gro_flush_timeout' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'nf_hooks_ingress' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member '____cacheline_aligned_in_smp' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'qdisc_hash' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'xps_cpus_map' not described in 'net_device'
include/linux/netdevice.h:2063: warning: Function parameter or member 'xps_rxqs_map' not described in 'net_device'
include/linux/phylink.h:56: warning: Function parameter or member '__ETHTOOL_DECLARE_LINK_MODE_MASK(advertising' not described in 'phylink_link_state'
include/linux/phylink.h:56: warning: Function parameter or member '__ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising' not described in 'phylink_link_state'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'quotactl' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'quota_on' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_free_mnt_opts' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_eat_lsm_opts' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_kern_mount' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_show_options' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_add_mnt_opt' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'd_instantiate' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'getprocattr' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'setprocattr' not described in 'security_list_options'
include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'locked_down' not described in 'security_list_options'
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c:335: warning: Excess function parameter 'dev' description in 'amdgpu_gem_prime_export'
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c:336: warning: Excess function parameter 'dev' description in 'amdgpu_gem_prime_export'
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:142: warning: Function parameter or member 'blockable' not described in 'amdgpu_mn_read_lock'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:347: warning: cannot understand function prototype: 'struct amdgpu_vm_pt_cursor '
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:348: warning: cannot understand function prototype: 'struct amdgpu_vm_pt_cursor '
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:494: warning: Function parameter or member 'start' not described in 'amdgpu_vm_pt_first_dfs'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:546: warning: Function parameter or member 'adev' not described in 'for_each_amdgpu_vm_pt_dfs_safe'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:546: warning: Function parameter or member 'vm' not described in 'for_each_amdgpu_vm_pt_dfs_safe'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:546: warning: Function parameter or member 'start' not described in 'for_each_amdgpu_vm_pt_dfs_safe'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:546: warning: Function parameter or member 'cursor' not described in 'for_each_amdgpu_vm_pt_dfs_safe'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:546: warning: Function parameter or member 'entry' not described in 'for_each_amdgpu_vm_pt_dfs_safe'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:821: warning: Function parameter or member 'level' not described in 'amdgpu_vm_bo_param'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1283: warning: Function parameter or member 'params' not described in 'amdgpu_vm_update_flags'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1283: warning: Function parameter or member 'bo' not described in 'amdgpu_vm_update_flags'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1283: warning: Function parameter or member 'level' not described in 'amdgpu_vm_update_flags'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1283: warning: Function parameter or member 'pe' not described in 'amdgpu_vm_update_flags'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1283: warning: Function parameter or member 'addr' not described in 'amdgpu_vm_update_flags'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1283: warning: Function parameter or member 'count' not described in 'amdgpu_vm_update_flags'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1283: warning: Function parameter or member 'incr' not described in 'amdgpu_vm_update_flags'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1283: warning: Function parameter or member 'flags' not described in 'amdgpu_vm_update_flags'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2821: warning: Function parameter or member 'pasid' not described in 'amdgpu_vm_make_compute'
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:378: warning: Excess function parameter 'entry' description in 'amdgpu_irq_dispatch'
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:379: warning: Function parameter or member 'ih' not described in 'amdgpu_irq_dispatch'
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:379: warning: Excess function parameter 'entry' description in 'amdgpu_irq_dispatch'
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:1: warning: no structured comments found
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1: warning: no structured comments found
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:1: warning: 'pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie' not found
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:132: warning: Incorrect use of kernel-doc format: * @atomic_obj
vim +116 include/media/v4l2-mem2mem.h
7f98639def42a6 Pawel Osciak 2010-04-23 73
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 74 /**
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 75 * struct v4l2_m2m_ctx - Memory to memory context structure
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 76 *
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 77 * @q_lock: struct &mutex lock
f07602ac388723 Hans Verkuil 2019-10-11 78 * @new_frame: valid in the device_run callback: if true, then this
f07602ac388723 Hans Verkuil 2019-10-11 79 * starts a new frame; if false, then this is a new slice
f07602ac388723 Hans Verkuil 2019-10-11 80 * for an existing frame. This is always true unless
f07602ac388723 Hans Verkuil 2019-10-11 81 * V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF is set, which
f07602ac388723 Hans Verkuil 2019-10-11 82 * indicates slicing support.
9f8d3a2ee78110 Mauro Carvalho Chehab 2016-09-08 83 * @m2m_dev: opaque pointer to the internal data to handle M2M context
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 84 * @cap_q_ctx: Capture (output to memory) queue context
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 85 * @out_q_ctx: Output (input from memory) queue context
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 86 * @queue: List of memory to memory contexts
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 87 * @job_flags: Job queue flags, used internally by v4l2-mem2mem.c:
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 88 * %TRANS_QUEUED, %TRANS_RUNNING and %TRANS_ABORT.
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 89 * @finished: Wait queue used to signalize when a job queue finished.
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 90 * @priv: Instance private data
708f48e76d6de7 Sakari Ailus 2016-10-18 91 *
708f48e76d6de7 Sakari Ailus 2016-10-18 92 * The memory to memory context is specific to a file handle, NOT to e.g.
708f48e76d6de7 Sakari Ailus 2016-10-18 93 * a device.
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 94 */
7f98639def42a6 Pawel Osciak 2010-04-23 95 struct v4l2_m2m_ctx {
8e6e8f93f7cb34 Sylwester Nawrocki 2013-09-14 96 /* optional cap/out vb2 queues lock */
8e6e8f93f7cb34 Sylwester Nawrocki 2013-09-14 97 struct mutex *q_lock;
8e6e8f93f7cb34 Sylwester Nawrocki 2013-09-14 98
f07602ac388723 Hans Verkuil 2019-10-11 99 bool new_frame;
f07602ac388723 Hans Verkuil 2019-10-11 100
4566207f98ed4b Neil Armstrong 2019-11-25 101 bool stopped;
4566207f98ed4b Neil Armstrong 2019-11-25 102
5fa5edbe59a7ab Mauro Carvalho Chehab 2016-09-08 103 /* internal use only */
7f98639def42a6 Pawel Osciak 2010-04-23 104 struct v4l2_m2m_dev *m2m_dev;
7f98639def42a6 Pawel Osciak 2010-04-23 105
7f98639def42a6 Pawel Osciak 2010-04-23 106 struct v4l2_m2m_queue_ctx cap_q_ctx;
7f98639def42a6 Pawel Osciak 2010-04-23 107
7f98639def42a6 Pawel Osciak 2010-04-23 108 struct v4l2_m2m_queue_ctx out_q_ctx;
7f98639def42a6 Pawel Osciak 2010-04-23 109
7f98639def42a6 Pawel Osciak 2010-04-23 110 /* For device job queue */
7f98639def42a6 Pawel Osciak 2010-04-23 111 struct list_head queue;
7f98639def42a6 Pawel Osciak 2010-04-23 112 unsigned long job_flags;
908a0d7c588ef8 Marek Szyprowski 2011-01-12 113 wait_queue_head_t finished;
7f98639def42a6 Pawel Osciak 2010-04-23 114
7f98639def42a6 Pawel Osciak 2010-04-23 115 void *priv;
7f98639def42a6 Pawel Osciak 2010-04-23 @116 };
7f98639def42a6 Pawel Osciak 2010-04-23 117
:::::: The code at line 116 was first introduced by commit
:::::: 7f98639def42a676998d734b381af6c0e64d7791 V4L/DVB: add memory-to-memory device helper framework for videobuf
:::::: TO: Pawel Osciak <p.osciak(a)samsung.com>
:::::: CC: Mauro Carvalho Chehab <mchehab(a)redhat.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
1 year, 4 months
Re: [PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
by kbuild test robot
Hi "Michael,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net/master]
[cannot apply to net-next/master v5.4 next-20191128]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/Re-PATCH-net-n...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git 312434617cb16be5166316cf9d08ba760b1042a1
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-39-gd06e1d2-dirty
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/realtek/8139too.c:2246:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] @@ got restrunsigned int [usertype] @@
drivers/net/ethernet/realtek/8139too.c:2246:9: sparse: expected unsigned int [usertype]
drivers/net/ethernet/realtek/8139too.c:2246:9: sparse: got restricted __le32 [usertype]
drivers/net/ethernet/realtek/8139too.c:2247:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] @@ got restrunsigned int [usertype] @@
drivers/net/ethernet/realtek/8139too.c:2247:9: sparse: expected unsigned int [usertype]
drivers/net/ethernet/realtek/8139too.c:2247:9: sparse: got restricted __le32 [usertype]
>> drivers/net/ethernet/realtek/8139too.c:936:35: sparse: sparse: incorrect type in initializer (incompatible argument 2 (different signedness)) @@ expected void ( *ndo_tx_timeout )( ... ) @@ got void ( *ndo_tx_timeout )( ... ) @@
>> drivers/net/ethernet/realtek/8139too.c:936:35: sparse: expected void ( *ndo_tx_timeout )( ... )
>> drivers/net/ethernet/realtek/8139too.c:936:35: sparse: got void ( * )( ... )
vim +936 drivers/net/ethernet/realtek/8139too.c
d95089dc54ad07 drivers/net/ethernet/realtek/8139too.c Ben Greear 2012-02-10 926
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 927 static const struct net_device_ops rtl8139_netdev_ops = {
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 928 .ndo_open = rtl8139_open,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 929 .ndo_stop = rtl8139_close,
9184a22701ed25 drivers/net/ethernet/realtek/8139too.c Junchang Wang 2012-03-05 930 .ndo_get_stats64 = rtl8139_get_stats64,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 931 .ndo_validate_addr = eth_validate_addr,
bda6a15a0d283d drivers/net/8139too.c Jiri Pirko 2009-03-13 932 .ndo_set_mac_address = rtl8139_set_mac_address,
008298231abbeb drivers/net/8139too.c Stephen Hemminger 2008-11-20 933 .ndo_start_xmit = rtl8139_start_xmit,
afc4b13df14312 drivers/net/ethernet/realtek/8139too.c Jiri Pirko 2011-08-16 934 .ndo_set_rx_mode = rtl8139_set_rx_mode,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 935 .ndo_do_ioctl = netdev_ioctl,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 @936 .ndo_tx_timeout = rtl8139_tx_timeout,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 937 #ifdef CONFIG_NET_POLL_CONTROLLER
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 938 .ndo_poll_controller = rtl8139_poll_controller,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 939 #endif
d95089dc54ad07 drivers/net/ethernet/realtek/8139too.c Ben Greear 2012-02-10 940 .ndo_set_features = rtl8139_set_features,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 941 };
^1da177e4c3f41 drivers/net/8139too.c Linus Torvalds 2005-04-16 942
:::::: The code at line 936 was first introduced by commit
:::::: 48dfcde46ef23cfad1e0c0f13d4eae15c7f46efc 8139: convert to net_device_ops
:::::: TO: Stephen Hemminger <shemminger(a)vyatta.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
1 year, 4 months