From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 2002:a19:2d51:0:0:0:0:0 with SMTP id t17csp32416lft; Wed, 29 Jun 2022 21:52:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1so0+/+yeelvylYivOUs3pHxgg+BBNZpm3IQrwZWRqyuIyAUatqkrDmr2NjVRODhD2yA3p1 X-Received: by 2002:ac8:7f88:0:b0:31b:f70c:7b6e with SMTP id z8-20020ac87f88000000b0031bf70c7b6emr5935298qtj.561.1656564722622; Wed, 29 Jun 2022 21:52:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656564722; cv=none; d=google.com; s=arc-20160816; b=iYTD6xiHLZsbQkjBrVfga7yhnMY8CpHgT6L0cKi60wXxbAoREhjqaciZfPrMz2jctE YMclPJ0KPfKSsYJy9N8NBGXyAzGagiMQXLMb7zW/eRW9miL0cfBdF6gfqg/iodEKxHsI BTrlwMdrm35mXyOKgBXLjbAGrXp3uAh26rOyTICKuleKiTh/Yp7rYVq0cB/mt2QjgN/v bfg4pZMow4G7A5PZl58vrvgu5tQODznI7Jiu89DxZm487hCCzqkWVU+W4pHKxLQ8gOR4 7vkuz65fuGFhZRLS9D46kwHYIkBFfGw30s8X9Jwom2hIFcSyfFNGN0Vfk/2LgBzdSqZD 7NYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:feedback-id :dkim-signature:dkim-signature; bh=MomHN+Omh/AfHQZ4UVOp8mXiY2fg0ekRAXZuzEOUX+o=; b=r28oqs1fe/rEJWOnuV+Exz5ZBPkJeUunmmy5lP2T2/eMxop7If2ERshmvqjfY4vPop m5u9s+hNKxXZpcJ6XhjPZvhZW5imNDsjo5T8jV75BJUgibKmqZ4QDaA8hXkfOLPilahO tJkTFFUNhO5tttcqTy2P8N1PPBx2N6A6Q9JbQMBFJqoKswva7LnBlq3JH+2h3SRuTdzJ ZEGydw8GRkttMDERttPPUHhCUe0U+K4y77+PhsGTBWyoNjn+UiCEmftHjvBGuXhBjP/F U95krP7MnN7Fbc0ipYvHXc9RZF3P0FkBnGlzbiVELBhE18EdY7nfzEyrO5FcoKCXZEi3 BL2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@pjd.dev header.s=fm1 header.b=hGlW1tEF; dkim=fail header.i=@messagingengine.com header.s=i9e814621.fm2 header.b=bnJFOzYw; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f9-20020a0562141d2900b004707ec044edsi10389078qvd.340.2022.06.29.21.52.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Jun 2022 21:52:02 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@pjd.dev header.s=fm1 header.b=hGlW1tEF; dkim=fail header.i=@messagingengine.com header.s=i9e814621.fm2 header.b=bnJFOzYw; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:34532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6m9q-0002Mg-2y for alex.bennee@linaro.org; Thu, 30 Jun 2022 00:52:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6m9a-0002LB-JY; Thu, 30 Jun 2022 00:51:46 -0400 Received: from wnew1-smtp.messagingengine.com ([64.147.123.26]:53701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6m9V-0006tS-HG; Thu, 30 Jun 2022 00:51:46 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id BDE6B2B058D4; Thu, 30 Jun 2022 00:51:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 30 Jun 2022 00:51:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pjd.dev; h=cc:cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1656564695; x=1656568295; bh=MomHN+Omh/ AfHQZ4UVOp8mXiY2fg0ekRAXZuzEOUX+o=; b=hGlW1tEFVpg+eUTElynOeocg/l bWAQ8RQjXzYO3BQMM1DID3c80ix1NiHsjuQIPoMMT+Ms1dOQatuWCN1f7Q+SrdHp GKqfQLDsrPkW56ksRXYowKv4BEbSlK2/urjeA4K6c8DYNeb0GAT6dIdUBcPIJU10 rhVwPAH5mihu5YSNmq0GwLdiWMGCQUG0D/oWT6O4RQVw4WRuE8h5fro9iDcUvvHf zWQRnaH2LfrTdsEpHod7o5jbTquUk8mZQdbTbeqxJJh8kPvE9wH3MVGHxRX8l7W/ nAqcpHWZEMGAH3Gzqi/uy/QRjV2IJ7TWkhkaB4PZGWbgKI5Emrv4ikFdk/Bw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=i9e814621.fm2; t=1656564695; x=1656568295; bh=Mom HN+Omh/AfHQZ4UVOp8mXiY2fg0ekRAXZuzEOUX+o=; b=bnJFOzYw32yz9fGBbwy X3VOCjPay1qhHzatDexfhHiIO0xDKQ/pDBH+NqyqRrsLi8DS7YixG9loK8jSEOgC oD2nNHiaKfyt74sI4Q1uMWi6cU0KybKBZX5r2a+aDt+e6OWI+4JYbp9yC+qtHOi6 WJiJdiQj57lMdC0380q8yMegoxLkoVAjuDWKtbcYqmP+dsbxv/ilRBcxyC4rCmXy DwUuBufOfkoclJoQ0DPXVQeBnQmofOlv8YhNKUkRMgdLVfnz0pKk1ZMBOz4JFR/0 aOX7FfRw2ugCu+EehkYfHbEC2M4ea9c/eECHkejJojowr4WvZkGUzTKhHfdRFoCB uDg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudehtddgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenuchmihhsshhinhhgucfvqfcufhhivghlugculdeftd dmnecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefrvght vghrucffvghlvghvohhrhigrshcuoehmvgesphhjugdruggvvheqnecuggftrfgrthhtvg hrnhepkeelvefggedvhfdvudfgtdfgjedtffehgeehvdekheehjedvheefkeehkeehgedt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvse hpjhgurdguvghv X-ME-Proxy: Feedback-ID: i9e814621:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Jun 2022 00:51:34 -0400 (EDT) From: Peter Delevoryas To: Cc: clg@kaod.org, peter.maydell@linaro.org, andrew@aj.id.au, joel@jms.id.au, cminyard@mvista.com, titusr@google.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, zhdaniel@fb.com, pdel@fb.com Subject: [PATCH v3 00/14] hw/i2c/aspeed: I2C slave mode DMA RX w/ new regs Date: Wed, 29 Jun 2022 21:51:19 -0700 Message-Id: <20220630045133.32251-1-me@pjd.dev> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.147.123.26; envelope-from=me@pjd.dev; helo=wnew1-smtp.messagingengine.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FROM_FMBLA_NEWDOM=1.498, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: rbHO4MwPi/DF From: Peter Delevoryas v3: - hw/i2c/pmbus_device: - Removed commit that resets the out buf. - Removed IC_DEVICE_ID - Added commit to allow devices to move to an idle state that avoids enqueuing excess data into the out buf. - hw/sensor/isl_pmbus_vr: - Added IC_DEVICE_ID commit just for voltage regulators. - Added ISL69259 with an IC_DEVICE_ID. - hw/misc/aspeed_peci: - Moved registers from .h to .c - Replaced guest_error on interrupt disable case with trace for all interrupts (not just when they're disabled). - Removed leftover qemu_irq_raise Thanks, Peter Klaus Jensen (3): hw/i2c: support multiple masters hw/i2c: add asynchronous send hw/i2c/aspeed: add slave device in old register mode Peter Delevoryas (11): hw/i2c/aspeed: Fix R_I2CD_FUN_CTRL reference hw/i2c/aspeed: Fix DMA len write-enable bit handling hw/i2c/aspeed: Fix MASTER_EN missing error message hw/i2c/aspeed: Add new-registers DMA slave mode RX support hw/i2c/pmbus: Add idle state to return 0xff's hw/sensor: Add IC_DEVICE_ID to ISL voltage regulators hw/sensor: Add Renesas ISL69259 device model hw/misc/aspeed: Add PECI controller hw/misc/aspeed: Add fby35-sb-cpld hw/misc/aspeed: Add intel-me hw/arm/aspeed: Add oby35-cl machine MAINTAINERS | 2 + hw/arm/aspeed.c | 48 +++++++ hw/arm/aspeed_ast10x0.c | 12 ++ hw/arm/aspeed_ast2600.c | 12 ++ hw/arm/aspeed_soc.c | 13 ++ hw/arm/pxa2xx.c | 2 + hw/display/sii9022.c | 2 + hw/display/ssd0303.c | 2 + hw/i2c/aspeed_i2c.c | 234 +++++++++++++++++++++++++++---- hw/i2c/core.c | 70 ++++++++- hw/i2c/pmbus_device.c | 9 ++ hw/i2c/smbus_slave.c | 4 + hw/i2c/trace-events | 2 + hw/misc/aspeed_peci.c | 152 ++++++++++++++++++++ hw/misc/fby35_sb_cpld.c | 128 +++++++++++++++++ hw/misc/intel_me.c | 162 +++++++++++++++++++++ hw/misc/meson.build | 5 +- hw/misc/trace-events | 13 ++ hw/nvram/eeprom_at24c.c | 2 + hw/sensor/isl_pmbus_vr.c | 40 ++++++ hw/sensor/lsm303dlhc_mag.c | 2 + include/hw/arm/aspeed_soc.h | 3 + include/hw/i2c/aspeed_i2c.h | 11 ++ include/hw/i2c/i2c.h | 30 ++++ include/hw/i2c/pmbus_device.h | 7 + include/hw/misc/aspeed_peci.h | 29 ++++ include/hw/sensor/isl_pmbus_vr.h | 5 + 27 files changed, 971 insertions(+), 30 deletions(-) create mode 100644 hw/misc/aspeed_peci.c create mode 100644 hw/misc/fby35_sb_cpld.c create mode 100644 hw/misc/intel_me.c create mode 100644 include/hw/misc/aspeed_peci.h -- 2.37.0