Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp126143qtg; Thu, 6 Apr 2023 14:34:04 -0700 (PDT) X-Google-Smtp-Source: AKy350YfRRYHV2SVy4QuMaPh2nJryUxD5aAtE76UY/1qWut69o9agbMbadkPGuMQMoJgvqH32sDk X-Received: by 2002:a17:90b:17cb:b0:237:a500:eca6 with SMTP id me11-20020a17090b17cb00b00237a500eca6mr7703311pjb.22.1680816844593; Thu, 06 Apr 2023 14:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680816844; cv=none; d=google.com; s=arc-20160816; b=vijzegDgx2o0WjptLbGbaBoZ2NVV80jEN9qSN4pdX8CO1afJy4sWUKHkl/PbViH8fR du20ZCjq6ohXpgcqEdDBVbrFb6ItuP051ZVwix6tO2WAmAdGF/BPIW5WKPNI/ukFZ8kU 4wMnNNLOm1gST+5cGimZ7bwT44NQzGV10T0RnKUX4OcEfIfdEtpvEy53nI95migf/4+M 4gSgRxWeYpxylpKEecVhoHHzYAi/pSVgCfMYXBctyfdMetjX0CSNsgzhVXZI5WkLMIVO QW7AWgHReIJVGfo/O52tirYPMAsUyblUuhTVKohsSQy80vaZW5FmGQzKaiVYpV1TQEUH iTGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=ypZ6J/8kKOUhNSpcfi/rUYcvKjrOw0+NLSHUJaCfgZQ=; b=ID5MyFEN1LxSI824V3joxZI+zfZdHBQmcrnN4MDP+8Ss/ranKRHVQQL3F7RFl21GpP 1MxZTMau/rOPHx2RbjgRxT8eG4u3ihy5z7AYZaaP169nZK3Jcb4e6NgUrOKF9aOJFRdw LSqvy1aAB8wFLL9vnrdW0oDehPIPs51vuZNgD7wCvtyvELhkJ3BvFidCET4VFmBpI+qb fg1zFg0RxlwdCYEr7VoWBUYaPNTsiKw3/Y3rXpH8FNb+pf6WUpsT0469cK93OYwgWea0 YffROeif5sBg7MzF7KFkQJPSr6I8er/LgnTsZi+LWdr2dK44COZE+3e18W0C8HQcSSUa RGBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hOuPp3Pn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fv7-20020a17090b0e8700b0023d05a9b16fsi956192pjb.165.2023.04.06.14.33.04; Thu, 06 Apr 2023 14:34:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hOuPp3Pn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237661AbjDFVWl (ORCPT + 99 others); Thu, 6 Apr 2023 17:22:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237209AbjDFVWj (ORCPT ); Thu, 6 Apr 2023 17:22:39 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D964EA26B for ; Thu, 6 Apr 2023 14:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680816112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ypZ6J/8kKOUhNSpcfi/rUYcvKjrOw0+NLSHUJaCfgZQ=; b=hOuPp3PngA/fFior4g/aTqVyV6dtS5TZkKv5Q/gf/a1aBetWmmeLuZogQOIcgsiV7SZiDs I/R1wgYdL2V7moeEI4GUtAqhlJ4gi4IKVQRsy8+VZrGOpnb8xcqr1BbgjaEJv1a3P17feF lypCRAXgYjMEPaILd42YxKh1sk8ZEUE= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-101-4NL1ZrWCNkSYLTK99e9E-g-1; Thu, 06 Apr 2023 17:21:51 -0400 X-MC-Unique: 4NL1ZrWCNkSYLTK99e9E-g-1 Received: by mail-qt1-f200.google.com with SMTP id c14-20020ac87d8e000000b003e38726ec8bso27554469qtd.23 for ; Thu, 06 Apr 2023 14:21:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680816110; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ypZ6J/8kKOUhNSpcfi/rUYcvKjrOw0+NLSHUJaCfgZQ=; b=c01KquDjVlI9rSWLRDM7RyPM1OH+zG/6f/Jk/B+KvtROrQnMMIoQfnukXqMu+66hI+ 8+OyjbkhRp8EkR9kHZsi4UcSVVSEmTdC1eiio3mr7SJ8wLWAAcGfbjm5yvM3sai3bTXy tV/P0kBvrlJOIJji5eW3VDZotjjfTRvdrXl5YG3WuN6EU9jFg4ldu7Y8WhJVgfFk9Ljh CYZSsqEdqMct4nheYNDS4qNL1RrFD9YMikWimW469+BiUZVB7OagdO3yGWbUEcllqFm/ pWTyYQQkF3eIb106UcWhokWmVdp9OCLwXgvl1LpBRixZtR+GubPQJ/9YP7bGsJgExPBR GVTQ== X-Gm-Message-State: AAQBX9fOULtViIO03uYb/gTHRMRwLrYE+BftsXeWoCTuSAu0QG5Fda0E UaPPRaI/ZzK+NK3MBYcr3pXv3BX4y0iFo+ytW3j1dzOteI7Fa7O2Tmb/19ubdwgy2ETARmZiRL3 ryw4Sc0Lewl6wDDP7RbHJVeLY7XY5/Jgz X-Received: by 2002:a05:622a:1b86:b0:3e4:ea7c:dac4 with SMTP id bp6-20020a05622a1b8600b003e4ea7cdac4mr13295427qtb.31.1680816110689; Thu, 06 Apr 2023 14:21:50 -0700 (PDT) X-Received: by 2002:a05:622a:1b86:b0:3e4:ea7c:dac4 with SMTP id bp6-20020a05622a1b8600b003e4ea7cdac4mr13295400qtb.31.1680816110452; Thu, 06 Apr 2023 14:21:50 -0700 (PDT) Received: from thinkpad-p1.localdomain (cpe00fc8d79db03-cm00fc8d79db00.cpe.net.fido.ca. [72.137.118.218]) by smtp.gmail.com with ESMTPSA id d125-20020a37b483000000b007426ec97253sm755099qkf.111.2023.04.06.14.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 14:21:50 -0700 (PDT) Message-ID: <04a6394d3a80e911d9d1ea3362c96ed5a808e09d.camel@redhat.com> Subject: Re: [PATCH v2 1/2] cacheinfo: Add arch specific early level initializer From: Radu Rendec To: Pierre Gondois , linux-kernel@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Sudeep Holla , linux-arm-kernel@lists.infradead.org Date: Thu, 06 Apr 2023 17:21:48 -0400 In-Reply-To: <10dd6c41-b09b-624c-ba1b-183f4e879ff6@arm.com> References: <20230403231551.1090704-1-rrendec@redhat.com> <20230403231551.1090704-2-rrendec@redhat.com> <10dd6c41-b09b-624c-ba1b-183f4e879ff6@arm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8gUGllcnJlLAoKT24gVGh1LCAyMDIzLTA0LTA2IGF0IDEwOjE3ICswMjAwLCBQaWVycmUg R29uZG9pcyB3cm90ZToKPiBbc3RhcnRdCj4gPiArwqDCoMKgwqDCoMKgwqB1bnNpZ25lZCBpbnQg ZWFybHlfbGVhdmVzID0gY2FjaGVfbGVhdmVzKGNwdSk7Cj4gPiDCoMKgwqDCoMKgwqDCoMKgaW50 IHJldDsKPiA+IMKgIAo+ID4gwqDCoMKgwqDCoMKgwqDCoC8qIFNpbmNlIGVhcmx5IGluaXRpYWxp emF0aW9uL2FsbG9jYXRpb24gb2YgdGhlIGNhY2hlaW5mbyBpcyBhbGxvd2VkCj4gPiDCoMKgwqDC oMKgwqDCoMKgICogdmlhIGZldGNoX2NhY2hlX2luZm8oKSBhbmQgdGhpcyBhbHNvIGdldHMgY2Fs bGVkIGFzIENQVSBob3RwbHVnCj4gPiDCoMKgwqDCoMKgwqDCoMKgICogY2FsbGJhY2tzIHZpYSBj YWNoZWluZm9fY3B1X29ubGluZSwgdGhlIGluaXQvYWxsb2MgY2FuIGJlIHNraXBwZWQKPiA+IMKg wqDCoMKgwqDCoMKgwqAgKiBhcyBpdCB3aWxsIGhhcHBlbiBvbmx5IG9uY2UgKHRoZSBjYWNoZWlu Zm8gbWVtb3J5IGlzIG5ldmVyIGZyZWVkKS4KPiA+IC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