Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5532268ybi; Tue, 30 Jul 2019 22:52:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyN5DCMxTZhmYGp17EV5SJNAVITGt8+0goVYBj0GvAm/BWzhZGMmd2K4T7l253Ugg5o3ZCY X-Received: by 2002:a63:2f44:: with SMTP id v65mr109982231pgv.185.1564552335262; Tue, 30 Jul 2019 22:52:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1564552335; cv=pass; d=google.com; s=arc-20160816; b=ICOsDIEIVG0S/O+ONeIPX/X2lEWBCBy234ZthR+Zonn8CkWzWtOJdEIYBJJV3zmeZ8 69J9eBRIjRtJZlpWaxPx9/gUnIbZFmbNn8B/UMBk+Iuccz3uBn22M2GKov1y2snTjaK0 uUfRHauGwR9ZY2T8QUZKtItcZcUbfv3kKwHFlCW/6CQKY0ceooBP3bVMn5fuKuz73Jrn 0ggLs0ent52B08r973q8iYSMENK0bt4QRkQ8naho0knlWjqszccC79kYnCGv0JRbTM0L AW7aE9mDEVuZJDo3IzvIBC0/mRCfBfS9Ph3eRF6yMPOLTie7MAzzOwCIL9EVhXmd3m4G bPdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:domainkey-signature; bh=f1AiZiVsptl5ZAaLcYQF8aeALD5VRcNwvYuOQvruVp8=; b=mi0iUTjt2ddLn7UwRQhvCZosayrVuLohO7FcU6IY04iLxUwYsSEDUPAfqNnovfF9g2 NMuIubqKM2HJzMrVV17UVh9wb0Ydc9fijqAqH2Oq00+jKIyylAUvZdDpwXZdZUa6rKep a0Cv5uMuqy3fQT94zkoo6muI7oSp5RuWYiOsfiGxES+M7kefqH85V4eleBUbf5rog3xP 6x296CcVr5szjf0ks9iWAaP7JRFBK3f8G/VqIH+hxku+7HOePnYf5WzUQJAQNVTrgfrv QSU1cfUf+GNC5j+jkVPI7MtZPrFlDYiLxBQNH9PTp1pATHqZkcQcnxyhWq6fUXtBraIu la/A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zoho.com header.s=zm2019 header.b=MXqEU0Hx; arc=pass (i=1 spf=pass spfdomain=zoho.com dkim=pass dkdomain=zoho.com dmarc=pass fromdomain=zoho.com>); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=zoho.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l36si5240517pgb.292.2019.07.30.22.52.00; Tue, 30 Jul 2019 22:52:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@zoho.com header.s=zm2019 header.b=MXqEU0Hx; arc=pass (i=1 spf=pass spfdomain=zoho.com dkim=pass dkdomain=zoho.com dmarc=pass fromdomain=zoho.com>); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=zoho.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728760AbfGaEkN (ORCPT + 99 others); Wed, 31 Jul 2019 00:40:13 -0400 Received: from sender-pp-o92.zoho.com ([135.84.80.237]:25415 "EHLO sender-pp-o92.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726439AbfGaEkN (ORCPT ); Wed, 31 Jul 2019 00:40:13 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1564547988; cv=none; d=zoho.com; s=zohoarc; b=TFGRHsdhbIX3vNwLki21PRSWOjjE0563G18eS+dohN95X3NigULFAbKF6zSDlXCSc+lKdzfywqAiiWGqC/V8VQRkGJ+cO0mJp+URyvehMq58fRVRzAYohAIyypiijrZvU78DXphEN9fplRpDOPIwWzaww0EQKmOhrKZCwNJc0og= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564547988; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=f1AiZiVsptl5ZAaLcYQF8aeALD5VRcNwvYuOQvruVp8=; b=eInIkrvwLHZx150iGYrEeLpUOdCURtpfYxVcZxvudBaXm5FfFNRq9zU6i4MCES3BArVVATwXc2xOGuP+e+vockTQlvWRFNAn8HKNNhH2QMoCwlSeFCILiy59iyvvWYXgxln8bm0gMyduewmCzN8LHvK+4o6S8bOZpQ+DKgR8wQs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=jv48X+8mFAmD9AXipdIj5F7kU/qIgBxOeOzuyrxcADasZwLcc7zQFAwWIAKVdkN6xi2s6aM+hVQy sMynO8aV46DlyyQYemKZRZdnxDvwbIN94D8zuwJHz0dbkq5CnNbq DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1564547988; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; l=72; bh=f1AiZiVsptl5ZAaLcYQF8aeALD5VRcNwvYuOQvruVp8=; b=MXqEU0HxDszIjIAJ3OriFGAYMIXRZ+Al8baf5nQMgaIF79auq37bul+qSrOYINgh GeRIxc3BQq1z67BVcH0r7s0lPxPOJvk8+t5efA8A1hXfiIzVx35HzlVl/DWnTpro17/ dTW/IhherhlL85d3DMf6Mt1RKrJglWcuFr5du2WY= Received: from localhost.localdomain (171.221.113.137 [171.221.113.137]) by mx.zohomail.com with SMTPS id 1564547986819825.2759067167204; Tue, 30 Jul 2019 21:39:46 -0700 (PDT) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, ralf@linux-mips.org, paul@crapouillou.net, paul.burton@mips.com, jhogan@kernel.org, malat@debian.org, chenhc@lemote.com, tglx@linutronix.de, allison@lohutok.net, syq@debian.org, jiaxun.yang@flygoat.com Subject: MIPS: Ingenic: Fix bugs when detecting X1000's parameters v2. Date: Wed, 31 Jul 2019 12:39:02 +0800 Message-Id: <1564547943-27505-1-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564498510-3751-1-git-send-email-zhouyanjie@zoho.com> References: <1564498510-3751-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v1->v2: Use "set_c0_config7(BIT(4))" to simplify code and add comment.