CC: [email protected] CC: [email protected] TO: Dmitry Osipenko <[email protected]> CC: Vinod Koul <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4d41ead6ead97c3730bbd186a601a64828668f01 commit: 6697255f239f5c04fcd6b819c0d35ae05bbf808c dmaengine: tegra-apb: Improve DMA synchronization date: 5 months ago :::::: branch date: 10 hours ago :::::: commit date: 5 months ago config: microblaze-randconfig-m031-20200828 (attached as .config) compiler: microblaze-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> New smatch warnings: drivers/dma/tegra20-apb-dma.c:829 tegra_dma_synchronize() error: double unlocked 'tdc->lock' (orig line 829) drivers/dma/tegra20-apb-dma.c:829 tegra_dma_synchronize() error: double unlocked 'tdc->lock' (orig line 829) Old smatch warnings: arch/microblaze/include/asm/thread_info.h:94 current_thread_info() error: uninitialized symbol 'sp'. drivers/dma/tegra20-apb-dma.c:670 tegra_dma_tasklet() error: double unlocked 'tdc->lock' (orig line 665) drivers/dma/tegra20-apb-dma.c:1125 tegra_dma_prep_slave_sg() error: double unlocked 'tdc->lock' (orig line 1122) drivers/dma/tegra20-apb-dma.c:1159 tegra_dma_prep_slave_sg() error: double unlocked 'tdc->lock' (orig line 1122) drivers/dma/tegra20-apb-dma.c:1262 tegra_dma_prep_dma_cyclic() error: double unlocked 'tdc->lock' (orig line 1259) drivers/dma/tegra20-apb-dma.c:1296 tegra_dma_prep_dma_cyclic() error: double unlocked 'tdc->lock' (orig line 1259) # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6697255f239f5c04fcd6b819c0d35ae05bbf808c git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 6697255f239f5c04fcd6b819c0d35ae05bbf808c vim +829 drivers/dma/tegra20-apb-dma.c 6697255f239f5c Dmitry Osipenko 2020-03-20 819 dda5e35a771043 Dmitry Osipenko 2020-02-09 820 static void tegra_dma_synchronize(struct dma_chan *dc) dda5e35a771043 Dmitry Osipenko 2020-02-09 821 { dda5e35a771043 Dmitry Osipenko 2020-02-09 822 struct tegra_dma_channel *tdc = to_tegra_dma_chan(dc); dda5e35a771043 Dmitry Osipenko 2020-02-09 823 6697255f239f5c Dmitry Osipenko 2020-03-20 824 /* 6697255f239f5c Dmitry Osipenko 2020-03-20 825 * CPU, which handles interrupt, could be busy in 6697255f239f5c Dmitry Osipenko 2020-03-20 826 * uninterruptible state, in this case sibling CPU 6697255f239f5c Dmitry Osipenko 2020-03-20 827 * should wait until interrupt is handled. 6697255f239f5c Dmitry Osipenko 2020-03-20 828 */ 6697255f239f5c Dmitry Osipenko 2020-03-20 @829 wait_event(tdc->wq, tegra_dma_eoc_interrupt_deasserted(tdc)); 6697255f239f5c Dmitry Osipenko 2020-03-20 830 dda5e35a771043 Dmitry Osipenko 2020-02-09 831 tasklet_kill(&tdc->tasklet); dda5e35a771043 Dmitry Osipenko 2020-02-09 832 } dda5e35a771043 Dmitry Osipenko 2020-02-09 833 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
