Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp3012227lqz; Wed, 3 Apr 2024 15:41:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUeoPG+R4vojBjetb3xP+zqfGDHo3K5Oi6Je0eM9s/D6C3GQUD8zZVRRR/CKZD4gTcUh6C+05JpY1VCOGsb8bd5ulPzdYqYDx7+wC3dCQ== X-Google-Smtp-Source: AGHT+IE8oE45feOq8UY0WVh413VDKbN+FQ7oJh4FqD/HG+WRO8agejUOnzBeZFM/5wVFECnIFMUE X-Received: by 2002:a17:906:e56:b0:a51:7e69:3adb with SMTP id q22-20020a1709060e5600b00a517e693adbmr375079eji.9.1712184065438; Wed, 03 Apr 2024 15:41:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712184065; cv=pass; d=google.com; s=arc-20160816; b=z+kCjS/WWKfbucshp0ZeWMCQ0OV5O2n6xNHhCviHxidC6w86+TJLkDxgMsIFoylz4J x9zIB8x+BlWigJRtX6LjFUJCxiX5laxsuJUAa2/CQmGsvl8ysa1Y+IFfbdw3rSbyAXpo Nqng/MC216f+gNCJocjRC0IcdMLgijwJa2zUs64BP7J8TmIuhzSnyDvP74kt70LNiRpe XGI3CYbaTKAb0Cmd1xYJrkJYm/sbAjYiyvJQ4q2u8H05GdXFx1OuQSiOPOBJsGkRPBN7 2hs1hgSmlJZ4odQBwcemYTLm1XLmr5tHhLHdIjkGzHHWhs5zz+IsE+7P+/DjrayDMDrT c1cg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AtI1JIK1NoRkwkknKhPdkYxsf2oluTECmQZ1khbpJtY=; fh=64NWIaPq3Eg3LjXP9XSv/HB72EBQVKxxpjaWtQAv5xY=; b=x0GEuA+Y6JCyqHeYqPoJ+br8dpfXthdaJzR5B6dFvVCJWWNx6/9LKld5xwxaKBDh1n gwqEG+/DIevhMHxe0lKvY9Nh3GorelHji7YyrSdl9dNadSEL5N8X74uAU/0eFUxMRyPM BdA81xJNav9CFrSoyIFHbNv2/BIwabTlBAhJfs9bd/FDjQWS7oPo+Zk7TJlRAritgVWW OB0A5MYrwnPXF46+3anjI2VJUSGuHE/RHAIaz0LO2HueuOBjZjIe4hJGTEujqR0Ovi0E sufqi/qq2wtvudm7WRUK6MGvkkcYo+h6eVuQynS86FzazHgDPBALYCNmHFsxre1wjSmd 1ALA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=KbAyVNW9; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-130693-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130693-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j23-20020a170906411700b00a46c1bc8e82si7263822ejk.748.2024.04.03.15.41.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 15:41:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130693-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=KbAyVNW9; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-130693-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130693-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2B6BB1F28A73 for ; Wed, 3 Apr 2024 22:41:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 134741419B3; Wed, 3 Apr 2024 22:41:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="KbAyVNW9" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A928F692FC for ; Wed, 3 Apr 2024 22:40:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712184060; cv=none; b=QDkCGdaOBV549IE9SdoRjbrwhQP80vlTP8PxZolHVpPVeRfBl6arscDgKUfQk4iJydf28YNsjCH9oMrZZb8W/VuW346sJO8HKokOrPPEyy5vZee4yQlj7cCVK2en9LGgbYd9NEaABQM7u29lkKGMj6EJZpxa9zQDKKBZGOZhHuY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712184060; c=relaxed/simple; bh=OIFHLvK09mRKrdktyHDc1sLp86x3YqRw5XW6oSN1NPg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=u3SiAfDTL6R8jzHx19yQt1AKLZj/NvHlPJ0NW1emW4QoRLSpQaYPuVLrAfx3mWBrsEjkdQ1jP18rcXHcsaOHrNg5faYWnbj80yO1pqdqmj6FpYdC9duONyIntgaiQv99d09RKMv0mziEbx2161EFarEM4N2P4WGrTJuOHxC/4LY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=KbAyVNW9; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=AtI1JIK1NoRkwkknKhPdkYxsf2oluTECmQZ1khbpJtY=; b=KbAyVNW987Lsd0Jv7bM6e1nKrq wMpnwl0Rh15B9TkzPzr/ajhRxaFUxsNFryFKqGHYGF9Ve+zJDP5FP9FAKODhoHU2caJJi42qI8eXR RnStCOc1FUn0hq1RrJ2KPQRHjekyr1wKh2MBKvC8E/1srZwVekbl/s+z9TiMzACYxk9c=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rs9Ho-00C7ez-CM; Thu, 04 Apr 2024 00:40:52 +0200 Date: Thu, 4 Apr 2024 00:40:52 +0200 From: Andrew Lunn To: Gowthami Thiagarajan 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 Message-ID: References: <20240403054110.2057137-1-gthiagarajan@marvell.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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