Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6587830rdb; Tue, 2 Jan 2024 06:53:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFArcWXGbD7cTLeyxUyyiE/D6xNUGliK/glK/GGTNSLmeBAwpF0ouQvAZit1++ihLZNUvCN X-Received: by 2002:a17:906:f816:b0:a23:493a:d355 with SMTP id kh22-20020a170906f81600b00a23493ad355mr6589054ejb.27.1704207212783; Tue, 02 Jan 2024 06:53:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704207212; cv=none; d=google.com; s=arc-20160816; b=W375jZJB+jCwcrepHu84pnk0l0PtpFNKWK5IYPCf3ikWkeFhGHydW9O4v3vsj1e5bs qEAs6DMjY//uUVuOpgRZechXWorIs5VEVOXMBcppsNmkw7U9srnq5gzFDRUaNcbP/Ik/ PNTsZqwVX8Ch/pLv1b8iAtBG1YXQahu1vB6FXm1zklGf90uZ7gHcij+8dyBAummTWN/4 ShDD2stHVThe6VY67UUkNLluA7HlKtOPpdkBvSo57ZyDZUZb5MKUlp/+si3Vqe59UZjj /Lg1V9gC/jEAsfiE2YWu4/QbhpuFvwZAtv1vyJLnrUFDU2WRsXShqMXP0H1icEYaNHTC Lfvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pXU9XeU57YQ913fX7cKwCuk/V/qkP1LtEmfe0jdbvi4=; fh=hV9D1+fNV46H6eMl8/rNJ2rm2ftdf0+p2QjsP2T+2xQ=; b=WKk1PhFqdZSxINyrkWoUzrnw8e2A/btfO+Q1XwJ7f8jAypH1mR0eB5cOT0pvIfdxBv EE2pYciZ4Z+CHCaz/7zBkNBvRgEsqHM8NdA9NOSmHrA5k8OBxMCrtRy/9NvycY6oYsGO Ao4qj997j6nG2eIrD2Du7mtVKUxAjP8cVEqslUT/+WX8SYQ9PTnef16M3iEyQvGf6pUI l95gcwrYRnp1bsDxZKAveWKO3c90RAswgwMTUlp7r1mmd0JtNU2OGud8lGXwLasqhi61 3nvbWtz+YslFmxBmbTm+CJrAFmT4a3Rl4TFKdjNtuOFCkoo4bHbqSu7LCfk9Uwwf5Yzt Jx4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U9Kot7xB; spf=pass (google.com: domain of linux-kernel+bounces-14513-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14513-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ew18-20020a170907951200b00a2362e51ca5si10320937ejc.266.2024.01.02.06.53.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 06:53:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14513-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U9Kot7xB; spf=pass (google.com: domain of linux-kernel+bounces-14513-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14513-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 71B861F22C74 for ; Tue, 2 Jan 2024 14:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B482012E69; Tue, 2 Jan 2024 14:53:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U9Kot7xB" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD96A12E55; Tue, 2 Jan 2024 14:53:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A473EC433C8; Tue, 2 Jan 2024 14:53:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704207201; bh=33py32HipQADVMip2QWDvskvo4ArE+O9uBBmaumLfiY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U9Kot7xBJ+tffPDF2Uq3v1XI+nGy2eUAWOpn4y8nL9vnMOUEOx1xZ74j/PwQFV2xk HdZwBzfSSAIKpG5mlPQTWHhmfa4u4U2m3eeXCDACaCDk21Q+axko7rhR5gjZO1kLrL 0WVp/stC/NEtPgZTE6om7EWBaDttRk8HLkCyqebdjKBXWvOae431bqSrBteisYnq7/ 05cL3O/gmcD8jwlHnaT/z8SsUR0jUWX5izW1RoFOiBPJfVa4VUK4v8c7ehYwF8BAbx p3tFIucCeWupZ8yhu6Xo0CIH8eiG5mivO3ccyPepCNRFfggRU3QqSsJ2Ex679D2BXT JFMQGgB3FeYpw== Received: (nullmailer pid 2821843 invoked by uid 1000); Tue, 02 Jan 2024 14:53:17 -0000 Date: Tue, 2 Jan 2024 07:53:17 -0700 From: Rob Herring To: Alexander Graf Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-mm@kvack.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kexec@lists.infradead.org, linux-doc@vger.kernel.org, x86@kernel.org, Eric Biederman , "H. Peter Anvin" , Andy Lutomirski , Peter Zijlstra , Steven Rostedt , Andrew Morton , Mark Rutland , Tom Lendacky , Ashish Kalra , James Gowans , Stanislav Kinsburskii , arnd@arndb.de, pbonzini@redhat.com, madvenka@linux.microsoft.com, Anthony Yznaga , Usama Arif , David Woodhouse , Benjamin Herrenschmidt Subject: Re: [PATCH v2 17/17] devicetree: Add bindings for ftrace KHO Message-ID: <20240102145317.GA2815776-robh@kernel.org> References: <20231222193607.15474-1-graf@amazon.com> <20231222195144.24532-1-graf@amazon.com> <20231222195144.24532-12-graf@amazon.com> <39a33f9b-0290-428d-ab1f-f90856cdb31d@kernel.org> <34e78a84-a29d-4b01-a860-cac3959f6cb6@amazon.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34e78a84-a29d-4b01-a860-cac3959f6cb6@amazon.com> On Sun, Dec 24, 2023 at 12:20:17AM +0100, Alexander Graf wrote: > Hi Krzysztof! > > Thanks a lot for the fast review! > > On 23.12.23 15:30, Krzysztof Kozlowski wrote: > > On 22/12/2023 20:51, Alexander Graf wrote: > > > With ftrace in KHO, we are creating an ABI between old kernel and new > > > kernel about the state that they transfer. To ensure that we document > > > that state and catch any breaking change, let's add its schema to the > > > common devicetree bindings. This way, we can quickly reason about the > > > state that gets passed. > > Please use scripts/get_maintainers.pl to get a list of necessary people > > and lists to CC (and consider --no-git-fallback argument). It might > > happen, that command when run on an older kernel, gives you outdated > > entries. Therefore please be sure you base your patches on recent Linux > > kernel. [...] > > > > > + mem = < 0x101000000ULL 0x38ULL 0x101000100ULL 0x1000ULL 0x101000038ULL 0x38ULL 0x101002000ULL 0x1000ULL>; > > ? Do you see any of such syntax in DTS? > > > I was trying to make it easy to reason to readers about 64bit numbers - and > then potentially extend dtc to consume that new syntax. KHO DTs are > native/little endian, so dtc already has some difficulties interpreting it > which I'll need to fix up with patches to it eventually :). I'll change it > to something that looks more 32bit'y for now. "/bits/ 64 <0x0 ...>" is what you are looking for. Rob