Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp144318pxj; Thu, 13 May 2021 01:12:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfWK4+lI0ig1H37A0201Kuo7Dss+Ta5iqmO+oTmx2LAhErHvea3KUBk0dv5N4MTyYfFwVj X-Received: by 2002:a5e:8305:: with SMTP id x5mr29122673iom.112.1620893563437; Thu, 13 May 2021 01:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620893563; cv=none; d=google.com; s=arc-20160816; b=qcPzW/Qjf1JAe/mYjo6QX9GxfFOOecgWPYfOG+ybExQBP28H+MGLzNCEvKES/NiXSo 4AZBVSLKJtGo+myTdJ7Y/M+/zJ7vVBYQ1pk3CY5ie3QRvYjhR2G6MNqFwLABkViQAnFC 2+9Zpc8R22pU/KdFsecH9oEtsuj4xIwUm0f4QWm294r4kqrjiX6ZoZB3AXbtEMr50AmP VheAPKX4YcShbI3MvXPnyFSq6U+TqJjgscyb8eCFb2ZdCT+Zn9GEMzu7Usvi6mzB1Y6d zFkb5ciAlUwaLSJPK4Oj+ySlTnZh8pRiqwnnLQMKzATmQzN380iMZY8xIyPnoJ8OFqQd gIGw== 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-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=y+LADcIcCP8ufTjRwwJ6H3PVo82E/a47BmpsCFi7ml8=; b=z+DIRKCKVnxK5XzuxBN6hNO9R6RuahJ9jK5Ynsm8SVQ2vx5Uv3MIEVeRx60pWvsHz0 53Z18qGXDBGIcPjwu1/fnUIeo80ZywaTeUPdD1+gc9DQvY813tU5xlmsD52Ir1oCH+xu slrATRO7GeQGZKsSU3o0fz/h1Czr7MfVvf01UaRVLATZYwdWSJGYYHfKqcccB+cuP7lF HseqrnCElW7YjERpRdkJMuJBtC1Zyz7UsGo3knPl0Dl1Sp5gARgMP7dbvYMWAiBu2aMI 2oN23ekGrB//B97u43a5RUnERpiROufPxaI5jR4riROwJdkeBLZ0bU2VSWU7qh60YI0N QzRA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j24si3133405jad.22.2021.05.13.01.12.31; Thu, 13 May 2021 01:12:43 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231597AbhEMIMM convert rfc822-to-8bit (ORCPT + 99 others); Thu, 13 May 2021 04:12:12 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.85.151]:29954 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231521AbhEMIML (ORCPT ); Thu, 13 May 2021 04:12:11 -0400 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-38-wSN3IdVMP8OQ2JQTBB0LqA-1; Thu, 13 May 2021 09:10:56 +0100 X-MC-Unique: wSN3IdVMP8OQ2JQTBB0LqA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 13 May 2021 09:10:55 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.015; Thu, 13 May 2021 09:10:55 +0100 From: David Laight To: 'Maximilian Luz' , Thomas Gleixner , Ingo Molnar , Borislav Petkov CC: "H. Peter Anvin" , Sachi King , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: RE: [PATCH] x86/i8259: Work around buggy legacy PIC Thread-Topic: [PATCH] x86/i8259: Work around buggy legacy PIC Thread-Index: AQHXR3+B5Hf0DG1T80+Lb/Y+9zG7TarhDftg Date: Thu, 13 May 2021 08:10:54 +0000 Message-ID: <9b70d8113c084848b8d9293c4428d71b@AcuMS.aculab.com> References: <20210512210459.1983026-1-luzmaximilian@gmail.com> In-Reply-To: <20210512210459.1983026-1-luzmaximilian@gmail.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maximilian Luz > Sent: 12 May 2021 22:05 > > The legacy PIC on the AMD variant of the Microsoft Surface Laptop 4 has > some problems on boot. For some reason it consistently does not respond > on the first try, requiring a couple more tries before it finally > responds. That seems very strange, something else must be going on that causes the grief. The 8259 will be built into to the one of the cpu support chips. I can't imagine that requires anything special. It's not as though you have a real 8259 - which even a 286 can break the inter-cycle recovery on (with the circuit from the application note). David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)