From owner-freebsd-hackers@freebsd.org Mon Dec 10 21:37:27 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 263DA133435F for ; Mon, 10 Dec 2018 21:37:27 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7702B6FF22 for ; Mon, 10 Dec 2018 21:37:26 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-io1-f43.google.com with SMTP id r200so10023926iod.11 for ; Mon, 10 Dec 2018 13:37:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=9mpk/KOyJtx+uDNKiS/ozZkRujI7eqdnx92XgyTrulY=; b=lmquj7NJn3MNgjHDI19I1aAHrTvvc/o4qhqCORgsxDa9Auvj+aiPvu96oNCkzClQbn 0gbVIydbEyFQ0n8pSmYtDOFhuEGJbwcJeu49HnAbe4bIKNtt8qsX8QlV3vJzxX8ftuST 7QzJpxQuu4uvNvLqDE+z7snDNoI/mYxR0ke5GVPqSw89RQY8d1qVuRNz8etYFhuKmHEq dM0/hEPo03Ux3vpY3q/pNIOdw6Ztk6QHm1Y9sNuGE5cNQ82GSpNJ0pf3Jy8tmcUc82Cx KIJ9n0/SrIeHHRLbFDNCOjxhE292VMQPdWoKFTC7ypp+r6Gaj8tAFKnQG4dXShl7PT0U KCLA== X-Gm-Message-State: AA+aEWbZUyu3i/P3QbbBrzA+O/dsDsFooLyYEtR2QQUXk/0tgcGST9N1 Ljjt0/opNelYzOEfKZNOra6D4Ko5 X-Google-Smtp-Source: AFSGD/XAAlWhAmdCmc5JJajQBfbuJ6ZUSg690ftuud0hOdhgrtnKo9vzx0evGTZSvJvE3C7gHn9d7A== X-Received: by 2002:a6b:92d6:: with SMTP id u205mr11676041iod.221.1544477517184; Mon, 10 Dec 2018 13:31:57 -0800 (PST) Received: from mail-io1-f52.google.com (mail-io1-f52.google.com. [209.85.166.52]) by smtp.gmail.com with ESMTPSA id a16sm4790264ioh.48.2018.12.10.13.31.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 13:31:56 -0800 (PST) Received: by mail-io1-f52.google.com with SMTP id t24so10100633ioi.0 for ; Mon, 10 Dec 2018 13:31:56 -0800 (PST) X-Received: by 2002:a6b:ee16:: with SMTP id i22mr10687467ioh.124.1544477516130; Mon, 10 Dec 2018 13:31:56 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Mon, 10 Dec 2018 13:31:45 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: I'd like to submit a kernel patch for a new sysctl to use EFI instead of ACPI for poweroff + reboot To: byuu@tutanota.com Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 7702B6FF22 X-Spamd-Result: default: False [-3.84 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.85)[-0.854,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; IP_SCORE(-0.98)[ipnet: 209.85.128.0/17(-3.54), asn: 15169(-1.28), country: US(-0.09)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[43.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[43.166.85.209.rep.mailspike.net : 127.0.0.17] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2018 21:37:27 -0000 On Mon, Dec 10, 2018 at 5:06 AM wrote: > > Thank you, this information helped a lot! I am glad to hear it. > I am not sure where I should submit my patch to ... I'll post it here if = that's okay. If it needs to go somewhere else, please provide instructions = or if you don't mind ... submit it on my behalf ^^; I'll second Jason's request =E2=80=94 please go ahead and submit a diff to Phabricator (reviews.freebsd.org), if you don't mind. > This patch has been created against -CURRENT, and has been tested success= fully on 12.0-RC3. It allows me to power off my ASRock X399M (mATX) motherb= oard, and should also work for ASRock X399 (ATX) users who have reported th= e same problem of ACPI hanging during shutdown. Hopefully it will be useful= to other users in the future who experience ACPI shutdown issues as a fall= back option. Hm, I don't recall my ASRock X399 board having issues shutting down with AC= PI. Thanks, Conrad