From: kernel test robot <lkp@intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [freescale-fslc:6.6-2.0.x-imx 4741/16788] drivers/soc/fsl/dpio/qbman-portal.c:1142: Error: no such instruction: `dc cvac,%ecx'
Date: Thu, 3 Oct 2024 15:28:03 +0800 [thread overview]
Message-ID: <202410031533.CsizlbLE-lkp@intel.com> (raw)
tree: https://github.com/Freescale/linux-fslc 6.6-2.0.x-imx
head: ac32ba5fe66266329914d2020570364afe217bec
commit: ecf345f453d79979725e6a41fd7f8283835d1fdf [4741/16788] soc: fsl: dpio: enable qbman CENA portal memory access
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20241003/202410031533.CsizlbLE-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241003/202410031533.CsizlbLE-lkp@intel.com/reproduce)
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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410031533.CsizlbLE-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/soc/fsl/dpio/qbman-portal.c: In function 'qbman_swp_enqueue_multiple_desc_direct':
drivers/soc/fsl/dpio/qbman-portal.c:874:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
874 | addr_cena = (uint64_t)s->addr_cena;
| ^
drivers/soc/fsl/dpio/qbman-portal.c:876:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
876 | dccvac((uint64_t *)(addr_cena +
| ^
drivers/soc/fsl/dpio/qbman-portal.c:174:58: note: in definition of macro 'dccvac'
174 | #define dccvac(p) { asm volatile("dc cvac, %0;" : : "r" (p) : "memory"); }
| ^
drivers/soc/fsl/dpio/qbman-portal.c: In function 'qbman_swp_enqueue_multiple_direct':
drivers/soc/fsl/dpio/qbman-portal.c:729:1: warning: unsupported size for integer register
729 | }
| ^
drivers/soc/fsl/dpio/qbman-portal.c: Assembler messages:
>> drivers/soc/fsl/dpio/qbman-portal.c:1142: Error: no such instruction: `dc cvac,%ecx'
>> drivers/soc/fsl/dpio/qbman-portal.c:1497: Error: no such instruction: `dc cvac,%edi'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%esi'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:722: Error: no such instruction: `dc cvac,%eax'
drivers/soc/fsl/dpio/qbman-portal.c:876: Error: no such instruction: `dc cvac,%eax'
>> drivers/soc/fsl/dpio/qbman-portal.c:475: Error: no such instruction: `dc cvac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%eax'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:475: Error: no such instruction: `dc cvac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:475: Error: no such instruction: `dc cvac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:475: Error: no such instruction: `dc cvac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
>> drivers/soc/fsl/dpio/qbman-portal.c:475: Error: no such instruction: `dc cvac,%ebx'
>> drivers/soc/fsl/dpio/qbman-portal.c:178: Error: no such instruction: `dc ivac,%edx'
drivers/soc/fsl/dpio/qbman-portal.c:475: Error: no such instruction: `dc cvac,%edx'
vim +1142 drivers/soc/fsl/dpio/qbman-portal.c
1109
1110 /**
1111 * qbman_swp_pull_direct() - Issue the pull dequeue command
1112 * @s: the software portal object
1113 * @d: the software portal descriptor which has been configured with
1114 * the set of qbman_pull_desc_set_*() calls
1115 *
1116 * Return 0 for success, and -EBUSY if the software portal is not ready
1117 * to do pull dequeue.
1118 */
1119 static
1120 int qbman_swp_pull_direct(struct qbman_swp *s, struct qbman_pull_desc *d)
1121 {
1122 struct qbman_pull_desc *p;
1123
1124 if (!atomic_dec_and_test(&s->vdq.available)) {
1125 atomic_inc(&s->vdq.available);
1126 return -EBUSY;
1127 }
1128 s->vdq.storage = (void *)(uintptr_t)d->rsp_addr_virt;
1129 if ((s->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000)
1130 p = qbman_get_cmd(s, QBMAN_CENA_SWP_VDQCR);
1131 else
1132 p = qbman_get_cmd(s, QBMAN_CENA_SWP_VDQCR_MEM);
1133 p->numf = d->numf;
1134 p->tok = QMAN_DQ_TOKEN_VALID;
1135 p->dq_src = d->dq_src;
1136 p->rsp_addr = d->rsp_addr;
1137 p->rsp_addr_virt = d->rsp_addr_virt;
1138 dma_wmb();
1139 /* Set the verb byte, have to substitute in the valid-bit */
1140 p->verb = d->verb | s->vdq.valid_bit;
1141 s->vdq.valid_bit ^= QB_VALID_BIT;
> 1142 dccvac(p);
1143
1144 return 0;
1145 }
1146
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-10-03 7:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202410031533.CsizlbLE-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=otavio@ossystems.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.