Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2938490rdb; Tue, 13 Feb 2024 01:38:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUHDdX5wyY9i6HIKHr/4sKTFc24dGyFenBnZ5nk/slP1MP+ryIyKqVFcXOmHY5pah1rmEM81+6gf0uvrFCfUpQC4KbWdQ/elNCZFDJHvw== X-Google-Smtp-Source: AGHT+IGyFWla4RXU8VlD/HgrTReqnwkORIRlR12tG8Sm1zLfXnf8om9HNAwQq397EMtpEotyit4/ X-Received: by 2002:a05:6358:b11e:b0:175:76ec:89e3 with SMTP id a30-20020a056358b11e00b0017576ec89e3mr13925365rwo.27.1707817139240; Tue, 13 Feb 2024 01:38:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707817139; cv=pass; d=google.com; s=arc-20160816; b=PGYVSEgTxTEQPu8+QNnnLixLo7oDIbK+qPuXqSQtaAEhEk0f7kZABYy/DOBpBUqNzC pph9ZpVxGWsC3dgVaS0RTbkjDCFKlJjZ3eqwsdWGcHz/TlvFaE9JXXRbmMwMMS9kAA2T Ojxbm+Hkp4WsY09aP4gR+Hpulha92pcnRna2NB5K2uaTpyF27ZHsXcRzLeB08dzTjHif fA007e76tJAYuosaJfWkSFqeuY2hAi/bwgUVk0xIDNkag34NlW7Nq/rbvMtrh5rlpsOq kSpI3dr46qS7b66r/BvXJ8/NGD1zzk+WAsl2YXidOwXgnHLB6eULMr3O/s1JEG16yajw hDMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:dkim-signature:date; bh=yV0A0nmKsy8PYCSYjFf9mPfVvhSNUYlYMjymmNOi59E=; fh=VBgY3Nwt4QB5LDXZhx6xeQQv57ig2sJ70dSfHgs0WNo=; b=VAg/ay2RBONwaBu26iCqYadlEguYfs+htSULrdpaijFBqlBfVdIUpQsX3X24lKZMHG nL5C5lPrnPIfCJRj1CNUusz3n3zwmI0Y+epOmAoxzlgPCDdPQfXO9q6C4bLE57e5t4NE ksIKMlJOTaWbC7a1fjM8tse1OcQAzRHucges7tW3ao4y/9ShWbkGVr4+bW3fFW4L/BJr +ZmS5yVyndhWJB71QwZ1hJy6o3HzLp/rZu5mqgaOyL7HS9aMYPyZQWY/0Y20P3/BkcdB mTol1HKtQOXu/DSd4XRYlCykJxlgbojJS76kv+n/XTvLVLX05gShdtCvMtHdpViAhKFu /dPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marliere.net header.s=2024 header.b=pJ73C4Oi; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=marliere.net dmarc=pass fromdomain=marliere.net); spf=pass (google.com: domain of linux-kernel+bounces-63220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=marliere.net X-Forwarded-Encrypted: i=2; AJvYcCWukTrO4BEnEEX2fCfcZr9aPrzpDFJV7Y1nGpS45kqd+oH9I7yoHGoXB8IXnbvKllRukp1OKfwYKuLTfmGizjVVyj9rova99D86Pts/CQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j65-20020a638b44000000b005dc7c05e470si1736005pge.590.2024.02.13.01.38.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 01:38:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@marliere.net header.s=2024 header.b=pJ73C4Oi; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=marliere.net dmarc=pass fromdomain=marliere.net); spf=pass (google.com: domain of linux-kernel+bounces-63220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=marliere.net 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D737F28358F for ; Tue, 13 Feb 2024 09:38:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7FBE22F0A; Tue, 13 Feb 2024 09:36:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marliere.net header.i=@marliere.net header.b="pJ73C4Oi" Received: from mail-oa1-f45.google.com (mail-oa1-f45.google.com [209.85.160.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D08F622EF2 for ; Tue, 13 Feb 2024 09:36:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707816964; cv=none; b=FKV6C74kOhj1oOfFOJGuSZRFE5J9zZAQejyMEXHte7YQAKjrXDcvv4hqwcoAd0dgaCfMYN8vV06CcfJfcL7YySOTWKw+MSE8bfyU4syByin5hhXNJSOGSlt/AWgt+Fr1cgtAxzpvQ7Tu7EkVYnZ2ZXN35DmwT2T6liUrt4GArxs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707816964; c=relaxed/simple; bh=B6PIRF1YW9xcHfchIY+ftgkmT8yekQiVqKxqKwejxNo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EMj9F5rNunJVZFXKhG+OQ+r6XE5XYl78aXQOe8NZnARRiUjkZ45tMTFpa4tSpyEk07UGVXgwpKlD+O5qQ7O+Qn1DMARP6M442evj+ayqZLLzhLYXMkbUODkYy1cR1UKPLltL8zZdhZuFMrOs2nvXlB+h4v5GGMWSrS5I4wfhHE8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=marliere.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=marliere.net header.i=@marliere.net header.b=pJ73C4Oi; arc=none smtp.client-ip=209.85.160.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=marliere.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-21432e87455so2635629fac.1 for ; Tue, 13 Feb 2024 01:36:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707816962; x=1708421762; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from :dkim-signature:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=yV0A0nmKsy8PYCSYjFf9mPfVvhSNUYlYMjymmNOi59E=; b=KQFkPh/6E8licvd2q1x39PJCPGaCbHRcxkH71ik3To6czBLpUoy91SJLbL1XqKnMAr BlGsxswAi7I2lyrg8HMU6oBVORHZIFm78tOc/4MaFdNPwUc0rvJm1Cdo+MWNdPTN0u3e g4h+J6C856m5RaGRFFyyMeR88bQBftos2eafWE7NKIiv8M2WD/f6KO8AbHvJNY7JyMqj OM5zfgJkDtIIiU31OBwlx2yr4ziV0rybTx/Y8K3Gl0vOHxx3+Y2afVRwphS+LOq46sMd wbunfXztpFfpWgYjaOAo8ECR6Imn2ajSIwRKQjDyURUvp3d6CpFidyWsdFHBgodG3nIf pNPw== X-Forwarded-Encrypted: i=1; AJvYcCX8kbQLzV8JKlQpbDgbwJ1RNNln9vwImveYF5aLcMf0GGfuLucJGgS1bbCaP8grIuAUOhnuka6LINqhKdto1s9eYi3OB3mzdSjQTE2V X-Gm-Message-State: AOJu0Yx7He5ryBVcfr1wP/I2u0vDfpDwA+snOrEGmlasCXhbZaRdqdU5 1BMG01uDpCo2caQwFOPQEGReom0t2VGAdxRGLXQcLhK0uaJDNdIE X-Received: by 2002:a05:6870:f151:b0:214:dc31:a7b7 with SMTP id l17-20020a056870f15100b00214dc31a7b7mr9928943oac.53.1707816961694; Tue, 13 Feb 2024 01:36:01 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCU0i4xtDncFjiaK7ebXWKtgp4ly9pKcF9fdePIPWgOogcoPEm2clZQ0NtfYqe4a8vffssieCSQ8RvoDAONhD6sSlwTxuKxAU8ldG4JrYR95dwjogEOz+b2C3EADwJW3y+kRVcPvxltcouBB5yV+/u4xWt9UVwSAVR7Rew0Ai9hcL1+YD1yIdG9AkZDT7mVB6MZ/sDs1VNxi/7HtJfMHRAIpKqvhW2c9GtRA9QD683CDPjcdFB4mk3N9jVMSucsE/88/1ZKnsxd1nXOZmoVYgpU= Received: from mail.marliere.net ([24.199.118.162]) by smtp.gmail.com with ESMTPSA id 75-20020a63004e000000b005cd835182c5sm1900121pga.79.2024.02.13.01.36.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 01:36:01 -0800 (PST) Date: Tue, 13 Feb 2024 06:36:32 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marliere.net; s=2024; t=1707816959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yV0A0nmKsy8PYCSYjFf9mPfVvhSNUYlYMjymmNOi59E=; b=pJ73C4OixTpldSUovTEuAHoBhghosBc1RxXObdohFcUEXsZzdeug1EOAqXziyMfbmqfK3k 5PZxFCWzoIphrEHAe0vFzIB2aVyaBtWYBgHAiRXRxMdirgLSdJxN9oLRVGTmhCYTolPHxj HxkfzdQ3x0v2ve+pDbt4/ounJ48m76fv+X5drcqoVgh4YenV585mcYLPIV+W8WMS4UIy1p m+B4mZIHGhNk/MKo4kPnN/1KZjwH2yRkBf6i7XrUk+sAIE0AhpmTREGlg4sdR7ZcNK5wzf m3tu0bq1uzX7DUIsHQdD+wONmsWHm81pBj0LYpOuZ9VA1xaDQbqm0siKHvhCxA== Authentication-Results: ORIGINATING; auth=pass smtp.auth=ricardo@marliere.net smtp.mailfrom=ricardo@marliere.net From: "Ricardo B. Marliere" To: Christophe Leroy Cc: Michael Ellerman , Nicholas Piggin , "Aneesh Kumar K.V" , "Naveen N. Rao" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman Subject: Re: [PATCH v2 0/5] powerpc: struct bus_type cleanup Message-ID: References: <20240212-bus_cleanup-powerpc2-v2-0-8441b3f77827@marliere.net> <417a6531-b298-4d5c-aa4d-755bcef2f414@csgroup.eu> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <417a6531-b298-4d5c-aa4d-755bcef2f414@csgroup.eu> Hi Christophe, On 13 Feb 08:05, Christophe Leroy wrote: > Hi > > Le 12/02/2024 à 21:04, Ricardo B. Marliere a écrit : > > This series is part of an effort to cleanup the users of the driver > > core, as can be seen in many recent patches authored by Greg across the > > tree (e.g. [1]). Patch 1/5 is a prerequisite to 2/5, but the others have > > no dependency. They were built using bootlin's without warnings using > > powerpc64le-power8--glibc--stable-2023.11-1 toolchain. > > > > --- > > [1]: https://lore.kernel.org/lkml/?q=f%3Agregkh%40linuxfoundation.org+s%3A%22make%22+and+s%3A%22const%22 > > > > Cc: Greg Kroah-Hartman > > Signed-off-by: Ricardo B. Marliere > > > > --- > > Changes in v2: > > - Added a new patch to make macio_bus_type const. > > - Improved changelogs to remove the word "Now". > > - Fixed a build error: https://lore.kernel.org/oe-kbuild-all/202402102142.uphiKeqw-lkp@intel.com/ > > - Link to v1: https://lore.kernel.org/r/20240209-bus_cleanup-powerpc2-v1-0-79a56dcaebb1@marliere.net > > I see another series with the same name, does this v2 also superseeds it > ? https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=393570 Yes, please disregard the other one! Thank you, - Ricardo. > > Christophe > > > > > --- > > Ricardo B. Marliere (5): > > powerpc: vio: move device attributes into a new ifdef > > powerpc: vio: make vio_bus_type const > > powerpc: mpic: make mpic_subsys const > > powerpc: pmac: make macio_bus_type const > > powerpc: ibmebus: make ibmebus_bus_type const > > > > arch/powerpc/include/asm/ibmebus.h | 2 +- > > arch/powerpc/include/asm/macio.h | 2 +- > > arch/powerpc/include/asm/mpic.h | 2 +- > > arch/powerpc/include/asm/vio.h | 2 +- > > arch/powerpc/platforms/pseries/ibmebus.c | 4 +-- > > arch/powerpc/platforms/pseries/vio.c | 61 ++++++++++++++++++-------------- > > arch/powerpc/sysdev/mpic.c | 2 +- > > drivers/macintosh/macio_asic.c | 2 +- > > 8 files changed, 43 insertions(+), 34 deletions(-) > > --- > > base-commit: 41bccc98fb7931d63d03f326a746ac4d429c1dd3 > > change-id: 20240209-bus_cleanup-powerpc2-498426fccb98 > > > > Best regards,