Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1127590pxf; Fri, 12 Mar 2021 02:36:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyFzWzkJUCB+qs1TVeyi0UgnputGVhX4Q2zkGFsXml6Oeq/siQepjMA9hocEqmEkaKkV8o X-Received: by 2002:a17:906:5849:: with SMTP id h9mr7913323ejs.551.1615545374359; Fri, 12 Mar 2021 02:36:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615545374; cv=none; d=google.com; s=arc-20160816; b=ppAzvpVrpoz9rh0Zyl/fRnq8wgc6qmG3W0B35cP2hwyiGykwaxfjbODUdjSZqKogRb IJuMM9TCGHtvA1FAgPiGrJLsgkwVYZeS9MxX8cmJhwf38MTwd6swwhtS09REukeANqPw vETOaBI0nQs/xQVlcr4mtkq42vtq9+8UH98wvwo7/kS1a+Z6IT0Pg+Cuw8adNWdnDofd 6ySNXjZIEuko/RmRa9GggXXnH6wCui0dVsQpTRuRVbbUV+4nCXpivLF9Jp7DVS4nDjcX MM8aT/a7imrsraNpNvNPUzZWkKp+Kn9OB37NwHEjTVGMy7cqGo47qKxTDtIHI0WKHfFR V/qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=1DPz9hZ+8j7P3DSlXMsVG8lYHAO/uuZQckaec8Qu2ZM=; b=kbiyyBkx7zrDo4jfaqrf4q4sWxas0PkPkIdn0SQxYC093ji/7s+527yXZLFegKSMHY DRt1PWi4DuMZGiBQNgIhNdQL+BKe9GbXeUFN+c53X3/NZJ6st9GVn+GJICnZYpYZ4INv Axtswj8UgCmtfto9UXOb8eMBagy2Xdw2iCePqNzcZrpFKBFqCbNyoEFMi1auTdrFOsGF V5u9j0sRQpGmDaOXBSXy1RsbPNt01JboTLlWQ8BfOMDBIvowN5ilvBeZ1M2qlrfxE7aw G/lkLYwe7Tk31Z+q25TDtg14/bhDh+DEmdgFZ7a+9ZtGCXwk/p3coLl3nD4UE0Z2QI65 TINQ== ARC-Authentication-Results: i=1; mx.google.com; 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 v15si4188092edl.21.2021.03.12.02.35.52; Fri, 12 Mar 2021 02:36:14 -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; 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 S233559AbhCLKex (ORCPT + 99 others); Fri, 12 Mar 2021 05:34:53 -0500 Received: from elvis.franken.de ([193.175.24.41]:52580 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233201AbhCLKel (ORCPT ); Fri, 12 Mar 2021 05:34:41 -0500 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1lKf7u-0007WV-06; Fri, 12 Mar 2021 11:34:38 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 01657C1E4A; Fri, 12 Mar 2021 11:33:41 +0100 (CET) Date: Fri, 12 Mar 2021 11:33:41 +0100 From: Thomas Bogendoerfer To: Ilya Lipnitskiy Cc: John Crispin , linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: ralink: select WEAK_REORDERING_BEYOND_LLSC on MT7621 Message-ID: <20210312103341.GG7027@alpha.franken.de> References: <20210307190806.5211-1-ilya.lipnitskiy@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210307190806.5211-1-ilya.lipnitskiy@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 07, 2021 at 11:08:06AM -0800, Ilya Lipnitskiy wrote: > Upstream a long-standing OpenWrt patch for RALINK MT7621 SoC. Selecting > WEAK_REORDERING_BEYOND_LLSC fixes random kernel hangs. This bug and fix > was reported by MediaTek WCN division [0]. > > [0]: https://lists.infradead.org/pipermail/lede-commits/2017-August/004537.html I don't see the Mediatek WCN reporting there. Looking at the 1004K user manual I couldn't find a notice about such behaviour. So this looks more like a fix for papering over the real bug by just introducing a few more syncs. Could you please point me to where this is really documented ? Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]