Received: by 2002:a17:907:d043:b0:9d0:bf65:29fa with SMTP id vb3csp1862366ejc; Mon, 30 Oct 2023 06:19:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFzPFrrWsWlwDRpzFOn9ua2sVu/lSeSJicCw9/djTY5ap6jb91xhqTwDH0M+avSMwstVQDE X-Received: by 2002:a05:622a:7:b0:41e:24f6:d4d3 with SMTP id x7-20020a05622a000700b0041e24f6d4d3mr11131442qtw.58.1698671991117; Mon, 30 Oct 2023 06:19:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698671991; cv=none; d=google.com; s=arc-20160816; b=ABdFBXmJX9ISEmxXl3JXcQKS79pxYFyTTSXaW9OQXv41NkfTw2Lec1r3wy+1Zeyg+Y WxV3H81KWd6gmVF+gNm+BZJi6ZaarWC10bURtfwwZfeD3haOupHR/drqscE+m+dT9Xnx QNtF235suzdlgmsDvPNHQPujA8waBoU2zzewA5YwMoJ66kEvWjDxBpwA1jhjI+ZVe2lx e22Ked2hNbG8wt1lna9QXVvIm15UpUi4yOsxRXp8sKULNVwKylWUFjwhisgw+LJ6ZDAb 0RiYgz4s6wHW8p0N63dAP38VJjHJIKYLUz2isdViambFHlY4Y/3n5NJNjMWxd7nqJdyF phSw== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=RyyPuK+FAJdGXmTlaXtkH2FOXEs442gdHVrmmw4EflQ=; fh=PpZ1CCXoZMh/DRvZh+FxXhmYvb7cgaexUeWdx5nsuRU=; b=R8aQWBup+euqJoqCdZLQDqmD6NpQghL7x+jaIIpXGOR+joT4v99/NDReDG2BaIL14Q k774bWvbJy8Qd8WXBVGG4m6ARR1nXs2H/Xs4afZS59WhuTBwu9NL//CYloQWS53jrEEH YTDh3QTx//8UUiupPAA/jhCxUOoF8sJpJBMM2EkofUYTtuUYVLPrmEYvfIoYdJ/urdYV 2O9H+qW3AujZ+YVsym8nkn13i+FVDXwIuLcRddkXf6d7kvHChGs1J+7tNMVFpt04GQSU 5/vd0EqoS69mdCZxFARa2QUHjo1GlG6v3lB1AOJ5XJFkVMSZ45eXSv+IEQXrNuElAsIo t+Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HUT/ZDlI"; 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 j15-20020a05622a038f00b0040fd9f98527si5590114qtx.754.2023.10.30.06.19.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Oct 2023 06:19:51 -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="HUT/ZDlI"; 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 1qxSAq-0005Hn-KJ; Mon, 30 Oct 2023 09:19:20 -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 1qxSAp-0005H9-3u for qemu-arm@nongnu.org; Mon, 30 Oct 2023 09:19:19 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxSAn-0002Ja-Fj for qemu-arm@nongnu.org; Mon, 30 Oct 2023 09:19:18 -0400 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-5082a932bdeso4413705e87.3 for ; Mon, 30 Oct 2023 06:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698671955; x=1699276755; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=RyyPuK+FAJdGXmTlaXtkH2FOXEs442gdHVrmmw4EflQ=; b=HUT/ZDlIM3YwHuFJv0ncwiT7r6whl8z5bfPV68ohY2kezlXYrnw76Cz4vWIycC7DU0 GE4aikad2OuTnzrhE7DfNBnnIGRkxX+Ed/bBOOJjk3yRbHF1hUjYuSTaWB4mshr04Saj nAt65nhQtt7iCfQOgW2op1PEXOfl99gaJpK9+7XIXhJpr6ZM5wxobmirNNRMNivspDY6 B4bkzvCYMPZwoLn00q/HE+fVopQKmbbb8aCVVvX2ZZnr60ZooOryXGcQhzNTJJToAwvy N9/wCG/FhmbnUHQJqTybQ4jBoMO4vZZ20g2XVEoylfbegWKI8XVV9hbAaM5+74Hrpl15 EnaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698671955; x=1699276755; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RyyPuK+FAJdGXmTlaXtkH2FOXEs442gdHVrmmw4EflQ=; b=Ctyke0k4d1gWGe9LJ4tWjzmehrhsoVTvH/sCpmOfHfeeZUs5Z1XFmVX0ONPt4GPZ6c drIzOMTjqdn19lyFQS9F4SfFDxBJjbeeo7R2wqYu1F2DE6qgvtet/jr3pyGs9JFxMz0u nyEd5QScqqpwfRY4dmHKeEwRS5ZqOemcMwmarvWqKNwwYv3DrA4xnVEenBCV1ddoh81A wKnRqW/a2GQHkgAP4omBGkIoUaE1/psKMr6x1wYyK6a4kjlo6gLoK0sGXPfbUsp9DYDB o5AzHHjsOs8tjz6geB6SlN7n1WeyHTJfy3OWQwveWK2FkNI48CwQWJ9Tf1/W+204/PZ4 JUpA== X-Gm-Message-State: AOJu0YytKbIwayCt0v+QmTHltwq8u1RDkjiBIxy/RO2dIhrYCK1Qcp5H 9PeZPin+6LBLURGJQfbx0CF2Sg== X-Received: by 2002:ac2:53ab:0:b0:507:ce2f:8f0c with SMTP id j11-20020ac253ab000000b00507ce2f8f0cmr7251488lfh.35.1698671955347; Mon, 30 Oct 2023 06:19:15 -0700 (PDT) Received: from [192.168.69.115] ([176.170.212.50]) by smtp.gmail.com with ESMTPSA id x11-20020adfffcb000000b003258934a4bcsm8258001wrs.42.2023.10.30.06.19.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Oct 2023 06:19:14 -0700 (PDT) Message-ID: <10dd79ff-e5d3-cf91-d7f5-acddfe99b1f6@linaro.org> Date: Mon, 30 Oct 2023 14:19:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 0/6] arm/stellaris: convert gamepad input device to qdev Content-Language: en-US To: Peter Maydell Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org References: <20231017122302.1692902-1-peter.maydell@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=philmd@linaro.org; helo=mail-lf1-x12f.google.com X-Spam_score_int: -64 X-Spam_score: -6.5 X-Spam_bar: ------ X-Spam_report: (-6.5 / 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, NICE_REPLY_A=-4.441, 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: KjLUt8nLJpIX On 30/10/23 12:29, Peter Maydell wrote: > On Mon, 30 Oct 2023 at 10:39, Philippe Mathieu-Daudé wrote: >> >> On 17/10/23 14:22, Peter Maydell wrote: >>> (I had this all ready to go before I went off on holiday two >>> weeks ago, except I forgot to actually *send* the emails...) >>> >>> This patchseries converts the stellaris board's gamepad input device >>> to qdev. This isn't a very important bit of conversion (I was just >>> looking for a small tail-end-of-the-week task), but it does reduce by >>> one the number of users of a couple of legacy APIs: vmstate_register() >>> and qemu_add_kbd_event_handler(). >>> >>> I've included Kevin's qdev_prop_set_array() patch here, because I >>> wanted an array property and it doesn't seem sensible to write it the >>> old way and have another thing that needs converting. I'm assuming >>> that by the time this patchset gets reviewed and committed that >>> one will already be upstream. >>> >>> thanks >>> -- PMM >>> >>> Kevin Wolf (1): >>> qdev: Add qdev_prop_set_array() >>> >>> Peter Maydell (5): >>> hw/input/stellaris_input: Rename to stellaris_gamepad >>> hw/input/stellaris_gamepad: Rename structs to our usual convention >>> hw/input/stellaris_gamepad: Remove StellarisGamepadButton struct >>> hw/input/stellaris_input: Convert to qdev >>> hw/input/stellaris_gamepad: Convert to qemu_input_handler_register() >> >> Tested-by: Philippe Mathieu-Daudé > > Thanks. I actually have a v2 of this ready but am waiting on a decision > about whether the qdev_prop_set_array() API is OK before I send it. Oh we just crossed then :) I'm happy with qdev_prop_set_array() for our needs but I don't think you are waiting for my particular input there, rather Kevin / Markus.