From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E7318EB64DC for ; Fri, 21 Jul 2023 11:25:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tJ3t8J4PDhZ7z7S/Z1zL/Q3bK1YQ/meni4nVYBpUZlM=; b=a4s/SNT283yEi4 UWKWcvwyAm/SRVulxNm87VNB6go8YeTujtolx2B3C1iwrc4Fh+K/chz7uTGZ4aEAgRodGFPeo8ta3 vi1cMzGMAbCUwL9SpCs0Us551ESPvWwSp605GgyZwRqfc8fDeFSG6haDm7ZO2Z2s1kG4f+FQdU+n+ Txt0uBthUoec0tT3wpwTjad33ElL5DpmMo192QQX1Yrbw4j7x/ypLgelZuseIT01E8UB5KX1pyYP8 UpvJqD9Kdd9UtcrdiYcGJy0mTfUoQ6SoNSEnU2zm7K9wP1trb7vkNl2DSubRmHYM+vZWsHa+Uzr1S PnbGuoP0A/GGu/M59rrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMoFy-00DvGF-2t; Fri, 21 Jul 2023 11:25:10 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qMoFw-00DvFr-1c for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2023 11:25:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689938708; x=1721474708; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fX+P+Vn6+9w3G4Oh7llREegNj9wGkwnxSWXtt3ditgI=; b=IhPez0rwgg+g9oSFkX8rZO3hBkp3WLLDH9c03iHV6RFE2ln2AG82byNM ye0GvnLxNbWzFxv0DXAC3iYFHxY1TAPvEljjeisgNHWs3AHRuyQj2EWCI beY0I04krmaku5ouLoU6IWkMK308ag7YvJvj3oY/vBtrhsE/dSU/CD6rp 9bia6CPshM1udfyTr3eGH+bNCrpp+IM+E5SV1wzqH+h9Tod72ZCmowjaC mPtlcVXgjCrC1VYacCuTcUA/0fPql3fSmukC/V5u58JcueA8oYemWCCXd 1OSO9bfFtaEtG77U2GJtNE+Oh/MlkISeM9yUC15jRxbYrz0NSvzyjTWf/ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10777"; a="433229594" X-IronPort-AV: E=Sophos;i="6.01,220,1684825200"; d="scan'208";a="433229594" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2023 04:25:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10777"; a="838519744" X-IronPort-AV: E=Sophos;i="6.01,220,1684825200"; d="scan'208";a="838519744" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP; 21 Jul 2023 04:25:03 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qMoFq-001zoV-04; Fri, 21 Jul 2023 14:25:02 +0300 Date: Fri, 21 Jul 2023 14:25:01 +0300 From: Andy Shevchenko To: Alexander Potapenko Cc: catalin.marinas@arm.com, will@kernel.org, pcc@google.com, andreyknvl@gmail.com, linux@rasmusvillemoes.dk, yury.norov@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, eugenis@google.com, syednwaris@gmail.com, william.gray@linaro.org Subject: Re: [PATCH v4 4/5] arm64: mte: add a test for MTE tags compression Message-ID: References: <20230720173956.3674987-1-glider@google.com> <20230720173956.3674987-5-glider@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230720173956.3674987-5-glider@google.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230721_042508_585759_B3ED7837 X-CRM114-Status: GOOD ( 11.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jul 20, 2023 at 07:39:55PM +0200, Alexander Potapenko wrote: > Ensure that tag sequences containing alternating values are compressed > to buffers of expected size and correctly decompressed afterwards. ... > +#include > +#include > +#include > +#include > +#include Keep this in a separate group outside of linux/*. > +#include > + > +#include ... > +/* Functions exported from mtecomp.c for this test. */ > +void mte_tags_to_ranges(u8 *tags, u8 *out_tags, unsigned short *out_sizes, > + size_t *out_len); > +void mte_ranges_to_tags(u8 *r_tags, unsigned short *r_sizes, size_t r_len, > + u8 *tags); This is interesting. Have you run `make W=1` on this code? -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel