Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2459503lqo; Mon, 20 May 2024 06:42:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYknYHEHnbVYkMwOHkuNZDjrDjScn+eVU+6qtstgzoB8DxRGdAvyy3Tr/nM/XMqRrSGuo3ZVBi16SR61KHG4X2IKy6DN5+ErDYm9wDoQ== X-Google-Smtp-Source: AGHT+IE3EPsD1gTgIvRoFIYcAH36wDhACys5CD94paMCfhMRwSN0JjS23HkuS+OPybLVv3svw7g8 X-Received: by 2002:a05:6a21:99aa:b0:1af:cc48:3e25 with SMTP id adf61e73a8af0-1afde0af471mr30950937637.10.1716212566012; Mon, 20 May 2024 06:42:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716212566; cv=pass; d=google.com; s=arc-20160816; b=QNVlCdIM/jKmhN+T7x3ed3Q/SjnLM65OzeawVQ0KT7ISEP6GUMY9OFJBDkt4CzNdf6 nGS3icqVHL3Bardb77MN4j0zAEDsFEx+UQPcCzDLYj6MISWWXA1a5h5DnyYit27Ro1hY mrGJbcauh8Fq0cM/8Z4hTEwZawOT6moEIJE473sewCZwgft4ggV8CJndYxEKnMDHOaVw TFiP2+CKAVExWsohAOBM+4RlwPbiBzSGxWjQ1NBqtxMFm6EoNyrRcNj9Gphsa4zieUWD a9Oii5kld8VvdhboLqQab2xIt0phdEJ05x8zuWivuj9WhsrOiYjAzQvJdQaTj/lx/f3h qpfg== 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:date:dkim-signature; bh=GgIHxPkfIqu3jiSSto02RWnKkf1y+ggjPEgehOTqsBM=; fh=z8AljQM1h3zGvJC6rD6C/DvdsIXcBUwx8yVaNcQrqJo=; b=Smji70cweihNm4NfSA4GP5/sqCitNHDNiQ/W+NbgfKqw5kuuZOQjzkUkyv08ObBYhO qoYpDWIuINsaWhBI/9o47j/YOeGnSRDVFF22Go55FpuChb+Agb5UITA+FEnGfjWmgDIU eXNvJ4lF1mtVmIUmiZPKG920rDX78fcS14jfncG9Pex9x3ITs/EQGnvzeUMQbkSXGCoK SGcx/Z0CRNkwm3rNQ0AnsrzCMbHG0ZAITT+cqWV03AbiBA9MDWroQABYaBJxCrjQknyV Sv64yI0J6h/SttNBI51SrAuQPbuEVD9GJJfBmMlda4CuenOu9nGfTpjAFc64HezKrP15 9u6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=dFQrREXY; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-183801-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f69a6e8beesi4895060b3a.118.2024.05.20.06.42.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 06:42:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183801-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=dFQrREXY; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-183801-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 9FCC2282BDF for ; Mon, 20 May 2024 13:41:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1953C13666F; Mon, 20 May 2024 13:41:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="dFQrREXY" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 ABCAA54789; Mon, 20 May 2024 13:41:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716212497; cv=none; b=h8vJ/eB6FqgOlaZ9Sd8szV7QRRuefh46fdlgt+U9l4S7QakPdLtiWrWr52JFXdQYy7VrP3GGirNEGjT6qkoFKtv55Uv24iwhrIQWR5KkF0XAEAPfOqQnr9T6WvKMB17mTxIusxSUNPwLl9k80G40slWLH1jbyM6hvv5NWXxKDGQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716212497; c=relaxed/simple; bh=tDiANetDoW1pQLr/KuXUjU82Zacm1RZP8bbd93enBmw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Oom3q+9BUtjhj80I2ihIfbAKX8cyQV079d1LW6NkMbYmeIJHe1lwmgPKknU5UtA2611F8aP8Bhsvv42xDkjLDU6v7pPaSVrHY/lWoUq9Cae6amgK8U4VUmCkrWov3JCh9OvL4whdOFp9t/e+e1/qQZHsPOatP3kzL3TCyHXrPL0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=dFQrREXY; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=GgIHxPkfIqu3jiSSto02RWnKkf1y+ggjPEgehOTqsBM=; b=dF QrREXY6vZiR7rSNZCz+DDVvWrxiUt1oPG78n7yje788+FHEnXJ8BmFIV88pJ3EShJ75hMA3r3TLPR g/B/4O20JEgiWctoXWmIif9WSIQ19NJQCr+vsSkqZ7w/ZOn5oc6QB0iG6OrImNMEQMDgbMHJZYtVQ UdZWtpTuGv2TuzE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1s93Gc-00FhSS-9z; Mon, 20 May 2024 15:41:30 +0200 Date: Mon, 20 May 2024 15:41:30 +0200 From: Andrew Lunn To: grygorii tertychnyi Cc: Markus Elfring , Grygorii Tertychnyi , bsp-development.geo@leica-geosystems.com, linux-i2c@vger.kernel.org, kernel-janitors@vger.kernel.org, Peter Korsgaard , Thomas Gleixner , LKML Subject: Re: [PATCH] i2c: ocores: set IACK bit after core is enabled Message-ID: References: <20240517191000.11390-1-grygorii.tertychnyi@leica-geosystems.com> <6eee1069-81ae-495a-850f-7f526006db8b@web.de> 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: On Mon, May 20, 2024 at 03:30:43PM +0200, grygorii tertychnyi wrote: > On Sun, May 19, 2024 at 7:25 AM Markus Elfring wrote: > > > > … > > > Sometimes it causes failure for the very first message transfer, … > > > > Does such an information indicate the need for the tag “Fixes”? > > I'm not sure: the original initialization order was introduced by the > very first commit > 18f98b1e3147 ("[PATCH] i2c: New bus driver for the OpenCores I2C controller"). https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html It fixes a problem like an oops, a hang, data corruption, a real security issue, a hardware quirk, a build error (but not for things marked CONFIG_BROKEN), or some “oh, that’s not good” issue. Your description of the very first message transfer failing sounds like a data corruption? Using the commit which adds the driver is also fine, some bugs have been there all the time. Remember to add a Cc: stable@vger.kernel.org Andrew