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=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 77252C43603 for ; Fri, 6 Dec 2019 19:22:09 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 40199206DF for ; Fri, 6 Dec 2019 19:22:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TkqWsMTM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 40199206DF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idJB2-0000RG-A9 for qemu-devel@archiver.kernel.org; Fri, 06 Dec 2019 14:22:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43420) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idIme-0004oQ-46 for qemu-devel@nongnu.org; Fri, 06 Dec 2019 13:56:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idIma-0003vR-CS for qemu-devel@nongnu.org; Fri, 06 Dec 2019 13:56:54 -0500 Received: from mail-oi1-x243.google.com ([2607:f8b0:4864:20::243]:33326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idImY-0003rM-4y for qemu-devel@nongnu.org; Fri, 06 Dec 2019 13:56:50 -0500 Received: by mail-oi1-x243.google.com with SMTP id v140so739569oie.0 for ; Fri, 06 Dec 2019 10:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kP/5pFAvMzOxefCNQ8i8WMMJkY9cI7kD/o+Ikdz4W6E=; b=TkqWsMTMnEoLANY4iZCCglFADhC9L+qnnuS+rrS2w11asHefRYpHPHHWr9g1rtlXHM ca6gm9boIlAehvPd+zIJbdWNfYGdyWalEa6UlEvLkAfo+4//YWZJgkrcY5xBS+P/RFUT rbCZs5kPS53eSPdpmQVM16RSJpGkSSlrwZzVEEyX+nihn5zzU7q9Xw5PL4ycdbntLIIu veKA2RntrdBgaDhqrXAaZdxMQlJQTWqmZ6p/b3kY4w69AwrMalBxEdZdCzCMGZT8g6mo cdzJHNvu3iRJ62rF0a7dfzBKQdOfxIKzMfuhSa5BCCbEJvuZtV0X3oOYkXnR9RQffTKd c3VQ== 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=kP/5pFAvMzOxefCNQ8i8WMMJkY9cI7kD/o+Ikdz4W6E=; b=rzLs97hgjxMAnbFqVATf6urSyoqhs1kLkzflqXq//4Pf+DXp0Tr/c6mVlPY5K2VfTs nCoHMqxwyx/nxSvNS8KR0XxkbN6YFAq9U0D0bxfMTuzpaT/aC8Nmf/rCvM8wuZPn4xMW kv/3+1Zn56oGfnVTDG7reZvxDPcuQaFfDMqOy3RhLIMsppuMyP7Fjlq8dr0h9DZvGfuL TENK/3fi+ZixKhXxy7bc5jhtcCvqg2k9t60ub+C3axEW0dbZVrQ/+3g8w0w2DToLVLK+ xMvIRpN1qoGNZ0VqPDqzdcof4u0TmmZYiQSWP0dtyWrHkhbJuFP9c3jiilQg83siO019 EVvA== X-Gm-Message-State: APjAAAXnXfzgyHk0DPFl6S23KoOxU6b1sW/J1QZSuSoRfLO/HXAHT+zV ObmhewiqMtGuGHi+Ex92wPl6VCws3jQWTXCS8RoCbUpD X-Google-Smtp-Source: APXvYqwAjl4OaPwI+E3cS1Dpd//mHckgQ0vWsafmE2R7VRZx81D1gPXhYxko5J4LL0tO3ITvheVfLEC79FpMh1g4DEE= X-Received: by 2002:aca:f5cc:: with SMTP id t195mr13901383oih.163.1575658607846; Fri, 06 Dec 2019 10:56:47 -0800 (PST) MIME-Version: 1.0 References: <20191203225333.17055-1-richard.henderson@linaro.org> <20191203225333.17055-2-richard.henderson@linaro.org> In-Reply-To: <20191203225333.17055-2-richard.henderson@linaro.org> From: Peter Maydell Date: Fri, 6 Dec 2019 18:56:37 +0000 Message-ID: Subject: Re: [PATCH 01/11] cputlb: Handle NB_MMU_MODES > TARGET_PAGE_BITS_MIN To: Richard Henderson Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::243 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: QEMU Developers Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Tue, 3 Dec 2019 at 22:53, Richard Henderson wrote: > > In target/arm we will shortly have "too many" mmu_idx. > The current minimum barrier is caused by the way in which > tlb_flush_page_by_mmuidx is coded. > > We can remove this limitation by allocating memory for > consumption by the worker. Let us assume that this is > the unlikely case, as will be the case for the majority > of targets which have so far satisfied the BUILD_BUG_ON, > and only allocate memory when necessary. > > Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell thanks -- PMM