Message ID | 20240508174510.60470-17-philmd@linaro.org |
---|---|
State | Accepted |
Commit | 1f3cabd3409c4eef0174f58211c0ced196f11446 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:525c:0:b0:34e:ceec:bfcd with SMTP id k28csp903481wrc; Wed, 8 May 2024 10:47:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWWEF96IVodWpBNMCuLuy9/8COk4LDa5XI6xD3d079+0k78BnCiFYWUakQwEsZWqfUQQ7ZEd+Y1gbA7ltJWeDjv X-Google-Smtp-Source: AGHT+IHB0I4vz4TEB0AcM5xSVXyB0yznW5LBHRVk4DDjbXOhNCrSG+NPCIMTMY8kyi2UyTZ7zQVi X-Received: by 2002:a05:620a:4502:b0:790:92bc:7a57 with SMTP id af79cd13be357-792bbe6749cmr53337585a.36.1715190463355; Wed, 08 May 2024 10:47:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715190463; cv=none; d=google.com; s=arc-20160816; b=Kw4PWMmoNBkGfF1sLNOp7O/a6L3ZKYMOCVmlHn3OYWahZIgcUcjgyGCD4HfN4j17F4 s6DiXCJ28phUfb04AAM5eq3D8T8fDkj1sdvyVab0y8XK2oR5BJoIkVvRIIZf/hczKbDk gT+CnimJwm4FaVHcjF8ojcRD6iuZbf7uaTqpXhcdosE7gQHwKRYgOo2c36xNWE1AHXCr FQlfxW/9SgdfMfp4yoW1zKJOZqvhW87UhWsZLmdQFkyp9qF3GuuzcKmfGYcmg8f3NzYp hwpL7S7RWTs8t5CdbApP+Onnw9dh91kG5qcJejlnGOFkmGgiZIhwhsvKUPSLl9JK4tOD dBsQ== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GPE5QkM3UVuJG2oSH/R/5VD41xXCvV77aOjIZTcxo54=; fh=B2r/Kwa+Sg0TyUuG1rIujCTE1/ey4ow3GeE+5CFWoWo=; b=J48+r8YCpKFGvwZHL0+xpAHih9sHoy8N393heSnTgnbp46f6Vg6C+KDaZFbOm1S/04 xWboX5U7lkve9OPmQpd1h95EJKG/PX3bvL1hV5EpXvd4cur0wPtKCtCf8t2NnZ6Hrhjf Pr3qcucsktB5aegegOS2//hOeT3fYuo0VaMT66avLKtfO8EOGGqrZ0il6qI20ffSB9K5 fb59VKZI+6qIpV4pUF2+1LXZudUVHo4+nRqxsKl6N+9JW427YT1DsfFFpXJn081lWtM7 aCJofsGEod/pmQ7vtgDbfhZIQLdRVi29mt0lGQ/mqTjV/q+HBEHsC4zMkguDF0iei6S6 Vd0Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TUWuxB08; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s8-20020a05620a080800b00792b9250cc5si1039377qks.735.2024.05.08.10.47.43 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 May 2024 10:47:43 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=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=TUWuxB08; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=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 <qemu-devel-bounces@nongnu.org>) id 1s4lNZ-0002WF-O7; Wed, 08 May 2024 13:46:58 -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 <philmd@linaro.org>) id 1s4lNP-0001bG-BC for qemu-devel@nongnu.org; Wed, 08 May 2024 13:46:47 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1s4lNM-0008D3-7O for qemu-devel@nongnu.org; Wed, 08 May 2024 13:46:46 -0400 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-52006fbae67so6406817e87.0 for <qemu-devel@nongnu.org>; Wed, 08 May 2024 10:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715190400; x=1715795200; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GPE5QkM3UVuJG2oSH/R/5VD41xXCvV77aOjIZTcxo54=; b=TUWuxB08d6y1AyGl/eo4K0nkMolHUr6gHdD5nzYkiC8xcJPfbOVr6R366I4L2QZBV4 apyIEOwK3lw6jYLmpvfZLuETj8PXwdV/hdgfxnUmEvmu0lAZvwt0zhj58l4K2XhtQU6u LuNfy4HvZBlXmUBpCyByx+AxQhy/5NIPOZ/DtnjGtiXr832uPaiIdBVFALKhICXy9ptj OVGxfHK8DdUlZOV4Kv7ooFuA7pE0YT8cFATzBk8ZDl7celFioGtVDmDQkcyVox44Fpf2 f5pcusD6ZL9qwPD8umAr1W/D+i3TQkbDEt9ZELrqrmOQICVTRgC+HQKRb7AQqmLs7JQk lN2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715190400; x=1715795200; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GPE5QkM3UVuJG2oSH/R/5VD41xXCvV77aOjIZTcxo54=; b=XLf5504jJQ2KVRwRpMB0nD2jrKZVN0/O8kZ+mkGBvUxPTs3WGbcBOLGzrMEe/0k7kf 1OpP7mbxqs5xD8JzOMywhKQ52k4ZjxkGdwuCK1djouNOYd4I1hZOvgv8NF3tc+KgjNf9 wsi3ovbnBeRq3KtX7uqNOhrd0meAqnZ8GIJ3UPnyOCPK+2NWvxyacAWtW8a0nLDewJy7 KA0VUX8j2GB6oD6yglogacD4WgvvcD6D630GB4zvYl9RzK9mpsygzNkLUtB8tRHkKfK8 50JE9QDswmBVv7ZRyVPAE5OGjo6yteGEbgvzbPdSl1jgCEhJ9ulJCFDJMbsk7SQEsmVf DoGg== X-Gm-Message-State: AOJu0YyMxqvCLHJENsxC/pnkcWnHmc1ZomlU+lp96o+l6ZQZIx6ulzxM Rk7KYCy7GsSXJzDS6SM5qmkoMS70DAL3AyLrzvuJCs6V/GelRjnPM71UelcqEJYxNPpLfi8M/Kw + X-Received: by 2002:ac2:4c9a:0:b0:51b:9254:91e2 with SMTP id 2adb3069b0e04-5217cd497f9mr1944854e87.55.1715190399963; Wed, 08 May 2024 10:46:39 -0700 (PDT) Received: from m1x-phil.lan (sar95-h02-176-184-10-250.dsl.sta.abo.bbox.fr. [176.184.10.250]) by smtp.gmail.com with ESMTPSA id t16-20020a170906609000b00a59d7505366sm3418640ejj.62.2024.05.08.10.46.39 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 08 May 2024 10:46:39 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?In=C3=A8s_Varhol?= <ines.varhol@telecom-paris.fr>, =?utf-8?q?P?= =?utf-8?q?hilippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL 16/26] hw/gpio: Handle clock migration in STM32L4x5 gpios Date: Wed, 8 May 2024 19:45:00 +0200 Message-ID: <20240508174510.60470-17-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240508174510.60470-1-philmd@linaro.org> References: <20240508174510.60470-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=philmd@linaro.org; helo=mail-lf1-x12c.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-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/26] block/qcow2-bitmap: Replace g_memdup() by g_memdup2()
|
expand
|
diff --git a/hw/gpio/stm32l4x5_gpio.c b/hw/gpio/stm32l4x5_gpio.c index 71bf5fddb2..30d8d6cba4 100644 --- a/hw/gpio/stm32l4x5_gpio.c +++ b/hw/gpio/stm32l4x5_gpio.c @@ -20,6 +20,7 @@ #include "qemu/log.h" #include "hw/gpio/stm32l4x5_gpio.h" #include "hw/irq.h" +#include "hw/clock.h" #include "hw/qdev-clock.h" #include "hw/qdev-properties.h" #include "qapi/visitor.h" @@ -426,8 +427,8 @@ static void stm32l4x5_gpio_realize(DeviceState *dev, Error **errp) static const VMStateDescription vmstate_stm32l4x5_gpio = { .name = TYPE_STM32L4X5_GPIO, - .version_id = 1, - .minimum_version_id = 1, + .version_id = 2, + .minimum_version_id = 2, .fields = (VMStateField[]){ VMSTATE_UINT32(moder, Stm32l4x5GpioState), VMSTATE_UINT32(otyper, Stm32l4x5GpioState), @@ -441,6 +442,7 @@ static const VMStateDescription vmstate_stm32l4x5_gpio = { VMSTATE_UINT32(ascr, Stm32l4x5GpioState), VMSTATE_UINT16(disconnected_pins, Stm32l4x5GpioState), VMSTATE_UINT16(pins_connected_high, Stm32l4x5GpioState), + VMSTATE_CLOCK(clk, Stm32l4x5GpioState), VMSTATE_END_OF_LIST() } };