From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 343B233070 for ; Wed, 15 Nov 2023 14:59:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="DdTd3LI+" Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25F5FA6 for ; Wed, 15 Nov 2023 06:59:06 -0800 (PST) Received: by mail-vk1-xa2c.google.com with SMTP id 71dfb90a1353d-4ac985ea4bbso3002253e0c.2 for ; Wed, 15 Nov 2023 06:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1700060345; x=1700665145; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D3OrBniBax6aBFZKFMUfvMbREKJHYn5D4TcXhxSLl7M=; b=DdTd3LI+Yn65C+0h4rKSKCDaFeW8m7PPrmz1QPKfI3PEAZUKENGq+zi3oQJhGboMnd q2Auljshyc8h1RxhcDkSdFPxfFDB9hoN+GKTKrULuNnxjQ8qG9vHRFiglK+rklRjUa/k YvbARqaWQfNYxJKP3mOqcap/C1a22F6j6wehIMAAh1J209JMG1aOIrhtUx8d+26VDW1I 9GYkNYWqTA3Er+bTOjYXGf86eIN6sWjycZFf7mbQI+x657s+phhzzwDMmVa/YTgNxd3d Wy5V3S6GEqu2vMIA5iaTxtnEw78ZE8Ni2AIrlcPO36Zec1SBLp6feJRAzlUpd9N2gzWM 4esg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700060345; x=1700665145; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D3OrBniBax6aBFZKFMUfvMbREKJHYn5D4TcXhxSLl7M=; b=AMkXvE42vwSk0e7++CKyHceVx6L+72K4WzKXcOTVjxI/o6x8AuwsyL+pJ0/m0Eq0LL A13qTayMgGc8Ha8MCbFh3SxPxpH/JUZj6jGCypcjVMhW/+5rVN4jWcHfH/pEOWv3LNd+ S62EnUPfb+ij/fybvBiWjYsUEY782eWRjD7+KybKjQJpsLHJm4t309IABn3ujOdwpns8 w8MYsGuu0Ji4WPjJh0LEEp3NCl1fWcT8HmmkW4+4mII61Pyt6Vgle82V75PPkdFFamTx /i06fmelJExv/s+mNOQrrbucJEHyY/4C6L7r5sJTd+QCR3zdb8LXbiWVDaFvmrnij2aB 0wqA== X-Gm-Message-State: AOJu0YzKhshJx91m/5EQE76Rx4VQG9/RdQWGELjALkKUizKgaYH46w9b VtncsFEFOFTZI2THYv+Jn6V/oI/rCBAYZSa6M6w22A== X-Google-Smtp-Source: AGHT+IHtSbrAOce7kh6Al+4OKo3Q8n54AV6TLGvDzbUXO/PGYI9Ce7LXQovvwPec+z3aHpZOCddDdLn/i88HYPXTykc= X-Received: by 2002:ac5:c978:0:b0:4ab:fbff:a811 with SMTP id t24-20020ac5c978000000b004abfbffa811mr11781567vkm.14.1700060345256; Wed, 15 Nov 2023 06:59:05 -0800 (PST) Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231025184259.250588-1-andriy.shevchenko@linux.intel.com> <20231025184259.250588-2-andriy.shevchenko@linux.intel.com> <2023102624-moonshine-duller-3043@gregkh> In-Reply-To: From: Bartosz Golaszewski Date: Wed, 15 Nov 2023 15:58:54 +0100 Message-ID: Subject: Re: [PATCH v1 1/3] device property: Implement device_is_big_endian() To: Andy Shevchenko , Greg Kroah-Hartman Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Linus Walleij , Daniel Scally , Heikki Krogerus , Sakari Ailus , "Rafael J. Wysocki" , Rob Herring Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Nov 3, 2023 at 10:08=E2=80=AFAM Bartosz Golaszewski = wrote: > > On Thu, Nov 2, 2023 at 4:33=E2=80=AFPM Andy Shevchenko > wrote: > > > > On Thu, Oct 26, 2023 at 03:27:30PM +0300, Andy Shevchenko wrote: > > > On Thu, Oct 26, 2023 at 07:25:35AM +0200, Greg Kroah-Hartman wrote: > > > > On Wed, Oct 25, 2023 at 09:42:57PM +0300, Andy Shevchenko wrote: > > > > > Some users want to use the struct device pointer to see if the > > > > > device is big endian in terms of Open Firmware specifications, > > > > > i.e. if it has a "big-endian" property, or if the kernel was > > > > > compiled for BE *and* the device has a "native-endian" property. > > > > > > > > > > Provide inline helper for the users. > > > > > > > > Acked-by: Greg Kroah-Hartman > > > > > > Thank you, Greg. > > > > > > Bart, would it be still possible to take this into next? > > > I would like to have at least this patch applied (with the first user= ) > > > to allow conversion of others (I have some more users of new API). > > > > Okay, seems we missed v6.7 with this, can you then prepare an immutable > > branch / tag with this, so other maintainers can pull in case it's need= ed? > > (I have something against tty already and perhaps something else, let's > > see.) > > > > It arrived too late in the cycle, I needed to send my PR earlier this > time as I was OoO this week. > > Bart Greg, will you take this patch through your tree and provide me with an immutable tag for this cycle? Bart