<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/platforms/powermac, branch linux-4.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.11.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.11.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-03-02T07:42:35Z</updated>
<entry>
<title>sched/headers: Prepare for new header dependencies before moving code to &lt;linux/sched/hotplug.h&gt;</title>
<updated>2017-03-02T07:42:35Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2017-02-08T17:51:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef8bd77f332bb0a4e467d7171bbfc6c57aa08a88'/>
<id>urn:sha1:ef8bd77f332bb0a4e467d7171bbfc6c57aa08a88</id>
<content type='text'>
We are going to split &lt;linux/sched/hotplug.h&gt; out of &lt;linux/sched.h&gt;, which
will have to be picked up from other headers and a couple of .c files.

Create a trivial placeholder &lt;linux/sched/hotplug.h&gt; file that just
maps to &lt;linux/sched.h&gt; to make this patch obviously correct and
bisectable.

Include the new header in the files that are going to need it.

Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Mike Galbraith &lt;efault@gmx.de&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c_powermac: shut up lockdep warning</title>
<updated>2016-11-14T00:11:51Z</updated>
<author>
<name>Denis Kirjanov</name>
</author>
<published>2016-09-21T11:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e607f72748ddc5620aeeb8d1f32f30c79b360b9'/>
<id>urn:sha1:9e607f72748ddc5620aeeb8d1f32f30c79b360b9</id>
<content type='text'>
That's unclear why lockdep shows the following warning but adding a
lockdep class to struct pmac_i2c_bus solves it

[   20.507795] ======================================================
[   20.507796] [ INFO: possible circular locking dependency detected ]
[   20.507800] 4.8.0-rc7-00037-gd2ffb01 #21 Not tainted
[   20.507801] -------------------------------------------------------
[   20.507803] swapper/0/1 is trying to acquire lock:
[   20.507818]  (&amp;bus-&gt;mutex){+.+.+.}, at: [&lt;c000000000052830&gt;] .pmac_i2c_open+0x30/0x100
[   20.507819]
[   20.507819] but task is already holding lock:
[   20.507829]  (&amp;policy-&gt;rwsem){+.+.+.}, at: [&lt;c00000000068adcc&gt;] .cpufreq_online+0x1ac/0x9d0
[   20.507830]
[   20.507830] which lock already depends on the new lock.
[   20.507830]
[   20.507832]
[   20.507832] the existing dependency chain (in reverse order) is:
[   20.507837]
[   20.507837] -&gt; #4 (&amp;policy-&gt;rwsem){+.+.+.}:
[   20.507844]        [&lt;c00000000082385c&gt;] .down_write+0x6c/0x110
[   20.507849]        [&lt;c00000000068adcc&gt;] .cpufreq_online+0x1ac/0x9d0
[   20.507855]        [&lt;c0000000004d76d8&gt;] .subsys_interface_register+0xb8/0x110
[   20.507860]        [&lt;c000000000689bb0&gt;] .cpufreq_register_driver+0x1d0/0x250
[   20.507866]        [&lt;c000000000b4f8f4&gt;] .g5_cpufreq_init+0x9cc/0xa28
[   20.507872]        [&lt;c00000000000a98c&gt;] .do_one_initcall+0x5c/0x1d0
[   20.507878]        [&lt;c000000000b0f86c&gt;] .kernel_init_freeable+0x1ac/0x28c
[   20.507883]        [&lt;c00000000000b3bc&gt;] .kernel_init+0x1c/0x140
[   20.507887]        [&lt;c0000000000098f4&gt;] .ret_from_kernel_thread+0x58/0x64
[   20.507894]
[   20.507894] -&gt; #3 (subsys mutex#2){+.+.+.}:
[   20.507899]        [&lt;c000000000820448&gt;] .mutex_lock_nested+0xa8/0x590
[   20.507903]        [&lt;c0000000004d7f24&gt;] .bus_probe_device+0x44/0xe0
[   20.507907]        [&lt;c0000000004d5208&gt;] .device_add+0x508/0x730
[   20.507911]        [&lt;c0000000004dd528&gt;] .register_cpu+0x118/0x190
[   20.507916]        [&lt;c000000000b14450&gt;] .topology_init+0x148/0x248
[   20.507921]        [&lt;c00000000000a98c&gt;] .do_one_initcall+0x5c/0x1d0
[   20.507925]        [&lt;c000000000b0f86c&gt;] .kernel_init_freeable+0x1ac/0x28c
[   20.507929]        [&lt;c00000000000b3bc&gt;] .kernel_init+0x1c/0x140
[   20.507934]        [&lt;c0000000000098f4&gt;] .ret_from_kernel_thread+0x58/0x64
[   20.507939]
[   20.507939] -&gt; #2 (cpu_add_remove_lock){+.+.+.}:
[   20.507944]        [&lt;c000000000820448&gt;] .mutex_lock_nested+0xa8/0x590
[   20.507950]        [&lt;c000000000087a9c&gt;] .register_cpu_notifier+0x2c/0x70
[   20.507955]        [&lt;c000000000b267e0&gt;] .spawn_ksoftirqd+0x18/0x4c
[   20.507959]        [&lt;c00000000000a98c&gt;] .do_one_initcall+0x5c/0x1d0
[   20.507964]        [&lt;c000000000b0f770&gt;] .kernel_init_freeable+0xb0/0x28c
[   20.507968]        [&lt;c00000000000b3bc&gt;] .kernel_init+0x1c/0x140
[   20.507972]        [&lt;c0000000000098f4&gt;] .ret_from_kernel_thread+0x58/0x64
[   20.507978]
[   20.507978] -&gt; #1 (&amp;host-&gt;mutex){+.+.+.}:
[   20.507982]        [&lt;c000000000820448&gt;] .mutex_lock_nested+0xa8/0x590
[   20.507987]        [&lt;c0000000000527e8&gt;] .kw_i2c_open+0x18/0x30
[   20.507991]        [&lt;c000000000052894&gt;] .pmac_i2c_open+0x94/0x100
[   20.507995]        [&lt;c000000000b220a0&gt;] .smp_core99_probe+0x260/0x410
[   20.507999]        [&lt;c000000000b185bc&gt;] .smp_prepare_cpus+0x280/0x2ac
[   20.508003]        [&lt;c000000000b0f748&gt;] .kernel_init_freeable+0x88/0x28c
[   20.508008]        [&lt;c00000000000b3bc&gt;] .kernel_init+0x1c/0x140
[   20.508012]        [&lt;c0000000000098f4&gt;] .ret_from_kernel_thread+0x58/0x64
[   20.508018]
[   20.508018] -&gt; #0 (&amp;bus-&gt;mutex){+.+.+.}:
[   20.508023]        [&lt;c0000000000ed5b4&gt;] .lock_acquire+0x84/0x100
[   20.508027]        [&lt;c000000000820448&gt;] .mutex_lock_nested+0xa8/0x590
[   20.508032]        [&lt;c000000000052830&gt;] .pmac_i2c_open+0x30/0x100
[   20.508037]        [&lt;c000000000052e14&gt;] .pmac_i2c_do_begin+0x34/0x120
[   20.508040]        [&lt;c000000000056bc0&gt;] .pmf_call_one+0x50/0xd0
[   20.508045]        [&lt;c00000000068ff1c&gt;] .g5_pfunc_switch_volt+0x2c/0xc0
[   20.508050]        [&lt;c00000000068fecc&gt;] .g5_pfunc_switch_freq+0x1cc/0x1f0
[   20.508054]        [&lt;c00000000068fc2c&gt;] .g5_cpufreq_target+0x2c/0x40
[   20.508058]        [&lt;c0000000006873ec&gt;] .__cpufreq_driver_target+0x23c/0x840
[   20.508062]        [&lt;c00000000068c798&gt;] .cpufreq_gov_performance_limits+0x18/0x30
[   20.508067]        [&lt;c00000000068915c&gt;] .cpufreq_start_governor+0xac/0x100
[   20.508071]        [&lt;c00000000068a788&gt;] .cpufreq_set_policy+0x208/0x260
[   20.508076]        [&lt;c00000000068abdc&gt;] .cpufreq_init_policy+0x6c/0xb0
[   20.508081]        [&lt;c00000000068ae70&gt;] .cpufreq_online+0x250/0x9d0
[   20.508085]        [&lt;c0000000004d76d8&gt;] .subsys_interface_register+0xb8/0x110
[   20.508090]        [&lt;c000000000689bb0&gt;] .cpufreq_register_driver+0x1d0/0x250
[   20.508094]        [&lt;c000000000b4f8f4&gt;] .g5_cpufreq_init+0x9cc/0xa28
[   20.508099]        [&lt;c00000000000a98c&gt;] .do_one_initcall+0x5c/0x1d0
[   20.508103]        [&lt;c000000000b0f86c&gt;] .kernel_init_freeable+0x1ac/0x28c
[   20.508107]        [&lt;c00000000000b3bc&gt;] .kernel_init+0x1c/0x140
[   20.508112]        [&lt;c0000000000098f4&gt;] .ret_from_kernel_thread+0x58/0x64
[   20.508113]
[   20.508113] other info that might help us debug this:
[   20.508113]
[   20.508121] Chain exists of:
[   20.508121]   &amp;bus-&gt;mutex --&gt; subsys mutex#2 --&gt; &amp;policy-&gt;rwsem
[   20.508121]
[   20.508123]  Possible unsafe locking scenario:
[   20.508123]
[   20.508124]        CPU0                    CPU1
[   20.508125]        ----                    ----
[   20.508128]   lock(&amp;policy-&gt;rwsem);
[   20.508132]                                lock(subsys mutex#2);
[   20.508135]                                lock(&amp;policy-&gt;rwsem);
[   20.508138]   lock(&amp;bus-&gt;mutex);
[   20.508139]
[   20.508139]  *** DEADLOCK ***
[   20.508139]
[   20.508141] 3 locks held by swapper/0/1:
[   20.508150]  #0:  (cpu_hotplug.lock){++++++}, at: [&lt;c000000000087838&gt;] .get_online_cpus+0x48/0xc0
[   20.508159]  #1:  (subsys mutex#2){+.+.+.}, at: [&lt;c0000000004d7670&gt;] .subsys_interface_register+0x50/0x110
[   20.508168]  #2:  (&amp;policy-&gt;rwsem){+.+.+.}, at: [&lt;c00000000068adcc&gt;] .cpufreq_online+0x1ac/0x9d0
[   20.508169]
[   20.508169] stack backtrace:
[   20.508173] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.8.0-rc7-00037-gd2ffb01 #21
[   20.508175] Call Trace:
[   20.508180] [c0000000790c2b90] [c00000000082cc70] .dump_stack+0xe0/0x14c (unreliable)
[   20.508184] [c0000000790c2c20] [c000000000828c88] .print_circular_bug+0x350/0x388
[   20.508188] [c0000000790c2cd0] [c0000000000ecb0c] .__lock_acquire+0x196c/0x1d30
[   20.508192] [c0000000790c2e50] [c0000000000ed5b4] .lock_acquire+0x84/0x100
[   20.508196] [c0000000790c2f20] [c000000000820448] .mutex_lock_nested+0xa8/0x590
[   20.508201] [c0000000790c3030] [c000000000052830] .pmac_i2c_open+0x30/0x100
[   20.508206] [c0000000790c30c0] [c000000000052e14] .pmac_i2c_do_begin+0x34/0x120
[   20.508209] [c0000000790c3150] [c000000000056bc0] .pmf_call_one+0x50/0xd0
[   20.508213] [c0000000790c31e0] [c00000000068ff1c] .g5_pfunc_switch_volt+0x2c/0xc0
[   20.508217] [c0000000790c3250] [c00000000068fecc] .g5_pfunc_switch_freq+0x1cc/0x1f0
[   20.508221] [c0000000790c3320] [c00000000068fc2c] .g5_cpufreq_target+0x2c/0x40
[   20.508226] [c0000000790c3390] [c0000000006873ec] .__cpufreq_driver_target+0x23c/0x840
[   20.508230] [c0000000790c3440] [c00000000068c798] .cpufreq_gov_performance_limits+0x18/0x30
[   20.508235] [c0000000790c34b0] [c00000000068915c] .cpufreq_start_governor+0xac/0x100
[   20.508239] [c0000000790c3530] [c00000000068a788] .cpufreq_set_policy+0x208/0x260
[   20.508244] [c0000000790c35d0] [c00000000068abdc] .cpufreq_init_policy+0x6c/0xb0
[   20.508249] [c0000000790c3940] [c00000000068ae70] .cpufreq_online+0x250/0x9d0
[   20.508253] [c0000000790c3a30] [c0000000004d76d8] .subsys_interface_register+0xb8/0x110
[   20.508258] [c0000000790c3ad0] [c000000000689bb0] .cpufreq_register_driver+0x1d0/0x250
[   20.508262] [c0000000790c3b60] [c000000000b4f8f4] .g5_cpufreq_init+0x9cc/0xa28
[   20.508267] [c0000000790c3c20] [c00000000000a98c] .do_one_initcall+0x5c/0x1d0
[   20.508271] [c0000000790c3d00] [c000000000b0f86c] .kernel_init_freeable+0x1ac/0x28c
[   20.508276] [c0000000790c3db0] [c00000000000b3bc] .kernel_init+0x1c/0x140
[   20.508280] [c0000000790c3e30] [c0000000000098f4] .ret_from_kernel_thread+0x58/0x64

Signed-off-by: Denis Kirjanov &lt;kda@linux-powerpc.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>Merge tag 'powerpc-4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux</title>
<updated>2016-10-08T03:19:31Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2016-10-08T03:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07021b43597f506cc525d139ed1a94e79cf184f2'/>
<id>urn:sha1:07021b43597f506cc525d139ed1a94e79cf184f2</id>
<content type='text'>
Pull powerpc updates from Michael Ellerman:
 "Highlights:
   - Major rework of Book3S 64-bit exception vectors (Nicholas Piggin)
   - Use gas sections for arranging exception vectors et. al.
   - Large set of TM cleanups and selftests (Cyril Bur)
   - Enable transactional memory (TM) lazily for userspace (Cyril Bur)
   - Support for XZ compression in the zImage wrapper (Oliver
     O'Halloran)
   - Add support for bpf constant blinding (Naveen N. Rao)
   - Beginnings of upstream support for PA Semi Nemo motherboards
     (Darren Stevens)

  Fixes:
   - Ensure .mem(init|exit).text are within _stext/_etext (Michael
     Ellerman)
   - xmon: Don't use ld on 32-bit (Michael Ellerman)
   - vdso64: Use double word compare on pointers (Anton Blanchard)
   - powerpc/nvram: Fix an incorrect partition merge (Pan Xinhui)
   - powerpc: Fix usage of _PAGE_RO in hugepage (Christophe Leroy)
   - powerpc/mm: Update FORCE_MAX_ZONEORDER range to allow hugetlb w/4K
     (Aneesh Kumar K.V)
   - Fix memory leak in queue_hotplug_event() error path (Andrew
     Donnellan)
   - Replay hypervisor maintenance interrupt first (Nicholas Piggin)

  Various performance optimisations (Anton Blanchard):
   - Align hot loops of memset() and backwards_memcpy()
   - During context switch, check before setting mm_cpumask
   - Remove static branch prediction in atomic{, 64}_add_unless
   - Only disable HAVE_EFFICIENT_UNALIGNED_ACCESS on POWER7 little
     endian
   - Set default CPU type to POWER8 for little endian builds

  Cleanups &amp; features:
   - Sparse fixes/cleanups (Daniel Axtens)
   - Preserve CFAR value on SLB miss caused by access to bogus address
     (Paul Mackerras)
   - Radix MMU fixups for POWER9 (Aneesh Kumar K.V)
   - Support for setting used_(vsr|vr|spe) in sigreturn path (for CRIU)
     (Simon Guo)
   - Optimise syscall entry for virtual, relocatable case (Nicholas
     Piggin)
   - Optimise MSR handling in exception handling (Nicholas Piggin)
   - Support for kexec with Radix MMU (Benjamin Herrenschmidt)
   - powernv EEH fixes (Russell Currey)
   - Suprise PCI hotplug support for powernv (Gavin Shan)
   - Endian/sparse fixes for powernv PCI (Gavin Shan)
   - Defconfig updates (Anton Blanchard)
   - KVM: PPC: Book3S HV: Migrate pinned pages out of CMA (Balbir Singh)
   - cxl: Flush PSL cache before resetting the adapter (Frederic Barrat)
   - cxl: replace loop with for_each_child_of_node(), remove unneeded
     of_node_put() (Andrew Donnellan)
   - Fix HV facility unavailable to use correct handler (Nicholas
     Piggin)
   - Remove unnecessary syscall trampoline (Nicholas Piggin)
   - fadump: Fix build break when CONFIG_PROC_VMCORE=n (Michael
     Ellerman)
   - Quieten EEH message when no adapters are found (Anton Blanchard)
   - powernv: Add PHB register dump debugfs handle (Russell Currey)
   - Use kprobe blacklist for exception handlers &amp; asm functions
     (Nicholas Piggin)
   - Document the syscall ABI (Nicholas Piggin)
   - MAINTAINERS: Update cxl maintainers (Michael Neuling)
   - powerpc: Remove all usages of NO_IRQ (Michael Ellerman)

  Minor cleanups:
   - Andrew Donnellan, Christophe Leroy, Colin Ian King, Cyril Bur,
     Frederic Barrat, Pan Xinhui, PrasannaKumar Muralidharan, Rui Teng,
     Simon Guo"

* tag 'powerpc-4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (156 commits)
  powerpc/bpf: Add support for bpf constant blinding
  powerpc/bpf: Implement support for tail calls
  powerpc/bpf: Introduce accessors for using the tmp local stack space
  powerpc/fadump: Fix build break when CONFIG_PROC_VMCORE=n
  powerpc: tm: Enable transactional memory (TM) lazily for userspace
  powerpc/tm: Add TM Unavailable Exception
  powerpc: Remove do_load_up_transact_{fpu,altivec}
  powerpc: tm: Rename transct_(*) to ck(\1)_state
  powerpc: tm: Always use fp_state and vr_state to store live registers
  selftests/powerpc: Add checks for transactional VSXs in signal contexts
  selftests/powerpc: Add checks for transactional VMXs in signal contexts
  selftests/powerpc: Add checks for transactional FPUs in signal contexts
  selftests/powerpc: Add checks for transactional GPRs in signal contexts
  selftests/powerpc: Check that signals always get delivered
  selftests/powerpc: Add TM tcheck helpers in C
  selftests/powerpc: Allow tests to extend their kill timeout
  selftests/powerpc: Introduce GPR asm helper header file
  selftests/powerpc: Move VMX stack frame macros to header file
  selftests/powerpc: Rework FPU stack placement macros and move to header file
  selftests/powerpc: Check for VSX preservation across userspace preemption
  ...
</content>
</entry>
<entry>
<title>powerpc: Remove all usages of NO_IRQ</title>
<updated>2016-09-20T10:57:12Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2016-09-06T11:53:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef24ba7091517d2bbf9ba2cb4256c0dccd51d248'/>
<id>urn:sha1:ef24ba7091517d2bbf9ba2cb4256c0dccd51d248</id>
<content type='text'>
NO_IRQ has been == 0 on powerpc for just over ten years (since commit
0ebfff1491ef ("[POWERPC] Add new interrupt mapping core and change
platforms to use it")). It's also 0 on most other arches.

Although it's fairly harmless, every now and then it causes confusion
when a driver is built on powerpc and another arch which doesn't define
NO_IRQ. There's at least 6 definitions of NO_IRQ in drivers/, at least
some of which are to work around that problem.

So we'd like to remove it. This is fairly trivial in the arch code, we
just convert:

    if (irq == NO_IRQ)	to	if (!irq)
    if (irq != NO_IRQ)	to	if (irq)
    irq = NO_IRQ;	to	irq = 0;
    return NO_IRQ;	to	return 0;

And a few other odd cases as well.

At least for now we keep the #define NO_IRQ, because there is driver
code that uses NO_IRQ and the fixes to remove those will go via other
trees.

Note we also change some occurrences in PPC sound drivers, drivers/ps3,
and drivers/macintosh.

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/sparse: Make a bunch of things static</title>
<updated>2016-09-13T07:35:47Z</updated>
<author>
<name>Daniel Axtens</name>
</author>
<published>2016-09-06T05:32:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c98bd72081c44670e2d0b60aed364180ebc0611'/>
<id>urn:sha1:7c98bd72081c44670e2d0b60aed364180ebc0611</id>
<content type='text'>
Squash a bunch of sparse warnings by making things static.

Reviewed-by: Andrew Donnellan &lt;andrew.donnellan@au1.ibm.com&gt;
Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/powermac: Convert to hotplug state machine</title>
<updated>2016-09-06T16:30:26Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2016-08-18T12:57:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68e694dcef246f0c8f6738b3aa628f8aa7186796'/>
<id>urn:sha1:68e694dcef246f0c8f6738b3aa628f8aa7186796</id>
<content type='text'>
Install the callbacks via the state machine.
I assume here that the powermac has two CPUs and so only one can go up
or down at a time. The variable smp_core99_host_open is here to ensure
that we do not try to open or close the i2c host twice if something goes
wrong and we invoke the prepare or online callback twice due to
rollback.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: rt@linutronix.de
Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/20160818125731.27256-16-bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>treewide: replace obsolete _refok by __ref</title>
<updated>2016-08-02T21:31:41Z</updated>
<author>
<name>Fabian Frederick</name>
</author>
<published>2016-08-02T21:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd721ea73e1f965569b40620538c942001f76294'/>
<id>urn:sha1:bd721ea73e1f965569b40620538c942001f76294</id>
<content type='text'>
There was only one use of __initdata_refok and __exit_refok

__init_refok was used 46 times against 82 for __ref.

Those definitions are obsolete since commit 312b1485fb50 ("Introduce new
section reference annotations tags: __ref, __refdata, __refconst")

This patch removes the following compatibility definitions and replaces
them treewide.

/* compatibility defines */
#define __init_refok     __ref
#define __initdata_refok __refdata
#define __exit_refok     __ref

I can also provide separate patches if necessary.
(One patch per tree and check in 1 month or 2 to remove old definitions)

[akpm@linux-foundation.org: coding-style fixes]
Link: http://lkml.kernel.org/r/1466796271-3043-1-git-send-email-fabf@skynet.be
Signed-off-by: Fabian Frederick &lt;fabf@skynet.be&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Get rid of ppc_md.init_early()</title>
<updated>2016-07-21T09:07:26Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2016-07-05T05:04:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f2d576948d6cec16e4aae201d738c4f22039a551'/>
<id>urn:sha1:f2d576948d6cec16e4aae201d738c4f22039a551</id>
<content type='text'>
It is now called right after platform probe, so the probe function
can just do the job.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Move 32-bit probe() machine to later in the boot process</title>
<updated>2016-07-21T09:06:42Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2016-07-05T05:04:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=565713840445b7ccafb28dc1230d57d40bcb42a5'/>
<id>urn:sha1:565713840445b7ccafb28dc1230d57d40bcb42a5</id>
<content type='text'>
This converts all the 32-bit platforms to use the expanded device-tree
which is a pretty mechanical change. Unlike 64-bit, the 32-bit kernel
didn't rely on platform initializations to setup the MMU since it
sets it up entirely before probe_machine() so the move has comparatively
less consequences though it's a bigger patch.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/64: Move 64-bit probe_machine() to later in the boot process</title>
<updated>2016-07-21T08:59:22Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2016-07-05T05:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=406b0b6ae3fcd5c7946a68a9e43b470c79d292a2'/>
<id>urn:sha1:406b0b6ae3fcd5c7946a68a9e43b470c79d292a2</id>
<content type='text'>
We no long need the machine type that early, so we can move probe_machine()
to after the device-tree has been expanded. This will allow further
consolidation.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
</feed>
