From patchwork Fri Jun 26 10:27:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 279351 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95479C433DF for ; Fri, 26 Jun 2020 10:28:56 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5FA112070A for ; Fri, 26 Jun 2020 10:28:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="oiHVLx0a" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5FA112070A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:42106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jolbL-0007A1-Jw for qemu-devel@archiver.kernel.org; Fri, 26 Jun 2020 06:28:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jolaI-0005rM-Fs; Fri, 26 Jun 2020 06:27:50 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:37089) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jolaG-0001w6-UY; Fri, 26 Jun 2020 06:27:50 -0400 Received: by mail-wm1-x344.google.com with SMTP id o2so8883079wmh.2; Fri, 26 Jun 2020 03:27:48 -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:mime-version :content-transfer-encoding; bh=yMKB4/6egIXel+cyR6i/+SHKrBewfwc91aLTHBCpyyk=; b=oiHVLx0aZFKBCJeyX1+KNfQeLTy8dZz9gblBn+IJV54iohvrvemVmZm5VIEwDXmoTd GgJKxBh/tPhcLUY1OPCyC7u2xBtkuzWmcQ9BjuzgIP6tkINVZK+TU3H4MObk/D9X04py Tllb5pTvhP5z1IOtEmK+DTvxT8q+gY9d4Hmh8IHYx1jgkcwbVcARXZwsbgvCHX4wQKUV BpA9N2hdJml7b8Bz6MF+juPWPJTEHNvsun3zaRMdIp6S5D5VKqkVd4q+NbqODS1hXh2O yWMBWL8QcyxUf8weoPXMqtw/8mlxRuOBUCkXWDBBNtahcbxFOWjSeHMK6RMNxNflFSEn LQ+A== 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 :mime-version:content-transfer-encoding; bh=yMKB4/6egIXel+cyR6i/+SHKrBewfwc91aLTHBCpyyk=; b=OKugNU1NqwBx3M74lpnnuhFO5rtmcuzoFXo9vWdPDV4q5dfes8I99BUL/vnneBJVDm Ar1D2mU9n2q0SV196OdFN2KAPiBzJsy5Hb8YdKUo76JHO4/5in2W4HdcDUKU4KHVtP8q gwLZUhLHiYpCgxjWMffXh/CuuMjdVkUQmdfQ1ztkhe8sbxGkp+VC9DVDmDXIER0CMyJv SfYDMyxIHzo3UcwJUeaJe2moKXOnIMu2mTVhziaEFGRv6hNj/dTD53bP0Yp7GI+oGU1X 23+pXWM+y35gbL+BLvAUjTsUkskflArolrmhPEbwTKU7JKwjosXHKMLIWVTkklUQQhMb lkhg== X-Gm-Message-State: AOAM533L+kCM97nOG5laQUdJ2LO5hXJ8KQtxyvJ+l/5NguQ1pkX0mSB8 mrbkSFey5EBPxy1t9/dZ/B0= X-Google-Smtp-Source: ABdhPJznYoIg9DmNEsWlCv3Jb4AWCfVU0kQa7g5WkVrWxZ4O4n63umcLWAkduUdLl3JKqOUlD1YSpw== X-Received: by 2002:a1c:7d55:: with SMTP id y82mr408518wmc.72.1593167267030; Fri, 26 Jun 2020 03:27:47 -0700 (PDT) Received: from localhost.localdomain (1.red-83-51-162.dynamicip.rima-tde.net. [83.51.162.1]) by smtp.gmail.com with ESMTPSA id f13sm15598194wmb.33.2020.06.26.03.27.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 03:27:46 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Markus Armbruster , qemu-devel@nongnu.org Subject: [RFC PATCH 0/3] Use object_get_canonical_path_component to get child description Date: Fri, 26 Jun 2020 12:27:41 +0200 Message-Id: <20200626102744.15053-1-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::344; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x344.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Corey Minyard , Aleksandar Rikalo , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Jiaxun Yang , Aleksandar Markovic , qemu-ppc@nongnu.org, =?utf-8?q?C?= =?utf-8?q?=C3=A9dric_Le_Goater?= , Huacai Chen , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , Aurelien Jarno , David Gibson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This RFC is simply a proof-of-concept to see if I correctly understood Markus' suggestion, see the thread around: https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg08652.html Philippe Mathieu-Daudé (3): hw/i2c/smbus_eeprom: Set QOM parent hw/i2c/smbus_eeprom: Add description based on child name hw/i2c/smbus_eeprom: Trace reset() event include/hw/i2c/smbus_eeprom.h | 9 ++++++--- hw/i2c/smbus_eeprom.c | 18 +++++++++++++++--- hw/mips/fuloong2e.c | 2 +- hw/ppc/sam460ex.c | 2 +- hw/i2c/trace-events | 3 +++ 5 files changed, 26 insertions(+), 8 deletions(-)