Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp352931rwb; Sat, 17 Sep 2022 06:27:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM40Tfpj7S4cEWnS459LSlzNKZfFyUuu0hI/mxEEPoFeKsLgS1NtVkv4hcr77cYIHI5LOw3P X-Received: by 2002:a63:f90c:0:b0:438:de8e:3c9f with SMTP id h12-20020a63f90c000000b00438de8e3c9fmr8383724pgi.529.1663421251800; Sat, 17 Sep 2022 06:27:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663421251; cv=none; d=google.com; s=arc-20160816; b=HTl4/hAmQ1XAywmDVN6hOddcidK2TsfNQDM/dsgRfKfFv1vbTUPUWyLEcT/N/YwML1 rurDcbIVe4qR55YkhtVUusINYVO7s0bKxJRRqYXcf8vW4NQi8esrduIby5A2A1Izf42U dco9eI65exlx6dgkpuTvdZje64h3BjKI5g5H3g8B9QyKANmX1YoWmUiAnKUGD4mQ46GQ 5uIz8MrRwRQPL1L58KmaaaXcWjHN784lUhadx7ECZcWaYk/SHwXtv8j7ULDUYyz6NmrQ 4ngjhxjtc0QQGhtGCER+VrGybT/IZ2QRLeWlwXR35sUi0Jv5Mp28QRkjwqFj4rR70XNy tYNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nrePjWJEfo1bN1hzN7CYhPEEtXafH27RfEVwE+MenR0=; b=us8b3N3qwOrCWMNrUjhkdm8nnaksyVL3DSfXvaTwniAa4DgnvfozMS1s4RM2CU0fV0 zN2PzMAAdQtlJmPYvG0m8/NaLgPvVwhvESMiQzabjZMkRvq7KOOyRHAUZ8VwcvNO5emA gSWpDPacIg3y+pxkHTIt1hIfTFQI8pEs8aTLKTxjtWwtZn6cejULu2lP90HOMtEegkLk O/v9vLeeZ/6I3uzwqCZFeL/V0Bq77MTzOCyMY6Isdm0564zJe9t7cY/8Mw7QbPkFs4hD 7VJIpBy27krAhc2vHTGiX/5AVh3Pvl2WUQeBEDlfF7FC0OBeDwJZCOEPr9nQsWH9t8SF Sq6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=pR6oGpnr; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a636b06000000b004397a96d68fsi10523386pgc.167.2022.09.17.06.27.22; Sat, 17 Sep 2022 06:27:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=pR6oGpnr; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229567AbiIQNVl (ORCPT + 64 others); Sat, 17 Sep 2022 09:21:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbiIQNVj (ORCPT ); Sat, 17 Sep 2022 09:21:39 -0400 Received: from mx3.wp.pl (mx3.wp.pl [212.77.101.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1E732126F for ; Sat, 17 Sep 2022 06:21:37 -0700 (PDT) Received: (wp-smtpd smtp.wp.pl 22298 invoked from network); 17 Sep 2022 15:21:35 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1663420895; bh=nrePjWJEfo1bN1hzN7CYhPEEtXafH27RfEVwE+MenR0=; h=From:To:Cc:Subject; b=pR6oGpnrJvfDER2xYNSCER8y0dFDpAhoU4Fubpeq3MnKFEgLjTMt2uVfIebgu84Qa HoDrEKFyEjLiAVmCyHU61j8nKvdZh+gw50BaORVmsv4ijM0rwYjAeAS7fqPJONxFNY O5cAx8uFGdrvOF0wREzHHUxQ+VJRJpM2BDKPtMLQ= Received: from 89-64-7-128.dynamic.chello.pl (HELO localhost) (stf_xl@wp.pl@[89.64.7.128]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 17 Sep 2022 15:21:35 +0200 Date: Sat, 17 Sep 2022 15:21:34 +0200 From: Stanislaw Gruszka To: Daniel Golle Cc: linux-wireless@vger.kernel.org, Helmut Schaa , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Johannes Berg Subject: Re: [PATCH RESEND 01/15] rt2x00: define RF5592 in init_eeprom routine Message-ID: <20220917132134.GN17901@wp.pl> References: <20220917131052.GL17901@wp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220917131052.GL17901@wp.pl> X-WP-MailID: b958f9740d737c40509916147241a859 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [QbP0] X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sat, Sep 17, 2022 at 03:10:53PM +0200, Stanislaw Gruszka wrote: > On Sat, Sep 17, 2022 at 12:04:21AM +0100, Daniel Golle wrote: > > From: Tomislav Požega > > > > This patch fixes following crash on Linksys EA2750 during 5GHz wifi > > init: > > > > [ 7.955153] rt2800pci 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4 > > [ 7.962259] rt2800pci 0000:01:00.0: loaded eeprom from mtd device "Factory" > > [ 7.969435] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected > > [ 7.977348] ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0x0000 detected > > [ 7.985793] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device > > [ 7.993569] CPU 0 Unable to handle kernel paging request at virtual address 00000024, epc == 800c8f54, ra == 80249ff8 > > [ 8.004408] Oops[#1]: > > > > Signed-off-by: Tomislav Požega > > Please add your's signed-off-by and fix the changelog. Patch > fixes incorrect rf value encoded in eeprom, not a crash. IIRC > crash itself was caused by incorrect rt2x00->eeprom_file pointer, > happend when rt2800_init_eeprom() returned error. And should > be alredy fixed in openwrt tree. The crash was fixed by: https://patchwork.ozlabs.org/project/openwrt/patch/1551000198-30901-1-git-send-email-sgruszka@redhat.com/