Received: by 2002:a17:906:cf90:b0:9bd:85f7:2662 with SMTP id um16csp1373864ejb; Fri, 20 Oct 2023 10:00:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFWasy6GdyqjUx42+WlymW5MR3LwSfDRHcUfjSxCC4x2YsCTcSRaAQg9DXHLgbWntRIshb X-Received: by 2002:ac8:5a8f:0:b0:41b:7f87:b2c9 with SMTP id c15-20020ac85a8f000000b0041b7f87b2c9mr2009713qtc.45.1697821223429; Fri, 20 Oct 2023 10:00:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697821223; cv=none; d=google.com; s=arc-20160816; b=TSO1jpsF4Ygwrz2MXLbL8/32rvfYWrUAXyqaR6npxsNBvoPadi+RaIDoPLrTPCUNek aPziE24+Y1W8hw65K6QEaHIblHl164vFOaTYU5GqPiSH1WhvOS+VsApaYIoAgZzYB0Cv kHh0zSZLhzz+lwwEwJ5RLrPxJWHra36O0UlATLV2n4oiFjAzpmrwouDdBsdjB3OutWCp 0u4PIRcTwIixjStF7vSwwGeiQQTmy0KM8Pvq2airC/t/8YX0xGh+zqcexCFw8Fu4TmVn xlZq64XZHL5KQHBRyrA1sx9d/UsY15oFB5ioa4NlPhyK2xWIyGh8kehxurl4yRSQAI1S MrCQ== 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:dkim-signature; bh=yUak8H4M4zPRU/zOOYuvzt7PvQtfGRk2Ok6XYvAqPoc=; fh=CSV7ixVglXzcxb66Foh/+b7TyX0eETHj/jUl4XtrXPU=; b=RiXkx85gtta4jiJ5IDj4vZ5qU+aZ0IB61dM+kO99M5IwolcmvqtklO7iTkvMBDa8vw g3YhwTm8zm8LnusLj5o8clAnbI34dxE6Gm2QLLeAERh4nBXSnIOEtUorsG+xKMWENIB6 oywnbTogMUTFRRHUUoQkt2k3zdy0VY0pEek7WE/nv1+FR9nRgunp9jOXi2TeDy0J4fzv 3Mdzwsiw3AoBBRyLyY0TT2WoXMIqKxT7eqrQNOcsf4zuxOzxFYO153WPKXZ0YEshMrVD Ns7F/HTVpOKGi2ejZ0GwSO9uz8ESU+fMMnsnbuCbeKmJWu6OjKdkkdDW/wYl7NkIkr4E pvnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WUkMPWJ9; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y12-20020a05622a120c00b00412083895d8si1591045qtx.461.2023.10.20.10.00.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2023 10:00:23 -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=pass header.i=@linaro.org header.s=google header.b=WUkMPWJ9; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtsrB-0002So-T9; Fri, 20 Oct 2023 13:00:18 -0400 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 ) id 1qtsrB-0002SV-35 for qemu-arm@nongnu.org; Fri, 20 Oct 2023 13:00:17 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtsr8-0008Pb-TF for qemu-arm@nongnu.org; Fri, 20 Oct 2023 13:00:16 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40651a726acso8561075e9.1 for ; Fri, 20 Oct 2023 10:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697821212; x=1698426012; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yUak8H4M4zPRU/zOOYuvzt7PvQtfGRk2Ok6XYvAqPoc=; b=WUkMPWJ9zca460VU2mEwkEfQBpoOrcET9M2Mhix4SgrNAaZYGise2g8y+cG6JEbuoj oWeIXoZ1/BgRpnO6Sx9ooUCAuAbxb2GdU9RnDMmkHKMYP402K2in8fazSpWsDFTESk9c 1aItLfMXAjdc34BYTf+U7df3RjvLbyR8r3c6OpdgocX7NHa3TbMQ3sIYVRJ2B46a8qUO VrCiu5s/QF7WrDvm/7eTp9V34fw0vQxnYqYvW+7InJ4BJteWLTVyIALCPbE6p0TApeIc tGLENKTyPKpKoVfoqmwURVY+wCW7tnL3/bpCxGAKzarvQcyVV1066jxQXBHKHaEhobBX dVIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697821212; x=1698426012; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yUak8H4M4zPRU/zOOYuvzt7PvQtfGRk2Ok6XYvAqPoc=; b=ey70DHxXCk3UDaPnkywxVhWt9r3VLq1tUoIMJbAOli9bPgOqB0hbeLykTQiq5XtpAW FfoHG5y8O0AYgSuA3apKcyzr/IOjIG2CNSfFGX1aYYnY8NsDmg3W35J4W/gmwl0Szslz Hk5/LtFhuS4PIQtKkUpK+zmihYXpEqPyTq4bq/6EQ5+0q9z8kdHUwCjkybhtE8N1o6Ln 9nk/WxYDW1LNkJ0fB4Rk+/vTYv0Viv2AmkvYxLx0cERMt1iCAmFXyyoNq7ZCQ8NPXfwj YjPEoo3P/YwxD7Aamgx8LfxrQRSXwl8PPKVAaZKSHLsNR4jgX4cY4wI2sxAXr8j0c/01 5M1g== X-Gm-Message-State: AOJu0YxIy3JNVTbH7OyK/aMpYzojvBGfLO72qDthcuU9WWxZM/V8c69+ I8mYRLARmNOMo0kEp9R8/JjQUA== X-Received: by 2002:a05:600c:3b8c:b0:3fe:d71a:d84e with SMTP id n12-20020a05600c3b8c00b003fed71ad84emr2015265wms.1.1697821211974; Fri, 20 Oct 2023 10:00:11 -0700 (PDT) Received: from m1x-phil.lan (tbo33-h01-176-171-212-97.dsl.sta.abo.bbox.fr. [176.171.212.97]) by smtp.gmail.com with ESMTPSA id t10-20020a05600c198a00b00403b63e87f2sm2618679wmq.32.2023.10.20.10.00.10 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 20 Oct 2023 10:00:11 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Hans-Erik Floryd , qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini , Alistair Francis , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 0/4] stm32f2xx_usart: implement TX interrupts Date: Fri, 20 Oct 2023 19:00:04 +0200 Message-ID: <20231020170009.86870-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=philmd@linaro.org; helo=mail-wm1-x32c.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-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-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: jp0jWP/yTmMY Hi Hans-Erik, Here is the respin of your patch [*] split in 4 parts for easy reviewing. [*] https://lore.kernel.org/qemu-devel/20231020111428.3260965-1-hans-erik.floryd@rt-labs.com/ Hans-Erik Floryd (4): hw/char/stm32f2xx_usart: Extract common IRQ update code to update_irq() hw/char/stm32f2xx_usart: Update IRQ when SR is read hw/char/stm32f2xx_usart: Update IRQ when DR is written hw/char/stm32f2xx_usart: Add more definitions for CR1 register include/hw/char/stm32f2xx_usart.h | 10 ++++++---- hw/char/stm32f2xx_usart.c | 30 ++++++++++++++++++------------ 2 files changed, 24 insertions(+), 16 deletions(-) -- 2.41.0