search for: resume_offset

Displaying 14 results from an estimated 14 matches for "resume_offset".

2019 Jan 20
0
[klibc:master] resume: Write resume_offset attribute
...p=libs/klibc/klibc.git;a=commit;h=a2f9cd4abe2d5cb72e1e89089b132e866e3cea81 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Thu, 19 Jul 2018 20:09:28 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sun, 20 Jan 2019 00:22:24 +0000 [klibc] resume: Write resume_offset attribute Support for a device offset as part of the string written to /sys/power/resume never got into a mainline kernel. However, since Linux 4.17 there is a separate resume_offset attribute that we can use to set the offset before attempting to resume. Change resume() to write the resume_offs...
2018 Mar 30
0
[PATCH] resume: Use the kernel API from 4.17 for setting resume offset
The previous API for setting resume offset didn't actually work in the kernel. It silently ignored this part of the string. A new API was introduced under /sys/power/resume_offset specifically for setting this value. https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=648464076160ee7a4112d05eea13621790ab9d04 Signed-off-by: Mario Limonciello <mario.limonciello at dell.com> --- usr/kinit/resume/resumelib.c | 18 ++++++++++++++...
2020 Aug 19
0
[PATCH 07/28] 53c700: improve non-coherent DMA handling
...SG; - dma_cache_sync(hostdata->dev, hostdata->msgout, 1, DMA_TO_DEVICE); - script_patch_16(hostdata->dev, hostdata->script, MessageCount, - 1); + dma_sync_to_dev(hostdata, hostdata->msgout, 1); + script_patch_16(hostdata, hostdata->script, MessageCount, 1); resume_offset = hostdata->pScript + Ent_SendMessageWithATN; break; @@ -832,9 +853,8 @@ process_extended_message(struct Scsi_Host *host, printk("\n"); /* just reject it */ hostdata->msgout[0] = A_REJECT_MSG; - dma_cache_sync(hostdata->dev, hostdata->msgout, 1, DMA_TO_DEVICE);...
2020 Sep 15
0
[PATCH 07/18] 53c700: improve non-coherent DMA handling
...SG; - dma_cache_sync(hostdata->dev, hostdata->msgout, 1, DMA_TO_DEVICE); - script_patch_16(hostdata->dev, hostdata->script, MessageCount, - 1); + dma_sync_to_dev(hostdata, hostdata->msgout, 1); + script_patch_16(hostdata, hostdata->script, MessageCount, 1); resume_offset = hostdata->pScript + Ent_SendMessageWithATN; break; @@ -832,9 +853,8 @@ process_extended_message(struct Scsi_Host *host, printk("\n"); /* just reject it */ hostdata->msgout[0] = A_REJECT_MSG; - dma_cache_sync(hostdata->dev, hostdata->msgout, 1, DMA_TO_DEVICE);...
2020 Sep 14
2
[PATCH 07/17] 53c700: improve non-coherent DMA handling
...SG; - dma_cache_sync(hostdata->dev, hostdata->msgout, 1, DMA_TO_DEVICE); - script_patch_16(hostdata->dev, hostdata->script, MessageCount, - 1); + dma_sync_to_dev(hostdata, hostdata->msgout, 1); + script_patch_16(hostdata, hostdata->script, MessageCount, 1); resume_offset = hostdata->pScript + Ent_SendMessageWithATN; break; @@ -832,9 +853,8 @@ process_extended_message(struct Scsi_Host *host, printk("\n"); /* just reject it */ hostdata->msgout[0] = A_REJECT_MSG; - dma_cache_sync(hostdata->dev, hostdata->msgout, 1, DMA_TO_DEVICE);...
2007 Jul 21
2
Please How do I calculate the offset of a file within a ext3 partition
Hi, I need to understand and to calculate the offset of the beginning of a file within my partition which uses an ext3 filesystem. Can I use dumpe2fs to figure that out, if yes how? Sincerely, William Tambe
2011 May 20
1
Help! Xen dom0 kernel-2.6.38 shows blank screen!
...ity Radeon HD 4500 Series] My grub.conf: title ArchLinux-2.6-my-xen root (hd0,0) kernel /archlinux/xen-4.1.0.gz dom0_mem=2048M noreboot sync_console console_to_ring loglvl=all guest_loglvl=all module /archlinux/vmlinuz26-my ro root=/dev/disk/by-label/ROOT panic=30 resume=/dev/disk/by-label/RW resume_offset=2750468 console=tty0 console=hvc0 earlyprintk=xen module /archlinux/kernel26-my.img My dom0 kernel compilation options (grep -i xen .config): CONFIG_XEN=y CONFIG_XEN_DOM0=y CONFIG_XEN_PRIVILEGED_GUEST=y CONFIG_XEN_PVHVM=y CONFIG_XEN_MAX_DOMAIN_MEMORY=128 CONFIG_XEN_SAVE_RESTORE=y # CONFIG_XEN_...
2019 Feb 01
0
[ANNOUNCE] klibc 2.0.6
...libc] 2.0.5 released, next version is 2.0.6 [klibc] Build and install shared binaries only if KLIBCSHAREDFLAGS is defined [klibc] Build and install kinit and sh without ".shared" suffix [klibc] Kbuild: Add option to install unstripped binaries [klibc] resume: Write resume_offset attribute [klibc] Use -Ttext-segment to link shared library on all arches [klibc] Kbuild: Enable full debug information [klibc] alpha: Fix dual1 system call wrapper [klibc] fcntl: Fix struct flock for 32-bit architectures [klibc] parisc: Fix vfork() [klibc] Fix e...
2019 Apr 18
1
[PATCH] Allow the initramfs to be persisted across root changes
...} + + /* Overmount the root */ + if (mount(".", "/", NULL, MS_MOVE, NULL)) diff --git a/debian/patches/series b/debian/patches/series index f13f4631..5be39790 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ resume-backward-compatibility-for-resume_offset.patch klibc-klcc-enable-stripping-even-if-config_debug_inf.patch +run-init-allow-initramfs-persist -- 2.21.0.392.gf8f6787159e-goog
2020 Sep 14
20
a saner API for allocating DMA addressable pages v2
Hi all, this series replaced the DMA_ATTR_NON_CONSISTENT flag to dma_alloc_attrs with a separate new dma_alloc_pages API, which is available on all platforms. In addition to cleaning up the convoluted code path, this ensures that other drivers that have asked for better support for non-coherent DMA to pages with incurring bounce buffering over can finally be properly supported. I'm still a
2020 Sep 15
32
a saner API for allocating DMA addressable pages v3
Hi all, this series replaced the DMA_ATTR_NON_CONSISTENT flag to dma_alloc_attrs with a separate new dma_alloc_pages API, which is available on all platforms. In addition to cleaning up the convoluted code path, this ensures that other drivers that have asked for better support for non-coherent DMA to pages with incurring bounce buffering over can finally be properly supported. As a follow up I
2010 Apr 25
2
[git pull] small fixes, sh4, getruage() README's
...ned-off-by: maximilian attems <max at stro.at> diff --git a/usr/kinit/resume/resumelib.c b/usr/kinit/resume/resumelib.c index 5233e7e..4a615f0 100644 --- a/usr/kinit/resume/resumelib.c +++ b/usr/kinit/resume/resumelib.c @@ -77,7 +77,7 @@ int resume(const char *resume_file, unsigned long long resume_offset) failure: if (powerfd >= 0) close(powerfd); - fprintf(stderr, "kinit: No resume image, doing normal boot...\n"); + dprintf(stderr, "kinit: No resume image, doing normal boot...\n"); return -1; fail_r: commit 8d38b56e6f2c9dac342df3de919775cc38eba603 Author: Thorste...
2020 Aug 19
39
a saner API for allocating DMA addressable pages
Hi all, this series replaced the DMA_ATTR_NON_CONSISTENT flag to dma_alloc_attrs with a separate new dma_alloc_pages API, which is available on all platforms. In addition to cleaning up the convoluted code path, this ensures that other drivers that have asked for better support for non-coherent DMA to pages with incurring bounce buffering over can finally be properly supported. I'm still a
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
...ned-off-by: maximilian attems <max at stro.at> diff --git a/usr/kinit/resume/resumelib.c b/usr/kinit/resume/resumelib.c index 5233e7e..32954bb 100644 --- a/usr/kinit/resume/resumelib.c +++ b/usr/kinit/resume/resumelib.c @@ -77,7 +77,7 @@ int resume(const char *resume_file, unsigned long long resume_offset) failure: if (powerfd >= 0) close(powerfd); - fprintf(stderr, "kinit: No resume image, doing normal boot...\n"); + dprintf("kinit: No resume image, doing normal boot...\n"); return -1; fail_r: commit fcceed7687bde392831c8eefa4c36600ce837fac Author: Thorsten Glaser...