Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp671177imn; Fri, 29 Jul 2022 21:00:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vRTynkg+8dabcv8Uk5kfZTDY4R4CkvDVBhfIiDW1hx4c1WnvVs9ff2m2tLrxWNVLG9aNaL X-Received: by 2002:a17:907:6e13:b0:72b:509e:bd6b with SMTP id sd19-20020a1709076e1300b0072b509ebd6bmr5239752ejc.202.1659153657757; Fri, 29 Jul 2022 21:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659153657; cv=none; d=google.com; s=arc-20160816; b=ygZGq/PJE5DoFtASdGNnJC8frwe6wpyKej1mNlH+6pZIVxkkxPsDQFPYYAq84DBY/V Qro7EUhqbmPskOblDlIzOO7MIYKbtl6ZLpEe7DgGUv73bAIkIyM1NkX8PcNVodOQ5Kq/ uqi5fNWefMDiSfTIM7KQaeyvTu91fWPsDt+dE8bUIw028OUI+TnC40myhhUjBcmd76il Lz/0++uYzM/6SVmsbGtFyjKtcQpZMEvecA0KkaK1MufvVkRZ16VmY6RvIGEgfOAtI8M4 dXfqjd01LNP2oTPm793vpDagCTxO2lOW4jVojWVit8rRE1Cs8ylgjhYGcH9uMOjaK/Kj XxFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=i/Jaa1tM/apuOnil5lohX3kCi4CZQBKL9ZLD8Vxv3ZY=; b=S3/949mw4XIWKKI0HAMXHVqGuDhFN+xMEJYzEZMR2VnboecEwYKFfY4j64L9L7QtY4 joRh8eCchfWinojMeifGG4h18Zr4Eb83QgfTgqTJq55V2ZrkvaGLK2fJPWixVI0j/AW0 GXpFpbJ9dHUrTC6cgnN9QVd6z8d9gIRVx1Acl7T6+2svq8r+//z+ToQiDPf1rLgHFAIZ u4etq0ge4SQycpXjMgtuG3Bi8I6Gb+8wbI5QdkIg2Azrj7PgL31vP583Gv5BqJ8mmxjF vsGraEkPE7olgMon36GBcPF+8mDDRkJBngADRGOQ+wJ7EPye9lojWaWk33Ip/xxpRY0s 5UgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Pu28IVTH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i17-20020a170906265100b00726cf00b7c0si3971344ejc.469.2022.07.29.21.00.32; Fri, 29 Jul 2022 21:00:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 header.i=@intel.com header.s=Intel header.b=Pu28IVTH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239960AbiG3Dzl (ORCPT + 99 others); Fri, 29 Jul 2022 23:55:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239891AbiG3Dzk (ORCPT ); Fri, 29 Jul 2022 23:55:40 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A6011834D for ; Fri, 29 Jul 2022 20:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659153338; x=1690689338; h=date:from:to:cc:subject:message-id:mime-version: content-transfer-encoding; bh=lat675gtVWWIihVx5DmAtar78BCg4n0WsJIGjYqCEjg=; b=Pu28IVTHBxTp8MsIo7FbwOnIiD3lec5zlerGkpQdsy0osQ+amDES+OZg idZRun5rQhDW82xD4BOOvvbT4wuK52ImykktYggaKKU7jxMpq3DZfzkMu XwQnPErt+8/yfUtW1w0Hs5OQ6Oo/Wz+R9mWso0kcVJ/hjHeA7UB6Ay66N riFMT9C+MQz6HKao+mCMAvsZYwevvR29K+/fCSbB/hGSn/L6Ds4MphZFS 5qDj+YtBTS/bROBDQomcptn2d4I657coNfegYAVJ6jvmj57Sm9e9K0EYh hlIB5x6nGcQYdWbLnExOdTSVOUEd+iWZSb513JuX8jJdM2xH5NDukYtcw A==; X-IronPort-AV: E=McAfee;i="6400,9594,10423"; a="375192503" X-IronPort-AV: E=Sophos;i="5.93,203,1654585200"; d="scan'208";a="375192503" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2022 20:55:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,203,1654585200"; d="scan'208";a="660493592" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 29 Jul 2022 20:55:36 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oHdZf-000CM5-36; Sat, 30 Jul 2022 03:55:35 +0000 Date: Sat, 30 Jul 2022 11:54:41 +0800 From: kernel test robot To: Stafford Horne Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Christoph Hellwig Subject: [stffrdhrn:or1k-virt-5 2/10] arch/x86/kernel/cpu/cyrix.c:277:17: error: 'isa_dma_bridge_buggy' undeclared Message-ID: <202207301158.ldOcpmVn-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEXHASH_WORD, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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-kernel@vger.kernel.org tree: https://github.com/stffrdhrn/linux.git or1k-virt-5 head: 2e5ced6dd3319303f0d6760a46e8b35e985c86b5 commit: db5cc35daef410a8a51d7c2e66d34195b82dcb50 [2/10] PCI: Move isa_dma_bridge_buggy out of dma.h config: i386-randconfig-a014-20210930 (https://download.01.org/0day-ci/archive/20220730/202207301158.ldOcpmVn-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://github.com/stffrdhrn/linux/commit/db5cc35daef410a8a51d7c2e66d34195b82dcb50 git remote add stffrdhrn https://github.com/stffrdhrn/linux.git git fetch --no-tags stffrdhrn or1k-virt-5 git checkout db5cc35daef410a8a51d7c2e66d34195b82dcb50 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/x86/kernel/cpu/cyrix.c: In function 'init_cyrix': >> arch/x86/kernel/cpu/cyrix.c:277:17: error: 'isa_dma_bridge_buggy' undeclared (first use in this function) 277 | isa_dma_bridge_buggy = 2; | ^~~~~~~~~~~~~~~~~~~~ arch/x86/kernel/cpu/cyrix.c:277:17: note: each undeclared identifier is reported only once for each function it appears in vim +/isa_dma_bridge_buggy +277 arch/x86/kernel/cpu/cyrix.c ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 190 148f9bb87745ed4 arch/x86/kernel/cpu/cyrix.c Paul Gortmaker 2013-06-18 191 static void init_cyrix(struct cpuinfo_x86 *c) ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 192 { ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 193 unsigned char dir0, dir0_msn, dir0_lsn, dir1 = 0; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 194 char *buf = c->x86_model_id; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 195 const char *p = NULL; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 196 adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 197 /* adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 198 * Bit 31 in normal CPUID used for nonstandard 3DNow ID; adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 199 * 3DNow is IDd by bit 31 in extended CPUID (1*32+31) anyway adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 200 */ 1d007cd5aeea2c9 arch/x86/kernel/cpu/cyrix.c Ingo Molnar 2008-02-26 201 clear_cpu_cap(c, 0*32+31); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 202 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 203 /* Cyrix used bit 24 in extended (AMD) CPUID for Cyrix MMX extensions */ 1d007cd5aeea2c9 arch/x86/kernel/cpu/cyrix.c Ingo Molnar 2008-02-26 204 if (test_cpu_cap(c, 1*32+24)) { 1d007cd5aeea2c9 arch/x86/kernel/cpu/cyrix.c Ingo Molnar 2008-02-26 205 clear_cpu_cap(c, 1*32+24); 1d007cd5aeea2c9 arch/x86/kernel/cpu/cyrix.c Ingo Molnar 2008-02-26 206 set_cpu_cap(c, X86_FEATURE_CXMMX); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 207 } ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 208 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 209 do_cyrix_devid(&dir0, &dir1); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 210 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 211 check_cx686_slop(c); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 212 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 213 Cx86_dir0_msb = dir0_msn = dir0 >> 4; /* identifies CPU "family" */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 214 dir0_lsn = dir0 & 0xf; /* model or clock multiplier */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 215 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 216 /* common case step number/rev -- exceptions handled below */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 217 c->x86_model = (dir1 >> 4) + 1; b399151cb48db30 arch/x86/kernel/cpu/cyrix.c Jia Zhang 2018-01-01 218 c->x86_stepping = dir1 & 0xf; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 219 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 220 /* Now cook; the original recipe is by Channing Corn, from Cyrix. ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 221 * We do the same thing for each generation: we work out ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 222 * the model, multiplier and stepping. Black magic included, ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 223 * to make the silicon step/rev numbers match the printed ones. ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 224 */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 225 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 226 switch (dir0_msn) { ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 227 unsigned char tmp; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 228 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 229 case 0: /* Cx486SLC/DLC/SRx/DRx */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 230 p = Cx486_name[dir0_lsn & 7]; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 231 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 232 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 233 case 1: /* Cx486S/DX/DX2/DX4 */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 234 p = (dir0_lsn & 8) ? Cx486D_name[dir0_lsn & 5] ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 235 : Cx486S_name[dir0_lsn & 3]; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 236 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 237 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 238 case 2: /* 5x86 */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 239 Cx86_cb[2] = cyrix_model_mult1[dir0_lsn & 5]; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 240 p = Cx86_cb+2; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 241 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 242 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 243 case 3: /* 6x86/6x86L */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 244 Cx86_cb[1] = ' '; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 245 Cx86_cb[2] = cyrix_model_mult1[dir0_lsn & 5]; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 246 if (dir1 > 0x21) { /* 686L */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 247 Cx86_cb[0] = 'L'; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 248 p = Cx86_cb; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 249 (c->x86_model)++; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 250 } else /* 686 */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 251 p = Cx86_cb+1; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 252 /* Emulate MTRRs using Cyrix's ARRs. */ 1d007cd5aeea2c9 arch/x86/kernel/cpu/cyrix.c Ingo Molnar 2008-02-26 253 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 254 /* 6x86's contain this bug */ c5b41a67505cc3c arch/x86/kernel/cpu/cyrix.c Borislav Petkov 2013-03-20 255 set_cpu_bug(c, X86_BUG_COMA); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 256 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 257 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 258 case 4: /* MediaGX/GXm or Geode GXM/GXLV/GX1 */ ae1d557d8f30cb0 arch/x86/kernel/cpu/cyrix.c Christian S?nkenberg 2017-06-04 259 case 11: /* GX1 with inverted Device ID */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 260 #ifdef CONFIG_PCI 120fad72401ebec arch/i386/kernel/cpu/cyrix.c Alan Cox 2007-02-13 261 { 120fad72401ebec arch/i386/kernel/cpu/cyrix.c Alan Cox 2007-02-13 262 u32 vendor, device; adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 263 /* adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 264 * It isn't really a PCI quirk directly, but the cure is the adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 265 * same. The MediaGX has deep magic SMM stuff that handles the adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 266 * SB emulation. It throws away the fifo on disable_dma() which adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 267 * is wrong and ruins the audio. adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 268 * adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 269 * Bug2: VSA1 has a wrap bug so that using maximum sized DMA adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 270 * causes bad things. According to NatSemi VSA2 has another adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 271 * bug to do with 'hlt'. I've not seen any boards using VSA2 adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 272 * and X doesn't seem to support it either so who cares 8). adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 273 * VSA1 we work around however. ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 274 */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 275 1b74dde7c47c19a arch/x86/kernel/cpu/cyrix.c Chen Yucong 2016-02-02 276 pr_info("Working around Cyrix MediaGX virtual DMA bugs.\n"); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 @277 isa_dma_bridge_buggy = 2; cefc01130ba2bb0 arch/i386/kernel/cpu/cyrix.c Andreas Mohr 2006-06-23 278 120fad72401ebec arch/i386/kernel/cpu/cyrix.c Alan Cox 2007-02-13 279 /* We do this before the PCI layer is running. However we 120fad72401ebec arch/i386/kernel/cpu/cyrix.c Alan Cox 2007-02-13 280 are safe here as we know the bridge must be a Cyrix 120fad72401ebec arch/i386/kernel/cpu/cyrix.c Alan Cox 2007-02-13 281 companion and must be present */ 120fad72401ebec arch/i386/kernel/cpu/cyrix.c Alan Cox 2007-02-13 282 vendor = read_pci_config_16(0, 0, 0x12, PCI_VENDOR_ID); 120fad72401ebec arch/i386/kernel/cpu/cyrix.c Alan Cox 2007-02-13 283 device = read_pci_config_16(0, 0, 0x12, PCI_DEVICE_ID); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 284 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 285 /* ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 286 * The 5510/5520 companion chips have a funky PIT. ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 287 */ 120fad72401ebec arch/i386/kernel/cpu/cyrix.c Alan Cox 2007-02-13 288 if (vendor == PCI_VENDOR_ID_CYRIX && 8bdbd962ecfcbdd arch/x86/kernel/cpu/cyrix.c Alan Cox 2009-07-04 289 (device == PCI_DEVICE_ID_CYRIX_5510 || 8bdbd962ecfcbdd arch/x86/kernel/cpu/cyrix.c Alan Cox 2009-07-04 290 device == PCI_DEVICE_ID_CYRIX_5520)) 5a90cf205c92270 arch/i386/kernel/cpu/cyrix.c John Stultz 2007-05-02 291 mark_tsc_unstable("cyrix 5510/5520 detected"); 120fad72401ebec arch/i386/kernel/cpu/cyrix.c Alan Cox 2007-02-13 292 } cefc01130ba2bb0 arch/i386/kernel/cpu/cyrix.c Andreas Mohr 2006-06-23 293 #endif d9f6e12fb0b7fcd arch/x86/kernel/cpu/cyrix.c Ingo Molnar 2021-03-18 294 c->x86_cache_size = 16; /* Yep 16K integrated cache that's it */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 295 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 296 /* GXm supports extended cpuid levels 'ala' AMD */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 297 if (c->cpuid_level == 2) { ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 298 /* Enable cxMMX extensions (GX1 Datasheet 54) */ 18fb053f9b827bd arch/x86/kernel/cpu/cyrix.c Matthew Whitehead 2019-03-14 299 setCx86(CX86_CCR7, getCx86(CX86_CCR7) | 1); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 300 2632f01a66d75f4 arch/i386/kernel/cpu/cyrix.c takada 2007-02-13 301 /* 2632f01a66d75f4 arch/i386/kernel/cpu/cyrix.c takada 2007-02-13 302 * GXm : 0x30 ... 0x5f GXm datasheet 51 2632f01a66d75f4 arch/i386/kernel/cpu/cyrix.c takada 2007-02-13 303 * GXlv: 0x6x GXlv datasheet 54 2632f01a66d75f4 arch/i386/kernel/cpu/cyrix.c takada 2007-02-13 304 * ? : 0x7x 2632f01a66d75f4 arch/i386/kernel/cpu/cyrix.c takada 2007-02-13 305 * GX1 : 0x8x GX1 datasheet 56 2632f01a66d75f4 arch/i386/kernel/cpu/cyrix.c takada 2007-02-13 306 */ 8bdbd962ecfcbdd arch/x86/kernel/cpu/cyrix.c Alan Cox 2009-07-04 307 if ((0x30 <= dir1 && dir1 <= 0x6f) || 8bdbd962ecfcbdd arch/x86/kernel/cpu/cyrix.c Alan Cox 2009-07-04 308 (0x80 <= dir1 && dir1 <= 0x8f)) ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 309 geode_configure(); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 310 return; adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 311 } else { /* MediaGX */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 312 Cx86_cb[2] = (dir0_lsn & 1) ? '3' : '4'; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 313 p = Cx86_cb+2; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 314 c->x86_model = (dir1 & 0x20) ? 1 : 2; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 315 } ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 316 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 317 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 318 case 5: /* 6x86MX/M II */ adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 319 if (dir1 > 7) { ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 320 dir0_msn++; /* M II */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 321 /* Enable MMX extensions (App note 108) */ 18fb053f9b827bd arch/x86/kernel/cpu/cyrix.c Matthew Whitehead 2019-03-14 322 setCx86(CX86_CCR7, getCx86(CX86_CCR7)|1); adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 323 } else { c5b41a67505cc3c arch/x86/kernel/cpu/cyrix.c Borislav Petkov 2013-03-20 324 /* A 6x86MX - it has the bug. */ c5b41a67505cc3c arch/x86/kernel/cpu/cyrix.c Borislav Petkov 2013-03-20 325 set_cpu_bug(c, X86_BUG_COMA); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 326 } ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 327 tmp = (!(dir0_lsn & 7) || dir0_lsn & 1) ? 2 : 0; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 328 Cx86_cb[tmp] = cyrix_model_mult2[dir0_lsn & 7]; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 329 p = Cx86_cb+tmp; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 330 if (((dir1 & 0x0f) > 4) || ((dir1 & 0xf0) == 0x20)) ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 331 (c->x86_model)++; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 332 /* Emulate MTRRs using Cyrix's ARRs. */ 1d007cd5aeea2c9 arch/x86/kernel/cpu/cyrix.c Ingo Molnar 2008-02-26 333 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 334 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 335 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 336 case 0xf: /* Cyrix 486 without DEVID registers */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 337 switch (dir0_lsn) { ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 338 case 0xd: /* either a 486SLC or DLC w/o DEVID */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 339 dir0_msn = 0; a402a8dffc9f838 arch/x86/kernel/cpu/cyrix.c Borislav Petkov 2016-04-04 340 p = Cx486_name[!!boot_cpu_has(X86_FEATURE_FPU)]; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 341 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 342 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 343 case 0xe: /* a 486S A step */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 344 dir0_msn = 0; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 345 p = Cx486S_name[0]; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 346 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 347 } ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 348 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 349 ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 350 default: /* unknown (shouldn't happen, we know everyone ;-) */ ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 351 dir0_msn = 7; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 352 break; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 353 } ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 354 strcpy(buf, Cx86_model[dir0_msn & 7]); adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 355 if (p) adf85265b455f09 arch/x86/kernel/cpu/cyrix.c Paolo Ciarrocchi 2008-02-22 356 strcat(buf, p); ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 357 return; ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 358 } ^1da177e4c3f415 arch/i386/kernel/cpu/cyrix.c Linus Torvalds 2005-04-16 359 :::::: The code at line 277 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://01.org/lkp