Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4038450pxv; Tue, 13 Jul 2021 09:20:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYX9j7SnuBzm4zEqyfIaWfNypz0bojxPNTjq5KK30bovj05ua2df1mYT5TI7TAIP4Ha8Ss X-Received: by 2002:a5e:8612:: with SMTP id z18mr3826747ioj.38.1626193209694; Tue, 13 Jul 2021 09:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626193209; cv=none; d=google.com; s=arc-20160816; b=w0rRfv7H0JCSLITZGqG19kgrbs89VfMSsCp7GfB0ZpNLk5yo8uHVP8BqQTvss814Sw 0cXlihskQVo+2IpX38D8qh5L1VozPXhg5+eBArX6AIgqfsOINhj2FmAB9bCl44pzGZi7 6tYv0Qc6RB2kStNrbqBAtONvqwEbFwpfzuSlJjP+1mUpDg5esT9ClmcFUN5+LcvmirrW Jcbsh5OGzMitdM+7hSY+ygyc4QfCmvOqO4GtFXPCrrBQKafshwCk73gzLRpDBqloUsVq WMmNfqgtJrOWsqrbVXbBy3uOiWBkp8k3a6nIgejZx4I4lHQpSg1tU5Typ99yA6mUdSp8 +iAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=awbwz8Mi1G1+f2fwGt3ZEpkOa0ZEsi8ROYjzYe/Okus=; b=o3YH5SjVmKDMXjTyM35cbtaFyeGl9WaRJtmNXCPQxlS0uUN3YG2687ohkFa2ahxl5u IGwxks7tb8LCKcYMiQwZibMeRH4QlfDuMVfTtLXp9WDthBzqJ8JU7wQBE06BTe9/az5h W0427r1WyU1L79z9h1Dppl4u60ioIi/sNH8M+xhagoCLI69r+ZXqFm6K9T4vUrx0ZMRT F7OKHBhrlFVh4EJN5T87optKY+xC3U4/ECkIYM/gBz+y/zlSLJ4Ll1CTgYXHhgGtkUWF ISQ52SreJybu1yMMxpC9RWXjM3c++1WyJi1eWqFg8EHI9As5gkwHMrFXDdWJ4XV/1x8y vYWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PoxG3ZFQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j30si7888796ila.56.2021.07.13.09.19.57; Tue, 13 Jul 2021 09:20:09 -0700 (PDT) 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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PoxG3ZFQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230254AbhGMQWK (ORCPT + 99 others); Tue, 13 Jul 2021 12:22:10 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:51772 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230273AbhGMQWI (ORCPT ); Tue, 13 Jul 2021 12:22:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626193157; 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; bh=awbwz8Mi1G1+f2fwGt3ZEpkOa0ZEsi8ROYjzYe/Okus=; b=PoxG3ZFQEIknPgusP3jAlPopWFK8MOplxhvPlQ2MYBymohwpwqs7RRESBlrr/PIQ7r1MgN yILgJUWeVdPoaJ6k3pgEBvY9JfrFKROZeJ3IzsQJxrGxSoWecbADwrshRumoIVF7xWhlPn brxHJX0zBCcu+boIfCx7zS3+gHE2gD0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-456-JG1pSGTjO-m9PADZ5-L7Wg-1; Tue, 13 Jul 2021 12:19:16 -0400 X-MC-Unique: JG1pSGTjO-m9PADZ5-L7Wg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 258DB1B2C983; Tue, 13 Jul 2021 16:19:15 +0000 (UTC) Received: from localhost (ovpn-112-172.ams2.redhat.com [10.36.112.172]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9C1F819C44; Tue, 13 Jul 2021 16:19:14 +0000 (UTC) From: Stefan Hajnoczi To: linux-kernel@vger.kernel.org Cc: Daniel Lezcano , Stefano Garzarella , Ming Lei , "Michael S . Tsirkin" , Marcelo Tosatti , Jens Axboe , Jason Wang , linux-block@vger.kernel.org, "Rafael J. Wysocki" , virtualization@lists.linux-foundation.org, linux-pm@vger.kernel.org, Christoph Hellwig , Stefan Hajnoczi Subject: [RFC 0/3] cpuidle: add poll_source API and virtio vq polling Date: Tue, 13 Jul 2021 17:19:03 +0100 Message-Id: <20210713161906.457857-1-stefanha@redhat.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhlc2UgcGF0Y2hlcyBhcmUgbm90IHBvbGlzaGVkIHlldCBidXQgSSB3b3VsZCBsaWtlIHJlcXVl c3QgZmVlZGJhY2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