Message ID | 20241203113140.63513-14-philmd@linaro.org |
---|---|
State | Accepted |
Commit | 964d2a0cf8136cdafc07f6fd847ebf897965dc35 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:44cd:0:b0:385:e875:8a9e with SMTP id z13csp424594wrr; Tue, 3 Dec 2024 03:33:06 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW2J6VlXJ6FnKIP0w0v3qXcQ4BHz+1wROD35UQBxjyHN7EFxuuJ4/v9HDFIbbiCQ/kd24Albw==@linaro.org X-Google-Smtp-Source: AGHT+IEefpTzzEnr5opLU8QJr5udTALvTe7+JJMQ4UcVFbQMa/aGA4UpE3Yhl/633efq70kPF1x2 X-Received: by 2002:a05:6214:518e:b0:6d4:fff:f9cf with SMTP id 6a1803df08f44-6d8b740e1c7mr28170376d6.35.1733225586112; Tue, 03 Dec 2024 03:33:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733225586; cv=none; d=google.com; s=arc-20240605; b=BcWdTIx6/c7LrkWEFa+Mt5+sEjELLoKr+AtWpnhIoUCgXlz3v4PLMtFs5lQBob7132 eIi7COTsqTe0lZZW9F1BAgMEXUl5ZQQ5ayhn+FrZoRZP4eDSmDDOlwr7aKL5ouIR6M6O LMeJgWGlPPE0xM7q13b9qdmAq25PNpWU7GZOyE0nwvbCR2oITfREfyNXf9sFRzCXAu/e 5D06yFqmBGKEcp639RDuPL5TgMA7QCBwBR/b4ZQNQeK51QHfBVzbHuOvWF+omA05ANpv xZislzrn7rWsejpxT3hpZ8nB2BHXOaI/X0tXr3mxJq4aaDCmGgUApDJPNYpVuM81UWLo E3QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yG+iobrKsz6g8k3u5QukV9MFc+erYLWSKmXLzhEJYGo=; fh=3calPSna0a7+qCyLkhcxltRNQ9UOIoNYmq//bc4XfGA=; b=YLKoLviU+iz+p5GDBfdqypatN+VvCR7zIMRX8OmXpDyags5+52epl7zGaL9YsF9GGc GygM7vshy2ZEhaoaV6+oZlO1Ur9XlvxV8Tl1UPrEo0u1fE96OUKMv3IBvVvttlkKgD3k aT2c0IIhS/H2QGAT/ugozCahQxbiYeap59hGeIyJT9qooas/ODRTE14/r5mopvCb4CiI zhyb7u2PFoSMduZ9C6RQ69Uvknmb2gDHrcgAH4EySi1eq2wfgdvG2zk0+NuQKkBy4Mwd XARcDipmpX66iRHCxK1a3OwBjnsFklKY/x75mOoi2pRmNydXixLZe8XOkWVEqRyu4Eg4 P7iA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y+qIByOm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d887ccf50bsi111691176d6.59.2024.12.03.03.33.05 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Dec 2024 03:33:06 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y+qIByOm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tIR9E-0001hS-IQ; Tue, 03 Dec 2024 06:32:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tIR9B-0001UV-Vw for qemu-devel@nongnu.org; Tue, 03 Dec 2024 06:32:54 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tIR9A-0000cq-9T for qemu-devel@nongnu.org; Tue, 03 Dec 2024 06:32:53 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-434b3e32e9dso46170205e9.2 for <qemu-devel@nongnu.org>; Tue, 03 Dec 2024 03:32:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733225570; x=1733830370; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yG+iobrKsz6g8k3u5QukV9MFc+erYLWSKmXLzhEJYGo=; b=Y+qIByOmSFBeazu9rZpLVKHr4A7MDOWP/DC1OSIjk8JvWuepnKonsTrcNoJKe3ufdm +2w7O+KEa1m53tgSJX76RscWMmYn8i9l2+klCYq6h/jZ0eCaQrsIWRFs3kvTufaX0oIc k4DN7OYK8lYNOR08Nw4V3f9azulO/+8EYJLti6954hWdyxA3bsZpAJ6CS6l+ePYewVjl NG/cfh0lkawu3Ama/4zs6UHBD0+skZ1jB1X6orLJ22XQ0RkQxK9kwpbc27+qOFE6bcx2 c6ji2b7XxDrK7haMPUQbIqj17T9fO+iet8p6rEh1oADo4Oo/dmsOybRjIQuZO7kkNSMD kn8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733225570; x=1733830370; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yG+iobrKsz6g8k3u5QukV9MFc+erYLWSKmXLzhEJYGo=; b=WWhCo4wZ5p5zeqI1Oo4XvIDBoGO69vidMt5DfEZAoh5kk6zNVyDidQ556eIgEB6i+I QEJ+CRYFhqVzemJf3b+scsF04rtK6MKBERKJ9BqfDm4KGtthsJq557qCrrKkzUOUje8h 0Bw2gQG1Qv+41fcwlVIp3h8QuwWO6HxSOpb4JF0Lemdt519eMLcqVsKdYgPwbhW4bon6 mudXyRpvl4Q3eSDmKqJy+gB0tl0LIXhuYTObznm7gPVbH16axgeDqh4ocTdmdMY5KW09 sKuFFuebGbHusZ+vjBjQVf0wdFs+jt3u5QTrImaYkqqWt52Xf4KlLbRx0OZr1qJLIHGB AYZw== X-Gm-Message-State: AOJu0Yxuyfc6Fdy+bWemwbQENPXKnweWx4YUh1DpzhZ/qou1cB2IXtXj C0KqAVWnBlnC8yrxu10nGlTsv7vUkOK/pLSp+kev64rD8RkwJFb1X+j/yNL1KjWYsxAzW5ZrS7b p6C4= X-Gm-Gg: ASbGncutV1yzR6Z2yFPkTHJr8EQaBEvz/zhxK55JnGq9QtpLLuVSHqfsAcHDpObeNpf C0kAC58ybgCpxBEoUauMCtoYuTTwVxzZXArSyoDKSrf8bdRcMfeFsUPJypWCegm5qxfYZFb3nv8 Nzu5kyYW0xDaATBHZrqliE8qV8uPhTFWJ1Ui92pZhSNsk6LuNokw+zft7sR6bebMZbPraYQlGGG aQMo6VzbxooKxDqsexu/fehHjLzUbuh0y1esfu/X6+yrNocQcTgSuLxM2Qci69tv62QVMgq X-Received: by 2002:a05:600c:3c97:b0:431:5d4f:73a3 with SMTP id 5b1f17b1804b1-434d09c7f34mr19700765e9.18.1733225570258; Tue, 03 Dec 2024 03:32:50 -0800 (PST) Received: from localhost.localdomain ([176.187.209.146]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434b0dbe4e6sm184521365e9.14.2024.12.03.03.32.49 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 03 Dec 2024 03:32:49 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, =?utf-8?q?D?= =?utf-8?q?aniel_P_=2E_Berrang=C3=A9?= <berrange@redhat.com>, Thomas Huth <thuth@redhat.com> Subject: [PULL 13/13] system: Select HVF by default when no other accelerator is available Date: Tue, 3 Dec 2024 12:31:40 +0100 Message-ID: <20241203113140.63513-14-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241203113140.63513-1-philmd@linaro.org> References: <20241203113140.63513-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/13] hw/openrisc: Fixed undercounting of TTCR in continuous mode
|
expand
|
diff --git a/system/vl.c b/system/vl.c index 54998fdbc7e..2f855d83fbb 100644 --- a/system/vl.c +++ b/system/vl.c @@ -2362,6 +2362,7 @@ static void configure_accelerators(const char *progname) /* Select the default accelerator */ bool have_tcg = accel_find("tcg"); bool have_kvm = accel_find("kvm"); + bool have_hvf = accel_find("hvf"); if (have_tcg && have_kvm) { if (g_str_has_suffix(progname, "kvm")) { @@ -2374,6 +2375,8 @@ static void configure_accelerators(const char *progname) accelerators = "kvm"; } else if (have_tcg) { accelerators = "tcg"; + } else if (have_hvf) { + accelerators = "hvf"; } else { error_report("No accelerator selected and" " no default accelerator available");