[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH v5] timer: a9gtimer: remove loop to a
From: |
P J P |
Subject: |
Re: [Qemu-arm] [Qemu-devel] [PATCH v5] timer: a9gtimer: remove loop to auto-increment comparator |
Date: |
Fri, 14 Oct 2016 09:24:30 +0530 (IST) |
+-- On Fri, 14 Oct 2016, P J P wrote --+
| + if (gtb->control & R_CONTROL_AUTO_INCREMENT && gtb->inc) {
| + inc = update.new - gtb->compare;
| + inc = MAX(QEMU_ALIGN_DOWN(inc, gtb->inc), gtb->inc);
| + DB_PRINT("Auto incrementing timer compare by %"
| + PRId64 "\n", inc);
| + gtb->compare += inc;
Please consider [PATCH v6]. I should've slept over this, instead of sending
it at 02:00 hrs. at night.
Thank you.
--
Prasad J Pandit / Red Hat Product Security Team
47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F