search for: init_time

Displaying 20 results from an estimated 88 matches for "init_time".

Did you mean: init_timer
2011 Sep 01
4
[PATCH] xen,credit1: Add variable timeslice
...>lock, flags); /* Initialize/update system-wide config */ - prv->credit += CSCHED_CREDITS_PER_ACCT; + prv->credit += prv->credits_per_tslice; prv->ncpus++; cpu_set(cpu, prv->cpus); if ( prv->ncpus == 1 ) { prv->master = cpu; init_timer(&prv->master_ticker, csched_acct, prv, cpu); - set_timer(&prv->master_ticker, NOW() + - MILLISECS(CSCHED_MSECS_PER_TICK) * CSCHED_TICKS_PER_ACCT); + set_timer(&prv->master_ticker, + NOW() + MILLISECS(prv->tslice_ms)); }...
2023 Jun 09
1
[RESEND 07/15] drm/nouveau/nvkm/subdev/bios/init: Demote a bunch of kernel-doc abuses
..._RESUME - opcode 0x72 * */ @@ -1755,7 +1755,7 @@ init_resume(struct nvbios_init *init) init_exec_set(init, true); } -/** +/* * INIT_STRAP_CONDITION - opcode 0x73 * */ @@ -1773,7 +1773,7 @@ init_strap_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_TIME - opcode 0x74 * */ @@ -1794,7 +1794,7 @@ init_time(struct nvbios_init *init) } } -/** +/* * INIT_CONDITION - opcode 0x75 * */ @@ -1811,7 +1811,7 @@ init_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_IO_CONDITION - opcode 0x76 * */ @@ -1...
2023 Aug 24
1
[PATCH 03/20] drm/nouveau/nvkm/subdev/bios/init: Demote a bunch of kernel-doc abuses
..._RESUME - opcode 0x72 * */ @@ -1755,7 +1755,7 @@ init_resume(struct nvbios_init *init) init_exec_set(init, true); } -/** +/* * INIT_STRAP_CONDITION - opcode 0x73 * */ @@ -1773,7 +1773,7 @@ init_strap_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_TIME - opcode 0x74 * */ @@ -1794,7 +1794,7 @@ init_time(struct nvbios_init *init) } } -/** +/* * INIT_CONDITION - opcode 0x75 * */ @@ -1811,7 +1811,7 @@ init_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_IO_CONDITION - opcode 0x76 * */ @@ -1...
2009 Aug 20
1
Delays in DRM nouveau_bios.c
...59,7 @@ init_reset(struct nvbios *bios, uint16_t offset, struct init_exec *iexec) bios_wr32(bios, NV_PBUS_PCI_NV_19, 0); bios_wr32(bios, reg, value1); - BIOS_USLEEP(10); + bios_usleep(10); bios_wr32(bios, reg, value2); bios_wr32(bios, NV_PBUS_PCI_NV_19, pci_nv_19); @@ -2233,8 +2241,7 @@ init_time(struct nvbios *bios, uint16_t offset, struct init_exec *iexec) BIOSLOG(bios, "0x%04X: Sleeping for 0x%04X microseconds\n", offset, time); - BIOS_USLEEP(time); - + bios_usleep(time); return true; } @@ -2872,9 +2879,11 @@ static int call_lvds_manufacturer_script(struct drm_devic...
2008 Apr 21
0
hang when starting X
...eg: 0x00001240, Count: 0x04 (II) NOUVEAU(0): Write: Reg: 0x00001240, Data: 0x80000A0A (II) NOUVEAU(0): Write: Reg: 0x00001244, Data: 0x00000000 (II) NOUVEAU(0): Write: Reg: 0x00001248, Data: 0xF83E0000 (II) NOUVEAU(0): Write: Reg: 0x0000124C, Data: 0xAA11AA11 (II) NOUVEAU(0): 0xE7EB: [ (0x74) - INIT_TIME ] (II) NOUVEAU(0): 0xE7EB: Sleeping for 0x07D0 microseconds (II) NOUVEAU(0): 0xE7EE: [ (0x32) - INIT_IO_RESTRICT_PROG ] (II) NOUVEAU(0): 0xE7EE: Port: 0x03D4, Index: 0x3C, Mask: 0x70, Shift: 0x04, Count: 0x08, Reg: 0x00100218 (II) NOUVEAU(0): Indexed IO read: Port: 0x03D4, Index: 0x3C, Head: 0x00...
2009 Dec 15
2
[PATCH 1/2] drm/nouveau: Kill global state in NvShadowBIOS
--- drivers/gpu/drm/nouveau/nouveau_bios.c | 47 ++++++++++++++----------------- 1 files changed, 21 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 5eec5ed..04ac564 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -181,43 +181,42 @@ struct methods { const char
2007 Nov 01
4
Looking for NV44 testers?
...17: [ (0x32) - INIT_IO_RESTRICT_PROG ] (II) NOUVEAU(0): 0xE417: CRTC REG: 0x03D4, INDEX: 0x3C (II) NOUVEAU(0): 0xE417: CONFIGURATION TO USE: 0x02 (II) NOUVEAU(0): 0xE417: REG: 0x00100460, VALUE: 0x99999999 (II) NOUVEAU(0): 0xE417: CURRENT VALUE IS: 0x99999999 (II) NOUVEAU(0): 0xE442: [ (0x74) - INIT_TIME ] (II) NOUVEAU(0): 0xE442: Sleeping for 0x03E8 microseconds. (II) NOUVEAU(0): 0xE445: [ (0x32) - INIT_IO_RESTRICT_PROG ] (II) NOUVEAU(0): 0xE445: CRTC REG: 0x03D4, INDEX: 0x3C (II) NOUVEAU(0): 0xE445: CONFIGURATION TO USE: 0x02 (II) NOUVEAU(0): 0xE445: REG: 0x00100218, VALUE: 0x00000100 (II) NOUV...
2011 Feb 03
0
[PATCH R3 4/7] xen/balloon: Migration from mod_timer() to schedule_delayed_work()
...oon_stats.target_pages = target; - schedule_work(&balloon_worker); + schedule_delayed_work(&balloon_worker, 0); } static struct xenbus_watch target_watch = @@ -400,10 +394,6 @@ static int __init balloon_init(void) balloon_stats.balloon_low = 0; balloon_stats.balloon_high = 0; - init_timer(&balloon_timer); - balloon_timer.data = 0; - balloon_timer.function = balloon_alarm; - register_balloon(&balloon_sysdev); /* -- 1.5.6.5 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2013 Jun 24
3
[PATCH v2] xen-netback: add a pseudo pps rate limit
...back/interface.c @@ -273,6 +273,7 @@ struct xenvif *xenvif_alloc(struct device *parent, domid_t domid, INIT_LIST_HEAD(&vif->notify_list); vif->credit_bytes = vif->remaining_credit = ~0UL; + vif->credit_packets = vif->remaining_packets = ~0UL; vif->credit_usec = 0UL; init_timer(&vif->credit_timeout); /* Initialize ''expires'' now: it''s used to track the credit window. */ diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index 8c20935..097a390 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/ne...
2008 May 02
1
[PATCH] virtio_net: free transmit skbs in a timer
On Thursday 01 May 2008 00:31:46 Mark McLoughlin wrote: > virtio_net currently only frees old transmit skbs just > before queueing new ones. If the queue is full, it then > enables interrupts and waits for notification that more > work has been performed. Hi Mark, This patch is fine, but it's better to do it from skb_xmit_done(). Of course, this is usually called from an
2008 May 02
1
[PATCH] virtio_net: free transmit skbs in a timer
On Thursday 01 May 2008 00:31:46 Mark McLoughlin wrote: > virtio_net currently only frees old transmit skbs just > before queueing new ones. If the queue is full, it then > enables interrupts and waits for notification that more > work has been performed. Hi Mark, This patch is fine, but it's better to do it from skb_xmit_done(). Of course, this is usually called from an
2009 Oct 02
0
Disaster at annarchy
...; With the old BIOS_USLEEP, this delay would vanish. > > an error in the ddx -> drm conversion I think > > >> > > >> > bios_wr32(bios, reg, value2); > >> > bios_wr32(bios, NV_PBUS_PCI_NV_19, pci_nv_19); > >> > @@ -2233,8 +2241,7 @@ init_time(struct nvbios *bios, > >> > uint16_t offset, struct init_exec *iexec) BIOSLOG(bios, > >> > "0x%04X: Sleeping for 0x%04X microseconds\n", offset, time); > >> > > >> > - BIOS_USLEEP(time); > >> > - > >> > + bios_uslee...
2011 Jul 26
0
[xen-4.1-testing test] 8285: trouble: broken/fail/pass
...7ff25 tag: tip user: Tim Deegan <Tim.Deegan@citrix.com> date: Mon Jul 25 16:48:39 2011 +0100 VT-d: always clean up dpci timers. If a VM has all its PCI devices deassigned, need_iommu(d) becomes false but it might still have DPCI EOI timers that were init_timer()d but not yet kill_timer()d. That causes xen to crash later because the linked list of inactive timers gets corrupted, e.g.: (XEN) Xen call trace: (XEN) [<ffff82c480126256>] set_timer+0x1c2/0x24f (XEN) [<ffff82c48011fbf8>] schedule+0x129/0x5dd (XEN)...
2013 Oct 28
3
[PATCH net V2] xen-netback: use jiffies_64 value to calculate credit timeout
...terface.c index 01bb854..459935a 100644 --- a/drivers/net/xen-netback/interface.c +++ b/drivers/net/xen-netback/interface.c @@ -312,8 +312,7 @@ struct xenvif *xenvif_alloc(struct device *parent, domid_t domid, vif->credit_bytes = vif->remaining_credit = ~0UL; vif->credit_usec = 0UL; init_timer(&vif->credit_timeout); - /* Initialize ''expires'' now: it''s used to track the credit window. */ - vif->credit_timeout.expires = jiffies; + vif->credit_window_start = get_jiffies_64(); dev->netdev_ops = &xenvif_netdev_ops; dev->hw_features = NE...
2011 Jul 25
0
[xen-4.1-testing test] 8273: regressions - trouble: blocked/broken/fail/pass
...7ff25 tag: tip user: Tim Deegan <Tim.Deegan@citrix.com> date: Mon Jul 25 16:48:39 2011 +0100 VT-d: always clean up dpci timers. If a VM has all its PCI devices deassigned, need_iommu(d) becomes false but it might still have DPCI EOI timers that were init_timer()d but not yet kill_timer()d. That causes xen to crash later because the linked list of inactive timers gets corrupted, e.g.: (XEN) Xen call trace: (XEN) [<ffff82c480126256>] set_timer+0x1c2/0x24f (XEN) [<ffff82c48011fbf8>] schedule+0x129/0x5dd (XEN)...
2007 May 15
3
[PATCH 1/12] Add suspend/resume to devices owned by Xen
...set_timer(&cyclone_overflow_timer, NOW() + MILLISECS(20000)); } @@ -497,8 +540,6 @@ static int init_cyclone(void) *(map_cyclone_reg(base + CYCLONE_MPCS_OFFSET)) = 1; cyclone_timer = map_cyclone_reg(base + CYCLONE_MPMC_OFFSET); - read_platform_count = read_cyclone_count; - init_timer(&cyclone_overflow_timer, cyclone_overflow, NULL, 0); cyclone_overflow(NULL); platform_timer_stamp = cyclone_counter64; @@ -510,6 +551,23 @@ static int init_cyclone(void) return 1; } +static void resume_cyclone(void) +{ + unsigned long flags; + + spin_lock_irqsave(&p...
2004 Mar 18
6
[PATCH] packet delay scheduler
...gt;qdisc = &noop_qdisc; + } else { + q->latency = qopt->latency; + q->limit = qopt->limit; + } + return err; +} + +static int dly_init(struct Qdisc *sch, struct rtattr *opt) +{ + struct dly_sched_data *q = (struct dly_sched_data *)sch->data; + + if (!opt) + return -EINVAL; + + init_timer(&q->timer); + q->timer.function = dly_timer; + q->timer.data = (unsigned long) sch; + q->qdisc = &noop_qdisc; + + return dly_change(sch, opt); +} + +static void dly_destroy(struct Qdisc *sch) +{ + struct dly_sched_data *q = (struct dly_sched_data *)sch->data; + + del_timer(&...
2023 Jun 09
7
[RESEND 00/15] Rid W=1 warnings from GPU
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Lee Jones (15): drm/xlnx/zynqmp_disp: Use correct kerneldoc formatting in zynqmp_disp drm/xlnx/zynqmp_dp: Fix function name zynqmp_dp_link_train() -> zynqmp_dp_train() drm/vkms/vkms_composer: Fix a few different kerneldoc formatting
2009 Jul 15
0
[PATCH] rename for_each_cpu() to for_each_possible_cpu()
...mmon/schedule.c 2009-07-15 10:03:11.000000000 +0200 @@ -918,7 +918,7 @@ void __init scheduler_init(void) open_softirq(SCHEDULE_SOFTIRQ, schedule); - for_each_cpu ( i ) + for_each_possible_cpu ( i ) { spin_lock_init(&per_cpu(schedule_data, i).schedule_lock); init_timer(&per_cpu(schedule_data, i).s_timer, s_timer_fn, NULL, i); --- 2009-07-10.orig/xen/common/timer.c 2009-02-18 17:45:17.000000000 +0100 +++ 2009-07-10/xen/common/timer.c 2009-07-15 10:02:46.000000000 +0200 @@ -529,7 +529,7 @@ void __init timer_init(void) SET_HEAP_SIZE(&dummy_heap, 0);...
2023 Aug 24
7
[PATCH (set 1) 00/20] Rid W=1 warnings from GPU
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Cc: Alex Deucher <alexander.deucher at amd.com> Cc: amd-gfx at lists.freedesktop.org Cc: Ben Skeggs <bskeggs at redhat.com> Cc: "Christian K?nig" <christian.koenig at amd.com> Cc: Daniel Vetter <daniel at ffwll.ch>