From patchwork Sat Nov 11 18:55:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Radoslaw Biernacki X-Patchwork-Id: 118615 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp58353qgn; Sat, 11 Nov 2017 10:56:02 -0800 (PST) X-Google-Smtp-Source: AGs4zMZju6bMmTp8a5ueluiNFTZeIy5bGNBYTBhSgBOBUopuCoPLzkPCIW69RoCr7doUMrjRnQgJ X-Received: by 10.223.184.205 with SMTP id c13mr2988687wrg.268.1510426562056; Sat, 11 Nov 2017 10:56:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510426562; cv=none; d=google.com; s=arc-20160816; b=vBTpfp6hxxBE1+yYh/F17aL7GxPoRE6pSHbRYgAEB8NYRJd9QfljSrGSh9YEvP4oRx qmj9FoA6f1j0q08Xbil2AG6HnIr4v2BBTOGPzmmQyGditikc7Uzo8PKesH7z1taee7kw 8Rpd9WwzDnuH4vukRzlstSCx9jop8bWFBQrT5LFBAguKejPjvL+klPIQJpHZbYwl1ihe kMUo9qioy5oQzS5WWuXETYcqvLCorrGs3oAEUn2woXlH1DaKwhcdJwgek04d2gsTb2CS cSzHaDKxPnJUz+PfxJK/ClDMc+DZqKoY71pes3Wq+RCIAgOo7HxwoP2i8E+XjCVBBsHG FFww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from:dkim-signature :arc-authentication-results; bh=FnaWaNdhOw2nYwMLDKPn8CeX2BX3E2IF1bEmT+NMErg=; b=LFlj91GzmDxo5nu16/VesHq5t8BVRkzKpekYmCG0Gu4tI7Pz9n8Bze7HDNQITx7Sc1 h/Azos9d+CUfc7aBoIl+9jldYfXAOIpSgZBKoJOy+StMHXEjwBHJKW26J49iQ4120kga MxFehAyY+LjHFx/WAIlwYv5n/LeLmXr/LnRwRFM/RYnxtWZKeaCpZRXpxIoQaShOhd5U iz4x6wg/ybahjIGgRg6Zm1drYggIa4JGaeETxP2Hki8hANYwTnjB1IU5O2veUyxt9V1Y +iDt8bHHhU1G1s78XrRXNX2Zp7oy4vitH8Jf4wRbwzdV9J0Han7xHIZJMXkATadLv7cH 6hbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=BQPLXe9f; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id k140si3431127wmg.266.2017.11.11.10.56.01; Sat, 11 Nov 2017 10:56:02 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=BQPLXe9f; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C7ED21B207; Sat, 11 Nov 2017 19:56:00 +0100 (CET) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by dpdk.org (Postfix) with ESMTP id F3B921B207 for ; Sat, 11 Nov 2017 19:55:59 +0100 (CET) Received: by mail-lf0-f67.google.com with SMTP id 73so14935lfu.10 for ; Sat, 11 Nov 2017 10:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FnaWaNdhOw2nYwMLDKPn8CeX2BX3E2IF1bEmT+NMErg=; b=BQPLXe9fkLwNPQFg5zha7oPDSykeS0PcNZzZN7zVmIubfKB3wjUo9JGcAgtUps0nKz t02PURf9a9jUGSOWtblZI8+iwPL5FkiMgYIhnndKpHBLTVutBAGm4dCcisVqMBvf1YqQ P56/hNupB6yMxGIp/dlw+SGRFwWWX4Dyi2AnY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FnaWaNdhOw2nYwMLDKPn8CeX2BX3E2IF1bEmT+NMErg=; b=Yurkh+NOFXyD2lmtUmV5AJTThHaKzHbPRP8icwVnuXNRugWWIsJYZ232+VGnhcIKj+ LgGx6rOhIvJHbNAZOA7J4HdSnFVWriqAToy6Tk3ydpgEZUjzO4Fgq/qRZOD/F7vtKRrq IosJQGa8+EwrDwqLgzKT/x3cs6rKMG8lETVTcJDOjLE69oFK99rWXcP456NyVXKgeA52 yYlX+JdgCKClPinkYxd5mbAIL7ziU0FDWq/iHGj5CibPks2fu6FX266nwG5lh0zOiScc O36uEkhfSldN/1IAJQ7C18TSrdMcDE3Os8TzKxHgEc1T+venYkJbesYlLVMyG//6r1t/ 6U1w== X-Gm-Message-State: AJaThX6zUrJALAh1zS9qDRE1Q1N6TUdI4KTaMJvttqkewGejzuKy+CAL l0fhjDBDgT9E0CvomR3+iQyxcj95b4U= X-Received: by 10.25.92.90 with SMTP id q87mr537207lfb.262.1510426559334; Sat, 11 Nov 2017 10:55:59 -0800 (PST) Received: from rad-H81M-S1.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id x90sm2342107ljb.86.2017.11.11.10.55.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 11 Nov 2017 10:55:58 -0800 (PST) From: Radoslaw Biernacki To: dev@dpdk.org, david.hunt@intel.com Cc: stable@dpdk.org, alan.carew@intel.com, pablo.de.lara.guarch@intel.com Date: Sat, 11 Nov 2017 19:55:04 +0100 Message-Id: <1510426507-28245-1-git-send-email-radoslaw.biernacki@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508161628-4265-1-git-send-email-radoslaw.biernacki@linaro.org> References: <1508161628-4265-1-git-send-email-radoslaw.biernacki@linaro.org> Subject: [dpdk-dev] [PATCH 0/3] power: fixes for power ACPI through sysfs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This series of patches is fixing bug in power ACPI subsystem code as well as improve the debugging messages and cleans the code. V2: - error checking macros removed (checkpatch warning) - using plain open()/read()/write() system functions instead of STDIO - added check for intel_pstate driver together with suggestion about needed kernel boot parameter Radoslaw Biernacki (3): power: removing code macros power: switching to unbuffered access for /sys files power: check if userspace governor is available lib/librte_power/rte_power_acpi_cpufreq.c | 304 ++++++++++++++++++------------ 1 file changed, 182 insertions(+), 122 deletions(-) -- 2.7.4