automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Nithin Dabilpuram <ndabilpuram@marvell.com>
Subject: [dpdk-test-report] |WARNING| pw90726 [PATCH v5 51/52] common/cnxk: add tim irq support
Date: Tue,  6 Apr 2021 16:51:40 +0200 (CEST)
Message-ID: <20210406145140.61EBD120D43@dpdk.org> (raw)
In-Reply-To: <20210406144144.19925-52-ndabilpuram@marvell.com>

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/90726

_coding style issues_


WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#62: 
Subject: [dpdk-dev] [PATCH v5 51/52] common/cnxk: add tim irq support

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#79: 
Add TIM LF IRQ register and un-register functions.

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#98: FILE: drivers/common/cnxk/meson.build:46:
+		'roc_tim_irq.c',

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#110: FILE: drivers/common/cnxk/roc_tim.c:9:
+tim_fill_msix(struct roc_tim *roc_tim, uint16_t nb_ring)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#110: FILE: drivers/common/cnxk/roc_tim.c:9:
+tim_fill_msix(struct roc_tim *roc_tim, uint16_t nb_ring)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#110: FILE: drivers/common/cnxk/roc_tim.c:9:
+tim_fill_msix(struct roc_tim *roc_tim, uint16_t nb_ring)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#112: FILE: drivers/common/cnxk/roc_tim.c:11:
+	struct dev *dev = &roc_sso_to_sso_priv(roc_tim->roc_sso)->dev;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#113: FILE: drivers/common/cnxk/roc_tim.c:12:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#113: FILE: drivers/common/cnxk/roc_tim.c:12:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#113: FILE: drivers/common/cnxk/roc_tim.c:12:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#113: FILE: drivers/common/cnxk/roc_tim.c:12:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#113: FILE: drivers/common/cnxk/roc_tim.c:12:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#123: FILE: drivers/common/cnxk/roc_tim.c:22:
+		tim->tim_msix_offsets[i] = rsp->timlf_msixoff[i];

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#123: FILE: drivers/common/cnxk/roc_tim.c:22:
+		tim->tim_msix_offsets[i] = rsp->timlf_msixoff[i];

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#135: FILE: drivers/common/cnxk/roc_tim.c:180:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#135: FILE: drivers/common/cnxk/roc_tim.c:180:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#135: FILE: drivers/common/cnxk/roc_tim.c:180:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#135: FILE: drivers/common/cnxk/roc_tim.c:180:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#135: FILE: drivers/common/cnxk/roc_tim.c:180:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#136: FILE: drivers/common/cnxk/roc_tim.c:181:
+	struct tim_ring_req *free_req;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#144: FILE: drivers/common/cnxk/roc_tim.c:203:
+	rc = tim_register_irq_priv(roc_tim, &sso->pci_dev->intr_handle, ring_id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#144: FILE: drivers/common/cnxk/roc_tim.c:203:
+	rc = tim_register_irq_priv(roc_tim, &sso->pci_dev->intr_handle, ring_id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#145: FILE: drivers/common/cnxk/roc_tim.c:204:
+				   tim->tim_msix_offsets[ring_id]);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#145: FILE: drivers/common/cnxk/roc_tim.c:204:
+				   tim->tim_msix_offsets[ring_id]);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#147: FILE: drivers/common/cnxk/roc_tim.c:206:
+		plt_tim_dbg("Failed to register Ring[%d] IRQ", ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#148: FILE: drivers/common/cnxk/roc_tim.c:207:
+		free_req = mbox_alloc_msg_tim_lf_free(dev->mbox);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#162: FILE: drivers/common/cnxk/roc_tim.c:221:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#162: FILE: drivers/common/cnxk/roc_tim.c:221:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#162: FILE: drivers/common/cnxk/roc_tim.c:221:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#162: FILE: drivers/common/cnxk/roc_tim.c:221:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#162: FILE: drivers/common/cnxk/roc_tim.c:221:
+	struct tim *tim = roc_tim_to_tim_priv(roc_tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#167: FILE: drivers/common/cnxk/roc_tim.c:226:
+	tim_unregister_irq_priv(roc_tim, &sso->pci_dev->intr_handle, ring_id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#167: FILE: drivers/common/cnxk/roc_tim.c:226:
+	tim_unregister_irq_priv(roc_tim, &sso->pci_dev->intr_handle, ring_id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#168: FILE: drivers/common/cnxk/roc_tim.c:227:
+				tim->tim_msix_offsets[ring_id]);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#168: FILE: drivers/common/cnxk/roc_tim.c:227:
+				tim->tim_msix_offsets[ring_id]);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#185: FILE: drivers/common/cnxk/roc_tim.c:285:
+	rc = tim_fill_msix(roc_tim, nb_lfs);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#185: FILE: drivers/common/cnxk/roc_tim.c:285:
+	rc = tim_fill_msix(roc_tim, nb_lfs);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#187: FILE: drivers/common/cnxk/roc_tim.c:287:
+		plt_err("Unable to get TIM MSIX vectors");

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#216: FILE: drivers/common/cnxk/roc_tim_irq.c:9:
+tim_lf_irq(void *param)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#224: FILE: drivers/common/cnxk/roc_tim_irq.c:17:
+	intr = plt_read64(base + TIM_LF_NRSPERR_INT);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#225: FILE: drivers/common/cnxk/roc_tim_irq.c:18:
+	plt_err("TIM RING %d TIM_LF_NRSPERR_INT=0x%" PRIx64 "", ring, intr);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#225: FILE: drivers/common/cnxk/roc_tim_irq.c:18:
+	plt_err("TIM RING %d TIM_LF_NRSPERR_INT=0x%" PRIx64 "", ring, intr);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#226: FILE: drivers/common/cnxk/roc_tim_irq.c:19:
+	intr = plt_read64(base + TIM_LF_RAS_INT);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#227: FILE: drivers/common/cnxk/roc_tim_irq.c:20:
+	plt_err("TIM RING %d TIM_LF_RAS_INT=0x%" PRIx64 "", ring, intr);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#227: FILE: drivers/common/cnxk/roc_tim_irq.c:20:
+	plt_err("TIM RING %d TIM_LF_RAS_INT=0x%" PRIx64 "", ring, intr);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#230: FILE: drivers/common/cnxk/roc_tim_irq.c:23:
+	plt_write64(intr, base + TIM_LF_NRSPERR_INT);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#231: FILE: drivers/common/cnxk/roc_tim_irq.c:24:
+	plt_write64(intr, base + TIM_LF_RAS_INT);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#235: FILE: drivers/common/cnxk/roc_tim_irq.c:28:
+tim_lf_register_irq(uintptr_t base, struct plt_intr_handle *handle,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#241: FILE: drivers/common/cnxk/roc_tim_irq.c:34:
+	vec = msix_offset + TIM_LF_INT_VEC_NRSPERR_INT;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#244: FILE: drivers/common/cnxk/roc_tim_irq.c:37:
+	plt_write64(~0ull, base + TIM_LF_NRSPERR_INT);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#246: FILE: drivers/common/cnxk/roc_tim_irq.c:39:
+	rc = dev_irq_register(handle, tim_lf_irq, (void *)base, vec);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#248: FILE: drivers/common/cnxk/roc_tim_irq.c:41:
+	plt_write64(~0ull, base + TIM_LF_NRSPERR_INT_ENA_W1S);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#250: FILE: drivers/common/cnxk/roc_tim_irq.c:43:
+	vec = msix_offset + TIM_LF_INT_VEC_RAS_INT;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#253: FILE: drivers/common/cnxk/roc_tim_irq.c:46:
+	plt_write64(~0ull, base + TIM_LF_RAS_INT);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#255: FILE: drivers/common/cnxk/roc_tim_irq.c:48:
+	rc = dev_irq_register(handle, tim_lf_irq, (void *)base, vec);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#257: FILE: drivers/common/cnxk/roc_tim_irq.c:50:
+	plt_write64(~0ull, base + TIM_LF_RAS_INT_ENA_W1S);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#263: FILE: drivers/common/cnxk/roc_tim_irq.c:56:
+tim_register_irq_priv(struct roc_tim *roc_tim, struct plt_intr_handle *handle,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#263: FILE: drivers/common/cnxk/roc_tim_irq.c:56:
+tim_register_irq_priv(struct roc_tim *roc_tim, struct plt_intr_handle *handle,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#263: FILE: drivers/common/cnxk/roc_tim_irq.c:56:
+tim_register_irq_priv(struct roc_tim *roc_tim, struct plt_intr_handle *handle,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#266: FILE: drivers/common/cnxk/roc_tim_irq.c:59:
+	struct dev *dev = &roc_sso_to_sso_priv(roc_tim->roc_sso)->dev;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#270: FILE: drivers/common/cnxk/roc_tim_irq.c:63:
+		plt_err("Invalid MSIX offset for TIM LF %d", ring_id);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#271: FILE: drivers/common/cnxk/roc_tim_irq.c:64:
+		return TIM_ERR_PARAM;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#274: FILE: drivers/common/cnxk/roc_tim_irq.c:67:
+	base = dev->bar2 + (RVU_BLOCK_ADDR_TIM << 20 | ring_id << 12);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#275: FILE: drivers/common/cnxk/roc_tim_irq.c:68:
+	return tim_lf_register_irq(base, handle, msix_offset);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#279: FILE: drivers/common/cnxk/roc_tim_irq.c:72:
+tim_lf_unregister_irq(uintptr_t base, struct plt_intr_handle *handle,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#284: FILE: drivers/common/cnxk/roc_tim_irq.c:77:
+	vec = msix_offset + TIM_LF_INT_VEC_NRSPERR_INT;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#287: FILE: drivers/common/cnxk/roc_tim_irq.c:80:
+	plt_write64(~0ull, base + TIM_LF_NRSPERR_INT_ENA_W1C);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#288: FILE: drivers/common/cnxk/roc_tim_irq.c:81:
+	dev_irq_unregister(handle, tim_lf_irq, (void *)base, vec);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#290: FILE: drivers/common/cnxk/roc_tim_irq.c:83:
+	vec = msix_offset + TIM_LF_INT_VEC_RAS_INT;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#293: FILE: drivers/common/cnxk/roc_tim_irq.c:86:
+	plt_write64(~0ull, base + TIM_LF_RAS_INT_ENA_W1C);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#294: FILE: drivers/common/cnxk/roc_tim_irq.c:87:
+	dev_irq_unregister(handle, tim_lf_irq, (void *)base, vec);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#298: FILE: drivers/common/cnxk/roc_tim_irq.c:91:
+tim_unregister_irq_priv(struct roc_tim *roc_tim, struct plt_intr_handle *handle,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#298: FILE: drivers/common/cnxk/roc_tim_irq.c:91:
+tim_unregister_irq_priv(struct roc_tim *roc_tim, struct plt_intr_handle *handle,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#298: FILE: drivers/common/cnxk/roc_tim_irq.c:91:
+tim_unregister_irq_priv(struct roc_tim *roc_tim, struct plt_intr_handle *handle,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#301: FILE: drivers/common/cnxk/roc_tim_irq.c:94:
+	struct dev *dev = &roc_sso_to_sso_priv(roc_tim->roc_sso)->dev;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#305: FILE: drivers/common/cnxk/roc_tim_irq.c:98:
+		plt_err("Invalid MSIX offset for TIM LF %d", ring_id);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#309: FILE: drivers/common/cnxk/roc_tim_irq.c:102:
+	base = dev->bar2 + (RVU_BLOCK_ADDR_TIM << 20 | ring_id << 12);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#310: FILE: drivers/common/cnxk/roc_tim_irq.c:103:
+	tim_lf_unregister_irq(base, handle, msix_offset);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#320: FILE: drivers/common/cnxk/roc_tim_priv.h:9:
+	uint16_t tim_msix_offsets[MAX_RVU_BLKLF_CNT];

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#328: FILE: drivers/common/cnxk/roc_tim_priv.h:22:
+/* TIM IRQ*/

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#329: FILE: drivers/common/cnxk/roc_tim_priv.h:23:
+int tim_register_irq_priv(struct roc_tim *roc_tim,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#329: FILE: drivers/common/cnxk/roc_tim_priv.h:23:
+int tim_register_irq_priv(struct roc_tim *roc_tim,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#329: FILE: drivers/common/cnxk/roc_tim_priv.h:23:
+int tim_register_irq_priv(struct roc_tim *roc_tim,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#332: FILE: drivers/common/cnxk/roc_tim_priv.h:26:
+void tim_unregister_irq_priv(struct roc_tim *roc_tim,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#332: FILE: drivers/common/cnxk/roc_tim_priv.h:26:
+void tim_unregister_irq_priv(struct roc_tim *roc_tim,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#332: FILE: drivers/common/cnxk/roc_tim_priv.h:26:
+void tim_unregister_irq_priv(struct roc_tim *roc_tim,

total: 0 errors, 86 warnings, 220 lines checked

           reply	other threads:[~2021-04-06 14:51 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20210406144144.19925-52-ndabilpuram@marvell.com>]

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=20210406145140.61EBD120D43@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=ndabilpuram@marvell.com \
    --cc=test-report@dpdk.org \
    /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

automatic DPDK test reports

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/test-report/0 test-report/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 test-report test-report/ https://inbox.dpdk.org/test-report \
		test-report@dpdk.org
	public-inbox-index test-report

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.test-report


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git