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 X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C3ACC3A5A2 for ; Thu, 22 Aug 2019 07:18:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 41B19214DA for ; Thu, 22 Aug 2019 07:18:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=st.com header.i=@st.com header.b="AFlhnsKl" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731448AbfHVHSU (ORCPT ); Thu, 22 Aug 2019 03:18:20 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:48834 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727476AbfHVHSU (ORCPT ); Thu, 22 Aug 2019 03:18:20 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7M7HnkY025732; Thu, 22 Aug 2019 09:17:52 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=oVgJvQsPM5uwDHjpfeIZOdzAAgSti1coKyBfUwZGJIY=; b=AFlhnsKlcLff90I7OHojSuwyL2oy2rYruOezE27q3xG2Bj1ZGPONJvddSX0SyeBaYew0 Y5M4f2lcvnHLXTXr14kdbskyofTMvQchdwziah2wddoa9kOdJ5wOSXw+4GK1+ABepSY/ qD7fnrKIUY6cq56Pz25u3+GKvbMfb6q0yuhf1bJrbQ7Ms0KsTslqjCoDAJuRJyKC3Y2E g/xhaul0Rht1Pb4f+ZoyLqlkIcYf8f9ZyClZUxzL2gklto2cs6iBv92O+cTYZlQGdlt6 2eb+FCaa6uOwPgb3wrDc5Al5dVkFVccZ/Htptu+EaadefRh6LjKjoxbC8Jylpmc73OJ9 dg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ue8fh333m-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 22 Aug 2019 09:17:52 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1D7A641; Thu, 22 Aug 2019 07:17:42 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id F146C2B3429; Thu, 22 Aug 2019 09:17:41 +0200 (CEST) Received: from SFHDAG5NODE1.st.com (10.75.127.13) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 22 Aug 2019 09:17:41 +0200 Received: from SFHDAG5NODE1.st.com ([fe80::cc53:528c:36c8:95f6]) by SFHDAG5NODE1.st.com ([fe80::cc53:528c:36c8:95f6%20]) with mapi id 15.00.1473.003; Thu, 22 Aug 2019 09:17:41 +0200 From: Gerald BAEZA To: "acme@kernel.org" , Andi Kleen , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: "mathieu.poirier@linaro.org" , "peterz@infradead.org" , "mingo@redhat.com" , "alexander.shishkin@linux.intel.com" , "jolsa@redhat.com" , "namhyung@kernel.org" , "suzuki.poulose@arm.com" , Alexandre TORGUE Subject: RE: perf tool issue following 'perf stat: Fix --no-scale' patch integration Thread-Topic: perf tool issue following 'perf stat: Fix --no-scale' patch integration Thread-Index: AdVYKdLDPGQJ05vWQp+GPnpQmBTpIQAApzCAAAdGDIAAG+0v0A== Date: Thu, 22 Aug 2019 07:17:41 +0000 Message-ID: References: <20190821162635.GB36669@tassilo.jf.intel.com> <20190821195451.GG3929@kernel.org> In-Reply-To: <20190821195451.GG3929@kernel.org> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.44] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-22_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Arnaldo and Andi Indeed, 'aligned(8)' instead of 'aligned(64)'. Thanks for your quick feedbacks and I am going to prepare the patch. G=E9rald =20 > Em Wed, Aug 21, 2019 at 09:26:35AM -0700, Andi Kleen escreveu: > > > > > > + char contents[] __attribute__((aligned(64))); > > > > I think you want aligned(8). The parameter is bytes, not bits. > > > > > > > > > > > But the xyarray structure is generic so I think this patch cannot = be the > > > final one. > > > > I think it's fine actually to just apply this generically (with 8). It > > will only waste a few bytes on other 32bit architectures and should be > > a nop on 64bit, not worth doing anything more sophisticated. > > > > I would just submit a patch to do that. >=20 > Agreed. >=20 > - Arnaldo 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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDEC8C3A59D for ; Thu, 22 Aug 2019 07:19:38 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id AD9E2214DA for ; Thu, 22 Aug 2019 07:19:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GLH93vd6"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="AFlhnsKl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD9E2214DA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nIO2pAwALMhrnend+R3aGsjjMXxaUWPql6izAm/n0+k=; b=GLH93vd6OC+ohC eCS/zbhUnosslwv/sN6pFBHCF/SQ0HM1k9IXuoQ3VpaUQ+DhBEbZN3X71H5LgwdAvKniViblkik1E 93njlbrqrDNC4Jk+uUzvV4ju914wvIj/FQpzhQWq7qCIonXA5rF0U0X69UlNKgxc5cGy9zZ0x763b tQBcW76tmFwt50jb36qT4uVKVTJ/2e7K9S+8HVUjqFoYCgbrDQzOnAzSHaeJZQbSCNZ9913EPrR6U wwdBq10ePACxlCFbNK3im3py/E2SaPpfE9V9u6x+uIybPwjaHkCPAnmFlFoAjdZQ4CJjZ9D+s1AIs sgKbzlbwuauGhyIVM4Xw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0hNa-0002OZ-VR; Thu, 22 Aug 2019 07:19:31 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0hMG-0001sB-Ju for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2019 07:18:12 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7M7HnkY025732; Thu, 22 Aug 2019 09:17:52 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=oVgJvQsPM5uwDHjpfeIZOdzAAgSti1coKyBfUwZGJIY=; b=AFlhnsKlcLff90I7OHojSuwyL2oy2rYruOezE27q3xG2Bj1ZGPONJvddSX0SyeBaYew0 Y5M4f2lcvnHLXTXr14kdbskyofTMvQchdwziah2wddoa9kOdJ5wOSXw+4GK1+ABepSY/ qD7fnrKIUY6cq56Pz25u3+GKvbMfb6q0yuhf1bJrbQ7Ms0KsTslqjCoDAJuRJyKC3Y2E g/xhaul0Rht1Pb4f+ZoyLqlkIcYf8f9ZyClZUxzL2gklto2cs6iBv92O+cTYZlQGdlt6 2eb+FCaa6uOwPgb3wrDc5Al5dVkFVccZ/Htptu+EaadefRh6LjKjoxbC8Jylpmc73OJ9 dg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ue8fh333m-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 22 Aug 2019 09:17:52 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1D7A641; Thu, 22 Aug 2019 07:17:42 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id F146C2B3429; Thu, 22 Aug 2019 09:17:41 +0200 (CEST) Received: from SFHDAG5NODE1.st.com (10.75.127.13) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 22 Aug 2019 09:17:41 +0200 Received: from SFHDAG5NODE1.st.com ([fe80::cc53:528c:36c8:95f6]) by SFHDAG5NODE1.st.com ([fe80::cc53:528c:36c8:95f6%20]) with mapi id 15.00.1473.003; Thu, 22 Aug 2019 09:17:41 +0200 From: Gerald BAEZA To: "acme@kernel.org" , Andi Kleen , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: perf tool issue following 'perf stat: Fix --no-scale' patch integration Thread-Topic: perf tool issue following 'perf stat: Fix --no-scale' patch integration Thread-Index: AdVYKdLDPGQJ05vWQp+GPnpQmBTpIQAApzCAAAdGDIAAG+0v0A== Date: Thu, 22 Aug 2019 07:17:41 +0000 Message-ID: References: <20190821162635.GB36669@tassilo.jf.intel.com> <20190821195451.GG3929@kernel.org> In-Reply-To: <20190821195451.GG3929@kernel.org> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.44] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-08-22_05:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190822_001809_876571_8C97FB8A X-CRM114-Status: GOOD ( 15.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre TORGUE , "mathieu.poirier@linaro.org" , "suzuki.poulose@arm.com" , "peterz@infradead.org" , "alexander.shishkin@linux.intel.com" , "mingo@redhat.com" , "namhyung@kernel.org" , "jolsa@redhat.com" Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Arnaldo and Andi Indeed, 'aligned(8)' instead of 'aligned(64)'. Thanks for your quick feedbacks and I am going to prepare the patch. G=E9rald = > Em Wed, Aug 21, 2019 at 09:26:35AM -0700, Andi Kleen escreveu: > > > > > > + char contents[] __attribute__((aligned(64))); > > > > I think you want aligned(8). The parameter is bytes, not bits. > > > > > > > > > > > But the xyarray structure is generic so I think this patch cannot = be the > > > final one. > > > > I think it's fine actually to just apply this generically (with 8). It > > will only waste a few bytes on other 32bit architectures and should be > > a nop on 64bit, not worth doing anything more sophisticated. > > > > I would just submit a patch to do that. > = > Agreed. > = > - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel