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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D28FC433F5 for ; Mon, 27 Sep 2021 00:04:46 +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 F3956604DB for ; Mon, 27 Sep 2021 00:04:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F3956604DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:60066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUe8T-0000hu-1u for qemu-devel@archiver.kernel.org; Sun, 26 Sep 2021 20:04:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUe5G-0005aq-Vq for qemu-devel@nongnu.org; Sun, 26 Sep 2021 20:01:27 -0400 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:44626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUe5B-0004il-RX for qemu-devel@nongnu.org; Sun, 26 Sep 2021 20:01:26 -0400 Received: by mail-qk1-x72b.google.com with SMTP id 194so34677263qkj.11 for ; Sun, 26 Sep 2021 17:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=9yX3G5MO3WOc3sa4I0zjvA/EJRZ8ZIsiw2EFuadeA78=; b=XUlALkJskX8gxJN03Txn8wJWiN5VOsgDfSZyhP/ackK4xE+Lho9ZTb+QBamTFdcQRG hM8+CqiDBJ1g3ENNSAZNkMZvvepHx6Dc/S3fpYfAOLSRsrND07h+7Xcy7DRg6DNCqcB7 Qq+0yjVqi2OujgDdhMRZV948syucUWhNCcW1Ybm/G0OIH8bWGO/qaXbd1sxzEpJIR4vm VNuGMnYIM04xF/DFTNzPuE5+w3TL208RgU/bQlPEeIxY4fN5RoaGQscWwc+weFYGmtpt XoKVmTTIHdFo29fBBXz2IzfaKCq37PDev928caRxeOPXeY9RPizCaGTMQd7TNieMeFGx Xd1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9yX3G5MO3WOc3sa4I0zjvA/EJRZ8ZIsiw2EFuadeA78=; b=DMKNIfdDuTnFezw2toDQ7kkMjSCrujH0VqvsPKng62G+lNLqd5MMKqlCfsVJc1zmzg 3t9mYjbwBqfSFjHOd7e7fxfgjZcmL2ziofaoZ4wJqxiSjqbwn0v0dDzmcf5zkc1EGuKo iOI0vrEyE8hxfCWNkMT878yAbl4cUH+UySETyk31OGkhVxsq4nwLj2EOWKqPy2hsrd+r lfTYXkGB4f7xJ+eyGlE6/5e2Lc8VprbaSQiSvqqR2xzNqI3yLOClO/CWjWShLZdABTvw 8QI17fgrKR3dWKx4Zgek8PeNKr2FrHH1PSeBGAdJ9uIjAOkAZOM/FLKyrPUIlAaHMHLH Qw9w== X-Gm-Message-State: AOAM530dY+LRBL4f7XP2lfGSZy1++Ukp7yl8NZLugnX2/G88qsLGF5e2 v0bk20U450Lw4JJnjY/eGVTra2skDuod2w== X-Google-Smtp-Source: ABdhPJy302x8bjFl6NuBN9wPsF+c2RANIaUJWx2d7undlfDdwMYoQEjg3SQOxOUFbOJ/SH/TWA8eAA== X-Received: by 2002:a37:a051:: with SMTP id j78mr21731293qke.50.1632700880756; Sun, 26 Sep 2021 17:01:20 -0700 (PDT) Received: from [192.168.3.43] (cpe-24-31-215-130.sc.res.rr.com. [24.31.215.130]) by smtp.gmail.com with ESMTPSA id h68sm11781457qkf.126.2021.09.26.17.01.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Sep 2021 17:01:20 -0700 (PDT) Subject: Re: [PATCH v8 09/40] accel/xen: Implement AccelOpsClass::has_work() To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org References: <20210926222716.1732932-1-f4bug@amsat.org> <20210926222716.1732932-10-f4bug@amsat.org> From: Richard Henderson Message-ID: <94f4459f-2865-bc90-a66c-931d7b65700a@linaro.org> Date: Sun, 26 Sep 2021 20:01:18 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210926222716.1732932-10-f4bug@amsat.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::72b; envelope-from=richard.henderson@linaro.org; helo=mail-qk1-x72b.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, NICE_REPLY_A=-0.478, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 9/26/21 6:26 PM, Philippe Mathieu-Daudé wrote: > Since there is no specific Xen handling for cpu_has_work() in > cpu_thread_is_idle(), implement Xen has_work() handler as a > simple 'return false' code. > > Acked-by: Paul Durrant > Signed-off-by: Philippe Mathieu-Daudé > --- > accel/xen/xen-all.c | 6 ++++++ > 1 file changed, 6 insertions(+) > Reviewed-by: Richard Henderson r~