Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp207001lqp; Tue, 11 Jun 2024 01:49:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTDV2meB8oJOulUuDWMOrbNhDTOw96XA+dwwksJSuKGef3oFYL38mrxp5ibMw/BArd/EYalqYNd8pfurwnbY7QwdoFENU4Ypt1mjtuIQ== X-Google-Smtp-Source: AGHT+IHB3jt3l8sGOz5V0QirASMDMLhe6y31k+FgkClIPyT6uNOYiXxGZBRmrnRYteKl+NQOmiyD X-Received: by 2002:a05:6214:5c06:b0:6b0:825e:ab71 with SMTP id 6a1803df08f44-6b0825ead97mr41354276d6.1.1718095758367; Tue, 11 Jun 2024 01:49:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718095758; cv=pass; d=google.com; s=arc-20160816; b=rfOsECZrIPlmayOFJHnWwKi/flLaE3MnTfF5fKE+Gjc8UQAALCeCQ0I5qpg+4p/gup Z9/KpfDxZ/Kkp1TqvR+BOzP/tDnW2frsLqwbdaG7Z1borZzvXb1D+960qwS3/rje8/mJ 8aGMu3E0n7JaOF5MtdUx4gLa5gKUhmuS+LDMkFm4nibEVM4dg3JUARy2sdNyNAaTwQLz BDrsHhNTLJr2Y4lYFNelkJYKB8v6fy4w8yHJlvoIisuoDYTqzMSb1kiqDV1fBInUUVg5 ujlIKSa64dE6PtF9mLmEvuml84hNjnW6mYlqf7ZScLWRxLfjCJJDkAjdn5R/46fZpk1r 46WA== ARC-Message-Signature: i=2; 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; bh=YHZuBHvH5CV9o9C5pgLYkcuG179D0HR46avZiTCOhuY=; fh=6gC9iCNnSzJeRBY2LIyOCXvrgtwhtmXMM90HBst6gl0=; b=WgRdZ/9f9pr3/3Ij290aB8NfgGEDiAtB52HBR1pw16HKW1JSJCo0NqeSpl/GWIHywu Rinb4DdiwiSFjiWbVr2yPXA/1Tc6uNRPxxvpT1wPniEozk5M6t2vMAf6V35RfUSue4OR jowxfwKPNNOrKNYg9cv/dmC2opWO0SNnUvK/Rpt8jHhaWCnXsGYC/vT0sKxzZgtmykRM KIM4VmK2BJWbM82SmryOqhXXUA+YdBeJmBblBjwZmXZBjFOMMRfdl70iMUURwLY+x8/y MN32j28QFDiYPQg1DZYtXG5HXnC6GcWHuesNGhnG44fcs+pKv6kpQKSw5iXoTkWpkJ/q N8Kg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-209505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209505-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b08286eb55si32768966d6.499.2024.06.11.01.49.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 01:49:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-209505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209505-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1B0A81C225A9 for ; Tue, 11 Jun 2024 08:49:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E32B417557C; Tue, 11 Jun 2024 08:49:12 +0000 (UTC) Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B72E9171E74; Tue, 11 Jun 2024 08:49:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.175.24.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718095752; cv=none; b=UuNdQkRmrDZOldIWtfknMGhp8uzwS42Yz0hDYbYF0eyoWByM7fiAKef4TClDjSxclxgDSGcvmZ4vAyXvD4W505P94KhTxQ0utQAGek0sW4FJGS8TCkHQ0ekYwGQGu9LZ+WwQhz4QjjqbduE7noErDsyRD06uHX4yyrDFAF5Hlig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718095752; c=relaxed/simple; bh=bhCKque7beYQO0j3fDOM4F/fSC8VkuX47NUftzng1xE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mDO4/MNIdXrLFTliMwJKp21KRAI7NkZl34w62qJoCsrO0nuCacilfgbg6YZ7pOzjHLXLN+juNPa1zL5edt8R+OOyADPK/uDX7drMxxHpge+2E8hivw3ZgdZAR2KrrkMpHsuQOEpb3s45Np4BUHpPo5sEKtabyzr3Qgl5iPAFtB4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.client-ip=193.175.24.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1sGxBU-0000Nk-00; Tue, 11 Jun 2024 10:48:52 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id D7606C07F6; Tue, 11 Jun 2024 10:45:37 +0200 (CEST) Date: Tue, 11 Jun 2024 10:45:37 +0200 From: Thomas Bogendoerfer To: Christian Marangi Cc: Hauke Mehrtens , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 1/4] mips: bmips: rework and cache CBR addr handling Message-ID: References: <20240511130349.23409-1-ansuelsmth@gmail.com> <20240511130349.23409-2-ansuelsmth@gmail.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: <20240511130349.23409-2-ansuelsmth@gmail.com> On Sat, May 11, 2024 at 03:03:45PM +0200, Christian Marangi wrote: > diff --git a/arch/mips/bcm47xx/prom.c b/arch/mips/bcm47xx/prom.c > index 99a1ba5394e0..49fe4c535161 100644 > --- a/arch/mips/bcm47xx/prom.c > +++ b/arch/mips/bcm47xx/prom.c > @@ -109,6 +109,8 @@ static __init void prom_init_mem(void) > > void __init prom_init(void) > { > + /* Cache CBR addr before CPU/DMA setup */ > + bmips_cbr_addr = BMIPS_GET_CBR(); > prom_init_mem(); > setup_8250_early_printk_port(CKSEG1ADDR(BCM47XX_SERIAL_ADDR), 0, 0); > } doesn't compile for me, probably missing and #include Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]