From patchwork Mon Aug 20 20:26:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corey Minyard X-Patchwork-Id: 10570769 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 04B0A920 for ; Mon, 20 Aug 2018 20:35:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E93B528D36 for ; Mon, 20 Aug 2018 20:35:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD5D728E67; Mon, 20 Aug 2018 20:35:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 99B4A28D36 for ; Mon, 20 Aug 2018 20:35:13 +0000 (UTC) Received: from localhost ([::1]:49179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frqtN-0000ok-0K for patchwork-qemu-devel@patchwork.kernel.org; Mon, 20 Aug 2018 16:35:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frql7-0002ih-Af for qemu-devel@nongnu.org; Mon, 20 Aug 2018 16:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1frql0-0002Sq-Gp for qemu-devel@nongnu.org; Mon, 20 Aug 2018 16:26:41 -0400 Received: from mail-oi0-x22f.google.com ([2607:f8b0:4003:c06::22f]:36265) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1frqkw-0002E1-8r for qemu-devel@nongnu.org; Mon, 20 Aug 2018 16:26:30 -0400 Received: by mail-oi0-x22f.google.com with SMTP id n21-v6so28176955oig.3 for ; Mon, 20 Aug 2018 13:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=UvwQjqQ5lA9TQ6AcrS6E+rmr+dLek+o9t42ANpz3cQ8=; b=L9G912sbJ+0yTDHSmsNGwj4MPqZ0DQpjEIzUDlfS8gZv2ZkyfFTfjUsMKBK/Y14c8d FL2NtcM+5cK0A0uWsKiqOFg3HVpQ/Gru23w1pkVsRK/dPrk/LaHlMMNHEFiCS0z3lDwW jJ0/oA+JPwQ9H//oCQzz8yy8AuE0N1epkXUCE7C9quxJTzbEqsqWpF9F0kS43hhYKpUf DSS7K0FdFGnKhdl6i1KF2sE9wyYgsclAF2GZmYv93PE1dcaUKz1+NRDjQVjH/ARk4zSh fD4Sn8l9kKICx3ATk3AGclCKLWQWsDs4yaLoAD14HnsSIp57vDqxtxoKnIpMDJCbsx6m ohXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=UvwQjqQ5lA9TQ6AcrS6E+rmr+dLek+o9t42ANpz3cQ8=; b=SKci+VEVnmLvT3fnVjwnuDh4fAOs6vjhlqXLrVU8amG7sw3W3YfycC5PEv+dYtzZZX yOpIl0TzysytQ05B8JKyyXnbEI6eVWT79E2sIIPVVTxvJ5GVUekUylaepqsMNYPqhVYW qNHXIP7+MKhyLA671an3upiOrSDLXy5OopOCgW6efsERDlril0Y6jsSNNWnb2X4h5/7W dfGikblQwkIMRhcK/RmwnxzC098IX8+52zhauhKufpTIMOIrRCwz7U1L3H2eDo0Qd7BI DnDpcQgfMV6Y4z4Lnz+DJvl0UxmLuoa0WqnJGawWBqRoidoIQKN1w9tom6bWotSOZxS0 ZyPA== X-Gm-Message-State: AOUpUlHJJSeH9srXufi3Mw6FAYTTaEk3t4msNry5q7VDABj4qewbgorV CRGrGocWkgbrSD9o2zpisXR3Sr0= X-Google-Smtp-Source: AA+uWPy+z3SE5pHGAHbAeMsccKh1SbW2P0jWTofbu3lxzbivJxN8dYFPavXiRjZ1PpyiAT1dCFyhLA== X-Received: by 2002:aca:a56:: with SMTP id 83-v6mr14538882oik.57.1534796785418; Mon, 20 Aug 2018 13:26:25 -0700 (PDT) Received: from serve.minyard.net ([47.184.170.128]) by smtp.gmail.com with ESMTPSA id 22-v6sm5696980oix.58.2018.08.20.13.26.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 13:26:24 -0700 (PDT) Received: from t430.minyard.net (unknown [IPv6:2001:470:b8f6:1b:7d98:76b7:e7fd:495f]) by serve.minyard.net (Postfix) with ESMTPA id 2434F677; Mon, 20 Aug 2018 15:26:23 -0500 (CDT) Received: by t430.minyard.net (Postfix, from userid 1000) id D3262300104; Mon, 20 Aug 2018 15:26:20 -0500 (CDT) From: minyard@acm.org To: Paolo Bonzini , qemu-devel@nongnu.org Date: Mon, 20 Aug 2018 15:26:00 -0500 Message-Id: <1534796770-10295-1-git-send-email-minyard@acm.org> X-Mailer: git-send-email 2.7.4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22f Subject: [Qemu-devel] [PATCH v2 0/8] Make the pm_smbus code more correct X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Michael S . Tsirkin" Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP These changes make the pm_smbus device work more like the real thing, adding block transfers, I2C block transfers, and interrupts. It also adds vmstate transfer for the smbus device in patch 5. That patch could probably be left out if that is not desirable. Patch 7 works around a change made to work around an AMIBIOS bug and is necessary for interrupts to work. Patches 9 and 10 add vmstate transfer for SMBus EEPROMs, and obviously requires patch 5 to work properly. These could also be left out.