Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1967130pxb; Mon, 22 Feb 2021 16:16:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPsAr0CwIn8D6VOOFaE8gk/y7QwOCdmI36a1H9E4jtAtSdTqk28JEqwMyJ6wgDER+dJinn X-Received: by 2002:a17:907:76d6:: with SMTP id kf22mr17088492ejc.495.1614039384278; Mon, 22 Feb 2021 16:16:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614039384; cv=none; d=google.com; s=arc-20160816; b=FwpWFV2l9Ec3o+bkxL2eSK3G1scxCkQv1sGliDkIgtIyrUEet6FGlg+uWAUh8/z+AH BVTGl6HyogDEEHjRww7W+yqzKk24+3AFLjigazv5myBaMg44mm1hHhUSj3bh1Wl7mYaK LV3E6iJhlDKtvQ7lkbm2TehzGM0Btgn9ZunHr+HeZ8lwUkWTOe1kK6wIPEEp+mCvkSVl nGA0lDfuBj2ANrdDVoI8UHoW6Bqyu8XZmIjb50Du0bW1l9UxnAzQ0sBJMeZ5rx9KyfO2 6Np61auHdd5Natt6woyjoWJ1XCzXnu/pPD5UU//9srPZ+tqunNcF6tmkEPeFvS1+kTa3 9JBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=y7O9XvAPEA3zkMnIAxkh/irJoKwZNdlAHS+t5I0lRe0=; b=zA+Os3ijr/5LehtpeeTEW/VQwlGN6yGUMqP7M+nbNz2bzSdb3NdugmKYAp9uFc/S9O F6A3nN0yxOclcujXqrRL8O1QMhK6e20iQJl07KN7hPNM0gp3DWWsFm5B8CNfj83UEIrd BigR5oT2bWSMZ5LYSSJJ8pelawL6y+grawmBjS0QEhapvGlz3ShFfH6q+5wKbw/+F9KD hFB2snL5LL38KsVpg9lo8RYEiGSk9RY55IUSaiZxPYGASICulOB63fCZg/CJ0d3S04hh 9fR3mY7yyVL+m2zhvAesw3oE8MKR7gfcWh50OBKIVPxy0X72N5JFh43Rb3EsiewEpUxB SfOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=DFaLskWm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r1si4917679edq.605.2021.02.22.16.16.01; Mon, 22 Feb 2021 16:16:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=DFaLskWm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231840AbhBVX5y (ORCPT + 99 others); Mon, 22 Feb 2021 18:57:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231656AbhBVX5v (ORCPT ); Mon, 22 Feb 2021 18:57:51 -0500 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAF12C061786; Mon, 22 Feb 2021 15:57:10 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Dkzcg1GNRz9sCD; Tue, 23 Feb 2021 10:57:07 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1614038229; bh=U5lBCA5imuyW2behzsReiu6hPI8n+Ak13A6YUU800x4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DFaLskWmy/OS4jLTkkk904cz9Zy/OIMwybHJzqeApl7cO9HWUALQ/83LA2MPQWnkd ehbDOl1wn90NOocXeGnzn6Pk2HV3LYWaMtJLXQ0JgNd1pFJNlvzv2OZqvnrQaMWtYT Rf5isW2EZpj+qX/qYer8q4fKZ0DPcfwZUomYF1kD1ZLJM2UPhDh7WQGH/SJfd/ATpk DCix2kpNPs17MhyyOPJk4/+/E77/Ka8+QKauNZ9KPKcJkq2dzLtWws895kXzg4hMGA aqNG7NKRfVzP/KZYkvUcq16TsJFBLv4XYEWGMkjYxOEYFvSia71uOJxiMd47jcPU0H il8TbXv633qtQ== Date: Tue, 23 Feb 2021 10:57:06 +1100 From: Stephen Rothwell To: Michael Ellerman , PowerPC Cc: Mark Brown , Christophe Leroy , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: manual merge of the spi tree with the powerpc tree Message-ID: <20210223105706.1a57be06@canb.auug.org.au> In-Reply-To: <20210212152755.5c82563a@canb.auug.org.au> References: <20210212152755.5c82563a@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/NYDmyQxYEcZbJPIOnMi8qJp"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/NYDmyQxYEcZbJPIOnMi8qJp Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Stephen, On Fri, 12 Feb 2021 15:31:42 +1100 Stephen Rothwell = wrote: > > Hi all, >=20 > Today's linux-next merge of the spi tree got a conflict in: >=20 > drivers/spi/spi-mpc52xx.c >=20 > between commit: >=20 > e10656114d32 ("spi: mpc52xx: Avoid using get_tbl()") >=20 > from the powerpc tree and commit: >=20 > 258ea99fe25a ("spi: spi-mpc52xx: Use new structure for SPI transfer del= ays") >=20 > from the spi tree. >=20 > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. >=20 > diff --cc drivers/spi/spi-mpc52xx.c > index e6a30f232370,36f941500676..000000000000 > --- a/drivers/spi/spi-mpc52xx.c > +++ b/drivers/spi/spi-mpc52xx.c > @@@ -247,8 -247,10 +247,10 @@@ static int mpc52xx_spi_fsmstate_transfe > /* Is the transfer complete? */ > ms->len--; > if (ms->len =3D=3D 0) { > - ms->timestamp =3D get_tbl(); > + ms->timestamp =3D mftb(); > - ms->timestamp +=3D ms->transfer->delay_usecs * tb_ticks_per_usec; > + if (ms->transfer->delay.unit =3D=3D SPI_DELAY_UNIT_USECS) > + ms->timestamp +=3D ms->transfer->delay.value * > + tb_ticks_per_usec; > ms->state =3D mpc52xx_spi_fsmstate_wait; > return FSM_CONTINUE; > } This is now a conflict between the powerpc tree and Linus' tree. --=20 Cheers, Stephen Rothwell --Sig_/NYDmyQxYEcZbJPIOnMi8qJp Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmA0RNIACgkQAVBC80lX 0GxdFggAlfolbgn5bq51VTyZ+1tyiXa8aezsnmPSQvuwqiHkoa3ZPjBersgqLAul MH9DvEjqXpvRnFIqiDoeTmUA/tc4HYNncv+s/NrV+iBjwmtCoK5umm5kdwjgENGL nh5BnuIRG9mFSo/KKrHhhJYgJ1PwLC0uto5ou7fw7eLf5RqYlK/mx1Gl/kBWojgx NvxY8QE6iXyE+4pSaXo/rOR45n5VwrczgnKE8LsY79yNXfpYTPkQYoS/tGqAPh9K m3KcGO9Y2co27EO8YPw1KXNAhDW3k5uNCAqoapnnPKcKnx1zrDOxMhflo8XMNPU2 LvtNSsm091rgYgW4c9s0JYQTLphTtw== =GXwL -----END PGP SIGNATURE----- --Sig_/NYDmyQxYEcZbJPIOnMi8qJp--