Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp429069pxb; Fri, 8 Jan 2021 08:30:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYUA3kzgn1ZLDXdlr3t9BPnMSAQ0SXVklIKxZt7TbV72Sr+G1zC2Xx3dPV3aUpmL7Vutnp X-Received: by 2002:a17:906:259a:: with SMTP id m26mr3149033ejb.399.1610123428723; Fri, 08 Jan 2021 08:30:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610123428; cv=none; d=google.com; s=arc-20160816; b=XaGVCANYEu//hih2QoeMvAaQp2je5+EknKQkvY6OF64neOGIKjwswwTw7qoMJ/QI8k hsj6mowzr79lzwzpa8cYcATSxTXgJlL1e584XjPQ5U4DNYbnCPTV8E0EwyObO0eScFQ0 WsWSAGDYSKGbBOE+nedyzvzikCOKjH3xgxqgCkgH86L45P8TmUCur3/vHCHGKVxNbSVm MMwOt5LNzivgF9357vignr3oWr4qz2s1R7JwqZ6HvEtvZ4m8+JU/imph1cpWRBIwwcz7 3uap+Uist+KyQxSHsifu+trNigEQYOufzAWbmzJT0oxxy7GidRFjNPe+jkgM2K21fKiB 60nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=azXInPSYO1Sxr7q4l4v0RAEEyoV6Ow0CghP+JPok7j4=; b=xumI3F63ESGgQBAexCCdp36T7u7byQNuSEzmvK+FggfkLhcD6dcJurwZgn+TNA7uSo KuyaLweP7CdrRLZ+nxg5m7hY7qtT452zwzeVP3LR2Go9gnIgMDPMZut4T2vufAY49g7O IDODuwDafq7WI36sXtvipBD/mjUfQTQo3Au49pKJ9gLUhjCNQPtSRExUrlgKCoPeXw57 DJ/lXfC0ye3KbwicU50fWJ5mKIcijTyutnY6Tb/mSBhbxo2zMWPAs+6wMsFbSuS+Za7o 51PUFdEZerhFvqsFFTdOMa0tvBUMjyLU9GLck5BpUbLoeM/rRDJx/asuJZKF8aiC33iR /BpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n8si3702805edt.440.2021.01.08.08.30.03; Fri, 08 Jan 2021 08:30:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728155AbhAHQ1b (ORCPT + 99 others); Fri, 8 Jan 2021 11:27:31 -0500 Received: from mail-oi1-f182.google.com ([209.85.167.182]:32886 "EHLO mail-oi1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727333AbhAHQ1b (ORCPT ); Fri, 8 Jan 2021 11:27:31 -0500 Received: by mail-oi1-f182.google.com with SMTP id d203so11968827oia.0 for ; Fri, 08 Jan 2021 08:27:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=azXInPSYO1Sxr7q4l4v0RAEEyoV6Ow0CghP+JPok7j4=; b=TbluwBQa9/+DY4M1SClgmDX/OuYaweAezVyJKUkGbfzP+trpuUChweZ2uToPgEue8e lkwJCgR7aWdXZLSWOBmuoVDCdXZlRpg+yNCuG5DV7n0dqOHk4u46wRy5wKXw/OotLPg4 p9Ge8exprQ4bDi+8SoVfdr1h1S9lDJ8am8QDs5KROvXY+0rJeWc8Jr0PZDLlHIOQXJG2 17igcnapmeb4kOtf4y2nnlnEOgILMH0xG13HQag/cqfqiRS21cUQ1CPqxxQ9Q0ywhX5B na4kxlTrWOQ1ha3KBaigPqjiH23ymE0N/WIb3DeuUDbdlaSsdAoX5Ernpy7zjpKlbD+W EsdQ== X-Gm-Message-State: AOAM533I7HeP/dxGGg1G6/ix71btg6qMEARn6br2x147GwmbCYQNLsVw zehMZVgwOou7AuftmAE1kMH6pgy3Id0b9F1h7Z2iWQvyt9w= X-Received: by 2002:aca:3cc5:: with SMTP id j188mr2868502oia.54.1610123210752; Fri, 08 Jan 2021 08:26:50 -0800 (PST) MIME-Version: 1.0 References: <20210107092652.3438696-1-atish.patra@wdc.com> <20210107092652.3438696-4-atish.patra@wdc.com> In-Reply-To: <20210107092652.3438696-4-atish.patra@wdc.com> From: Geert Uytterhoeven Date: Fri, 8 Jan 2021 17:26:39 +0100 Message-ID: Subject: Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32 To: Atish Patra Cc: Linux Kernel Mailing List , Albert Ou , Anup Patel , linux-riscv , Palmer Dabbelt , Paul Walmsley , Nick Kossifidis , Andrew Morton , Ard Biesheuvel , Mike Rapoport Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 7, 2021 at 10:28 AM Atish Patra wrote: > SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of > 64 for RV32. Otherwise, there will be hole of 32 bytes with each memblock > allocation if it is requested to be aligned with SMP_CACHE_BYTES. > > Signed-off-by: Atish Patra Tested-by: Geert Uytterhoeven (on vexriscv) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds