Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2071052lqt; Sun, 21 Apr 2024 23:46:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXI0GZi+SJrDn3MbMyjwqpmTYdJH0nK26r3nZ02RbtWjr5r0tDoOA/xwvHu2MPt/yQyB0hsL3yZgWu9wmz4Q+jW8OoG3rZ7qYB5yKKBrw== X-Google-Smtp-Source: AGHT+IEJtuikgjoZB0KFH9QnBNw61F4liII+2D/kxW56hJOLU63Wirkdr3WlcX2HXxbA4YSzc41w X-Received: by 2002:a17:906:d1d6:b0:a55:690d:de15 with SMTP id bs22-20020a170906d1d600b00a55690dde15mr5331399ejb.61.1713768364005; Sun, 21 Apr 2024 23:46:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713768363; cv=pass; d=google.com; s=arc-20160816; b=eW9jv/hvJ8DXal/OxWW1r+ey9sH5nGsFxl6rPODJcskJv+ysJbc9sgDm5GXqdvoGXj RGwfWXtyvlARNg/XjdPz9juIgLZjERfOqStxyVNHipYcS7uH2kUTZvAxadbMzed0Ae98 tbsAr+sdNAzjWa3pj8CAzGyBFk0Y6nLnlpE/R7kkpgnITGZSc0goYKHjNQpnW/074l7A mhS+Rrcs8zCRWom7Rbsm0vMl9Lz9Nx5D+aRpC1kE+wXPf2Pg2+lD37rdFmh7GEDtCE2k 0CjepIznGlIcqdXWwe1aPO5cA88PAHyzLwen+Sl9mubgkHp3BirTo41zxRZZsXljbkKX Kbdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=GhIyK0k38NfXA3SQgYdyxr+nopAq4gC1c596LtQxjg8=; fh=vQZU5r1jgK42C+9UPdPjVsDNVA4HAjisqK2cQYPgfqQ=; b=WTqI3xn09AwATjO/KwqyMDlm5AgQyXSoS6eVTUou3vQXoLTHCkhO9RqpzCYmsrqfTP u39ALLDt4UcFyiPGV6Lnb2qou7M6SDnRTtY480fvI/4vJXq4YDC4fI5BE5rfFQf6wJvn LO4ng8VfR3meg9Qd3ro/cZYtAH0+8MKtbkhwQlu1E2RmOJ2Xvg2CYlCRYeYIbqAyL2m7 hp6vErjCx7Cfvk2DAwE/pDUnsvXuYgCtI72LmxHFfBl/bzsquKm+G6ZKEK/6gUr0/lCp 5uh6xD5rxKd9o9fClGhc8o7IP23JScJ8gYyEg5JHoCxHatInikXnbzwxJ02uPnhQOgGR PPzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-152800-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152800-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h18-20020a1709060f5200b00a523b5c7e99si5279996ejj.467.2024.04.21.23.46.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Apr 2024 23:46:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152800-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-152800-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152800-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 93C4D1F216F6 for ; Mon, 22 Apr 2024 06:46:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6665D481DD; Mon, 22 Apr 2024 06:45:54 +0000 (UTC) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 48BD41F61C; Mon, 22 Apr 2024 06:45:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713768353; cv=none; b=NDOxH124baUycsFYDZfMn5LMH/XKCei0madf73VqFQhMdKSiJXpuG31FijecF0/T45Sd8T9nuGilGN3DJ1BaGHkYvG+w18T0spXeiPPQ+XK5+sChPXQKjKe5ZRjk+NiJDqEIwD3RGM9QlpYFN4rQJpv3HiiYiXFJFjsfJJ4rmAY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713768353; c=relaxed/simple; bh=55gYPbLVDIntV96sOLdLdGIt6h1AKDgfjZMY+knQ09Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MBTH0krRx5KaMeIJJaGmjDayvwHp7+yRfxaR0a7+iCQ31u/OMZlrvCzQ9GhNNq0vW3+MqCPq99titdMHtSd+N4ho5Kc5RcGodMaaZg6hKMynoSsqi6KABo8M/ptH/7Y15asL/46vXtCwBhjMC8QGcor7t8JRrjfnL2P7T+2sNyw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-571bddd74c1so3684125a12.0; Sun, 21 Apr 2024 23:45:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713768350; x=1714373150; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GhIyK0k38NfXA3SQgYdyxr+nopAq4gC1c596LtQxjg8=; b=ctGozYDCH0TaCJGcuh/aMGEFDabSRe4eTqFQU48J5DwUXO8f4XB7t8mu7f1ij3jAMi Y3BRbCuba0xV7I3nmYSxN9y3jBalIEKVAmP9PyuWhJ4xb6zF35s1MGjat9l/pNAUOfeA R+5yWHnkw5CvRvpP0uKaMCiW1bp6fNrl5OTfu8p+WZwYNnhWOPdikD/MCsxAt6OqvW4u 4NzbZZHzTkTnnHsFDqsCutwlFwpso4U6PkYs6N77TyltzXUF2wX5xeXG/ljduA3VatLY HwCTTo3ebGrdKurej6tLJLTUZYT32Sir7na7ySyL6wkHfpZFJtUqwQoMSK5vD1MuEo75 Vdsg== X-Forwarded-Encrypted: i=1; AJvYcCXMLJQSoL/+6wOhWO4V92cRX5qC2vtUoPmkkAA20fF9BF654U1mCBl6e9CzIw1x3V6tiINOmTzlO0oVuV5iqCYh8QBBaE6kSFHSu6qbWdTrpgBYyeT0zXxmnmOb0MStN6qdW4+ea0XYwpiZKYbfg/fL+lChwGba4pwVl2Ou7Mlm9UW1MIcl7dULJw== X-Gm-Message-State: AOJu0YzwWdjXhFyINGUJey7pfPojA9Bo/ZWdt2WnR8nndoEoi368lfNp laHGIpTWsfBtxyXRORDxkRLPeS4QYlT2EhRqLpV59aP32VL75Pqh X-Received: by 2002:a17:907:1b1e:b0:a55:ac3d:5871 with SMTP id mp30-20020a1709071b1e00b00a55ac3d5871mr2083265ejc.77.1713768350171; Sun, 21 Apr 2024 23:45:50 -0700 (PDT) Received: from ?IPV6:2a0b:e7c0:0:107::aaaa:69? ([2a0b:e7c0:0:107::aaaa:69]) by smtp.gmail.com with ESMTPSA id sa40-20020a1709076d2800b00a5255afc856sm5357362ejc.84.2024.04.21.23.45.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Apr 2024 23:45:49 -0700 (PDT) Message-ID: <6ef3422c-d931-4993-856d-c080b11d72d5@kernel.org> Date: Mon, 22 Apr 2024 08:45:48 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 12/15] tty: serial: switch from circ_buf to kfifo To: Anders Roxell , Marek Szyprowski Cc: gregkh@linuxfoundation.org, linux-amlogic@lists.infradead.org, "linux-arm-msm@vger.kernel.org" , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl References: <20240405060826.2521-1-jirislaby@kernel.org> <20240405060826.2521-13-jirislaby@kernel.org> <91ac609b-0fae-4856-a2a6-636908d7ad3c@samsung.com> Content-Language: en-US From: Jiri Slaby Autocrypt: addr=jirislaby@kernel.org; keydata= xsFNBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6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aWKkAjkkGAT7mD1Q5PiLr06Y/+Kzdr 90eUVneqM2TUQQbK+Kh7JwmGVrRGNqQrDk+gRNvKnGwFNeTkTKtJ0P8jYd7P1gZb9Fwj9YLx jhn/sVIhNmEBLBoI7PL+9fbILqJPHgAwW35rpnq4f/EYTykbk1sa13Tav6btJ+4QOgbcezWI wZ5w/JVfEJW9JXp3BFAVzRQ5nVrrLDAJZ8Y5ioWcm99JtSIIxXxt9FJaGc1Bgsi5K/+dyTKL wLMJgiBzbVx8G+fCJJ9YtlNOPWhbKPlrQ8+AY52Aagi9WNhe6XfJdh5g6ptiOILm330mkR4g W6nEgZVyIyTq3ekOuruftWL99qpP5zi+eNrMmLRQx9iecDNgFr342R9bTDlb1TLuRb+/tJ98 f/bIWIr0cqQmqQ33FgRhrG1+Xml6UXyJ2jExmlO8JljuOGeXYh6ZkIEyzqzffzBLXZCujlYQ DFXpyMNVJ2ZwPmX2mWEoYuaBU0JN7wM+/zWgOf2zRwhEuD3A2cO2PxoiIfyUEfB9SSmffaK/ S4xXoB6wvGENZ85Hg37C7WDNdaAt6Xh2uQIly5grkgvWppkNy4ZHxE+jeNsU7tg= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 17. 04. 24, 13:19, Anders Roxell wrote: >> I'm trying to run on two dragonboard devices db410c and db845c and both >>> fails to boot see the boot failure from db845c [1], linux-next tag: next-20240415. >>> I tried to apply the patch [2] (that you proposed in this thread) ontop of next-20240415. However, that didn't >>> help bootlog on db845c [3]. >> >> This is a different issue, which I've reported 2 days ago. See the >> following thread: >> >> https://lore.kernel.org/all/d3eb9f21-f3e1-43ec-bf41-984c6aa5cfc8@samsung.com/ > > Oh ok, I did the bisection on db845v, and that led me to this > patch 1788cf6a91d9 ("tty: serial: switch from circ_buf to kfifo") Could you re-test with the today's -next? In particular, with this commit: commit f70f95b485d78838ad28dbec804b986d11ad7bb0 Author: Jiri Slaby (SUSE) Date: Fri Apr 19 10:09:31 2024 +0200 serial: msm: check dma_map_sg() return value properly thanks, -- js suse labs