Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2607689pxb; Fri, 17 Sep 2021 13:58:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4hgSN/tC9o4ujF+g76qQ71T0d58ri2GEkmCySodMu/uwKErr6Am/99TDQ6O4vrhkewIme X-Received: by 2002:a05:6e02:2182:: with SMTP id j2mr9490470ila.212.1631912290527; Fri, 17 Sep 2021 13:58:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631912290; cv=none; d=google.com; s=arc-20160816; b=Rs8M3jTrCrRwnsfzzphy688H4gs/vtm/Tuttr0fR5AMM5eaEWiRdQdLl63SLx6GpKt ul4iktmcB/qr3DdjzQldpFThggjYsMkc2fzCgUeokUjwC/KKWbEMlliJmConz+0zk9tE A1kzMNJp52h8l6+ThsUGUer3MLGRVWhnsUdmR+v4IoPzZKegIefi5tNVXBDMcDd+qg0C r/DLsauzsezqoZ0UHDBNBfyn3Cr7dmMq3yrN99ovbBlk7xDsife3qvX5cB7Q3vfH9SuH dS8LDqpxvUJR+WrBW+0hkF+lxn3vYgU1zj8Sa7bgcFPCcW9JKG7YEJTTk4YfC3aqhP5s qHhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references:cc :user-agent:date:subject:to:from; bh=C/PesjijO8MWaTxqlvdzIm7YNGX0V60gwXKzo51DzBw=; b=P6yyDgQygYk1GifvMTkaCYua1mOFDjAhkltqjqubLqF9qQwOjvOd83OG141bXeCny6 5jdYpeLMlXAuIC2hwkr79ElfmEXuJE+X8/U/jwykHx4FipIGLxKFGrqpZogzr0EwZ7wx lLOXdl3wIX6WIE0cmFDQ5E0UW3v4C9ZN9Iazi7I7uR/f1DR9RXfCPYkWdd29Md5o2J/N 0iUzBKrA+tGzrllKRy0IiaTv3hAdOO6VBr7EgNQqHR/7iJA1dOhx3Y4dV1Aqui4Bf1fk DMKlc6NvDKu3yLLZw+iuPnlBMR8+WgEYCBBt8pvVMfoU2TgVQAbXjBF4aUsFJmiSY+GY 9aGQ== 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 x8si7373730jaq.91.2021.09.17.13.57.59; Fri, 17 Sep 2021 13:58:10 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244648AbhIQMzn (ORCPT + 99 others); Fri, 17 Sep 2021 08:55:43 -0400 Received: from hosting.gsystem.sk ([212.5.213.30]:44650 "EHLO hosting.gsystem.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238675AbhIQMzm (ORCPT ); Fri, 17 Sep 2021 08:55:42 -0400 Received: from [192.168.1.3] (ns.gsystem.sk [62.176.172.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hosting.gsystem.sk (Postfix) with ESMTPSA id BE7237A0214; Fri, 17 Sep 2021 14:54:19 +0200 (CEST) From: Ondrej Zary To: Thomas Gleixner Subject: Re: [PATCH] x86/iopl: Fake iopl(3) CLI/STI usage Date: Fri, 17 Sep 2021 14:54:16 +0200 User-Agent: KMail/1.9.10 Cc: Peter Zijlstra , x86@kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds References: <202109151423.43604.linux@zary.sk> <87mtob8jqp.ffs@tglx> In-Reply-To: <87mtob8jqp.ffs@tglx> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <202109171454.16362.linux@zary.sk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 17 September 2021, Thomas Gleixner wrote: > On Fri, Sep 17 2021 at 13:54, Peter Zijlstra wrote: > >> [ 14.876824] fixup_iopl_exception: 333 callbacks suppressed > >> [ 14.876832] traps: hpasmd[360] attempts to use CLI/STI, pretending it's a NOP, ip:80a5356 > > > > I'd say... > > > > Not sure it's really worth it, but something like the below might > > help. > > One entry per task is really good enough. Though that wont help for such > stuff which is started over and over again.... Seems to fine for this case. hpasmd is running as a daemon. # dmesg | tail [ 6.834639] atyfb: fb0: ATY Mach64 frame buffer device on PCI [ 7.629499] random: crng init done [ 7.629507] random: 7 urandom warning(s) missed due to ratelimiting [ 9.737551] floppy0: no floppy controllers found [ 9.737584] work still pending [ 9.923185] process 'hp/hp-health/bin/hpasmd' started with executable stack [ 10.140055] traps: hpasmd[359] attempts to use CLI/STI, pretending it's a NOP, ip:f7d3709b in mem[f7d37000+3000] [ 15.821726] tg3 0000:03:01.0 enp3s1f0: Link is up at 1000 Mbps, full duplex [ 15.821753] tg3 0000:03:01.0 enp3s1f0: Flow control is on for TX and on for RX [ 15.821786] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s1f0: link becomes ready # hpasmcli -s "show fans" Fan Location Present Speed of max Redundant Partner Hot-pluggable --- -------- ------- ----- ------ --------- ------- ------------- #1 PROCESSOR_ZONE Yes NORMAL 22% Yes 2 Yes #2 PROCESSOR_ZONE Yes NORMAL 22% Yes 1 Yes #3 I/O_ZONE Yes NORMAL 11% Yes 1 Yes #4 I/O_ZONE Yes NORMAL 11% Yes 1 Yes #5 PROCESSOR_ZONE Yes NORMAL 22% Yes 1 Yes #6 PROCESSOR_ZONE Yes NORMAL 22% Yes 1 Yes #7 POWERSUPPLY_BAY Yes NORMAL 11% Yes 1 Yes #8 POWERSUPPLY_BAY Yes NORMAL 11% Yes 1 Yes -- Ondrej Zary