Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Gowthami Thiagarajan <gthiagarajan@marvell.com>
Cc: will@kernel.org, mark.rutland@arm.com,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, sgoutham@marvell.com,
	gcherian@marvell.com, lcherian@marvell.com
Subject: Re: [PATCH v4] perf/marvell: Marvell PEM performance monitor support
Date: Thu, 4 Apr 2024 00:40:52 +0200	[thread overview]
Message-ID: <c48b0612-8682-4052-9631-e90526b78c25@lunn.ch> (raw)
In-Reply-To: <20240403054110.2057137-1-gthiagarajan@marvell.com>

> +config MARVELL_PEM_PMU
> +	tristate "MARVELL PEM PMU Support"
> +	depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)

Why the && 64BIT?

I expect any kernel function/macro should work on 32bit systems as
well, but might internally need a different implementation. But
drivers should not need to care.

If you get warning / errors with 32bit systems, it might suggests your
driver is not as clean as it could be.

	Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2024-04-03 22:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-03  5:41 [PATCH v4] perf/marvell: Marvell PEM performance monitor support Gowthami Thiagarajan
2024-04-03 22:40 ` Andrew Lunn [this message]

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=c48b0612-8682-4052-9631-e90526b78c25@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=gcherian@marvell.com \
    --cc=gthiagarajan@marvell.com \
    --cc=lcherian@marvell.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=sgoutham@marvell.com \
    --cc=will@kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox