From patchwork Tue Oct 22 08:44:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanjay Singh Rawat X-Patchwork-Id: 21205 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gg0-f199.google.com (mail-gg0-f199.google.com [209.85.161.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 40CF1244B2 for ; Tue, 22 Oct 2013 08:44:38 +0000 (UTC) Received: by mail-gg0-f199.google.com with SMTP id h3sf14152807gge.10 for ; Tue, 22 Oct 2013 01:44:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=/6GnHA2/j9Y1noLmj0F0lP3Y3nGvol6CtbxomZljK40=; b=R8ywxV1ka11o52nQTMZn5UqNx8OS/qV+YkFatnzs5a9aXhz8hgG/KFdEi9rxHtZ+eE BB5m6aICJofl89WslH0iJkX4ws75+IuXoKji8HuW/klwKGhco5WbuVTnf7jpCD1mQlRj rCZFqAn8YVRXCfAiXQYhN0K/KY1MdKqeRKy193vIipoWIwovXJ0eQEcvOt2kDNMxRCFd qCwQTozwVhK2kb2aLHCqOd5ZNrvUcV/A0fm6qKVN6eTF+VPcX14F6XLukF07kVAcOoPO /HAR5gkUaPNiDJo0/YAF28Lg60DsqjTrHqaVdCO28NFGJGHA2tANjacAs9dcTRsBhoU4 aNtg== X-Received: by 10.58.112.195 with SMTP id is3mr3898535veb.29.1382431478400; Tue, 22 Oct 2013 01:44:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.128.229 with SMTP id nr5ls26080qeb.94.gmail; Tue, 22 Oct 2013 01:44:38 -0700 (PDT) X-Received: by 10.58.233.98 with SMTP id tv2mr13783739vec.11.1382431478248; Tue, 22 Oct 2013 01:44:38 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id fx4si5519568vdc.0.2013.10.22.01.44.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 01:44:38 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id jw12so4242480veb.32 for ; Tue, 22 Oct 2013 01:44:38 -0700 (PDT) X-Gm-Message-State: ALoCoQmK5BWsWFZxG7ovU3RKumZ/FIgMbvXsl2i2EmlEJCeS0UyvN4+1QGCHg6eF4oMAVtBjQQHe X-Received: by 10.52.166.200 with SMTP id zi8mr11604vdb.38.1382431478147; Tue, 22 Oct 2013 01:44:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp213560vcz; Tue, 22 Oct 2013 01:44:37 -0700 (PDT) X-Received: by 10.66.171.204 with SMTP id aw12mr22009723pac.7.1382431477155; Tue, 22 Oct 2013 01:44:37 -0700 (PDT) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx.google.com with ESMTPS id bc2si11544983pad.71.2013.10.22.01.44.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 01:44:37 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.54 is neither permitted nor denied by best guess record for domain of sanjay.rawat@linaro.org) client-ip=209.85.220.54; Received: by mail-pa0-f54.google.com with SMTP id kx10so9447455pab.27 for ; Tue, 22 Oct 2013 01:44:36 -0700 (PDT) X-Received: by 10.66.250.138 with SMTP id zc10mr22617695pac.72.1382431476625; Tue, 22 Oct 2013 01:44:36 -0700 (PDT) Received: from srawat-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id fy4sm26067496pbb.1.2013.10.22.01.44.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 01:44:36 -0700 (PDT) From: Sanjay Singh Rawat To: daniel.lezcano@linaro.org Cc: private-pmwg@linaro.org, Sanjay Singh Rawat Subject: [PATCH PMQA] cpuhotplug: give time for udevadm to start Date: Tue, 22 Oct 2013 14:14:53 +0530 Message-Id: <1382431493-5474-1-git-send-email-sanjay.rawat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sanjay.rawat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , - on calxeda we are missing some events because udevadm needs sometime to launch - bug : https://bugs.launchpad.net/bugs/1230403 Signed-off-by: Sanjay Singh Rawat --- cpuhotplug/cpuhotplug_07.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpuhotplug/cpuhotplug_07.sh b/cpuhotplug/cpuhotplug_07.sh index d9d8706..1ad9445 100755 --- a/cpuhotplug/cpuhotplug_07.sh +++ b/cpuhotplug/cpuhotplug_07.sh @@ -42,6 +42,8 @@ check_notification() { # to retrieve the output rm -f $TMPFILE udevadm monitor --kernel --subsystem-match=cpu > $TMPFILE & + # give sometime for udevadm to start, otherwise we may miss some events + sleep 1 pid=$! set_offline $cpu